]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add BZ #15337 to NEWS
[thirdparty/glibc.git] / ChangeLog
CommitLineData
05e166c8
JM
12013-04-03 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #14478]
4 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5 underflowed result.
6 * math/s_cexpf.c (__cexpf): Likewise.
7 * math/s_cexpl.c (__cexpl): Likewise.
8 * math/libm-test.inc (cexp_test): Add more tests.
9
1cef1b19
AS
102013-04-03 Andreas Schwab <schwab@suse.de>
11
12 [BZ #15330]
13 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14 order arrays from heap if bigger than alloca cutoff.
15
74d87055
TS
162013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17
18 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19 (SNAN_TESTS_double): Refer to GCC PR56831.
20 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21 GCC PR56828.
22
d755bba4
SP
232013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24
90d5d5bb
SP
25 * Rules (bench): Move bench.out after the run is complete.
26
73e0cd5d
SP
27 * Rules (bench): Echo currently running benchmark.
28
64aabd4b
SP
29 * benchtests/Makefile (bench): Add atan and slowatan.
30 * benchtests/atan-inputs: New file.
31 * benchtests/slowatan-inputs: New file.
32 * benchtests/slowatan.c: New file.
33
c871eccd
SP
34 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36 its value.
37
d755bba4
SP
38 [BZ #15305]
39 * sysdeps/unix/sysv/linux/kernel-features.h
40 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
41 __ASSUME_XFS_RESTRICTED_CHOWN.
42 * sysdeps/unix/sysv/linux/pathconf.c
43 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44 Save and restore errno.
45
52ce4860
JM
462013-04-02 Joseph Myers <joseph@codesourcery.com>
47
48 [BZ #15327]
49 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
50 arguments using __kernel_casinh.
51 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52 arguments using __kernel_casinhf.
53 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
54 arguments using __kernel_casinhl.
55 * math/libm-test.inc (cacosh_test): Add more tests.
56 * sysdeps/i386/fpu/libm-test-ulps: Update.
57 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58
81f311c2
SP
592013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
60
e7906a47
SP
61 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
62 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
63
92e3664b
SP
64 * bench/Makefile (bench): Add sin and slowsin.
65 * benchtests/sin-inputs: New file.
66 * benchtests/slowsin-inputs: New file.
67 * benchtests/slowsin.c: New file.
68
81f311c2
SP
69 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
70 (bench): Add slowexp and slowpow.
71 (exp-ITER): Increase iterations.
72 (pow-ITER): Likewise.
73 * benchtests/exp-inputs: Change input.
74 * benchtests/pow-inputs: Likewise.
75 * benchtests/slowexp-inputs: New file.
76 * benchtests/slowexp.c: New file.
77 * benchtests/slowpow-inputs: New file.
78 * benchtests/slowpow.c: New file.
79
ab0f1aa9
AZ
802013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81
82 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
83 instructions.
84 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
85 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
86 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
87 * benchtests/Makefile: Add rint benchtest.
88 * benchtests/rint-inputs: Input for rint benchtest.
89
57267616
TS
902013-04-02 Thomas Schwinge <thomas@codesourcery.com>
91
92 * Versions.def (libm): Add GLIBC_2.18.
93 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
94 hidden libm prototypes.
95 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
96 * math/Makefile (libm-calls): Add s_issignaling.
97 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
98 __issignalingf, __issignalingl. Adjust all libm.abilist files.
99 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
100 declaration.
101 * math/math.h [__USE_GNU] (issignaling): New macro.
102 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
103 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
104 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
105 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
106 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
107 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
108 * manual/arith.texi (issignaling): New section.
109 * manual/libm-err-tab.pl (@all_functions): Update comment.
110 * math/gen-libm-test.pl (parse_args): Apply special handling for
111 issignaling.
112 * math/libm-test.inc (print_float, issignaling_test): New
113 functions.
114 (check_float_internal): Add issignaling checks.
115 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
116 default definition.
117 * sysdeps/powerpc/math-tests.h: New file.
118 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
119 tests.
120 * math/test-snan.c (TEST_FUNC): Likewise.
121
6142896d
DM
1222013-03-30 David S. Miller <davem@davemloft.net>
123
124 * po/de.po: Update from translation team.
125
ccc8cadf
JM
1262013-03-30 Joseph Myers <joseph@codesourcery.com>
127
128 [BZ #10357]
129 * math/k_casinh.c (__kernel_casinh): Handle arguments with
130 imaginary part less than 1.0 and real part less than 0.5
131 specially.
132 * math/k_casinhf.c (__kernel_casinhf): Likewise.
133 * math/k_casinhl.c (__kernel_casinhl): Likewise.
134 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
135 (cacos_test): Add more tests.
136 (casin_test): Likewise.
137 (casinh_test): Likewise.
138 * sysdeps/i386/fpu/libm-test-ulps: Update.
139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
140
0f6a8d4b
SP
1412013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
142
0d1029de
SP
143 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
144 ONE with its value.
145
c2d94018
SP
146 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
147 (__pow_mp): Replace ONE and MONE with their values.
148 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
149 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
150 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
151 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
152 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
153 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
154
27ec37f1
SP
155 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
156
a64d7e0e
SP
157 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
158 (__pow_mp): Replace ZERO and MZERO with their values.
159 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
160 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
161 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
163 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
164 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
165 (__sqr): Likewise.
166
d26dd3eb
SP
167 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
168
0f6a8d4b
SP
169 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
170
e57b0c61
RM
1712013-03-28 Roland McGrath <roland@hack.frob.com>
172
173 * include/stdlib.h [!SHARED] (__call_tls_dtors):
174 Declare with __attribute__ ((weak)).
175 * stdlib/exit.c (__libc_atexit) [!SHARED]:
176 Call __call_tls_dtors only if it's not NULL.
177
356b3480
RM
1782013-03-28 Roland McGrath <roland@hack.frob.com>
179
288f7d79
RM
180 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
181 didn't do it already, then set _dl_phdr and _dl_phnum based on the
182 magic __ehdr_start linker symbol if it's defined.
183 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
184 them up here if it was already done.
185
dc0a0263
RM
186 * elf/dl-support.c (_dl_phdr): Make pointer to const.
187 (_dl_aux_init): Use const in cast when setting it.
188 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
189 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
190 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
191
3d3436ae
RM
192 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
193 Declare them here.
194 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
195 * csu/libc-tls.c: Nor here.
196 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
197
356b3480
RM
198 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
199 (__libc_message): Never call vsyslog.
200
b0f1246a
AM
2012013-03-28 Alan Modra <amodra@gmail.com>
202
203 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
204 Define as empty.
205 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
206 Likewise.
207
fbbe2b9a
AZ
2082013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
209
210 [BZ #15214]
211 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
212 underflow.
213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
214
1728ab37
SP
2152013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
216
7a86be6e
SP
217 [BZ #15304]
218 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
219 Don't add gid passed as argument.
220
1728ab37
SP
221 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
222
3a7182a1
JM
2232013-03-27 Joseph Myers <joseph@codesourcery.com>
224
225 [BZ #15307]
226 * math/k_casinh.c (__kernel_casinh): Handle arguments with
227 imaginary part between 1.0 and 1.5 and real part less than 0.5
228 specially.
229 * math/k_casinhf.c (__kernel_casinhf): Likewise.
230 * math/k_casinhl.c (__kernel_casinhl): Likewise.
231 * math/libm-test.inc (cacos_test): Add more tests.
232 (casin_test): Likewise.
233 (casinh_test): Likewise.
234 * sysdeps/i386/fpu/libm-test-ulps: Update.
235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
236
6f2e90e7
SP
2372013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
238
5739f705
SP
239 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
240 constants.
241 (norm): Likewise.
242 (denorm): Likewise.
243 (__dbl_mp): Likewise.
244 (add_magnitudes): Likewise.
245 (sub_magnitudes): Likewise.
246 (__add): Likewise.
247 (__sub): Likewise.
248 (__mul): Likewise.
249 (__sqr): Likewise.
250 (__inv): Likewise.
251 (__dvd): Likewise.
252
e375e83d
SP
253 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
254 commented code.
255 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
256 (__dubcos): Likewise.
257 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
258 (__ieee754_acos): Likewise.
259 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
260 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
261 (__exp1): Likewise.
262 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
263 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
264 (log1): Likewise.
265 (my_log2): Likewise.
266 (checkint): Likewise.
267 * sysdeps/ieee754/dbl-64/e_remainder.c
268 (__ieee754_remainder): Likewise.
269 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
270 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
271 (bsloww): Likewise.
272 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
273
6f2e90e7
SP
274 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
275 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
276 MANTISSA_STORE_T to store computations on mantissa. Use
277 macros for rounding and division.
278 (denorm): Likewise.
279 (__dbl_mp): Likewise.
280 (add_magnitudes): Likewise.
281 (sub_magnitudes): Likewise.
282 (__mul): Likewise.
283 (__sqr): Likewise.
284 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
285 powers of two in terms of TWOPOW macro.
286 (mp_no): Make type of mantissa as MANTISSA_T.
287 [!RADIXI]: Define RADIXI.
288 [!TWO52]: Define TWO52.
289 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
290
fce14d4e
AZ
2912013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
292
293 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
294 llroundl symbol when building for PPC32.
295
9ad027fb
MW
2962013-03-24 Mark H Weaver <mhw@netris.org>
297
298 * manual/arith.texi (Normalization Functions): Fix prototypes for
299 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
300
e42a38dd
AZ
3012013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
302
303 [BZ #13889]
304 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
305 high value to check if expl overflow.
306 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
307 to check for underflow and overflow.
308 * math/libm-test.inc: Add exp test.
309
2e0fb521
DL
3102013-03-21 Dmitry V. Levin <ldv@altlinux.org>
311
312 [BZ #11120]
313 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
314 with NOT_IN_libc.
315
b5784d95
AZ
3162013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
317
318 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
319 symbol.
320
5aa4a1a1
TS
3212013-03-21 Thomas Schwinge <thomas@codesourcery.com>
322
bdef0be7
TS
323 * math/gen-libm-test.pl (parse_args, special_functions): Properly
324 wrap blocks consisting of several statements.
325
5aa4a1a1
TS
326 * sysdeps/generic/math-tests.h: New file.
327 * sysdeps/i386/fpu/math-tests.h: Likewise.
328 * math/test-snan.c: Include it.
329 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
330
98c48fe5
JM
3312013-03-21 Joseph Myers <joseph@codesourcery.com>
332
333 [BZ #15285]
334 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
335 (__ieee754_j0l): Do not improve calculations using cos of twice
336 input for inputs above LDBL_MAX / 2.0L.
337 (__ieee754_y0l): Likewise.
338 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
339 (__ieee754_j1l): Do not improve calculations using cos of twice
340 input for inputs above LDBL_MAX / 2.0L.
341 (__ieee754_y1l): Likewise.
342 * math/libm-test.inc (j0_test): Add another test.
343 (j1_test): Likewise.
344 (y0_test): Likewise.
345 (y1_test): Likewise.
346 * sysdeps/i386/fpu/libm-test-ulps: Update.
347
3775a8bc
SP
3482013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
349
350 * Rules ($(objpfx)bench-%.c): Include code from a C source
351 file.
352
0a1b2ae6
JM
3532013-03-21 Joseph Myers <joseph@codesourcery.com>
354
355 [BZ #15287]
356 * math/k_casinh.c (__kernel_casinh): Handle arguments with
357 imaginary part 1.0 and real part less than 0.5 specially.
358 * math/k_casinhf.c (__kernel_casinhf): Likewise.
359 * math/k_casinhl.c (__kernel_casinhl): Likewise.
360 * math/libm-test.inc (cacos_test): Add more tests.
361 (casin_test): Likewise.
362 (casinh_test): Likewise.
363 * sysdeps/i386/fpu/libm-test-ulps: Update.
364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
365
b33d4ce4
SP
3662013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
367
368 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
369 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
370
bef0b507
JM
3712013-03-20 Joseph Myers <joseph@codesourcery.com>
372
373 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
374 * config.make.in (config-cflags-sse4): Remove variable.
375 (config-cflags-avx): Likewise.
376 (config-cflags-sse2avx): Likewise.
377 (config-cflags-novzeroupper): Likewise.
378 (config-asflags-i686): Likewise.
379 (have-mfma4): Likewise.
380 (have-as-vis3): Likewise.
381 (MIG): Likewise.
382 * configure.in (MIG): Do not AC_SUBST.
383 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
384 (libc_cv_cc_sse4): Do not AC_SUBST.
385 (libc_cv_cc_avx): Likewise.
386 (libc_cv_cc_sse2avx): Likewise.
387 (libc_cv_cc_novzeroupper): Likewise.
388 (libc_cv_cc_fma4): Likewise.
389 (libc_cv_as_i686): Likewise.
390 (libc_cv_sparc_as_vis3): Likewise.
391 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
392 LIBC_CONFIG_VAR.
393 (config-asflags-i686): Likewise.
394 (config-cflags-avx): Likewise.
395 (config-cflags-sse2avx): Likewise.
396 (have-mfma4): Likewise.
397 (config-cflags-novzeroupper): Likewise.
398 * sysdeps/mach/configure.in (MIG): Likewise.
399 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
400 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
401 LIBC_CONFIG_VAR.
402 (config-cflags-avx): Likewise.
403 (config-cflags-sse2avx): Likewise.
404 (have-mfma4): Likewise.
405 (config-cflags-novzeroupper): Likewise.
406 * configure: Regenerated.
407 * sysdeps/i386/configure: Likewise.
408 * sysdeps/mach/configure: Likewise.
409 * sysdeps/sparc/configure: Likewise.
410 * sysdeps/x86_64/configure: Likewise.
411
912cc4b3
RM
4122013-03-20 Roland McGrath <roland@hack.frob.com>
413
414 [BZ #14812]
415 * locale/programs/localedef.c (options): Put N_ translation marker
416 on argument names, not just descriptions.
417
04eed2b0
MS
4182013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
419
420 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
421
a065ceff
OB
4222013-03-20 Ondřej Bílka <neleai@seznam.cz>
423
9bb2a810 424 [BZ #14176]
a065ceff
OB
425 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
426
a600e5ce
RM
4272013-03-19 Roland McGrath <roland@hack.frob.com>
428
429 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
430 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
431 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
432 [!BEFORE_ABORT] (before_abort): New function.
433 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
434 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
435 (writev_for_fatal): New function.
436 (WRITEV_FOR_FATAL): New macro; call that.
437 (backtrace_and_maps): New function.
438 (BEFORE_ABORT): New macro; call that.
439 (struct str_list): Type removed.
440 (__libc_message, __libc_fatal): Functions removed.
441 Include <sysdeps/posix/libc_fatal.c> instead.
442
6b18bea6
JM
4432013-03-19 Joseph Myers <joseph@codesourcery.com>
444
445 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
446 constants.
447 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
448 double constants.
449
aaa8cb4b
AS
4502013-03-19 Andreas Schwab <schwab@suse.de>
451
44673770
AS
452 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
453 * sysdeps/gnu/configure: Regenerate.
454
aaa8cb4b
AS
455 * configure.in: Substitute libc_cv_rtlddir.
456 * configure: Regenerate.
457 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
458 * Makeconfig (rtlddir, inst_rtlddir): New variables.
459 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
460 * elf/Makefile (install-others, CFLAGS-interp.c)
461 (ldso_install, common-ldd-rewrite): Likewise.
462 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
463 $(inst_slibdir)/$(rtld-installed-name).
464 * scripts/rellns-sh: Add -p option.
465 * Makerules (make-shlib-link): Use rellns-sh to get relative name
466 for source.
467
d3cfc668
SP
4682013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
469
470 * manual/nptl.texi: Renamed to ...
471 * manual/threads.texi: ... this.
472 * manual/Makefile (chapters): Update.
473
0e2b9cdd
RM
4742013-03-18 Roland McGrath <roland@hack.frob.com>
475
476 [BZ #14812]
477 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
478 on argument names, not just descriptions.
0e2b9cdd
RM
479 * malloc/memusagestat.c (options): Likewise.
480 * nss/getent.c (options): Likewise.
63270c24
RM
481
4822013-03-18 Benno Schulenberg <bensberg@justemail.net>
483
484 [BZ #14812]
485 * iconv/iconv_prog.c (options): Put N_ translation marker
486 on argument names, not just descriptions.
487 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 488
b2e1393c
OB
4892013-03-18 Ondrej Bilka <neleai@seznam.cz>
490
491 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
492 implementation which is faster on all x86_64 architectures.
493 Tested on AMD, Intel Nehalem, SNB, IVB.
494 * sysdeps/x86_64/strnlen.S: Likewise.
495
496 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
497 Remove all multiarch strlen and strnlen versions.
498 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
499 Remove strlen and strnlen related parts.
500
501 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
502 Inline strlen part.
503 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
504
505 * sysdeps/x86_64/multiarch/strlen.S: Remove.
506 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
507 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
508 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
509 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
510 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
511
ec4ff04d
CD
5122013-03-17 Carlos O'Donell <carlos@redhat.com>
513
514 * manual/memory.texi (Malloc Tunable Parameters):
515 Sort parameters alphabetically. Add comments for missing entries.
516
cd18e90a
DM
5172013-03-17 David S. Miller <davem@davemloft.net>
518
519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
520
2a185d32
JM
5212013-03-16 Joseph Myers <joseph@codesourcery.com>
522
d2f9799e
JM
523 [BZ #15283]
524 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
525 for arguments at most half maximum finite value.
526 * math/libm-test.inc (j0_test): Add more tests.
527 (j1_test): Likewise.
528 (y0_test): Likewise.
529 (y1_test): Likewise.
530 * sysdeps/i386/fpu/libm-test-ulps: Update.
531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
532
2a185d32
JM
533 [BZ #14155]
534 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
535 1 / x and functions P and Q for arguments above 0x1p256L.
536 (__ieee754_y0l): Likewise.
537 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
538 (__ieee754_y1l): Likewise.
539 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
540 (j1_test): Likewise.
541 (y0_test): Likewise.
542 (y1_test): Likewise.
543
6cbec759
TS
5442013-03-16 Thomas Schwinge <thomas@codesourcery.com>
545
546 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
547 variable.
548
bc16e260
RM
5492013-03-15 Roland McGrath <roland@hack.frob.com>
550
aefc9b8c
RM
551 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
552 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
553 zero since it's initialized to EXEC_PAGESIZE.
554
bc16e260
RM
555 * sysdeps/unix/sysv/linux/ldsodefs.h
556 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
557 * sysdeps/generic/ldsodefs.h: ... here.
558
a57da955
TS
5592013-03-15 Thomas Schwinge <thomas@codesourcery.com>
560
af00a34d
TS
561 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
562
495ded2c
TS
563 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
564 math/test-snan.c.
565 * math/test-snan.c: Renamed from
566 sysdeps/powerpc/fpu/test-powerpc-snan.c.
567 * math/Makefile (tests): Add test-snan.
568 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
569 test-powerpc-snan.
570
777b0332
TS
571 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
572 SUFFIX. Initialize qNaN_var with __builtin_nan family of
573 functions.
574 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
575 __builtin_nan family of functions.
576 * math/libm-test.inc (initialize): Initialize qnan_value with
577 __builtin_nan family of functions.
578 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
579 Remove variables.
580 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
581 Remove functions.
582 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
583 storage class. Initialize qNaN_var and sNaN_var with
584 __builtin_nan and __builtin_nans families of functions,
585 respectively.
586
64d063b8
TS
587 * math/libm-test.inc (acosh_test): Also test with qNaN input.
588 (sqrt_test): Remove duplicate test with qNaN input.
589 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
590 (round_test, signbit_test, significand_test): Note missing +/-Inf
591 as well as qNaN tests.
592
67e971f1
TS
593 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
594 qNaN_var. Fix a few strings, too.
595 * math/libm-test.inc (nan_value): Rename to qnan_value.
596 * math/gen-libm-test.pl (%beautify): Adjust to that.
597 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
598 * math/test-misc.c (main): Likewise.
599 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
600 to __qnan_bytes, and __qnan_union, respectively.
601 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
602 Likewise.
603 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
604 and lqnanval, respectively.
605 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
606 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
607 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
608 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
609
64487e12
TS
610 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
611 * math/test-misc.c (main) [__x86_64__]: Enable test for long
612 doubles.
613
e015e27b
TS
614 * math/test-misc.c (main): Fix copy'n'pastos.
615 * misc/tst-efgcvt.c (special): Likewise.
616
a57da955
TS
617 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
618 Remove declarations.
619
1e380345
SP
6202013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
621
622 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
623 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
624 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
625 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
626
ef26eece
AZ
6272013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
628
629 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
630 macro to return vdso values correctly in IFUNC implementations.
631 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
632 Optimization by using IFUNC.
633
8cfdb7e0
SP
6342013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
635 Richard Henderson <rth@redhat.com>
636 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
637
638 * Makefile.in (bench): New target.
639 * NEWS: Mention the benchmark framework.
640 * Rules (bench): Likewise.
641 (binaries-bench): Generate binaries for functions to
642 benchmark.
643 * benchtests/Makefile: New makefile for benchmark tests.
644 * benchtests/bench-skeleton.c: New skeleton file for benchmark
645 programs.
646 * benchtests/exp-inputs: New input file for EXP function.
647 * benchtests/pow-inputs: New input file for POW function.
648 * scripts/bench.pl: New script to generate source files for
649 benchmark programs.
650
bcda9880
SP
6512013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
652
d22ca8cd
SP
653 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
654 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
655 computations on mantissa. Use macros for rounding and
656 division.
657 (denorm): Likewise.
658 (__dbl_mp): Likewise.
659 (add_magnitudes): Likewise.
660 (sub_magnitudes): Likewise.
661 (__mul): Likewise.
662 (__sqr): Likewise.
663 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
664 powers of two in terms of TWOPOW macro.
665 (mp_no): Make type of mantissa as MANTISSA_T.
666 [!RADIXI]: Define RADIXI.
667 [!TWO52]: Define TWO52.
668 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
669
bcda9880
SP
670 * manual/nptl.texi (cindex): Modify threads to pthreads.
671
06d5adfb
JM
6722013-03-15 Joseph Myers <joseph@codesourcery.com>
673
674 * sysdeps/x86_64/preconfigure: Regenerated.
675
41c7328e
JM
6762013-03-14 Joseph Myers <joseph@codesourcery.com>
677
678 [BZ #14155]
679 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
680 0x1p28 and above.
681 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
682 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
683 0x1p28 and above.
684 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
685 * math/libm-test.inc (j0_test): Do not allow one spurious
686 underflow exception.
687 (y1_test): Likewise.
688
e25cfa60
SP
6892013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
690
0409959c
SP
691 * manual/Makefile (chapters): Add nptl.
692 * manual/debug.texi (Debugging Support): Add link to Threads
693 chapter.
694 * manual/nptl.texi: New file.
695
e25cfa60
SP
696 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
697
58a1335e
PB
6982013-03-14 Petr Baudis <pasky@ucw.cz>
699
700 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
701 for non-NULL pointer before the memory validity test. Pointed
702 out by Holger Brunck <holger.brunck@keymile.com>.
703
9dc7c64f
AS
7042013-03-13 Andreas Schwab <schwab@suse.de>
705
706 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
707 instead of .os.
708
54206aa6
JM
7092013-03-13 Joseph Myers <joseph@codesourcery.com>
710
711 * timezone/zic.c: Update from tzcode 2013b.
712
e98cdb38
CD
7132013-03-12 Carlos O'Donell <carlos@redhat.com>
714
715 * manual/install.texi (Configuring and compiling):
716 Mention i686 and i586.
717 * INSTALL: Regenerate.
718
9967e003
RM
7192013-03-12 Roland McGrath <roland@hack.frob.com>
720
721 * sysdeps/init_array/elf-init.c: New file.
722 * csu/elf-init.c
723 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
724 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
725
726 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
727 __gmon_start__ as global, but as static with a .preinit_array pointer.
728 * sysdeps/init_array/gmon-start.c: New file. Use that.
729 * sysdeps/init_array/crti.S: New file, empty except for comments.
730 * sysdeps/init_array/crtn.S: Likewise.
731
e6b5a293 7322013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
733
734 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
735 definining bcopy.
80f844c9
OB
736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
737 Remove Prefer_SSE_for_memop.
738 * sysdeps/x86_64/multiarch/init-arch.h: Remove
739 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
740 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
742 memset-x86-64.
80f844c9 743 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 744 Remove bzero, memset ifunc support.
80f844c9
OB
745 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
746 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
747 * sysdeps/x86_64/multiarch/memset.S: Likewise.
748 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
749
fb6b0fcb
AS
7502013-03-11 Andreas Schwab <schwab@suse.de>
751
752 [BZ #15234]
753 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
754 by SHLIB_COMPAT.
755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
756 (GLIBC_2.16): Remove pthread_atfork.
757
3e6bd4b1
PP
7582013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
759
760 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
761 (ptestcases.h): Likewise.
762
222d7f00
RM
7632013-03-08 Roland McGrath <roland@hack.frob.com>
764
765 * Makeconfig ($(common-objpfx)config.status): Depend on
766 sysdeps/*/preconfigure{,.in} too.
767
1ba4f030
JM
7682013-03-08 Joseph Myers <joseph@codesourcery.com>
769
a222d91a
JM
770 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
771 (__free_hook): Use void * instead of __malloc_ptr_t.
772 (__malloc_hook): Likewise.
773 (__realloc_hook): Likewise.
774 (__memalign_hook): Likewise.
775 (__after_morecore_hook): Likewise.
776 * malloc/arena.c (save_malloc_hook): Likewise.
777 (save_free_hook): Likewise.
778 * malloc/hooks.c (malloc_hook_ini): Likewise.
779 (realloc_hook_ini): Likewise.
780 (memalign_hook_ini): Likewise.
781 * malloc/malloc.c (malloc_hook_ini): Likewise.
782 (realloc_hook_ini): Likewise.
783 (memalign_hook_ini): Likewise.
784 (__free_hook): Likewise.
785 (__malloc_hook): Likewise.
786 (__realloc_hook): Likewise.
787 (__memalign_hook): Likewise.
788 (__libc_malloc): Likewise.
789 (__libc_free): Likewise.
790 (__libc_realloc): Likewise.
791 (__libc_memalign): Likewise.
792 (__libc_valloc): Likewise.
793 (__libc_pvalloc): Likewise.
794 (__libc_calloc): Likewise.
795 (__posix_memalign): Likewise.
796 * malloc/morecore.c (__sbrk): Likewise.
797 (__default_morecore): Likewise.
798
5cc45e10
JM
799 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
800
dd54b864
JM
801 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
802 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
803 __malloc_ptrdiff_t.
804
1ba4f030
JM
805 * malloc/malloc.h (__malloc_size_t): Remove macro.
806 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
807 __malloc_size_t.
808 (old_memalign_hook): Likewise.
809 (old_realloc_hook): Likewise.
810 (struct hdr): Likewise.
811 (flood): Likewise.
812 (mallochook): Likewise.
813 (memalignhook): Likewise.
814 (reallochook): Likewise.
815 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
816 (tr_old_realloc_hook): Likewise.
817 (tr_old_memalign_hook): Likewise.
818 (tr_mallochook): Likewise.
819 (tr_reallochook): Likewise.
820 (tr_memalignhook): Likewise.
821
edf66e57
AZ
8222013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
823
824 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
825 default_ldbl_pack and using as default implementation.
826 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
827 implementation.
828 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
829 redundant definition.
830 (ldbl_insert_mantissa): Likewise.
831 (ldbl_canonicalize): Likewise.
832 (ldbl_nearbyint): Likewise.
833 (ldbl_pack): Rename to ldbl_pack_ppc.
834 (ldbl_unpack): Rename to ldbl_unpack_ppc.
835 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
836 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
837
6d9145d8
SP
8382013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
839
840 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
841 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
842 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
843 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
845 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
846 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
847 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
848
4dd4e157
AJ
8492013-03-07 Andreas Jaeger <aj@suse.de>
850
851 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
852 bits/mman-linux.h.
853
adbb8027
SP
8542013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
855
ce544b5b
SP
856 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
857 Include mpa.h and declare __MPEXP.
858 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
859 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
860 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
861 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
862 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
863 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
864 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
865
4cc149fd
SP
866 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
867 (__slowpow): Use long double EXPL and LOGL functions to
868 compute POW.
869 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
870 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
871 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
872 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
873 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
874 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
875
e6ebd4a7
SP
876 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
877 intermediate variable to calculate exponent.
878 (__sqr): Likewise.
879 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
880 Likewise.
881 (__sqr): Likewise.
882
82a9811d
SP
883 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
884 [!NO__SQR]: Define __sqr.
885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
886 and NO__SQR. Remove all code except __mul and __sqr. Include
887 sysdeps/ieee754/dbl-64/mpa.c.
888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
889
adbb8027
SP
890 [BZ #12723]
891 * posix/Makefile (tests): Add tst-pathconf.
892 * posix/tst-pathconf.c: New test case.
893 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
894 _PC_PIPE_BUF.
895 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
896
39120df9
PF
8972013-03-06 Patsy Franklin <pfrankli@redhat.com>
898
899 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
900
67525cb8
AJ
9012013-03-06 Andreas Jaeger <aj@suse.de>
902
664a9ce4
AJ
903 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
904 definition via __MAP_ANONYMOUS.
905
8e39047d
AJ
906 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
907 it's not part of Linux headers.
908
67525cb8
AJ
909 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
910 (MAP_HUGE_MASK): Define.
911
912 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
913 Define.
914 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
915 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
916 Define.
917 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
918 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
919 Define.
920 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
921 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
922 Define.
923 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
924
925 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
926 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
927 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
928 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
929 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
930 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
931
932 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
933 Handle f2fs.
934
935 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
936 Handle f2fs and efivarfs.
937
938 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
939 f2fs.
940
941 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
942 (EFIVARFS_MAGIC): Add.
943 (F2FS_LINK_MAX): Add.
944
e1b42695
PP
9452013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
946
947 * stdio-common/vfprintf.c: Replace __builtin_expect with
948 __glibc_unlikely.
949
2d67d91a
JM
9502013-03-06 Joseph Myers <joseph@codesourcery.com>
951
952 [BZ #13550]
953 * sysdeps/generic/bp-sym.h: Remove file.
954 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
955 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
956 <bp-sym.h> and <bp-asm.h>.
957 (__longjmp): Don't use BP_SYM.
958 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
959 and <bp-asm.h>.
960 (memcpy): Don't use BP_SYM.
961 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
962 <bp-sym.h> and <bp-asm.h>.
963 (memcpy): Don't use BP_SYM.
964 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
965 <bp-asm.h>.
966 (memcpy): Don't use BP_SYM.
967 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
968 <bp-asm.h>.
969 (memset): Don't use BP_SYM.
970 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
971 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
972 (__bzero): Don't use BP_SYM.
973 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
974 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
975 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
976 <bp-sym.h> and <bp-asm.h>.
977 (memcmp): Don't use BP_SYM. Remove comment about bounded
978 pointers.
979 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
980 <bp-sym.h> and <bp-asm.h>.
981 (memcpy): Don't use BP_SYM.
982 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
983 <bp-sym.h> and <bp-asm.h>.
984 (memset): Don't use BP_SYM.
985 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
986 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
987 (__bzero): Don't use BP_SYM.
988 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
989 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
990 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
991 <bp-sym.h> and <bp-asm.h>.
992 (strncmp): Don't use BP_SYM. Remove comment about bounded
993 pointers.
994 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
995 <bp-sym.h> and <bp-asm.h>.
996 (memcpy): Don't use BP_SYM.
997 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
998 <bp-sym.h> and <bp-asm.h>.
999 (memset): Don't use BP_SYM.
1000 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1001 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1002 (__bzero): Don't use BP_SYM.
1003 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1004 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1005 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1006 <bp-sym.h> and <bp-asm.h>.
1007 (__memchr): Don't use BP_SYM.
1008 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1009 <bp-sym.h> and <bp-asm.h>.
1010 (memcmp): Don't use BP_SYM. Remove comment about bounded
1011 pointers.
1012 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1013 <bp-sym.h> and <bp-asm.h>.
1014 (memcpy): Don't use BP_SYM.
1015 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1016 <bp-sym.h> and <bp-asm.h>.
1017 (__mempcpy): Don't use BP_SYM.
1018 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1019 <bp-sym.h> and <bp-asm.h>.
1020 (__memrchr): Don't use BP_SYM.
1021 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1022 <bp-sym.h> and <bp-asm.h>.
1023 (memset): Don't use BP_SYM.
1024 (__bzero): Likewise.
1025 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1026 <bp-sym.h> and <bp-asm.h>.
1027 (__rawmemchr): Don't use BP_SYM.
1028 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1029 <bp-sym.h> and <bp-asm.h>.
1030 (__STRCMP): Don't use BP_SYM.
1031 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1032 <bp-sym.h> and <bp-asm.h>.
1033 (strchr): Don't use BP_SYM.
1034 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1035 <bp-sym.h> and <bp-asm.h>.
1036 (__strchrnul): Don't use BP_SYM.
1037 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1038 <bp-sym.h> and <bp-asm.h>.
1039 (strlen): Don't use BP_SYM.
1040 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1041 <bp-sym.h> and <bp-asm.h>.
1042 (strncmp): Don't use BP_SYM. Remove comment about bounded
1043 pointers.
1044 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1045 <bp-sym.h> and <bp-asm.h>.
1046 (__strnlen): Don't use BP_SYM.
1047 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1048 <bp-sym.h> and <bp-asm.h>.
1049 (__GI__setjmp): Don't use BP_SYM.
1050 (_setjmp): Likewise.
1051 (__sigsetjmp): Likewise.
1052 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1053 (L(start_addresses)): Don't use BP_SYM.
1054 (_start): Likewise.
1055 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1056 <bp-asm.h>.
1057 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1058 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1059 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1060 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1061 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1062 <bp-asm.h>.
1063 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1064 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1065 about bounded pointers.
1066 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1067 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1068 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1069 <bp-asm.h>.
1070 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1071 about bounded pointers. Remove GKM FIXME comments.
1072 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1073 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1074 <bp-asm.h>.
1075 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1076 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1077 Remove GKM FIXME comments.
1078 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1079 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1080 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1081 <bp-asm.h>.
1082 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1083 about bounded pointers. Remove GKM FIXME comment.
1084 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1085 and <bp-asm.h>.
1086 (strncmp): Don't use BP_SYM. Remove comment about bounded
1087 pointers.
1088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1089 <bp-sym.h> and <bp-asm.h>.
1090 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1092 <bp-sym.h> and <bp-asm.h>.
1093 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1094 comment.
1095
cdcf361f
PP
10962013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1097
1098 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1099 call free(NULL).
1100
3c4a2b15
DM
11012013-03-05 David S. Miller <davem@davemloft.net>
1102
1103 * po/es.po: Update from translation team.
1104
cdcf361f 11052013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1106
1107 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1108 <bits/mman-linux.h>.
1109 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1110 is fine.
1111 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1112 <bits/mman-linux.h> to end of file.
1113 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1114 is fine.
1115 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1116 <bits/mman-linux.h> to end of file.
1117 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1118 is fine.
1119 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1120 <bits/mman-linux.h> to end of file.
1121
1122 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1123 (MCL_CURRENT, MCL_FUTURE): Define here.
1124
5f67c04f
AK
11252013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1126
8a4473cc 1127 [BZ #15232]
5f67c04f
AK
1128 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1129 attribute_hidden.
1130 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1131
c3e94a95
AK
11322013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1133
1134 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1135 fourth parameter needed for rt_sigprocmask syscall.
1136 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1137 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1138 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1139 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1140 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1141 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1142
cfb6382a
JM
11432013-03-04 Joseph Myers <joseph@codesourcery.com>
1144
1145 [BZ #13550]
1146 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1147 comment about bounded pointers.
1148 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1149 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1150
539d8e01
AJ
11512013-03-04 Andreas Jaeger <aj@suse.de>
1152
1153 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1154 common definitions.
1155
1156 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1157 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1158 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1159 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1160 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1161 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1162
2e167a70 11632013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1164
1165 [BZ #15055]
1166 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1167 __ieee754_sqrl instead of __sqrl.
1168
68508633
JM
11692013-03-01 Joseph Myers <joseph@codesourcery.com>
1170
1171 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1172 * sysdeps/powerpc/fpu_control.h: ... here.
1173 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1174 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1175 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1176 * sysdeps/powerpc/bits/mathinline.h: ... here.
1177
7775448e
RM
11782013-03-01 Roland McGrath <roland@hack.frob.com>
1179
1180 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1181 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1182 to just [NEED_DL_SYSINFO_DSO].
1183 * elf/dl-support.c: Likewise.
1184 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1185 * elf/rtld.c (dl_main): Likewise.
1186 * elf/setup-vdso.h (setup_vdso): Likewise.
1187 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1188 * sysdeps/unix/sysv/linux/dl-sysdep.c
1189 (_dl_discover_osversion): Likewise.
1190
4e9b5995
CD
11912013-03-01 Carlos O'Donell <carlos@redhat.com>
1192
1193 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1194 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1195
e23872c8
SP
11962013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1197
e5c74c63
SP
1198 * NEWS: Mention libm performance improvements and non-x86 PI
1199 futex support.
1200
e23872c8
SP
1201 * csu/libc-start.c (__pthread_initialize_minimal): Change
1202 function arguments.
1203 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1204
b5510883
JM
12052013-02-28 Joseph Myers <joseph@codesourcery.com>
1206
1207 [BZ #13550]
1208 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1209 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1210 <bp-sym.h> and <bp-asm.h>.
1211 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1212 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1213 and <bp-asm.h>.
1214 (memcpy): Don't use BP_SYM.
1215 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1216 <bp-asm.h>.
1217 (__mpn_add_n): Don't use BP_SYM.
1218 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1219 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1220 and <bp-asm.h>.
1221 (__mpn_addmul_1): Don't use BP_SYM.
1222 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1223 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1224 <bp-sym.h>.
1225 (_setjmp): Don't use BP_SYM.
1226 (__novmx_setjmp): Likewise.
1227 (__GI__setjmp): Likewise.
1228 (__vmx_setjmp): Likewise.
1229 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1230 <bp-sym.h>.
1231 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1232 (__bzero): Don't use BP_SYM.
1233 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1234 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1235 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1236 <bp-sym.h> and <bp-asm.h>.
1237 (memcpy): Don't use BP_SYM.
1238 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1239 <bp-sym.h> and <bp-asm.h>.
1240 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1241 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1242 <bp-sym.h> and <bp-asm.h>.
1243 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1244 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1245 <bp-asm.h>.
1246 (__mpn_lshift): Don't use BP_SYM.
1247 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1248 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1249 <bp-asm.h>.
1250 (memset): Don't use BP_SYM.
1251 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1252 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1253 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1254 <bp-asm.h>.
1255 (__mpn_mul_1): Don't use BP_SYM.
1256 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1257 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1258 <bp-sym.h> and <bp-asm.h>.
1259 (memcmp): Don't use BP_SYM.
1260 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1261 <bp-sym.h> and <bp-asm.h>.
1262 (memcpy): Don't use BP_SYM.
1263 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1264 <bp-sym.h> and <bp-asm.h>.
1265 (memset): Don't use BP_SYM.
1266 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1267 <bp-sym.h> and <bp-asm.h>.
1268 (strncmp): Don't use BP_SYM.
1269 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1270 <bp-sym.h> and <bp-asm.h>.
1271 (memcpy): Don't use BP_SYM.
1272 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1273 <bp-sym.h> and <bp-asm.h>.
1274 (memset): Don't use BP_SYM.
1275 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1276 <bp-sym.h> and <bp-asm.h>.
1277 (__memchr): Don't use BP_SYM.
1278 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1279 <bp-sym.h> and <bp-asm.h>.
1280 (memcmp): Don't use BP_SYM.
1281 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1282 <bp-sym.h> and <bp-asm.h>.
1283 (memcpy): Don't use BP_SYM.
1284 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1285 <bp-sym.h> and <bp-asm.h>.
1286 (__mempcpy): Don't use BP_SYM.
1287 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1288 <bp-sym.h> and <bp-asm.h>.
1289 (__memrchr): Don't use BP_SYM.
1290 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1291 <bp-sym.h> and <bp-asm.h>.
1292 (memset): Don't use BP_SYM.
1293 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1294 <bp-sym.h> and <bp-asm.h>.
1295 (__rawmemchr): Don't use BP_SYM.
1296 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1297 <bp-sym.h> and <bp-asm.h>.
1298 (__STRCMP): Don't use BP_SYM.
1299 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1300 <bp-sym.h> and <bp-asm.h>.
1301 (strchr): Don't use BP_SYM.
1302 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1303 <bp-sym.h> and <bp-asm.h>.
1304 (__strchrnul): Don't use BP_SYM.
1305 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1306 <bp-sym.h> and <bp-asm.h>.
1307 (strlen): Don't use BP_SYM.
1308 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1309 <bp-sym.h> and <bp-asm.h>.
1310 (strncmp): Don't use BP_SYM.
1311 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1312 <bp-sym.h> and <bp-asm.h>.
1313 (__strnlen): Don't use BP_SYM.
1314 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1315 <bp-asm.h>.
1316 (__mpn_rshift): Don't use BP_SYM.
1317 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1318 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1319 <bp-sym.h> and <bp-asm.h>.
1320 (__sigsetjmp): Don't use BP_SYM.
1321 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1322 (L(start_addresses)): Don't use BP_SYM.
1323 (_start): Likewise.
1324 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1325 <bp-asm.h>.
1326 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1327 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1328 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1329 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1330 <bp-asm.h>.
1331 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1332 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1333 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1334 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1335 <bp-asm.h>.
1336 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1337 comments.
1338 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1339 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1340 <bp-asm.h>.
1341 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1342 FIXME comments.
1343 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1344 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1345 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1346 <bp-asm.h>.
1347 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1348 comment.
1349 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1350 and <bp-asm.h>.
1351 (strncmp): Don't use BP_SYM,
1352 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1353 <bp-asm.h>.
1354 (__mpn_sub_n): Don't use BP_SYM.
1355 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1356 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1357 and <bp-asm.h>.
1358 (__mpn_submul_1): Don't use BP_SYM.
1359 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1361 <bp-sym.h> and <bp-asm.h>.
1362 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1364 <bp-sym.h> and <bp-asm.h>.
1365 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1366 comment.
1367
8d19fe64
SP
13682013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1369
1370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1371 Use ZK to minimize writes to Z.
1372 (sub_magnitudes): Simplify code a bit.
1373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1374 Use ZK to minimize writes to Z.
1375 (sub_magnitudes): Simplify code a bit.
1376
85bd816a
RM
13772013-02-27 Roland McGrath <roland@hack.frob.com>
1378
1379 * csu/gmon-start.c: Add special exception to license text.
1380
b5977bf2
RH
13812013-02-27 Richard Henderson <rth@redhat.com>
1382
1383 * scripts/config.guess: Update from config.git.
1384 * scripts/config.sub: Likewise.
1385
11d6e2f2
SP
13862013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1387
09c14ed2
SP
1388 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1389
a688864e
SP
1390 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1391
6295157a
SP
1392 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1393
b8de2202
SP
1394 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1395
11d6e2f2
SP
1396 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1397
7e80ddb8
RM
13982013-02-26 Roland McGrath <roland@hack.frob.com>
1399
1400 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1401 [$(build-shared = yes].
7e80ddb8 1402
7da6d9ed
SP
14032013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1404
45f05884
SP
1405 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1406 (__mul): Reduce iterations for calculating mantissa.
1407
2236d359
SP
1408 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1409 MPTWO.
1410 (__mpranred): Likewise.
1411
7da6d9ed
SP
1412 [BZ #15160]
1413 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1414 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1415
b7688c42
PE
14162013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1417
1418 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1419 Define __attribute__.
1420
53a5c423
SP
14212013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1422
1423 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1424 unused.
1425 * posix/regex_internal.h (__attribute): Remove.
1426 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1427 (re_string_context_at): Likewise.
1428 (bitset_not): Use __attribute__ and mark function as possibly
1429 unused.
1430 (bitset_merge): Likewise.
1431 (bitset_mask): Likewise.
1432 (re_string_char_size_at): Likewise.
1433 (re_string_wchar_at): Likewise.
1434 (re_string_elem_size_at): Likewise.
1435
60f5a8b5
SP
14362013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1437
2a983a2e
SP
1438 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1439 code.
1440 (cc32): Likewise.
1441
e69804d1
SP
1442 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1443 (__acr): Likewise.
1444 (__cpy): Likewise.
1445 (norm): Likewise.
1446 (denorm): Likewise.
1447 (__dbl_mp): Likewise.
1448 (add_magnitudes): Likewise.
1449 (sub_magnitudes): Likewise.
1450 (__mul): Likewise.
1451 (__inv): Likewise.
1452
2f22a1e8
SP
1453 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1454 style.
1455
8930ddc7
SP
1456 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1457 style.
1458
dc60cb11
SP
1459 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1460 code.
1461
60f5a8b5
SP
1462 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1463 up changes with default code.
1464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1465 Likewise.
1466
b4d1fd33
AM
14672013-02-24 Allan McRae <allan@archlinux.org>
1468
faf6f8bc
AM
1469 * manual/socket.texi (The Internet Namespace): Order menu items
1470 to match that in the file.
1471
b4d1fd33
AM
1472 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1473 node listing of the info page menu.
1474
2366713d
JM
14752013-02-21 Joseph Myers <joseph@codesourcery.com>
1476
1477 [BZ #13550]
1478 * sysdeps/i386/bp-asm.h: Remove file.
1479 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1480 (PARMS): Do not use macros from bp-asm.h.
1481 (S1): Likewise.
1482 (S2): Likewise.
1483 (SIZE): Likewise.
1484 (__mpn_add_n): Do not use BP_SYM
1485 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1486 "bp-asm.h".
1487 (PARMS): Do not use macros from bp-asm.h.
1488 (S1): Likewise.
1489 (SIZE): Likewise.
1490 (__mpn_addmul_1): Do not use BP_SYM
1491 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1492 "bp-asm.h".
1493 (PARMS): Do not use macros from bp-asm.h.
1494 (SIGMSK): Likewise.
1495 (_setjmp): Likewise. Do not use BP_SYM.
1496 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1497 "bp-asm.h".
1498 (PARMS): Do not use macros from bp-asm.h.
1499 (SIGMSK): Likewise.
1500 (setjmp): Likewise. Do not use BP_SYM.
1501 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1502 "bp-asm.h".
1503 (PARMS): Do not use macros from bp-asm.h.
1504 (__frexp): Do not use BP_SYM.
1505 (frexp): Likewise.
1506 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1507 "bp-asm.h".
1508 (PARMS): Do not use macros from bp-asm.h.
1509 (__frexpf): Do not use BP_SYM.
1510 (frexpf): Likewise.
1511 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1512 "bp-asm.h".
1513 (PARMS): Do not use macros from bp-asm.h.
1514 (__frexpl): Do not use BP_SYM.
1515 (frexpl): Likewise.
1516 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1517 "bp-asm.h".
1518 (PARMS): Do not use macros from bp-asm.h.
1519 (__remquo): Do not use BP_SYM.
1520 (remquo): Likewise.
1521 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1522 "bp-asm.h".
1523 (PARMS): Do not use macros from bp-asm.h.
1524 (__remquof): Do not use BP_SYM.
1525 (remquof): Likewise.
1526 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1527 "bp-asm.h".
1528 (PARMS): Do not use macros from bp-asm.h.
1529 (__remquol): Do not use BP_SYM.
1530 (remquol): Likewise.
1531 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1532 "bp-asm.h".
1533 (PARMS): Do not use macros from bp-asm.h.
1534 (DEST): Likewise.
1535 (SRC): Likewise.
1536 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1537 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1538 "bp-asm.h".
1539 (PARMS): Do not use macros from bp-asm.h.
1540 (strlen): Do not use BP_SYM.
1541 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1542 "bp-asm.h".
1543 (PARMS): Do not use macros from bp-asm.h.
1544 (S1): Likewise.
1545 (S2): Likewise.
1546 (SIZE): Likewise.
1547 (__mpn_add_n): Do not use BP_SYM.
1548 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1549 "bp-asm.h".
1550 (PARMS): Do not use macros from bp-asm.h.
1551 (S1): Likewise.
1552 (SIZE): Likewise.
1553 (__mpn_addmul_1): Do not use BP_SYM.
1554 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1555 weak_alias.
1556 (bzero): Likewise.
1557 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1558 "bp-asm.h".
1559 (PARMS): Do not use macros from bp-asm.h.
1560 (S): Likewise.
1561 (SIZE): Likewise.
1562 (__mpn_lshift): Do not use BP_SYM.
1563 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1564 "bp-asm.h".
1565 (PARMS): Do not use macros from bp-asm.h.
1566 (DEST): Likewise.
1567 (SRC): Likewise.
1568 (LEN): Likewise.
1569 (memcpy): Likewise. Do not use BP_SYM.
1570 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1571 libc_hidden_def and weak_alias.
1572 (mempcpy): Do not use BP_SYM in weak_alias.
1573 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1574 "bp-asm.h".
1575 (PARMS): Do not use macros from bp-asm.h.
1576 (DEST): Likewise.
1577 (LEN): Likewise.
1578 [!BZERO_P] (CHR): Likewise.
1579 (memset): Likewise. Do not use BP_SYM.
1580 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1581 "bp-asm.h".
1582 (PARMS): Do not use macros from bp-asm.h.
1583 (S1): Likewise.
1584 (SIZE): Likewise.
1585 (__mpn_mul_1): Do not use BP_SYM.
1586 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1587 "bp-asm.h".
1588 (PARMS): Do not use macros from bp-asm.h.
1589 (S): Likewise.
1590 (SIZE): Likewise.
1591 (__mpn_rshift): Do not use BP_SYM.
1592 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1593 "bp-asm.h".
1594 (PARMS): Do not use macros from bp-asm.h.
1595 (STR): Likewise.
1596 (CHR): Likewise.
1597 (strchr): Likewise. Do not use BP_SYM.
1598 (index): Do not use BP_SYM in weak_alias.
1599 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1600 "bp-asm.h".
1601 (PARMS): Do not use macros from bp-asm.h.
1602 (DEST): Likewise.
1603 (SRC): Likewise.
1604 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1605 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1606 "bp-asm.h".
1607 (PARMS): Do not use macros from bp-asm.h.
1608 (strlen): Do not use BP_SYM.
1609 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1610 "bp-asm.h".
1611 (PARMS): Do not use macros from bp-asm.h.
1612 (S1): Likewise.
1613 (S2): Likewise.
1614 (SIZE): Likewise.
1615 (__mpn_sub_n): Do not use BP_SYM.
1616 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1617 "bp-asm.h".
1618 (PARMS): Do not use macros from bp-asm.h.
1619 (S1): Likewise.
1620 (SIZE): Likewise.
1621 (__mpn_submul_1): Do not use BP_SYM.
1622 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1623 "bp-asm.h".
1624 (PARMS): Do not use macros from bp-asm.h.
1625 (S1): Likewise.
1626 (S2): Likewise.
1627 (SIZE): Likewise.
1628 (__mpn_add_n): Do not use BP_SYM.
1629 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1630 weak_alias.
1631 (bzero): Likewise.
1632 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1633 "bp-asm.h".
1634 (PARMS): Do not use macros from bp-asm.h.
1635 (BLK2): Likewise.
1636 (LEN): Likewise.
1637 (memcmp): Do not use BP_SYM.
1638 (bcmp): Do not use BP_SYM in weak_alias.
1639 * sysdeps/i386/i686/memcpy.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 (SRC): Likewise.
1644 (LEN): Likewise.
1645 (memcpy): Likewise. Do not use BP_SYM.
1646 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1647 "bp-asm.h".
1648 (PARMS): Do not use macros from bp-asm.h.
1649 (DEST): Likewise.
1650 (SRC): Likewise.
1651 (LEN): Likewise.
1652 (memmove): Likewise. Do not use BP_SYM.
1653 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1654 "bp-asm.h".
1655 (PARMS): Do not use macros from bp-asm.h.
1656 (DEST): Likewise.
1657 (SRC): Likewise.
1658 (LEN): Likewise.
1659 (__mempcpy): Likewise. Do not use BP_SYM.
1660 (mempcpy): Do not use BP_SYM in weak_alias.
1661 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1662 "bp-asm.h".
1663 (PARMS): Do not use macros from bp-asm.h.
1664 (DEST): Likewise.
1665 (LEN): Likewise.
1666 [!BZERO_P] (CHR): Likewise.
1667 (memset): Likewise. Do not use BP_SYM.
1668 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1669 "bp-asm.h".
1670 (PARMS): Do not use macros from bp-asm.h.
1671 (STR2): Likewise.
1672 (strcmp): Do not use BP_SYM.
1673 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1674 "bp-asm.h".
1675 (PARMS): Do not use macros from bp-asm.h.
1676 (STR): Likewise.
1677 (DELIM): Likewise.
1678 [USE_AS_STRTOK_R] (SAVE): Likewise.
1679 (FUNCTION): Likewise. Do not use BP_SYM.
1680 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1681 aliases.
1682 (strtok_r): Likewise.
1683 (__GI___strtok_r): Likewise.
1684 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1685 (PARMS): Do not use macros from bp-asm.h.
1686 (S): Likewise.
1687 (SIZE): Likewise.
1688 (__mpn_lshift): Do not use BP_SYM.
1689 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1690 (PARMS): Do not use macros from bp-asm.h.
1691 (STR): Likewise.
1692 (CHR): Likewise.
1693 (__memchr): Do not use BP_SYM.
1694 (memchr): Do not use BP_SYM in weak_alias.
1695 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1696 (PARMS): Do not use macros from bp-asm.h.
1697 (BLK2): Likewise.
1698 (LEN): Likewise.
1699 (memcmp): Do not use BP_SYM.
1700 (bcmp): Do not use BP_SYM in weak_alias.
1701 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1702 (PARMS): Do not use macros from bp-asm.h.
1703 (S1): Likewise.
1704 (SIZE): Likewise.
1705 (__mpn_mul_1): Do not use BP_SYM.
1706 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1707 "bp-asm.h".
1708 (PARMS): Do not use macros from bp-asm.h.
1709 (STR): Likewise.
1710 (CHR): Likewise.
1711 (__rawmemchr): Do not use BP_SYM.
1712 (rawmemchr): Do not use BP_SYM in weak_alias.
1713 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1714 (PARMS): Do not use macros from bp-asm.h.
1715 (S): Likewise.
1716 (SIZE): Likewise.
1717 (__mpn_rshift): Do not use BP_SYM.
1718 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1719 (PARMS): Do not use macros from bp-asm.h.
1720 (SIGMSK): Likewise.
1721 (__sigsetjmp): Likewise. Do not use BP_SYM.
1722 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1723 (_start): Do not use BP_SYM.
1724 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1725 (PARMS): Do not use macros from bp-asm.h.
1726 (DEST): Likewise.
1727 (SRC): Likewise.
1728 (__stpcpy): Likewise. Do not use BP_SYM.
1729 (stpcpy): Do not use BP_SYM in weak_alias.
1730 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1731 "bp-asm.h".
1732 (PARMS): Do not use macros from bp-asm.h.
1733 (DEST): Likewise.
1734 (SRC): Likewise.
1735 (LEN): Likewise.
1736 (__stpncpy): Likewise. Do not use BP_SYM.
1737 (stpncpy): Do not use BP_SYM in weak_alias.
1738 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1739 (PARMS): Do not use macros from bp-asm.h.
1740 (STR): Likewise.
1741 (CHR): Likewise.
1742 (strchr): Likewise. Do not use BP_SYM.
1743 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1744 "bp-asm.h".
1745 (PARMS): Do not use macros from bp-asm.h.
1746 (STR): Likewise.
1747 (CHR): Likewise.
1748 (__strchrnul): Likewise. Do not use BP_SYM.
1749 (strchrnul): Do not use BP_SYM in weak_alias.
1750 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1751 "bp-asm.h".
1752 (PARMS): Do not use macros from bp-asm.h.
1753 (STOP): Likewise.
1754 (strcspn): Do not use BP_SYM.
1755 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1756 "bp-asm.h".
1757 (PARMS): Do not use macros from bp-asm.h.
1758 (STR): Likewise.
1759 (STOP): Likewise.
1760 (strpbrk): Likewise. Do not use BP_SYM.
1761 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1762 "bp-asm.h".
1763 (PARMS): Do not use macros from bp-asm.h.
1764 (STR): Likewise.
1765 (CHR): Likewise.
1766 (strrchr): Likewise. Do not use BP_SYM.
1767 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1768 (PARMS): Do not use macros from bp-asm.h.
1769 (SKIP): Likewise.
1770 (strspn): Do not use BP_SYM.
1771 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1772 (PARMS): Do not use macros from bp-asm.h.
1773 (STR): Likewise.
1774 (DELIM): Likewise.
1775 (SAVE): Likewise.
1776 (FUNCTION): Likewise. Do not use BP_SYM.
1777 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1778 aliases.
1779 (strtok_r): Likewise.
1780 (__GI___strtok_r): Likewise.
1781 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1782 (PARMS): Do not use macros from bp-asm.h.
1783 (S1): Likewise.
1784 (S2): Likewise.
1785 (SIZE): Likewise.
1786 (__mpn_sub_n): Do not use BP_SYM.
1787 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1788 "bp-asm.h".
1789 (PARMS): Do not use macros from bp-asm.h.
1790 (S1): Likewise.
1791 (SIZE): Likewise.
1792 (__mpn_submul_1): Do not use BP_SYM.
1793 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1794 <bp-sym.h>.
1795 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1796 and <bp-asm.h>.
1797 (PARMS): Do not use macros from bp-asm.h.
1798 (FLAGS): Likewise.
1799 (PTID): Likewise.
1800 (TLS): Likewise.
1801 (CTID): Likewise.
1802 (__clone): Do not use BP_SYM.
1803 (clone): Do not use BP_SYM in weak_alias.
1804 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1805 and <bp-asm.h>.
1806 (PARMS): Do not use macros from bp-asm.h.
1807 (LEN): Likewise.
1808 (__mmap64): Do not use BP_SYM.
1809 (mmap64): Do not use BP_SYM in weak_alias.
1810 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1811 <bp-sym.h> and <bp-asm.h>.
1812 (PARMS): Do not use macros from bp-asm.h.
1813 (__posix_fadvise64_l64): Do not use BP_SYM.
1814 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1815 (PARMS): Do not use macros from bp-asm.h.
1816 (NSOPS): Likewise.
1817 (semtimedop): Do not use BP_SYM.
1818 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1819 and <bp-asm.h>.
1820
582a3cff
AM
18212013-02-21 Allan McRae <allan@archlinux.org>
1822
1823 * manual/message.texi (Charset conversion in gettext):
1824 Move @end statement to beginning of line.
1825
bab8a695
SP
18262013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1827
80945231
SP
1828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1829 static.
1830 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1831 Likewise.
1832
bab8a695
SP
1833 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1834 (denorm): Likewise.
1835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1837
e21d7aa7
AK
18382013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1839
1840 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1841 tail-call to the resolved function if pltexit isn't needed.
1842
4c7a4263
SP
18432013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1844
1845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1846 or Y being zero as being unlikely.
1847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1848 Likewise.
1849
41f49342
CD
18502013-02-20 Carlos O'Donell <carlos@redhat.com>
1851
1852 * manual/nss.texi (System Databases and Name Service Switch):
1853 Remove frobnicate @pxref.
1854
50022a93
TS
18552013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1856
1857 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1858 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1859
08cbd996
PM
18602013-02-20 Petr Machata <pmachata@redhat.com>
1861
1862 * elf/elf.h (R_ARM_TARGET1): New macro.
1863 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1864 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1865 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1866 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1867 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1868 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1869 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1870 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1871 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1872 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1873 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1874 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1875 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1876 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1877 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1878 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1879 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1880 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1881 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1882 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1883 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1884 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1885 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1886 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1887 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1888 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1889 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1890 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1891 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1892 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1893 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1894 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1895 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1896 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1897 (R_ARM_THM_GOT_BREL12): Likewise.
1898 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1899 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1900 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1901 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1902 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1903 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1904 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1905 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1906 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1907
c7b275d6
TS
19082013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1909
1910 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1911 __attribute_used__ to __attribute__ ((unused)).
1912
20cd7fb3
SP
19132013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1914
1915 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1916 powerpc mpa.c.
1917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1918 comment formatting.
1919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1920
92945b52
JM
19212013-02-19 Joseph Myers <joseph@codesourcery.com>
1922
1923 [BZ #13550]
1924 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1925 Remove macro.
1926 (ENTER): Remove both macro definitions.
1927 (LEAVE): Likewise.
1928 (CHECK_BOUNDS_LOW): Likewise.
1929 (CHECK_BOUNDS_HIGH): Likewise.
1930 (CHECK_BOUNDS_BOTH): Likewise.
1931 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1932 (RETURN_BOUNDED_POINTER): Likewise.
1933 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1934 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1935 (POP_ERRNO_LOCATION_RETURN): Likewise.
1936 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1937 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1938 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1939 macros.
1940 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1941 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1942 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1943 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1944 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1945 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1946 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1947 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1948 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1949 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1950 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1951 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1952 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1953 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1954 removed macros.
1955 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1956 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1957 macros.
1958 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1959 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1960 * sysdeps/i386/i586/memset.S (memset): Likewise.
1961 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1962 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1963 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1964 macros.
1965 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1966 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1967 Change uses of L(2) to L(out).
1968 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1969 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1970 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1971 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1972 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1973 removed macros.
1974 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1975 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1976 macros.
1977 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1978 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1979 (RETURN): Do not use macro LEAVE.
1980 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1981 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1982 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1983 * sysdeps/i386/i686/memset.S (memset): Likewise.
1984 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1985 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1986 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1987 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1988 Likewise.
1989 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1990 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1991 L(1_2) and L(1_3) into L(1).
1992 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1993 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1994 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1995 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1996 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1997 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1998 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1999 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2000 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2001 macros.
2002 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2003 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2004 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2005 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2006 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2007 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2008 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2009 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2010 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2011 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2012 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2013 * sysdeps/i386/strspn.S (strspn): Likewise.
2014 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2015 conditional code.
2016 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2017 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2018 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2019 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2020 L(1_3) into L(1_1).
2021 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2022 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2023 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2024 macros.
2025 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2026
2389741a
JJ
20272013-02-19 Jakub Jelinek <jakub@redhat.com>
2028
2029 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2030 macro.
2031
2016b3cd
SP
20322013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2033
e4f22324
SP
2034 * math/atest-exp.c (exp_mpn): Remove ROUND.
2035 * math/atest-exp2.c (exp_mpn): Likewise.
2036 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2037
2016b3cd
SP
2038 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2039 * stdlib/tst-tls-atexit-lib.c: Likewise.
2040 * stdlib/tst-tls-atexit.c: Likewise.
2041
4be9b544
MF
20422013-02-18 Mike Frysinger <vapier@gentoo.org>
2043
2044 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2045 and __attribute_alloc_size__.
2046
2f62b9ee
MF
20472013-02-18 Mike Frysinger <vapier@gentoo.org>
2048
2049 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2050 __attribute_alloc_size__.
2051 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2052 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2053
6ff444c4
MF
20542013-02-18 Mike Frysinger <vapier@gentoo.org>
2055
2056 * include/programs/xmalloc.h: New file.
2057 * catgets/gencat.c: Include it.
2058 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2059 * elf/pldd.c: Likewise.
2060 * iconv/iconv_charmap.c: Likewise.
2061 * iconv/iconvconfig.c: Likewise.
2062 * iconv/strtab.c: Likewise.
2063 * locale/programs/locale.c: Likewise.
2064 * locale/programs/localedef.h: Likewise.
2065 * locale/programs/simple-hash.c: Likewise.
2066 * nscd/nscd.h: Likewise.
2067 * nss/makedb.c: Likewise.
2068 * sysdeps/generic/ldconfig.h: Likewise.
2069
be179c8a
SP
20702013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2071
ba384f6e
SP
2072 * Versions.def: Add GLIBC_2.18.
2073 * include/link.h (struct link_map): New member l_tls_dtor_count.
2074 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2075 (__call_tls_dtors): Likewise.
2076 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2077 __cxa_thread_atexit_impl.
2078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2079 Likewise.
2080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2081 Likewise.
2082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2083 Likewise.
2084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2085 Likewise.
2086 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2088 Likewise.
2089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2090 Likewise.
2091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2093 Likewise.
2094 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2095 (tests): Add test case tst-tls-atexit.
2096 (modules-names): Add shared library for tst-tls-atexit.
2097 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2098 (GLIBC_PRIVATE): Add __call_tls_dtors.
2099 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2100 for libstdc++.
2101 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2102 * stdlib/tst-tls-atexit.c: New test case.
2103 * stdlib/tst-tls-atexit-lib.c: New test case.
2104
ffaa74cf 2105 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2106
be179c8a
SP
2107 * elf/Versions (ld): Add _dl_find_dso_for_object.
2108 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2109 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2110 (dl_open_worker): Use _dl_find_dso_for_object.
2111 * elf/dl-sym.c (do_sym): Likewise.
2112 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2113
f78b5caa
AK
21142013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2115
2116 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2117 Syntactic changes only.
2118 (_dl_runtime_profile): Do a tail-call to the resolved function.
2119
29691210
JM
21202013-02-17 Joseph Myers <joseph@codesourcery.com>
2121
2122 [BZ #13550]
2123 * sysdeps/x86_64/bp-asm.h: Remove file.
2124 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2125 <bp-sym.h> and <bp-asm.h>.
2126 (__clone): Do not use BP_SYM.
2127 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2128 <bp-sym.h> and <bp-asm.h>.
2129 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2130 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2131 "bp-asm.h".
2132 (_setjmp): Do not use BP_SYM.
2133 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2134 "bp-asm.h".
2135 (setjmp): Do not use BP_SYM.
2136 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2137 libc_hidden_def.
2138 (mempcpy): Do not use BP_SYM in weak_alias.
2139 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2140 "bp-asm.h".
2141 (strchr): Do not use BP_SYM.
2142 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2143 "bp-asm.h".
2144 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2145 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2146 (_start): Do not use BP_SYM.
2147 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2148 "bp-asm.h".
2149 (strcat): Do not use BP_SYM.
2150 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2151 "bp-asm.h".
2152 (STRCMP): Do not use BP_SYM.
2153 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2154 "bp-asm.h".
2155 (STRCPY): Do not use BP_SYM.
2156 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2157 "bp-asm.h".
2158 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2159 "bp-asm.h".
2160 (FUNCTION): Do not use BP_SYM.
2161 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2162 weak_alias.
2163 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2164
f238fd19
AJ
21652013-02-17 Andreas Jaeger <aj@suse.de>
2166
2167 * time/Versions: Sort entries.
2168 * string/Versions: Likewise.
2169 * resolv/Versions: Likewise.
2170 * posix/Versions: Likewise.
2171 * iconv/Versions: Likewise.
2172 * elf/Versions: Likewise.
2173 * wcsmbs/Versions: Likewise.
2174
bd07f23c 21752013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2176
22af19f9
SP
2177 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2178 loop termination condition.
2179
4709fe76
SP
2180 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2181 variable to calculate EZ.
2182 (__sqr): Likewise.
2d0e0f29
SP
2183
2184 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2185 the lower precision input.
2186
daaa7713
JM
21872013-02-15 Joseph Myers <joseph@codesourcery.com>
2188
2189 [BZ #13550]
2190 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2191 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2192 (run-via-rtld-prefix): Do not handle %-bp tests.
2193 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2194 (all-object-suffixes): Remove .ob.
2195 (bppfx): Remove variable.
2196 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2197 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2198 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2199 [$(build-bounded) = yes] (libtype.ob): Likewise.
2200 * Makerules (elide-routines.ob): Remove variable.
2201 (do-tests-clean): Do not handle *-bp.out.
2202 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2203 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2204 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2205 (tests): Do not include $(tests-bp.out).
2206 (xtests): Do not include $(xtests-bp.out).
2207 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2208 [$(build-bounded) = yes] ($(addprefix
2209 $(objpfx),$(binaries-bounded))): Remove rule.
2210 ($(objpfx)%-bp.out): Remove rule.
2211 * config.make.in (build-bounded): Remove variable.
2212 * crypt/Makefile [$(build-bounded) = yes]
2213 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2214 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2215 append to variable.
2216 [$(build-bounded) = yes] (install-lib): Likewise.
2217 [$(build-bounded) = yes] (generated): Likewise.
2218 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2219 Remove rule.
2220 * intl/Makefile [$(build-bounded) = yes]
2221 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2222 * math/Makefile [$(build-bounded) = yes]
2223 ($(tests:%=$(objpfx)%-bp): Likewise.
2224 * misc/Makefile [$(build-bounded) = yes]
2225 ($(objpfx)tst-tsearch-bp): Likewise.
2226 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2227 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2228 Remove dependency.
2229 * string/Makefile (o-objects.ob): Remove variable.
2230 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2231 (CFLAGS-.ob): Remove variable.
2232 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2233 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2234 both definitions of variable.
2235 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2236 (ASFLAGS-.ob): Remove variable.
2237
e97ed6dd
JM
22382013-02-14 Joseph Myers <joseph@codesourcery.com>
2239
2bdd4ca6
JM
2240 [BZ #13550]
2241 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2242 Remove __BOUNDED_POINTERS__ from condition.
2243 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2244 * string/bits/string2.h [!__NO_STRING_INLINES &&
2245 !__BOUNDED_POINTERS__]: Likewise.
2246 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2247 Likewise.
2248 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2249 Remove conditional code.
2250 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2251 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2252 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2253 condition.
2254
e97ed6dd
JM
2255 [BZ #13550]
2256 * csu/libc-start.c: Do not include <bp-sym.h>.
2257 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2258 * elf/dl-open.c: Do not include <bp-sym.h>.
2259 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2260 * math/fegetenv.c: Do not include <bp-sym.h>.
2261 (fegetenv): Do not use BP_SYM in versioned symbols.
2262 * nptl/sysdeps/pthread/bits/libc-lockP.h
2263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2264 <bp-sym.h>.
2265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2266 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2268 (__pthread_mutex_destroy): Likewise.
2269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2270 (__pthread_mutex_lock): Likewise.
2271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2272 (__pthread_mutex_trylock): Likewise.
2273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2274 (__pthread_mutex_unlock): Likewise.
2275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2276 (__pthread_mutexattr_init): Likewise.
2277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2278 (__pthread_mutexattr_destroy): Likewise.
2279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2280 (__pthread_mutexattr_settype): Likewise.
2281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2282 (__pthread_rwlock_init): Likewise.
2283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2284 (__pthread_rwlock_destroy): Likewise.
2285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2286 (__pthread_rwlock_rdlock): Likewise.
2287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2288 (__pthread_rwlock_tryrdlock): Likewise.
2289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2290 (__pthread_rwlock_wrlock): Likewise.
2291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2292 (__pthread_rwlock_trywrlock): Likewise.
2293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2294 (__pthread_rwlock_unlock): Likewise.
2295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2296 (__pthread_key_create): Likewise.
2297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2298 (__pthread_setspecific): Likewise.
2299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2300 (__pthread_getspecific): Likewise.
2301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2302 Likewise.
2303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2304 (_pthread_cleanup_push_defer): Likewise.
2305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2306 (_pthread_cleanup_pop_restore): Likewise.
2307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2308 (pthread_setcancelstate): Likewise.
2309 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2310 <bp-sym.h>.
2311 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2312 (memchr): Do not use BP_SYM in weak_alias.
2313 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2314 (fegetenv): Do not use BP_SYM in versioned symbols.
2315 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2316 (fesetenv): Do not use BP_SYM in versioned symbols.
2317 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2318 (feupdateenv): Do not use BP_SYM in versioned symbols.
2319 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2320 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2321 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2322 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2323 (open64): Do not use BP_SYM in weak_alias.
2324 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2325 (fegetenv): Do not use BP_SYM in versioned symbols.
2326 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2327 (fesetenv): Do not use BP_SYM in versioned symbols.
2328 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2329 (feupdateenv): Do not use BP_SYM in versioned symbols.
2330 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2331 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2332 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2333 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2334 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2335 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2336 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2337 <bp-sym.h>.
2338 (__libc_start_main): Do not use BP_SYM.
2339
d6752ccd
SP
23402013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2341
cb57ce60
SP
2342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2343 redundant return line.
2344 (norm): Likewise.
2345 (denorm): Likewise.
2346 (dbl_mp): Likewise.
2347 (sub_magnitudes): Likewise.
2348 (__add): Likewise.
2349 (__sub): Likewise.
2350 (__mul): Likewise.
2351 (__inv): Likewise.
2352 (__dvd): Likewise.
2353 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2354 (norm): Likewise.
2355 (denorm): Likewise.
2356 (dbl_mp): Likewise.
2357 (sub_magnitudes): Likewise.
2358 (__add): Likewise.
2359 (__sub): Likewise.
2360 (__mul): Likewise.
2361 (__inv): Likewise.
2362 (__dvd): Likewise.
2363
f414520d
SP
2364 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2365 instead of __mul.
2366 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2367 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2368 (cc32): Likewise.
2369
d6752ccd
SP
2370 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2371 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2372 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2373 of __mul for squares.
2374 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2375 function
2376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2377 Likewise.
2378 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2379 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2380
70d9946a
JM
23812013-02-13 Joseph Myers <joseph@codesourcery.com>
2382
2383 [BZ #13550]
2384 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2385 code.
2386 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2387 prototype or function definition. Rename ubp_* variables and
2388 parameters. Remove argv definitions conditional on
2389 [__BOUNDED_POINTERS__].
2390 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2391 * elf/dl-runtime.c (_dl_fixup): Likewise.
2392 * include/set-hooks.h (RUN_HOOK): Likewise.
2393 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2394 definition.
2395 * string/strcpy.c (strcpy): Do not use __unbounded.
2396 * sysdeps/generic/frame.h (struct layout): Likewise.
2397 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2398 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2399 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2400 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2401 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2402 (__backtrace): Likewise.
2403 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2404 use __ptrvalue.
2405 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2406 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2407 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2408 Likewise.
2409 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2410 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2411 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2412 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2413 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2414 Do not use __unbounded.
2415 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2416 Rename __unboundedrlimits parameter to rlimits in prototype.
2417 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2418 Do not use __unbounded.
2419 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2420 not use __ptrvalue.
2421 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2422 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2423 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2424 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2425 __ptrvalue or __unbounded.
2426 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2427 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2428 use __unbounded.
2429 (__new_msgctl): Do not use __ptrvalue.
2430 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2431 __unbounded.
2432 (__libc_msgrcv): Do not use __ptrvalue.
2433 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2434 startup_info): Do not use __unbounded.
2435 (__libc_start_main): Likewise. Rename ubp_* variables and
2436 parameters. Remove argv definitions conditional on
2437 [__BOUNDED_POINTERS__].
2438 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2439 __ptrvalue.
2440 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2441 use __unbounded.
2442 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2443 or __ptrvalue.
2444 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2445 use __unbounded.
2446 (__new_shmctl): Do not use __ptrvalue.
2447 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2448 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2449 Likewise.
2450 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2451 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2452 (__libc_sigaction): Likewise.
2453 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2454 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2455 Likewise.
2456 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2457
cc7834d6
OB
24582013-02-13 Ondřej Bílka <neleai@seznam.cz>
2459
ffb1ec7b 2460 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2461
2462 * string/mempcpy.c: Implement by calling memcpy.
2463
bdf02814
SP
24642013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2465
c2af38aa
SP
2466 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2467
4e92d59e
SP
2468 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2469 evaluation.
2470
909279a5
SP
2471 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2472 values in the mantissa.
2473
bdf02814
SP
2474 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2475 minimize writes to Z.
2476 (sub_magnitudes): Simplify code a bit.
2477
cd525923
RM
24782013-02-12 Roland McGrath <roland@hack.frob.com>
2479
2480 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2481 from the message. The linker prefixes all warnings with that already.
2482
7e2f0d2d
AS
24832013-02-12 Andreas Schwab <schwab@suse.de>
2484
a445af0b
AS
2485 [BZ #15078]
2486 * posix/regexec.c (extend_buffers): Add parameter min_len.
2487 (check_matching): Pass minimum needed length.
2488 (clean_state_log_if_needed): Likewise.
2489 (get_subexp): Likewise.
2490 * posix/Makefile (tests): Add bug-regex34.
2491 (bug-regex34-ENV): Define.
2492 * posix/bug-regex34.c: New file.
2493
7e2f0d2d
AS
2494 [BZ #11561]
2495 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2496 elements compare against the byte sequence of it, not its name.
2497 * posix/Makefile (tests): Add bug-regex35.
2498 (bug-regex35-ENV): Define.
2499 * posix/bug-regex35.c: New file.
2500
a175b684
TV
25012013-02-11 Tom de Vries <tom@codesourcery.com>
2502
2503 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2504 comment.
2505 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2506 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2507 (CHECK_EOL): Add undef.
2508
310998fe 25092013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2510
2511 * bits/stdlib-bsearch.h: New file.
2512 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2513 * stdlib/stdlib.h: Likewise.
41eda41d 2514
8ded91fb
RM
25152013-02-11 Roland McGrath <roland@hack.frob.com>
2516
2517 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2518 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2519 declaration.
2520 * manual/search.texi (Array Search Function): Add missing const in
2521 lfind prototype.
2522 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2523 declaration to use rlim_t.
2524 (Basic Scheduling Functions): Remove erroneous const from
2525 sched_getparam prototype. Remove erroneous * from
2526 sched_get_priority_max and sched_get_priority_min prototypes.
2527 (Resource Usage): Fix summary @comment on vtimes to refer to
2528 sys/vtimes.h rather than vtimes.h.
2529 Add missing *s in vtimes prototype.
2530 (Limits on Resources): Fix ulimit prototype to return long int.
2531 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2532 prototypes to use long int rather than double.
2533 (BSD Random): Fix initstate and setstate to use char *, not void *.
2534 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2535 prototype to make second argument 'struct aiocb64 *const[]'.
2536 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2537 (Status of AIO Operations): Remove erroneous const in aio_return and
2538 aio_return64 prototypes.
2539 (Synchronizing I/O): Fix sync prototype to return void.
2540 * manual/startup.texi (Suboptions): Remove an erroneous const in
2541 getsubopt prototype.
2542 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2543 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2544 use size_t rather than int.
2545 (Scanning All Users): Likewise for getpwent_r.
2546 (Setting Groups): Add missing const to setgroups prototype.
2547 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2548 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2549 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2550 'const void *' rather than 'const char *'.
2551 (Host Address Functions): Likewise for inet_ntop.
2552 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2553 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2554 ssize_t for return value.
2555 (Sending Data): Likewise for send, sendto, sendmsg.
2556 (Socket Option Functions): Add a missing const in setsockopt prototype.
2557 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2558 use wchar_t for the argument.
2559 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2560 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2561 take no arguments.
2562 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2563 double/float/long double for second argument.
2564 Fix return types of significand, significandf, significandl.
2565 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2566 argument in fchmod prototype.
2567 (File Owner): Use uid_t and gid_t in fchown prototype.
2568 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2569 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2570 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2571 use 'const struct dirent **' as argument types to CMP function pointer
2572 argument.
2573 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2574 (File Times): Fix summary magic @comment for struct utimbuf and utime
2575 to refer to utime.h, not time.h.
2576 * manual/string.texi (Argz Functions): Add missing const in
2577 argz_extract and argz_next prototypes.
2578 (Finding Tokens in a String): Likewise for basename.
2579 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2580 (Copying and Concatenation): Fix typo in wmemmove prototype.
2581 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2582 (Signal Stack): Remove erroneous const in sigstack prototype.
2583 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2584 prototype.
2585 (Simple Calendar Time): Likewise for stime.
2586 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2587 prototype.
2588 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2589 say sys/sysctl.h instead.
2590 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2591 and vsyslog prototypes.
2592
fe77fe6d
TV
25932013-02-11 Tom de Vries <tom@codesourcery.com>
2594
2595 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2596 Remove.
2597
3a09b620
RM
25982013-02-11 Roland McGrath <roland@hack.frob.com>
2599
2600 * misc/sys/mman.h: Fix typo in mremap comment.
2601
550a0b89
RM
26022013-02-08 Roland McGrath <roland@hack.frob.com>
2603
2604 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2605 the '\0' terminator.
2606
a2da1673
JM
26072013-02-08 Joseph Myers <joseph@codesourcery.com>
2608
2609 [BZ #13550]
2610 * debug/segfault.c: Don't include <bp-checks.h>.
2611 * sysdeps/generic/bp-checks.h: Remove file.
2612 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2613 (__GETDENTS): Don't use CHECK_N.
2614 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2615 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2616 (__getgroups): Don't use CHECK_N.
2617 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2618 (setgroups): Don't use CHECK_N.
2619 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2620 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2621 (__libc_msgrcv): Don't use CHECK_N.
2622 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2623 (__libc_msgsnd): Don't use CHECK_N.
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2625 <bp-checks.h>.
2626 (__libc_pread): Don't use CHECK_N.
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2628 include <bp-checks.h>.
2629 (__libc_pread64): Don't use CHECK_N.
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2631 include <bp-checks.h>.
2632 (__libc_pwrite): Don't use CHECK_N.
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2634 include <bp-checks.h>.
2635 (__libc_pwrite64): Don't use CHECK_N.
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2637 <bp-checks.h>.
2638 (__libc_pread): Don't use CHECK_N.
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2640 include <bp-checks.h>.
2641 (__libc_pread64): Don't use CHECK_N.
2642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2643 include <bp-checks.h>.
2644 (__libc_pwrite): Don't use CHECK_N.
2645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2646 include <bp-checks.h>.
2647 (__libc_pwrite64): Don't use CHECK_N.
2648 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2649 (do_pread): Don't use CHECK_N.
2650 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2651 (do_pread64): Don't use CHECK_N.
2652 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2653 (do_pwrite): Don't use CHECK_N.
2654 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2655 (do_pwrite64): Don't use CHECK_N.
2656 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2657 (__libc_readv): Don't use CHECK_N.
2658 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2659 (semop): Don't use CHECK_N.
2660 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2661 <bp-checks.h>.
2662 (semtimedop): Don't use CHECK_N.
2663 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2664 (__libc_pread): Don't use CHECK_N.
2665 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2666 <bp-checks.h>.
2667 (__libc_pread64): Don't use CHECK_N.
2668 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2669 <bp-checks.h>.
2670 (__libc_pwrite): Don't use CHECK_N.
2671 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2672 <bp-checks.h>.
2673 (__libc_pwrite64): Don't use CHECK_N.
2674 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2675 <bp-checks.h>.
2676 (__libc_msgrcv): Don't use CHECK_N.
2677 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2678 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2679 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2680 (__libc_writev): Don't use CHECK_N.
2681
b84660a8
RM
26822013-02-08 Roland McGrath <roland@hack.frob.com>
2683
7f3e75f8
RM
2684 * string/strcpy.c: Removed unused variable.
2685
b84660a8
RM
2686 * Makeconfig (+sysdep-includes): Define with := rather than =.
2687 Use an existing include/ subdir of each sysdeps dir before it.
2688
471514d3
CD
26892013-02-08 Carlos O'Donell <carlos@redhat.com>
2690
2691 * nscd/connection.c (register_traced_file): Comment function.
2692 [HAVE_INOTIFY] (union __inev): Define.
2693 [HAVE_INOTIFY] (inotify_check_files): New function.
2694 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2695 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2696 clear_db_cache.
2697 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2698
b2d3c3be
CD
26992013-02-08 Carlos O'Donell <carlos@redhat.com>
2700
2701 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2702 loaded if not already and that a failure is permanent.
2703
b39949d2
CD
27042013-02-08 Carlos O'Donell <carlos@redhat.com>
2705
ddacd1db 2706 [BZ #15006]
b39949d2
CD
2707 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2708 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2709
b2c9eff4
JM
27102013-02-08 Joseph Myers <joseph@codesourcery.com>
2711
f3aae3f3
JM
2712 [BZ #13550]
2713 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2714 (CHECK_1_NULL_OK): Likewise.
2715 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2716 (__fxstat): Do not use CHECK_1.
2717 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2718 <bp-checks.h>.
2719 (___fxstat64): Do not use CHECK_1.
2720 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2721 <bp-checks.h>.
2722 (__fxstatat): Do not use CHECK_1.
2723 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2724 <bp-checks.h>.
2725 (__fxstatat64): Do not use CHECK_1.
2726 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2727 <bp-checks.h>.
2728 (__fxstat): Do not use CHECK_1.
2729 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2730 <bp-checks.h>.
2731 (__fxstatat): Do not use CHECK_1.
2732 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2733 <bp-checks.h>.
2734 (__getresgid): Do not use CHECK_1.
2735 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2736 <bp-checks.h>.
2737 (__getresuid): Do not use CHECK_1.
2738 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2739 <bp-checks.h>.
2740 (__lxstat): Do not use CHECK_1.
2741 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2742 <bp-checks.h>.
2743 (__old_msgctl): Do not use CHECK_1.
2744 (__new_msgctl): Likewise.
2745 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2746 <bp-checks.h>.
2747 (__new_setrlimit): Do not use CHECK_1.
2748 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2749 <bp-checks.h>.
2750 (__old_shmctl): Do not use CHECK_1.
2751 (__new_shmctl): Likewise.
2752 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2753 <bp-checks.h>.
2754 (__xstat): Do not use CHECK_1.
2755 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2756 (__lxstat): Do not use CHECK_1.
2757 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2758 <bp-checks.h>.
2759 (___lxstat64): Do not use CHECK_1.
2760 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2761 (__old_msgctl): Do not use CHECK_1.
2762 (__new_msgctl): Likewise.
2763 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2764 <bp-checks.h>.
2765 (__gettimeofday): Do not use CHECK_1.
2766 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2767 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2768 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2769 <bp-checks.h>.
2770 (__gettimeofday): Do not use CHECK_1.
2771 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2772 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2773 (__new_shmctl): Do not use CHECK_1.
2774 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2775 <bp-checks.h>.
2776 (do_sigtimedwait): Do not use CHECK_1.
2777 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2778 <bp-checks.h>.
2779 (do_sigwaitinfo): Do not use CHECK_1.
2780 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2781 <bp-checks.h>.
2782 (msgctl): Do not use CHECK_1.
2783 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2784 <bp-checks.h>.
2785 (shmctl): Do not use CHECK_1.
2786 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2787 (ustat): Do not use CHECK_1.
2788 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2789 <bp-checks.h>.
2790 (__fxstat): Do not use CHECK_1.
2791 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2792 <bp-checks.h>.
2793 (__fxstatat): Do not use CHECK_1.
2794 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2795 <bp-checks.h>.
2796 (__lxstat): Do not use CHECK_1.
2797 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2798 <bp-checks.h>.
2799 (__xstat): Do not use CHECK_1.
2800 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2801 (__xstat): Do not use CHECK_1.
2802 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2803 (___xstat64): Do not use CHECK_1.
2804
b2c9eff4
JM
2805 [BZ #13550]
2806 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2807 definitions.
2808 (CHECK_BOUNDS_HIGH): Likewise.
2809 * string/strcpy.c: Do not include <bp-checks.h>.
2810 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2811
f1d70dad
RM
28122013-02-07 Roland McGrath <roland@hack.frob.com>
2813
2814 * nscd/nscd-client.h (__nscd_drop_map_ref):
2815 Add __attribute__ ((unused)).
2816 * nis/nss-nisplus.h (niserr2nss): Likewise.
2817
2818 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2819 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2820
2821 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2822 Remove inline keyword.
2823 * include/rounding-mode.h (round_away): Likewise.
2824 * libio/wfileops.c (adjust_wide_data): Likewise.
2825 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2826 (__m128i_strloadu_tolower): Likewise.
2827 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2828 (__m128i_strloadu_tolower): Likewise.
2829 * time/mktime.c (ydhms_diff): Likewise.
2830 * locale/elem-hash.h (elem_hash): Likewise.
2831 * locale/setlocale.c (setdata): Likewise.
2832 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2833 (re_string_wchar_at): Likewise.
2834 (bitset_not, bitset_merge, bitset_mask): Likewise.
2835 [!(__GNUC__ > 3)] (inline): Remove macro.
2836 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2837 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2838 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2839 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2840 * string/memcmp.c (memcmp_bytes): Likewise.
2841 * locale/programs/locarchive.c (compute_hashval): Likewise.
2842 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2843 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2844 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2845 * nss/getent.c (print_rpc, print_protocols): Likewise.
2846 (print_passwd, print_group, print_aliases): Likewise.
2847 * nis/nss-nisplus.h (niserr2nss): Likewise.
2848 * nscd/connections.c (restart_p): Likewise.
2849 Change return type to bool.
2850
eab55bfb
RM
28512013-02-05 Roland McGrath <roland@hack.frob.com>
2852
7bd642f5
RM
2853 * Makeconfig (all-Depend-files): Add existing
2854 $(sorted-subdirs:=/Depend) files.
2855 (all-subdirs): Remove nss.
2856 * sysdeps/unix/inet/Subdirs: Add it here instead.
2857 * hesiod/Depend: New file.
2858
573c29b2
RM
2859 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2860 instead of calling alloca.
2861
b2e25af0
RM
2862 * io/lseek.c (__lseek): Rename to __libc_lseek.
2863 Define __lseek as an alias.
2864
eab55bfb
RM
2865 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2866
9a0d1941
CD
28672013-02-04 Carlos O'Donell <carlos@redhat.com>
2868
2869 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2870 else clause and remove check for non-standard endianness.
2871
b83bbec4
DM
28722013-02-04 David S. Miller <davem@davemloft.net>
2873
2874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2875
6277fdab
JM
28762013-02-04 Joseph Myers <joseph@codesourcery.com>
2877
2878 [BZ #13550]
2879 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2880 (__ubp_memchr): Remove prototype.
2881 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2882 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2883 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2884 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2885 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2886 Remove alias.
2887 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2888 (__ubp_memchr): Likewise.
2889 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2890 (__ubp_memchr): Likewise.
2891 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2892 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2893 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2894 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2895 CHECK_STRING.
2896 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2897 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2898 (__getcwd): Do not use CHECK_STRING.
2899 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2900 <bp-checks.h>.
2901 (__real_chown): Do not use CHECK_STRING.
2902 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2903 <bp-checks.h>.
2904 (fchownat): Do not use CHECK_STRING.
2905 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2906 CHECK_STRING.
2907 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2908 <bp-checks.h>.
2909 (__lchown): Do not use CHECK_STRING.
2910 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2911 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2912 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2913 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2915 include <bp-checks.h>.
2916 (truncate64): Do not use CHECK_STRING.
2917 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2918 <bp-checks.h>.
2919 (__real_chown): Do not use CHECK_STRING.
2920 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2921 <bp-checks.h>.
2922 (__lchown): Do not use CHECK_STRING.
2923 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2924 <bp-checks.h>.
2925 (__chown): Do not use CHECK_STRING.
2926 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2927 <bp-checks.h>.
2928 (truncate64): Do not use CHECK_STRING.
2929 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2930 Likewise.
2931 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2932 (__xmknod): Do not use CHECK_STRING.
2933 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2934 <bp-checks.h>.
2935 (__xmknodat): Do not use CHECK_STRING.
2936 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2937 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2938
903ae060
AS
29392013-02-04 Andreas Schwab <schwab@suse.de>
2940
2941 [BZ #14142]
2942 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2943 * include/netdb.h: Likewise for h_errno.
2944 * elf/tst-stackguard1.c: Include <tls.h>.
2945
542f9466
JK
29462013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2947
2948 * elf/link.h (struct link_map): Extend the l_addr comment.
2949 * include/link.h (struct link_map): Likewise.
2950
e782a927
JM
29512013-02-01 Joseph Myers <joseph@codesourcery.com>
2952
2953 [BZ #13550]
2954 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2955 (BOUNDED_1): Remove macro.
2956 * debug/backtrace.c: Don't include <bp-checks.h>.
2957 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2958 (__backtrace): Likewise.
2959 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2960 <bp-checks.h>.
2961 (__backtrace): Don't use BOUNDED_1.
2962 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2963 <bp-checks.h>.
2964 (__backtrace): Don't use BOUNDED_1.
2965 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2966 (__backtrace): Don't use BOUNDED_1.
2967 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2968 (shmat): Don't use BOUNDED_N.
2969
8cf28c5e
JM
29702013-01-31 Joseph Myers <joseph@codesourcery.com>
2971
3a7ac8a0
JM
2972 [BZ #13550]
2973 * sysdeps/generic/bp-start.h: Remove file.
2974 * csu/libc-start.c: Don't include <bp-start.h>.
2975 (LIBC_START_MAIN): Set up __environ directly instead of using
2976 INIT_ARGV_and_ENVIRON.
2977 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2978 <bp-start.h>.
2979
f3499f95
JM
2980 [BZ #13550]
2981 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2982 definitions.
2983 (CHECK_FCNTL): Likewise.
2984 (CHECK_N_PAGES): Likewise.
2985
32a45bea
JM
2986 [BZ #13550]
2987 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2988 definitions.
2989 (CHECK_SIGSET_NULL_OK): Likewise.
2990 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2991 <bp-checks.h>.
2992 (sigpending): Don't use CHECK_SIGSET.
2993 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2994 <bp-checks.h>.
2995 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2996 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2997 <bp-checks.h>.
2998 (do_sigsuspend): Don't use CHECK_SIGSET.
2999 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3000 use CHECK_SIGSET.
3001 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3002 (do_sigwait): Don't use CHECK_SIGSET.
3003 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3004 use CHECK_SIGSET.
3005 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3006 include <bp-checks.h>.
3007 (sigpending): Don't use CHECK_SIGSET.
3008 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3009 include <bp-checks.h>.
3010 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3011 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3012 <bp-checks.h>.
3013 (sigpending): Don't use CHECK_SIGSET.
3014 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3015 <bp-checks.h>.
3016 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3017
2e8a5c8c
JM
3018 [BZ #13550]
3019 * sysdeps/generic/bp-semctl.h: Remove file.
3020 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3021 <bp-checks.h> and <bp-semctl.h>.
3022 (__old_semctl): Don't use CHECK_SEMCTL.
3023 (__new_semctl): Likewise.
3024 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3025 and <bp-semctl.h>.
3026 (__old_semctl): Don't use CHECK_SEMCTL.
3027 (__new_semctl): Likewise.
3028 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3029 <bp-checks.h> and <bp-semctl.h>.
3030 (__old_semctl): Don't use CHECK_SEMCTL.
3031 (__new_semctl): Likewise.
3032 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3033 <bp-checks.h> and <bp-semctl.h>.
3034 (semctl): Don't use CHECK_SEMCTL.
3035
c2d54929
JM
3036 [BZ #13550]
3037 * Makerules (elide-bp-thunks): Remove variable.
3038 (elide-routines.oS): Don't use $(elide-bp-thunks).
3039 (elide-routines.os): Likewise.
3040 (elide-routines.o): Likewise.
3041 (elide-routines.op): Likewise.
3042 (elide-routines.og): Likewise.
3043 (objects): Don't use $(bp-thunks).
3044 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3045 include.
3046 (common-generated): Do not add s-proto-bp.d.
3047 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3048 (int): Likewise.
3049 (typ): Likewise.
3050 Do not generate makefile rules for bounded-pointer thunks.
3051 * sysdeps/generic/bp-thunks.h: Remove file.
3052 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3053 * sysdeps/unix/s-proto-bp.S: Likewise.
3054
8cf28c5e
JM
3055 [BZ #15062]
3056 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3057 parts of result separately when argument is not close to line from
3058 -i to i and one part of argument is small.
3059 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3060 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3061 * math/libm-test.inc (cacos_test): Add more tests.
3062 (casin_test): Likewise.
3063 (casinh_test): Likewise.
3064 * sysdeps/i386/fpu/libm-test-ulps: Update.
3065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3066
c4e33b8d
DM
30672013-01-31 David S. Miller <davem@davemloft.net>
3068
3069 * po/de.po: Update from translation team.
3070
3b60b421
MK
30712013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3072
3073 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3074
bb931195
TS
30752013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3076
b5a5da23
TS
3077 * configure.in (_AC_PROG_CC_C89): New definition.
3078 * configure: Regenerate.
3079
bb931195
TS
3080 * configure.in (AC_PROG_CPP): New definition.
3081 * configure: Regenerate.
3082
8c53a12c
JM
30832013-01-23 Joseph Myers <joseph@codesourcery.com>
3084
3085 * debug/tst-backtrace.h: New file.
3086 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3087 (ret): Remove variable.
3088 (x): Likewise.
3089 (FAIL): Remove macro.
3090 (NO_INLINE): Likewise.
3091 (fn1): Use match function instead of strstr.
3092 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3093 (ret): Remove variable.
3094 (x): Likewise.
3095 (FAIL): Remove macro.
3096 (NO_INLINE): Likewise.
3097 (fn): Use match function instead of strstr.
3098 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3099 (ret): Remove variable.
3100 (x): Likewise.
3101 (FAIL): Remove macro.
3102 (NO_INLINE): Likewise.
3103 (handle_signal): Use match function instead of strstr.
3104 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3105 (ret): Remove variable.
3106 (x): Likewise.
3107 (FAIL): Remove macro.
3108 (NO_INLINE): Likewise.
3109 (handle_signal): Use match function instead of strstr.
3110
4858fa2a
RM
31112013-01-23 Roland McGrath <roland@hack.frob.com>
3112
3113 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3114
bae8e7f5
DM
31152013-01-23 David S. Miller <davem@davemloft.net>
3116
3117 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3118 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3119 argument of CAS if possible.
3120 * sysdeps/sparc/sparc64/bits/atomic.h
3121 (__arch_compare_and_exchange_val_32_acq): Likewise.
3122 (__arch_compare_and_exchange_val_64_acq): Likewise.
3123
9cbbc4ae
PT
31242013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3125
3126 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3127 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3128 Include <limits.h>.
67b3f58c 3129 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3130
5655a0b5
AC
31312013-01-23 Adam Conrad <adconrad@0c3.net>
3132
3133 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3134 (LDFLAGS-tst-array5): Likewise.
3135
052aff95
JM
31362013-01-23 Joseph Myers <joseph@codesourcery.com>
3137
3138 [BZ #15036]
3139 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3140 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3141 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3142 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3143
7c1e01aa
DM
31442013-01-21 David S. Miller <davem@davemloft.net>
3145
3146 * sysdeps/sparc/backtrace.c: New file.
3147 * sysdeps/sparc/sparc32/backtrace.h: New file.
3148 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3149 * sysdeps/sparc/sparc64/backtrace.h: New file.
3150 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3151 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3152 -funwind-tables.
3153
ab087e0a
AS
31542013-01-21 Andreas Schwab <schwab@suse.de>
3155
3156 [BZ #15020]
3157 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3158 closed its stdout.
3159
ed689c2f
AS
31602013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3161
3162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3163 "mpa2.h".
3164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3165
31d470ac
JM
31662013-01-18 Joseph Myers <joseph@codesourcery.com>
3167 Mark Mitchell <mark@codesourcery.com>
3168 Tom de Vries <tom@codesourcery.com>
3169 Paul Pluzhnikov <ppluzhnikov@google.com>
3170
3171 * debug/tst-backtrace2.c: New file.
3172 * debug/tst-backtrace3.c: Likewise.
3173 * debug/tst-backtrace4.c: Likewise.
3174 * debug/tst-backtrace5.c: Likewise.
3175 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3176 (CFLAGS-tst-backtrace3.c): Likewise.
3177 (CFLAGS-tst-backtrace4.c): Likewise.
3178 (CFLAGS-tst-backtrace5.c): Likewise.
3179 (LDFLAGS-tst-backtrace2): Likewise.
3180 (LDFLAGS-tst-backtrace3): Likewise.
3181 (LDFLAGS-tst-backtrace4): Likewise.
3182 (LDFLAGS-tst-backtrace5): Likewise.
3183 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3184 tst-backtrace4 and tst-backtrace5.
3185
90567f30 31862013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3187 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3188
3189 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3190 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3191 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3192 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3194 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3195 "+r" and remove output regs list as redundant. Add explicit inline
3196 asm to specify register of return val to work around compiler codegen
3197 bug. Remove (int) cast on return value. Add return type parameter to
3198 use in macro so that this macro does not truncate return value for
3199 64-bit values.
3200 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3201 pass to INTERNAL_VSYSCALL_NCS.
3202 (INLINE_VSYSCALL): Add 'long int' as return type to
3203 INTERNAL_VSYSCALL_NCS macro invocation.
3204 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3205 INTERNAL_VSYSCALL_NCS macro invocation.
3206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3207
d3b9ea61
SP
32082013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3209
0b57daeb
SP
3210 [BZ #14496]
3211 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3212 Fix application of SIMD FP exception mask.
3213
caa99d06
SP
3214 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3215 mp_no from a power of two.
3216 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3217 __mpexp_twomm1. Use __pow_mp.
3218
d3b9ea61
SP
3219 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3220 multiplication.
3221
1dbaee3c
DM
32222013-01-17 David S. Miller <davem@davemloft.net>
3223
3224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3225
728d7b43
JM
32262013-01-17 Joseph Myers <joseph@codesourcery.com>
3227
3228 [BZ #15023]
3229 * include/complex.h: Condition contents on [!_COMPLEX_H].
3230 (__kernel_casinhf): New prototype.
3231 (__kernel_casinh): Likewise.
3232 (__kernel_casinhl): Likewise.
3233 * math/Makefile (libm_calls): Add k_casinh.
3234 * math/k_casinh.c: New file.
3235 * math/k_casinhf.c: Likewise.
3236 * math/k_casinhl.c: Likewise.
3237 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3238 finite nonzero arguments.
3239 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3240 finite nonzero arguments.
3241 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3242 finite nonzero arguments.
3243 * math/s_casinh.c: Do not include <float.h>.
3244 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3245 * math/s_casinhf.c: Do not include <float.h>.
3246 (__casinhf): Move code for finite nonzero arguments to
3247 k_casinhf.c.
3248 * math/s_casinhl.c: Do not include <float.h>.
3249 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3250 redefine.
3251 (__casinhl): Move code for finite nonzero arguments to
3252 k_casinhl.c.
3253 * math/libm-test.inc (cacos_test): Add more tests.
3254 * sysdeps/i386/fpu/libm-test-ulps: Update.
3255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3256
2a26ef3a
PT
32572013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3258
3259 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3260 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3261 [!HAVE_MREMAP]: Remove [defined linux] case.
3262 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3263
a897655d
SP
32642013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3265
3266 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3267
881ebe89 32682013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3269
3270 * elf/elf.h (R_386_SIZE32): New relocation.
3271 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3272 R_386_SIZE32.
3273 (elf_machine_rela): Likewise.
3274 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3275 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3276
59981e9b
JM
32772013-01-17 Joseph Myers <joseph@codesourcery.com>
3278
3279 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3280 (FP_FAST_FMA): Do not define.
3281 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3282 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3283 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3284 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3285 !_SOFT_FLOAT]: Likewise.
3286 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3287 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3288 value.
3289 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3290 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3291 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3292 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3293 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3294 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3295 file.
3296
cfa8054f
AS
32972013-01-16 Andreas Schwab <schwab@suse.de>
3298
3299 [BZ #14327]
3300 * include/stdlib.h (__mktemp): Add declaration.
3301 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3302 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3303
dd930cc5
SP
33042013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3305
881ebe89
SP
3306 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3307 definitions.
3308 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3309 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3310 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3311 definitions here.
3312 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3313 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3314 definitions.
3315 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3316 and ONE.
3317 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3318 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3319 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3320 definitions.
3321 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3322 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3323 definitions.
3324 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3325
dd930cc5
SP
3326 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3327
c19a9f89
DM
33282013-01-15 David S. Miller <davem@davemloft.net>
3329
1aa61767
DM
3330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3331 trunc{,f} to libm-sysdep_routes.
3332 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3334 file.
3335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3337 file.
3338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3339 file.
3340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3342 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3343 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3344 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3345 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3346 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3347 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3348
c42d5e98
DM
3349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3350 nearbyint{,f} to libm-sysdep_routes.
3351 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3353 New file.
3354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3355 file.
3356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3357 New file.
3358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3359 file.
3360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3362 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3363 file.
3364 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3365 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3366 file.
3367 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3368 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3369 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3370
c19a9f89
DM
3371 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3372 libc_feholdexcept and libc_fesetenv.
3373
357679d2
MF
33742013-01-15 Mike Frysinger <vapier@gentoo.org>
3375
3376 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3377
65a82e3d
DM
33782013-01-14 David S. Miller <davem@davemloft.net>
3379
8b954ab9
DM
3380 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3381 (SPARC_ASM_VIS2_IFUNC): Likewise.
3382 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3384 use of 'siam' instruction.
3385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3386 Likewise.
3387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3388 Likewise.
3389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3390 Likewise.
3391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3392 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3393 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3394 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3396 file.
3397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3398 file.
3399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3400 file.
3401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3402 file.
3403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3405 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3408 new VIS2 routines.
3409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3412 Likewise.
3413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3415 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3418 routines to libm-sysdep_routines.
3419 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3420
65a82e3d
DM
3421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3422 fdim/fdimf to libm-sysdep_routines.
3423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3424 file.
3425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3427 file.
3428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3431 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3432 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3433 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3434 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3435
e34ab705
SP
34362013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3437
2a91b573
SP
3438 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3439 to optimize copies.
3440
1066a534
SP
3441 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3443 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3444
e34ab705
SP
3445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3446 local variable MPTWO.
3447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3448 Likewise.
3449
aba5e596
MF
34502013-01-13 Mike Frysinger <vapier@gentoo.org>
3451
3452 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3453 GLOB_NOESCAPE.
3454
e557e9e5
MF
34552013-01-13 Mike Frysinger <vapier@gentoo.org>
3456
3457 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3458
0428cec9
MF
34592013-01-13 Mike Frysinger <vapier@gentoo.org>
3460
3461 * manual/pattern.texi (glob_t): Document gl_flags.
3462 (glob64_t): Likewise.
3463
8794a964
DM
34642013-01-11 David S. Miller <davem@davemloft.net>
3465
66438c3f
RM
3466 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3467 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3468 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3469 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3470 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3471 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3472 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3473 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3474 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3475 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3476 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3477 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3478 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3479
4ae4244d
DM
3480 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3481 sparc V9 rather than using V8 code.
3482 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3483 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3484
8794a964
DM
3485 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3486 Move to...
3487 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3488 Here.
3489
6270516e
RM
34902013-01-11 Roland McGrath <roland@hack.frob.com>
3491
3492 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3493 not in the main loop.
3494 * configure: Regenerated.
3495
6a57d931
JM
34962013-01-11 Joseph Myers <joseph@codesourcery.com>
3497
3498 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3499 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3500 to just #else.
3501 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3502 [!__GLIBC_HAVE_LONG_LONG] case.
3503 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3504 condition to just #else.
3505 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3506 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3507 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3508 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3509 unconditional.
3510 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3511 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3512 #elif condition to just #else.
3513 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3514 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3515 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3516 #elif condition to just #else.
3517
0e8529e9
SE
35182013-01-11 Steve Ellcey <sellcey@mips.com>
3519
3520 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3521 (EF_MIPS_ARCH_64): Fix value.
3522 (EF_MIPS_ARCH_32R2): New.
3523 (EF_MIPS_ARCH_64R2): New.
3524
740b3dbe
L
35252013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3526
3527 * Makeconfig (+link-pie-before-libc): New.
3528 (+link-pie-after-libc): Likewise.
3529 (+link-pie-tests): Likewise.
3530 (+link-pie): Rewritten.
3531 (link-before-libc): Remove $(config-LDFLAGS).
3532 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3533 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3534 (config-LDFLAGS): Renamed to ...
3535 (rtld-LDFLAGS): This.
3536 (rtld-tests-LDFLAGS): New macro.
3537 (link-libc-rpath-link): Likewise.
3538 (link-libc-tests-rpath-link): Likewise.
3539 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3540 (link-libc): Prepand $(link-libc-rpath-link).
3541 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3542 (test-program-prefix): New macro.
3543 (test-via-rtld-prefix): Likewise.
3544 (test-program-cmd): Likewise.
3545 (host-test-program-cmd): Likewise.
3546 * Makefile ($(common-objpfx)testrun.sh): Replace
3547 $(run-program-prefix) with $(test-program-prefix).
3548 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3549 $(rtld-LDFLAGS).
3550 ($(common-objpfx)shlib.lds): Likewise.
3551 (build-module-helper): Likewise.
3552 ($(common-objpfx)format.lds): Likewise.
3553 * Rules (binaries-pie-tests): New.
3554 (binaries-pie-notests): Likewise.
3555 (binaries-pie): Rewritten.
3556 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3557 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3558 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3559 (make-test-out): Replace $(host-built-program-cmd) with
3560 $(host-test-program-cmd).
3561 * config.make.in (build-hardcoded-path-in-tests): New variable.
3562 * configure.in (--enable-hardcoded-path-in-tests): New configure
3563 option.
3564 (hardcoded_path_in_tests): New AC_SUBST.
3565 * configure: Regenerated.
3566 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3567 $(built-program-cmd) with $(test-program-cmd).
3568 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3569 (test_program_cmd): This.
3570 * elf/Makefile ($(objpfx)order.out): Run test with
3571 $(test-program-prefix).
3572 ($(objpfx)order2.out): Likewise.
3573 ($(objpfx)tst-initorder.out): Likewise.
3574 ($(objpfx)tst-initorder2.out): Likewise.
3575 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3576 $(test-program-cmd).
3577 ($(objpfx)tst-array1-static.out): Likewise.
3578 ($(objpfx)tst-array2.out): Likewise.
3579 ($(objpfx)tst-array3.out): Likewise.
3580 ($(objpfx)tst-array4.out): Likewise.
3581 ($(objpfx)tst-array5.out): Likewise.
3582 ($(objpfx)tst-array5-static.out): Likewise.
3583 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3584 $(test-program-cmd).
3585 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3586 $(run-program-prefix) with $(test-program-prefix).
3587 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3588 (test_program_prefix): This.
3589 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3590 $(run-program-prefix) with $(test-program-prefix).
3591 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3592 (test_program_prefix): This.
3593 * iconvdata/tst-tables.sh: Likewise.
3594 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3595 $(run-program-prefix) with $(test-program-prefix).
3596 ($(objpfx)tst-translit.out): Likewise.
3597 ($(objpfx)tst-gettext2.out): Likewise.
3598 ($(objpfx)tst-gettext4.out): Likewise.
3599 ($(objpfx)tst-gettext6.out): Likewise.
3600 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3601 (test_program_prefix): This.
3602 * intl/tst-gettext2.sh: Likewise.
3603 * intl/tst-gettext4.sh Likewise.
3604 * intl/tst-gettext6.sh: Likewise.
3605 * intl/tst-translit.sh: Likewise.
3606 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3607 with $(test-program-cmd).
3608 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3609 $(run-program-prefix) with $(test-program-prefix).
3610 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3611 (test_program_prefix): This.
3612 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3613 $(run-program-prefix) with $(test-program-prefix).
3614 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3615 (test_program_prefix): This.
3616 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3617 * posix/Makefile ($(objpfx)globtest.out): Replace
3618 $(run-via-rtld-prefix) and $(test-wrapper) with
3619 $(test-program-prefix) and $(test-via-rtld-prefix).
3620 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3621 $(test-program-prefix).
3622 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3623 $(host-test-program-cmd).
3624 (tst-spawn-ARGS): Likewise.
3625 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3626 $(test-program-prefix).
3627 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3628 (test_via_rtld_prefix): This.
3629 (test_wrapper): Renamed to ...
3630 (test_program_prefix): This.
3631 (run_program_prefix): Replaced by test_program_prefix.
3632 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3633 (test_program_prefix): This.
3634 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3635 with $(host-test-program-cmd).
3636 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3637 $(run-program-prefix) with $(test-program-prefix).
3638 ($(objpfx)tst-printf.out): Likewise.
3639 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3640 $(test-program-cmd).
3641 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3642 (test_program_prefix): This.
3643 * stdio-common/tst-unbputc.sh: Likewise.
3644 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3645 $(run-program-prefix) with $(test-program-prefix).
3646 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3647 (test_program_prefix): This.
3648 * string/Makefile ($(objpfx)tst-svc.out): Replace
3649 $(built-program-cmd) with $(test-program-cmd).
3650
c6fe55cf
AJ
36512013-01-11 Andreas Jaeger <aj@suse.de>
3652
3653 [BZ #15003]
3654 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3655 value. Sync with Linux 3.7.
3656
9e6919c8
DM
36572013-01-10 David S. Miller <davem@davemloft.net>
3658
3659 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3660 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3661 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3662
1c9f1a02
RM
36632013-01-10 Roland McGrath <roland@hack.frob.com>
3664
3665 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3666 never set.
3667 * configure: Regenerated.
3668
b9de2dde
DM
36692013-01-10 David S. Miller <davem@davemloft.net>
3670
3671 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3672 sparc V9 rather than using V8 code.
3673 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3674 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3675
e7f68ef4
RM
36762013-01-10 Roland McGrath <roland@hack.frob.com>
3677
3678 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3679 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3680 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3681 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3682 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3683 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3684 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3685 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3686 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3687 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3688 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3689 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3690 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3691 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3692 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3693 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3694 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3695 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3696 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3697 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3698 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3699 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3700 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3701 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3702 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3703 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3704 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3705
5a47cc9c
DM
37062013-01-10 David S. Miller <davem@davemloft.net>
3707
3708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3709
4cf8f209
L
37102013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3711
3712 * posix/Makefile (tests-static): New variable.
3713 (tests): Add $(tests-static).
3714 (tst-exec-static-ARGS): New variable.
3715 (tst-spawn-static-ARGS): Likewise.
3716 * posix/tst-exec-static.c: New file.
3717 * posix/tst-spawn-static.c: Likewise.
3718 * posix/tst-exec.c: Support run directly.
3719 * posix/tst-spawn.c: Likewise.
3720
fed0faa1
JM
37212013-01-10 Joseph Myers <joseph@codesourcery.com>
3722
828beb13
JM
3723 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3724 long.
3725 * math/bits/mathcalls.h (llrint): Likewise.
3726 (llround): Likewise.
3727 * stdlib/stdlib.h (struct drand48_data): Likewise.
3728 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3729 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3730 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3731 Likewise.
3732 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3733 Likewise.
3734 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3735 (elf_greg_t): Likewise.
3736 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3737 (__jmp_buf): Likewise.
3738 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3739 definitions.
3740 (llrint): Likewise, for all definitions.
3741 (llrintl): Likewise.
3742
fed0faa1
JM
3743 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3744 Remove [__GNUC__] condition.
3745 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3746 condition to just [__USE_ISOC99].
3747 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3748
1a20cb20
L
37492013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3750
3751 [BZ #14200]
3752 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3753 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3754 defined.
3755 (_POSIX_V6_ILP32_OFF32): Likewise.
3756 (_XBS5_ILP32_OFF32): Likewise.
3757 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3758 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3759
751b85f7
SP
37602013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3761
7490eb81
SP
3762 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3763
751b85f7
SP
3764 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3765 doubles __mpexp_twomm1. Adjust usage.
3766 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3767 Remove.
3768
988197f0
AS
37692013-01-10 Andreas Schwab <schwab@suse.de>
3770
3771 [BZ #14964]
3772 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3773 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3774
e83d7298
DM
37752013-01-09 David S. Miller <davem@davemloft.net>
3776
034ed64b 3777 [BZ #15003]
e83d7298
DM
3778 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3779 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3780 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3781 TCP_FASTOPEN): Define.
3782 (tcp_repair_opt): New structure.
3783 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3784 enum values.
3785 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3786 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3787 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3788 (tcp_cookie_transactions): New structure.
3789
d5e0b9bd
AB
37902013-01-09 Anton Blanchard <anton@samba.org>
3791
3792 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3793 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3794 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3795 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3796
0c07e3ea
JM
37972013-01-09 Joseph Myers <joseph@codesourcery.com>
3798
3799 * include/features.h (__USE_ANSI): Remove.
3800
232f7002
RM
38012013-01-09 Roland McGrath <roland@hack.frob.com>
3802
ad98e30c
RM
3803 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3804
232f7002
RM
3805 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3806
950c99ca
SP
38072013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3808
b5792741
SP
3809 * sysdeps/s390/fpu/libm-test-ulps: Update.
3810
47cf2278
SP
3811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3812
950c99ca
SP
3813 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3814 (__acr): Likewise.
3815 (__cpy): Likewise.
3816 (norm): Likewise.
3817 (denorm): Likewise.
3818 (__mp_dbl): Likewise.
3819 (__dbl_mp): Likewise.
3820 (add_magnitudes): Likewise.
3821 (sub_magnitudes): Likewise.
3822 (__add): Likewise.
3823 (__sub): Likewise.
3824 (__mul): Likewise.
3825 (__inv): Likewise.
3826 (__dvd): Likewise.
3827 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3828 (__acr): Likewise.
3829 (__cpy): Likewise.
3830 (norm): Likewise.
3831 (denorm): Likewise.
3832 (__mp_dbl): Likewise.
3833 (__dbl_mp): Likewise.
3834 (add_magnitudes): Likewise.
3835 (sub_magnitudes): Likewise.
3836 (__add): Likewise.
3837 (__sub): Likewise.
3838 (__mul): Likewise.
3839 (__inv): Likewise.
3840 (__dvd): Likewise.
3841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3842 (__acr): Likewise.
3843 (__cpy): Likewise.
3844 (norm): Likewise.
3845 (denorm): Likewise.
3846 (__mp_dbl): Likewise.
3847 (__dbl_mp): Likewise.
3848 (add_magnitudes): Likewise.
3849 (sub_magnitudes): Likewise.
3850 (__add): Likewise.
3851 (__sub): Likewise.
3852 (__mul): Likewise.
3853 (__inv): Likewise.
3854 (__dvd): Likewise.
3855
eede9df9
JM
38562013-01-08 Joseph Myers <joseph@codesourcery.com>
3857
3858 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3859 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3860 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3861 2 && __USE_EXTERN_INLINES]: Likewise.
3862
c40ea3d9
AJ
38632013-01-08 Andreas Jaeger <aj@suse.de>
3864
3865 [BZ# 14985]
3866 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3867 Remove.
3868 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3869 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3870
2ccdea26
AB
38712013-01-07 Anton Blanchard <anton@samba.org>
3872
3873 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3874 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3875 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3876 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3877 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3878 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3879 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3880 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3882 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3883 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3884 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3885 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3886 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3887 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3888 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3889 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3890 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3891 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3892 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3893 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3894 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3895 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3896 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3897 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3898 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3899 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3900 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3901 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3902 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3903 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3904 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3905 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3906 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3907 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3908 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3909 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3910 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3911 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3912 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3913 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3914 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3915 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3916
a9708fed
JM
39172013-01-07 Joseph Myers <joseph@codesourcery.com>
3918
375607b9
JM
3919 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3920 (__MALLOC_PMT): Likewise.
3921 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3922 [__GNUC__], only on [_LIBC].
3923 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3924 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3925 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3926 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3927 forward declaration.
3928 (realloc_hook_ini): Likewise.
3929 (memalign_hook_ini): Likewise.
3930 (__libc_memalign): Do not use __MALLOC_PMT in variable
3931 declaration.
3932 (__libc_valloc): Likewise.
3933 (__libc_pvalloc): Likewise.
3934 (__libc_calloc): Likewise.
3935 (__posix_memalign): Likewise.
3936
a9708fed
JM
3937 [BZ #14996]
3938 * math/s_casinh.c: Include <float.h>.
3939 (__casinh): Do not do computation with squaring and square root
3940 for large arguments.
3941 * math/s_casinhf.c: Include <float.h>.
3942 (__casinhf): Do not do computation with squaring and square root
3943 for large arguments.
3944 * math/s_casinhl.c: Include <float.h>.
3945 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3946 (__casinhl): Do not do computation with squaring and square root
3947 for large arguments.
3948 * math/libm-test.inc (casin_test): Add more tests.
3949 (casinh_test): Likewise.
3950 * sysdeps/i386/fpu/libm-test-ulps: Update.
3951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3952
afec409a
L
39532013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3954
3955 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3956 (__x86_64_raw_data_cache_size): Likewise.
3957 (__x86_64_data_cache_size_half): Likewise.
3958 (__x86_64_raw_data_cache_size_half): Likewise.
3959 (__x86_64_shared_cache_size): Likewise.
3960 (__x86_64_raw_shared_cache_size): Likewise.
3961 (__x86_64_shared_cache_size_half): Likewise.
3962 (__x86_64_raw_shared_cache_size_half): Likewise.
3963 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3964 to ...
3965 (__x86_data_cache_size): This.
3966 (__x86_64_raw_data_cache_size): Renamed to ...
3967 (__x86_raw_data_cache_size): This.
3968 (__x86_64_data_cache_size_half): Renamed to ...
3969 (__x86_data_cache_size_half): This.
3970 (__x86_64_raw_data_cache_size_half): Renamed to ...
3971 (__x86_raw_data_cache_size_half): This.
3972 (__x86_64_shared_cache_size): Renamed to ...
3973 (__x86_shared_cache_size): This.
3974 (__x86_64_raw_shared_cache_size): Renamed to ...
3975 (__x86_raw_shared_cache_size): This.
3976 (__x86_64_shared_cache_size_half): Renamed to ...
3977 (__x86_shared_cache_size_half): This.
3978 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3979 (__x86_raw_shared_cache_size_half): This.
3980 * sysdeps/x86_64/memcpy.S: Updated.
3981 * sysdeps/x86_64/memset.S: Likewise.
3982 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3983 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3984 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3985
0b3986d0
DM
39862013-01-04 David S. Miller <davem@davemloft.net>
3987
3988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3989
e47686e9
AS
39902013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3991
d643bac1
AS
3992 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3993 1 to avoid redefinition warning.
3994 (__USE_GNU): Don't define.
3995 (init_signaling_nan): Protoize.
3996
e47686e9
AS
3997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3998
b18decba
SP
39992013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4000
fffb407f
SP
4001 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4003 (__cpymn): Likewise.
4004 (norm): Remove commented code.
4005 (denorm): Likewise.
4006 (__mp_dbl): Likewise.
4007 (__inv): Likewise.
4008 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4009 (__cpymn): Likewise.
4010 (norm): Remove commented code.
4011 (denorm): Likewise.
4012 (__mp_dbl): Likewise.
4013 (__inv): Likewise.
4014
b18decba
SP
4015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4016 mp_no value for 1.0 and 2.0.
4017 (norm): Use RADIXI instead of radixi.d.
4018 (denorm): Likewise.
4019 (__mul): Use 0.0 instead of zero.d.
4020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4021 mp_no value for 1.0 and 2.0.
4022 (norm): Use RADIXI instead of radixi.d.
4023 (denorm): Likewise.
4024 (__mul): Use 0.0 instead of zero.d.
4025
cdc1c96f
JM
40262013-01-04 Joseph Myers <joseph@codesourcery.com>
4027
4028 [BZ #14994]
4029 * math/s_casinh.c (__casinh): Reduce finite argument to first
4030 quadrant then set signs of results at the end.
4031 * math/s_casinhf.c (__casinhf): Likewise.
4032 * math/s_casinhl.c (__casinhl): Likewise.
4033 * math/libm-test.inc (casin_test): Add more tests.
4034 (casinh_test): Likewise.
4035 * sysdeps/i386/fpu/libm-test-ulps: Update.
4036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4037
302913e1
SP
40382013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4039
6420d207
SP
4040 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4041
a9e48ab4
SP
4042 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4043
b7837264
SP
4044 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4045 declarations.
4046 (denorm): Likewise.
4047 (__mp_dbl): Likewise.
4048 (__inv): Likewise.
4049
f8af25d2
SP
4050 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4051 and adjust the header comment.
4052
302913e1
SP
4053 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4054 variable name from declaration.
4055
5d7dd1ca
L
40562013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4057
4058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4059 Initialize COMMON_CPUID_INDEX_7 element.
4060 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4061 (CPUID_RTM): Likewise.
4062 (HAS_RTM): Likewise.
4063 (COMMON_CPUID_INDEX_7): New enum.
4064
2f5f40f4
AS
40652013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4066
4067 [BZ #14981]
4068 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4069 size is zero, record memory as freed.
4070
4056f4a0
AJ
40712013-01-03 Andreas Jaeger <aj@suse.de>
4072
4073 * po/ia.po: Add new Interlingua translation.
4074
ab15736f 40752012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4076
4077 * locale/programs/localedef.c: Fix description of '--posix' flag.
4078
568035b7
JM
40792013-01-02 Joseph Myers <joseph@codesourcery.com>
4080
e6898b8d
JM
4081 * NEWS: Update dates in second copyright notice.
4082 * README: Update copyright dates in example.
4083 * manual/libc.texinfo: Update copyright dates.
4084 * scripts/test-installation.pl: Update copyright date in --version
4085 output.
4086
0e2f9562
JM
4087 * hurd/ctty-input.c: Fix copyright notice formatting.
4088 * hurd/ctty-output.c: Likewise.
4089 * hurd/dtable.c: Likewise.
4090 * hurd/hurd-raise.c: Likewise.
4091 * hurd/hurdprio.c: Likewise.
4092 * hurd/msgportdemux.c: Likewise.
4093 * misc/sys/file.h: Likewise.
4094 * misc/sys/ioctl.h: Likewise.
4095 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4096 * sysdeps/mach/hurd/chdir.c: Likewise.
4097 * sysdeps/mach/hurd/fchdir.c: Likewise.
4098 * sysdeps/mach/hurd/rename.c: Likewise.
4099 * sysdeps/mach/hurd/rmdir.c: Likewise.
4100 * sysdeps/mach/hurd/seekdir.c: Likewise.
4101 * sysdeps/mach/hurd/setsid.c: Likewise.
4102 * sysdeps/posix/wait3.c: Likewise.
4103
568035b7
JM
4104 * All files with FSF copyright notices: Update copyright dates
4105 using scripts/update-copyrights.
4106 * intl/plural.c: Regenerated.
4107 * locale/programs/charmap-kw.h: Likewise.
4108 * locale/programs/locfile-kw.h: Likewise.
4109
da08f647
SP
41102013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4111
0f5477af
SP
4112 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4113 four values.
4114
44e0d4c2
SP
4115 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4116 calculation loop and add branch prediction.
4117
4d55b4e5
SP
4118 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4119 check access beyond bounds of m1np.
4120
da08f647
SP
4121 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4122 MPTWO.
4123 (__inv): Remove local variable MPTWO to use the global
4124 constant.
4125 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4126 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4127 variable MPTWO.
4128 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4129 MP3HALFS static const.
4130
8e051029
DM
41312013-01-01 David S. Miller <davem@davemloft.net>
4132
4133 * po/ca.po: Update from translation team.
4134
f4cf5f2d
JM
41352013-01-01 Joseph Myers <joseph@codesourcery.com>
4136
4137 * scripts/update-copyrights: New file.
4138 * Makeconfig: Reformat copyright notice.
4139 * ctype/ctype.h: Likewise.
4140 * debug/swprintf_chk.c: Likewise.
4141 * elf/dl-cache.c: Likewise.
4142 * elf/dl-debug.c: Likewise.
4143 * elf/dl-object.c: Likewise.
4144 * grp/initgroups.c: Likewise.
4145 * hurd/Makefile: Likewise.
4146 * hurd/hurd/signal.h: Likewise.
4147 * hurd/hurdfault.c: Likewise.
4148 * hurd/hurdioctl.c: Likewise.
4149 * hurd/hurdlookup.c: Likewise.
4150 * hurd/intr-msg.c: Likewise.
4151 * iconv/gconv_open.c: Likewise.
4152 * libio/swprintf.c: Likewise.
4153 * locale/lc-ctype.c: Likewise.
4154 * locale/nl_langinfo.c: Likewise.
4155 * mach/Machrules: Likewise.
4156 * mach/Makefile: Likewise.
4157 * malloc/obstack.h: Likewise.
4158 * manual/Makefile: Likewise.
4159 * manual/tsort.awk: Likewise.
4160 * misc/bits/stab.def: Likewise.
4161 * nis/nis_print_group_entry.c: Likewise.
4162 * nis/nis_table.c: Likewise.
4163 * nis/nss_compat/compat-pwd.c: Likewise.
4164 * nis/nss_compat/compat-spwd.c: Likewise.
4165 * po/Makefile: Likewise.
4166 * posix/fnmatch.c: Likewise.
4167 * posix/regex.h: Likewise.
4168 * resolv/Makefile: Likewise.
4169 * resolv/nss_dns/dns-network.c: Likewise.
4170 * resolv/res_hconf.c: Likewise.
4171 * scripts/gen-sorted.awk: Likewise.
4172 * soft-fp/soft-fp.h: Likewise.
4173 * stdio-common/printf.h: Likewise.
4174 * stdlib/monetary.h: Likewise.
4175 * stdlib/random.c: Likewise.
4176 * stdlib/random_r.c: Likewise.
4177 * sysdeps/generic/Makefile: Likewise.
4178 * sysdeps/gnu/Makefile: Likewise.
4179 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4180 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4181 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4182 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4183 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4184 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4185 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4186 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4187 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4188 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4189 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4190 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4191 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4192 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4193 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4195 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4196 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4197 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4198 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4199 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4200 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4201 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4202 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4203 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4204 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4205 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4206 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4207 * sysdeps/mach/hurd/errnos.awk: Likewise.
4208 * sysdeps/mach/hurd/fork.c: Likewise.
4209 * sysdeps/mach/hurd/getcwd.c: Likewise.
4210 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4211 * sysdeps/mach/hurd/mmap.c: Likewise.
4212 * sysdeps/mach/hurd/utimes.c: Likewise.
4213 * sysdeps/mach/hurd/xmknod.c: Likewise.
4214 * sysdeps/posix/profil.c: Likewise.
4215 * sysdeps/posix/readdir_r.c: Likewise.
4216 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4217 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4218 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4219 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4220 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4221 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4222 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4223 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4224 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4225 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4226 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4227 * sysdeps/pthread/lio_listio.c: Likewise.
4228 * sysdeps/sparc/dl-procinfo.h: Likewise.
4229 * sysdeps/unix/i386/sysdep.S: Likewise.
4230 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4231 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4232 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4233 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4235 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4236 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4237 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4238 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4239 * sysdeps/wordsize-32/divdi3.c: Likewise.
4240 * time/sys/time.h: Likewise.
4241 * wcsmbs/Makefile: Likewise.
4242
0549fbba
DM
42432013-01-01 David S. Miller <davem@davemloft.net>
4244
a141f1a7
DM
4245 * po/fr.po: Update from translation team.
4246
0549fbba
DM
4247 * catgets/gencat.c: Update copyright year.
4248 * csu/version.c: Likewise.
4249 * debug/catchsegv.sh: Likewise.
4250 * debug/pcprofiledump.c: Likewise.
4251 * debug/xtrace.sh: Likewise.
4252 * elf/ldconfig.c: Likewise.
4253 * elf/ldd.bash.in: Likewise.
4254 * elf/pldd.c: Likewise.
4255 * elf/sotruss.ksh: Likewise.
4256 * elf/sprof.c: Likewise.
4257 * iconv/iconv_prog.c: Likewise.
4258 * iconv/iconvconfig.c: Likewise.
4259 * locale/programs/locale.c: Likewise.
4260 * locale/programs/localedef.c: Likewise.
4261 * login/programs/pt_chown.c: Likewise.
4262 * malloc/memusage.sh: Likewise.
4263 * malloc/memusagestat.c: Likewise.
4264 * malloc/mtrace.pl: Likewise.
4265 * nscd/nscd.c: Likewise.
4266 * nss/getent.c: Likewise.
4267 * nss/makedb.c: Likewise.
4268 * posix/getconf.c: Likewise.
4269
18ea052c
SP
42702012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4271
4272 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4273 numbers.
4274
9c89fca6
MF
42752012-12-30 Mike Frysinger <vapier@gentoo.org>
4276
4277 * math/bits/mathcalls.h (modf): Use __nonnull.
4278
085ec079
SP
42792012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4280
4281 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4282 (split): Use macro CN instead of the bare value.
4283 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4284 could be used.
4285 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4286 instead of the bare value.
4287 (power1): Likewise.
4288
6d9f97e1
SP
42892012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4290
d63f73be
SP
4291 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4292 __ATAN_TWOM.
4293 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4294
6d9f97e1
SP
4295 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4296 their values.
4297 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4298 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4299 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4300 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4301
4c4febf5
AJ
43022012-12-28 Andreas Jaeger <aj@suse.de>
4303
af5843ef
AJ
4304 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4305 values are from Linux 3.7.
4306
4c4febf5
AJ
4307 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4308 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4309
99136f82
SP
43102012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4311
2f216c3c 4312 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4313 TRUE case.
4314
99136f82
SP
4315 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4316 (norm): Likewise.
4317 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4318 variables with preprocessor constants.
4319 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4320 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4321 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4322
7fffbdff
BH
43232012-12-27 Bruno Haible <bruno@clisp.org>
4324
4325 [BZ #14317]
4326 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4327 only if needed.
4328
b76eb5f0
SP
43292012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4330
31a7fe5c
SP
4331 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4332 and use variable directly.
4333 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4334
b76eb5f0
SP
4335 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4336 MPONE.
4337 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4338 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4339 variable MPONE.
4340 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4341 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4342 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4343 include directive. Remove local variable MPONE.
4344 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4345 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4346 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4347
2c8bfe7d
DM
43482012-12-25 David S. Miller <davem@davemloft.net>
4349
4350 * version.h (RELEASE): Set to "development".
4351 (VERSION): Set to "2.17.90".
4352 * NEWS: Add 2.18 section.
4353
147d03b0
DM
43542012-12-21 David S. Miller <davem@davemloft.net>
4355
4356 * po/hr.po: Update from translation team.
4357
a8ebb2b9
AK
43582012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4359
4360 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4361
95b4f1b6
SE
43622012-12-19 Steve Ellcey <sellcey@mips.com>
4363
b2d94007 4364 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4365
cedb2a90
MS
43662012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4367
4368 * manual/contrib.texi (Contributors): Spelling correction.
4369
bbf527d6
DM
43702012-12-15 David S. Miller <davem@davemloft.net>
4371
4372 * po/ru.po: Update from translation team.
4373
bc38c906
DM
43742012-12-13 David S. Miller <davem@davemloft.net>
4375
85429b1a
DM
4376 * NEWS: Mention IFUNC testsuite enhancements.
4377
d283e353
DM
4378 * po/pl.po: Update from translation team.
4379 * po/bg.po: Likewise.
4380
bc38c906
DM
4381 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4382 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4383
a181b0d7
DM
43842012-12-11 David S. Miller <davem@davemloft.net>
4385
4641d57e
DM
4386 * po/sv.po: Update from translation team.
4387
f7bc6495
DM
4388 * po/vi.po: Update from translation team.
4389
6fc9048f
DM
4390 * po/cs.po: Update from translation team.
4391
a181b0d7
DM
4392 * po/de.po: Update from translation team.
4393 * po/eo.po: Likewise.
4394 * po/nl.po: Likewise.
4395
f70bfe80
SP
43962012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4397
3c8b4190
SP
4398 [BZ #14246]
4399 * manual/argp.texi (Argp Helper Functions): Move node to follow
4400 Argp Parsing State.
4401
f70bfe80
SP
4402 [BZ #14872]
4403 * manual/conf.texi (Limits on File System Capacity): Mention if
4404 terminating null is included in the max size.
4405
188f0adf
AJ
44062012-12-10 Andreas Jaeger <aj@suse.de>
4407
4408 * po/cs.po: Update from translation team.
4409
56e7d3ad
SP
44102012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4411
4412 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4413 void pointer and cast to uintptr_t.
4414 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4415 path.
4416 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4417 * sysdeps/s390/s390-64/memset.S: Likewise.
4418
76f2d2ea 44192012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4420
4421 [BZ #14833]
4422 * menual/message.texi (Message Translation): Fix typos.
4423 (Helper programs for gettext): Likewise.
4424
67cbf9a2
AS
44252012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4426
4427 [BZ #14898]
4428 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4429 Change to -1.
4430
682d0e9a
DM
44312012-12-07 David S. Miller <davem@davemloft.net>
4432
4433 * po/libc.pot: Update.
4434
573cd484
RH
44352012-12-07 Richard Henderson <rth@redhat.com>
4436
7e9da188 4437 [BZ #10114]
573cd484
RH
4438 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4439 normal/normal case to before the switch.
4440 (_FP_DIV): Likewise.
4441
e933a943
MF
44422012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4443 Mike Frysinger <vapier@gentoo.org>
4444
4445 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4446 check for __NR_fadvise64_64.
4447
82123268
CM
44482012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4449
4450 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4451 0, not just to plain "0" as a statement.
4452 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4453 with cw.
4454
d9814526
JM
44552012-12-06 Joseph Myers <joseph@codesourcery.com>
4456
4457 * NEWS: Use sourceware.org in Bugzilla URL.
4458
7728c574
SP
44592012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4460
f16946dd
SP
4461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4462 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4463
5704bbcb
SP
4464 * stdio-common/tst-put-error.c (do_test): Add newline to the
4465 padded test to ensure flush.
4466
17aa0516
JL
44672012-12-05 Jeff Law <law@redhat.com>
4468
4469 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4470
363313b5
JM
44712012-12-05 Joseph Myers <joseph@codesourcery.com>
4472
effbd42a
JM
4473 * README: Don't refer to ports add-on as distributed separately.
4474 Mention AArch64 in list of systems supported in the ports add-on.
4475
87600365
JM
4476 * LICENSES: Add more non-FSF copyright and license notices.
4477
a0d7066a
JM
4478 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4479 ((unused)).
4480
66ca5a5b
JM
4481 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4482
363313b5
JM
4483 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4484 10000 as width of padded output.
4485
b37984ad
JM
44862012-12-04 Joseph Myers <joseph@codesourcery.com>
4487
9003570a
JM
4488 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4489
b37984ad
JM
4490 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4491 variable LX with __attribute__ ((unused)).
4492 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4493 Likewise.
4494 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4495 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4496 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4497 with __attribute__ ((unused)).
4498
c8df52ec
DM
44992012-12-04 David S. Miller <davem@abraco.davemloft.net>
4500
4501 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4502
b3b099af
JM
45032012-12-04 Joseph Myers <joseph@codesourcery.com>
4504
c33aa6e3
JM
4505 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4506 (CFLAGS-nldbl-acos.c): New variable.
4507 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4508 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4509 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4510 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4511 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4512 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4513 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4514 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4515 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4516 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4517 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4518 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4519 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4520 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4521 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4522 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4523 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4524 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4525 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4526 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4527 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4528 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4529 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4530 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4531 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4532 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4533 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4534 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4535 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4536 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4537 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4538 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4539 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4540 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4541 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4542 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4543 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4544 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4545 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4546 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4547 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4548 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4549 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4550 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4551 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4552 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4553 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4554 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4555 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4556 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4557 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4558 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4559 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4560 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4561 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4562 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4563 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4564 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4565 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4566 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4567 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4568 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4569 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4570 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4571 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4572 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4573 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4574 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4575 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4576 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4577 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4578 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4579 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4580 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4581 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4582 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4583 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4584 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4585 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4586 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4587 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4588 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4589 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4590 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4591 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4592 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4593 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4594 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4595 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4596 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4597 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4598 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4599 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4600 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4601 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4602 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4603 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4604
20f0018d
JM
4605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4606 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4607
b3b099af
JM
4608 [BZ #14914]
4609 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4610 whole low double instead of just low 47 bits when splitting values
4611 into two parts.
4612
029264d1
AM
46132012-12-03 Allan McRae <allan@archlinux.org>
4614
4615 * manual/stdio.texi (Predefined Printf Handlers): Remove
4616 @hsep and @vsep usage.
4617
c9d6789e
MF
46182012-12-03 Mike Frysinger <vapier@gentoo.org>
4619
4620 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4621 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4622
4b7634a5
JL
46232012-12-03 Jeff Law <law@redhat.com>
4624
4625 * time/sys/time.h (settimeofday): Do not mark TV argument
4626 as __nonnull.
4627
eb6cbd24
MF
46282012-12-01 Mike Frysinger <vapier@gentoo.org>
4629
4630 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4631 when currently writing and seek to current position when not.
4632 * libio/Makefile (tests): Remove bug-fclose1.
4633 * libio/bug-fclose1.c: Delete.
4634
f638872a
JM
46352012-12-01 Joseph Myers <joseph@codesourcery.com>
4636
4637 * manual/arith.texi (feenableexcept): Fix typo.
4638 (fedisableexcept): Likewise.
4639
48085d14
RM
46402012-11-30 Roland McGrath <roland@hack.frob.com>
4641
4642 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4643 second, differently-typed declaration, rather than a cast.
4644
1a538b9f
SP
46452012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4646
4647 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4648 * include/rpc/svc.h: ... here.
4649
d07f2ff1 46502012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4651
4652 [BZ #13013]
4653 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4654 depending n and resplen2 to catch cases where answer
4655 equals answerp2.
4656
c93ec1f0
CD
46572012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4658
4659 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4660 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4661
37db69de
MF
46622012-11-29 Mike Frysinger <vapier@gentoo.org>
4663
4664 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4665
e10c4e4f
RM
46662012-11-29 Roland McGrath <roland@hack.frob.com>
4667
4668 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4669
2af1b328
JL
46702012-11-28 Jeff Law <law@redhat.com>
4671
4672 [BZ #13761]
4673 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4674 dataset_temporary. Track alloca usage into alloca_used.
4675 If dataset is large allocate and release it via malloc/free.
4676
111db5b1
FW
46772012-06-04 Florian Weimer <fweimer@redhat.com>
4678
f06cc227 4679 [BZ #14197]
111db5b1
FW
4680 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4681
dd694abd
DM
46822012-11-28 David S. Miller <davem@davemloft.net>
4683
4684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4685
9984dd01
JM
46862012-11-28 Joseph Myers <joseph@codesourcery.com>
4687
4688 [BZ #14803]
4689 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4690 of pi/2 rounded to nearest to 64 bits.
4691 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4692 nearest to 64 bits.
4693 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4694 bits.
4695
14bc93a9
JL
46962012-11-28 Jeff Law <law@redhat.com>
4697 Martin Osvald <mosvald@redhat.com>
4698
4699 [BZ #14889]
4700 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4701 * sunrpc/svc.c: Include time.h.
4702 (__svc_accept_failed): New function.
4703 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4704 any reason other than EINTR, call __svc_accept_failed.
4705 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4706 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4707
e3c6aa3a
AS
47082012-11-28 Andreas Schwab <schwab@suse.de>
4709
4710 * scripts/abilist.awk: Also handle indirect functions in .opd
4711 section.
4712
1bead169
JM
47132012-11-28 Joseph Myers <joseph@codesourcery.com>
4714
4715 [BZ #13881]
4716 * sysdeps/x86/fpu/powl_helper.c: New file.
4717 * sysdeps/x86/fpu/Makefile: Likewise.
4718 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4719 (p3): New object.
4720 (__ieee754_powl): Use __powl_helper for finite arguments except
4721 integer exponents below 8.
4722 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4723 (p3): New object.
4724 (__ieee754_powl): Use __powl_helper for finite arguments except
4725 integer exponents below 8.
4726 * math/libm-test.inc (pow_test): Add more tests and enable some
4727 previously disabled tests.
4728 * sysdeps/i386/fpu/libm-test-ulps: Update.
4729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4730
0817d63d
SP
47312012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4732 Carlos O'Donell <carlos_odonell@mentor.com>
4733
4734 * nss/makedb.c (is_prime): Assert that input is odd and greater
4735 than 4. Note that fact in a comment too.
4736 (next_prime): Add 4 to input.
4737
de2fd463
SP
47382012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4739
4740 [BZ #11741]
4741 * libio/Makefile (tests): Add test case tst-fwrite-error.
4742 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4743 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4744 * libio/tst-fwrite-error.c: New test case.
4745
c515fb51
L
47462012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4747
4748 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4749 before casting to void *.
4750 * include/libc-internal.h (__pointer_type): New macro.
4751 (__integer_if_pointer_type_sub): Likewise.
4752 (__integer_if_pointer_type): Likewise.
4753 (cast_to_integer): Likewise.
4754 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4755 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4756 before casting to atomic64_t.
4757 (atomic_exchange_acq): Likewise.
4758 (__arch_exchange_and_add_body): Likewise.
4759 (__arch_add_body): Likewise.
4760 (atomic_add_negative): Likewise.
4761 (atomic_add_zero): Likewise.
4762
4cf77aa9
JM
47632012-11-26 Joseph Myers <joseph@codesourcery.com>
4764
4765 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4766 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4767 (add_fdes): Likewise.
4768 (linear_search_fdes): Likewise.
4769 (binary_search_unencoded_fdes): Likewise.
4770
d260b3b4
AS
47712012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4772
4773 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4774
67060746
AC
47752012-11-24 Adam Conrad <adconrad@0c3.net>
4776
4777 * configure.in: Autodetect C++ header directories.
4778 * configure: Regenerated.
4779
800938a1
MF
47802012-11-23 Mike Frysinger <vapier@gentoo.org>
4781
4782 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4783
4e6e34e6
AS
47842012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4785
4786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4787
7c7feb47
JM
47882012-11-22 Joseph Myers <joseph@codesourcery.com>
4789
7184dcdf
JM
4790 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4791 LDBL_MANT_DIG == 106]: Disable some tests.
4792 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4793 Likewise.
4794 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4795 Likewise.
4796
0a42601f
JM
4797 [BZ #14871]
4798 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4799 input for small inputs. Return +/- pi/2 for large inputs.
4800 * math/libm-test.inc (atan_test): Add more tests.
4801
79c9b9fe
JM
4802 * sysdeps/generic/unwind-dw2-fde-glibc.c
4803 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4804 __attribute__ ((unused)).
4805
c60d3bf2
JM
4806 [BZ #14645]
4807 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4808 x * y if x and y are nonzero and z is zero.
4809
ef1e0867
JM
4810 [BZ #14811]
4811 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4812 nonzero exponents with absolute value below 0x1p-117 to +/-
4813 0x1p-117.
4814
1468ded3
JM
4815 [BZ #14869]
4816 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4817 up arguments below 2**-450, not just those below 2**-500.
4818 * math/libm-test.inc (hypot_test): Add another test.
4819
8e27e3cc
JM
4820 [BZ #14868]
4821 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4822 Return a+b for ratio over 2**120, not 2**60.
4823 * math/libm-test.inc (hypot_test): Add another test.
4824
c9c0279b
JM
4825 * math/libm-test.inc (clog_test): Use
4826 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4827 (clog10_test): Likewise.
4828
7c7feb47
JM
4829 [BZ #6778]
4830 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4831
fff1530e
AS
48322012-11-22 Andreas Schwab <schwab@suse.de>
4833
4834 * sysdeps/i386/fpu/libm-test-ulps: Update.
4835
94558d30
PT
48362012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4837
4838 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4839 printf output with newline.
4840
7e1be741
L
48412012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4842
6bfea974
L
4843 [BZ #14865]
4844 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4845 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4846 -z nodlopen, -z initfirst and -z execstack support.
4847 * configure: Regenerated.
4848
7e1be741
L
4849 * elf/elf.h (DF_1_NODIRECT): New macro.
4850 (DF_1_IGNMULDEF): Likewise.
4851 (DF_1_NOKSYMS): Likewise.
4852 (DF_1_NOHDR): Likewise.
4853 (DF_1_EDITED): Likewise.
4854 (DF_1_NORELOC): Likewise.
4855 (DF_1_SYMINTPOSE): Likewise.
4856 (DF_1_GLOBAUDIT): Likewise.
4857 (DF_1_SINGLETON): Likewise.
4858 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4859 DT_1_SUPPORTED_MASK bits.
4860 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4861
105ce2ce
CD
48622012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4863
4864 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4865
123be9de
TS
48662012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4867
d072f3f7
TS
4868 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4869 macro.
4870
123be9de
TS
4871 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4872 (sendmmsg): Move declarations...
4873 * socket/sys/socket.h: ... here.
4874 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4875 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4876 include it from...
4877 * socket/recvmmsg.c: ... this new file.
4878 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4879 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4880 definition of __sendmmsg hidden.
4881 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4882 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4883 Move ENOSYS stub into and include it from...
4884 * socket/sendmmsg.c: ... this new file.
4885 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4886 (sysdep_routines): Move recvmmsg and sendmmsg...
4887 * socket/Makefile (routines): ... here.
4888 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4889 (GLIBC_PRIVATE): Add __sendmmsg.
4890 * include/sys/socket.h (__sendmmsg): Add declarations.
4891 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4892 sendmmsg.
4893
cf9a5d18
JM
48942012-11-20 Joseph Myers <joseph@codesourcery.com>
4895
4896 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4897 variable I1 with __attribute__ ((unused)).
4898 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4899
ecd4caf9
JM
49002012-11-19 Joseph Myers <joseph@codesourcery.com>
4901
be14d48f
JM
4902 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4903 DUMMY variables with __attribute__ ((unused)).
4904
ecd4caf9
JM
4905 * bits/byteswap.h: Include <bits/types.h>.
4906 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4907
986cab95
PT
49082012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4909
4910 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4911 string_t. Do not manually set errno.
4912 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4913 length with __strnlen. Make sure to both set errno and return it on
4914 failure.
4915
6d33cc9d
DM
49162012-11-19 David S. Miller <davem@davemloft.net>
4917
4918 With help from Joseph Myers.
4919 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4920 very large arguments properly.
4921 * math/libm-test.inc (atan_test): New tests.
4922 (atan2_test): New tests.
4923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4924 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4925
ee663277
JM
49262012-11-19 Joseph Myers <joseph@codesourcery.com>
4927
877f2d8e
JM
4928 [BZ #14856]
4929 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4930 Define to 3.
4931
116fc08a
JM
4932 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4933 [POSIX] (EADDRNOTAVAIL): Likewise.
4934 [POSIX] (EAFNOSUPPORT): Likewise.
4935 [POSIX] (EALREADY): Likewise.
4936 [POSIX] (ECONNABORTED): Likewise.
4937 [POSIX] (ECONNREFUSED): Likewise.
4938 [POSIX] (ECONNRESET): Likewise.
4939 [POSIX] (EDESTADDRREQ): Likewise.
4940 [POSIX] (EDQUOT): Likewise.
4941 [POSIX] (EHOSTUNREACH): Likewise.
4942 [POSIX] (EIDRM): Likewise.
4943 [POSIX] (EISCONN): Likewise.
4944 [POSIX] (ELOOP): Likewise.
4945 [POSIX] (EMULTIHOP): Likewise.
4946 [POSIX] (ENETDOWN): Likewise.
4947 [POSIX] (ENETUNREACH): Likewise.
4948 [POSIX] (ENOBUFS): Likewise.
4949 [POSIX] (ENODATA): Likewise.
4950 [POSIX] (ENOLINK): Likewise.
4951 [POSIX] (ENOMSG): Likewise.
4952 [POSIX] (ENOPROTOOPT): Likewise.
4953 [POSIX] (ENOSR): Likewise.
4954 [POSIX] (ENOSTR): Likewise.
4955 [POSIX] (ENOTCONN): Likewise.
4956 [POSIX] (ENOTSOCK): Likewise.
4957 [POSIX] (EOPNOTSUPP): Likewise.
4958 [POSIX] (EOVERFLOW): Likewise.
4959 [POSIX] (EPROTO): Likewise.
4960 [POSIX] (EPROTONOSUPPORT): Likewise.
4961 [POSIX] (EPROTOTYPE): Likewise.
4962 [POSIX] (ESTALE): Likewise.
4963 [POSIX] (ETIME): Likewise.
4964 [POSIX] (ETXTBSY): Likewise.
4965 [POSIX] (EWOULDBLOCK): Likewise.
4966 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4967 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4968 [POSIX] (SEEK_CUR): Likewise.
4969 [POSIX] (SEEK_END): Likewise.
4970 [POSIX || UNIX98] (mode_t): Do not require.
4971 [POSIX] (off_t): Likewise.
4972 [POSIX] (pid_t): Likewise.
4973 [POSIX] (sys/stat.h): Do not allow header.
4974 [POSIX] (unistd.h): Likewise.
4975 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4976 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4977 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4978 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4979 require.
4980 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4981 sigevent): Specify elements.
4982 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4983 entry.
4984 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4985 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4986
a483863f
JM
4987 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4988 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4989 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4990 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4991 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4992 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4993 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4994 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4995 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4996 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4997 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4998 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4999 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5000 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5001 Likewise.
5002 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5003 Likewise.
5004 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5005 Likewise.
5006 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5007 Likewise.
5008 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5009 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5010 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5011 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5012 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5013 Specify lower bound on value.
5014 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5015 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5016 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5017 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5018 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5019 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5020 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5021 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5022 value.
5023 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5024 as optional.
5025 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5026 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5027 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5028 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5029 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5030 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5031 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5032 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5033 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5034 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5035 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5036 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5037 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5038 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5039 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5040 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5041 entry.
5042 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5043 optional.
5044 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5045 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5046 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5047 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5048 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5049 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5050 Likewise.
5051 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5052 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5053 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5054 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5055 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5056 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5057 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5058 as optional.
5059 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5060 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5061 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5062 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5063 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5064 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5065 specify as optional.
5066 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5067 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5068 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5069 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5070 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5071 [XPG3] (NL_LANGMAX): Likewise.
5072 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5073 [POSIX || XPG3] (NL_NMAX): Likewise.
5074 [POSIX || XPG3] (NL_SETMAX): Likewise.
5075 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5076 [XPG3] (NZERO): Likewise.
5077 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5078 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5079 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5080 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5081 (REG_ERANGE): Expect.
5082 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5083 optional-constant.
5084 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5085 Use (void) in prototype.
5086 [POSIX] (*_t): Allow.
5087 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5088 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5089 (WRDE_BADVAL): Expect.
5090
5ba924e3
JM
5091 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5092 expect.
5093 [XPG3 || XPG4] (O_RSYNC): Likewise.
5094 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5095 Likewise.
5096 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5097 [XPG3 || XPG4] (sigqueue): Likewise.
5098 [XPG3 || XPG4] (sigtimedwait): Likewise.
5099 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5100 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5101 [XPG3 || XPG4] (vsnprintf): Likewise.
5102 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5103 Likewise.
5104 [XPG3 || XPG4] (blksize_t): Likewise.
5105 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5106 Likewise.
5107 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5108 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5109 [XPG3 || XPG4] (struct itimerspec): Likewise.
5110 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5111 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5112 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5113 [XPG3 || XPG4] (clockid_t): Likewise.
5114 [XPG3 || XPG4] (timer_t): Likewise.
5115 [XPG3 || XPG4] (clock_getres): Likewise.
5116 [XPG3 || XPG4] (clock_gettime): Likewise.
5117 [XPG3 || XPG4] (clock_settime): Likewise.
5118 [XPG3 || XPG4] (nanosleep): Likewise.
5119 [XPG3 || XPG4] (timer_create): Likewise.
5120 [XPG3 || XPG4] (timer_delete): Likewise.
5121 [XPG3 || XPG4] (timer_gettime): Likewise.
5122 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5123 [XPG3 || XPG4] (timer_settime): Likewise.
5124 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5125 [XPG3 || XPG4] (getlogin_r): Likewise.
5126 [XPG3 || XPG4] (pread): Likewise.
5127 [XPG3 || XPG4] (pthread_atfork): Likewise.
5128 [XPG3 || XPG4] (pwrite): Likewise.
5129
ee663277
JM
5130 [BZ #14835]
5131 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5132 <bits/siginfo.h>.
5133
942caa16
PT
51342012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5135
e19af380
PT
5136 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5137 finalizing MALLSTREAM.
5138
942caa16
PT
5139 * sysdeps/mach/hurd/syncfs.c: New file.
5140
cfde9b46
SP
51412012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5142
5143 [BZ #14719]
5144 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5145 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5146 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5147 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5148 (_nss_dns_gethostbyname4_r): Likewise.
5149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5150 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5151
f6da27e5
PH
51522012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5153
5154 [BZ #13763]
5155 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5156
6665d4a2
SM
51572012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5158
1f51ee92
SM
5159 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5160 * elf/cache.c (print_entry): Print ",AArch64" for
5161 FLAG_AARCH64_LIB64
5162
6665d4a2
SM
5163 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5164 * elf/cache.c (print_entry): Print ",hard-float" for
5165 FLAG_ARM_LIBHF.
5166
05b227bd
DM
51672012-11-18 David S. Miller <davem@davemloft.net>
5168
5169 With help from Joseph Myers.
5170 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5171 cutoff to 2**-13.
5172 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5173 cutoff to 2**-25.
5174 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5175 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5176 small.
5177 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5178 * math/libm-test.inc (y0_test): New tests.
5179 (y1_test): New tests.
5180 * sysdeps/i386/fpu/libm-test-ulps: Update.
5181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5183
786b0b67
AS
51842012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5185
5186 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5187 64-bit targets.
5188 * configure: Regenerated.
5189
8e18b86d
DM
51902012-11-17 David S. Miller <davem@davemloft.net>
5191
5192 [BZ #14811]
5193 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5194 nonzero exponents with absolute value below 0x1p-128 to +/-
5195 0x1p-128.
5196
531f1ae0
JM
51972012-11-17 Joseph Myers <joseph@codesourcery.com>
5198
12df29e2
JM
5199 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5200
150dc1a0
JM
5201 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5202
531f1ae0
JM
5203 * posix/getconf-speclist.c: New file.
5204 * posix/posix-envs.def: Likewise.
5205 * posix/confstr.c (START_ENV_GROUP): New macro.
5206 (END_ENV_GROUP): Likewise.
5207 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5208 (KNOWN_PRESENT_ENV_STRING): Likewise.
5209 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5210 (UNKNOWN_ENVIRONMENT): Likewise.
5211 (confstr): Include posix-envs.def instead of handling
5212 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5213 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5214 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5215 (END_ENV_GROUP): Likewise.
5216 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5217 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5218 (UNKNOWN_ENVIRONMENT): Likewise.
5219 (__sysconf): Include posix-envs.def instead of handling associated
5220 cases directly here.
5221 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5222 preprocessing getconf-speclist.c rather than running getconf or
5223 generating empty file.
5224
a93f9cbc
PT
52252012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5226
5227 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5228
d64d9f87
AL
52292012-11-16 Andrej Lajovic <natrij@gmail.com>
5230
5231 [BZ #14672]
5232 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5233
447885eb
DM
52342012-11-16 David S. Miller <davem@davemloft.net>
5235
5236 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5237 smaller than LDBL_EPSILON/2.0L, just return xm1.
5238
bcbf9830
L
52392012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5240
5241 * elf/tst-array1.c (init): Set constructor priority to 1000.
5242 (fini): Set destructor priority to 1000.
5243 * elf/tst-array2dep.c: Likewise.
5244
2b766585
SP
52452012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5246
5247 [BZ #11741]
5248 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5249 (_IO_new_file_xsputn): Also return EOF if none of the input
5250 data was written when overflow failed.
5251 * libio/iopadn.c (_IO_padn): Likewise.
5252 * libio/iowpadn.c (_IO_wpadn): Likewise.
5253 * stdio-common/tst-put-error.c: Add copyright notice.
5254 (do_test): Add case for printing padded string.
5255 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5256 _IO_padn returned error.
5257 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5258 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5259 return EOF.
5260
b1848fde
SP
52612012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5262
5263 * libio/libioP.h: Add comment note that the references to C++
5264 bits are now obsolete.
5265
2fd89785
MS
52662012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5267
5268 * math/libm-test.inc (check_complex): Use asprintf.
5269
e3ea5409
JM
52702012-11-14 Joseph Myers <joseph@codesourcery.com>
5271
5272 * debug/pcprofiledump.c (print_version): Update copyright year.
5273 * malloc/memusagestat.c (print_version): Likewise.
5274
2e64d265
L
52752012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5276
5277 [BZ #14831]
5278 * elf/Makefile (tests): Add tst-audit8.
5279 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5280 ($(objpfx)tst-audit8.out): New target.
5281 (tst-audit8-ENV): New variable.
5282 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5283 audit if l_reloc_result is NULL.
5284 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5285 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5286 * elf/tst-audit8.c: New file.
5287
c485e4d2
MS
52882012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5289
5290 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5291 * misc/Makefile (CFLAGS-select.c): Define.
5292 * posix/Makefile (CFLAGS-pause.c): Define.
5293
3a0d900a
DM
52942012-11-13 David S. Miller <davem@davemloft.net>
5295
5296 * crypt/Makefile: Move test targets after toplevel Rules
5297 inclusion. Grab any necessary sysdep routines when linking.
5298 * crypt/md5.c (md5_process_block): Remove define, we will always
5299 name it __md5_process_block.
5300 (md5_finish_ctx): Update md5_process_block call.
5301 (md5_stream): Likewise.
5302 (md5_process_bytes): Likewise.
5303 (md5_process_block): Rename to __md5_process_block and move to ...
5304 * crypt/md5-block.c: ... here.
5305 * crypt/sha256.c (sha256_process_block): Move to ...
5306 * crypt/sha256-block.c: ... here.
5307 * crypt/sha512.c (sha512_process_block): Move to ...
5308 * crypt/sha512-block.c: ... here.
5309 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5310 path.
5311 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5312 * sysdeps/sparc/sparc64/multiarch/Makefile
5313 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5314 crypt subdir.
5315 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5316 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5317 multiarch changes.
5318 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5319 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5320 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5321 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5322 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5323 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5324 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5325 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5326 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5327 file.
5328 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5329 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5330 file.
5331 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5332
8ca89318
JM
53332012-11-13 Joseph Myers <joseph@codesourcery.com>
5334
e27d476a
JM
5335 * timezone/tzselect.ksh: Update from tzcode git revision
5336 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5337 * timezone/zdump.c: Likewise.
5338 * timezone/zic.c: Likewise.
5339 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5340 in TZVERSION setting, not $(PKGVERSION).
5341 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5342 REPORT_BUGS_TO settings.
5343
8ca89318
JM
5344 [BZ #14838]
5345 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5346 macro.
5347
47594329
MS
53482012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5349
5350 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5351 detection to immediately after _FP_ROUND().
5352 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5353 bits are 0.
5354
640ac3f1
DM
53552012-11-11 David S. Miller <davem@davemloft.net>
5356
5357 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5358 inttypes.h
5359 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5360 __close rather than their public counterparts.
5361
3d2577bb
JM
53622012-11-10 Joseph Myers <joseph@codesourcery.com>
5363
5364 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5365 file.
5366 [UNIX98] (sem_timedwait): Do not expect.
5367 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5368 [XPG4 || UNIX98] (sockatmark): Do not expect.
5369 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5370 (clock_getcpuclockid): Do not expect.
5371 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5372 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5373 Do not expect.
5374 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5375 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5376 [UNIX98] (vwscanf): Likewise.
5377 [UNIX98] (vswscanf): Likewise.
5378
fb1ae1ee
JM
53792012-11-09 Joseph Myers <joseph@codesourcery.com>
5380
9ec6f8bd
JM
5381 * timezone/version.h: Remove file.
5382 * timezone/README: Do not refer to version.h.
5383 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5384 $(objpfx)version.h.
5385 ($(objpfx)zdump.o): Likewise.
c3f81911 5386 ($(objpfx)version.h): New target.
9ec6f8bd 5387
0aa8f8a1
JM
5388 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5389 2012i.
5390 * timezone/README: Don't mention modification to tzselect.ksh.
5391 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5392 work on unmodified tzselect.ksh. Substitute version numbers in
5393 tzselect.ksh.
5394
4e87147f
JM
5395 * Makefile (format-me): Remove.
5396 (INSTALL): Adjust indentation. Use commands directly instead of
5397 using $(format-me).
5398
8b748aed
JM
5399 * aclocal.m4 (ACX_PKGVERSION): New macro.
5400 (ACX_BUGURL): Likewise.
5401 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5402 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5403 (REPORT_BUGS_TO): Likewise.
5404 * configure: Regenerated.
5405 * config.h.in (PKGVERSION): New macro.
5406 (REPORT_BUGS_TO): Likewise.
5407 * config.make.in (PKGVERSION): New variable.
5408 (PKGVERSION_TEXI): Likewise.
5409 (REPORT_BUGS_TO): Likewise.
5410 (REPORT_BUGS_TEXI): Likewise.
5411 * Makefile (format-me): Use -I$(common-objpfx)manual.
5412 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5413 ($(common-objpfx)manual/%): New target.
5414 (manual/%): Remove target.
5415 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5416 (print_version): Use PKGVERSION.
5417 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5418 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5419 and REPORT_BUGS_TO.
5420 ($(objpfx)xtrace): Likewise.
5421 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5422 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5423 (print_version): Use PKGVERSION.
5424 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5425 (do_version): Use PKGVERSION.
5426 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5427 REPORT_BUGS_TO.
5428 (common-ldd-rewrite): Likewise.
5429 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5430 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5431 (print_version): Use PKGVERSION.
5432 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5433 * elf/pldd.c (argp_program_bug_address): Remove variable.
5434 (more_help): New function.
5435 (argp): Use more_help.
5436 (print_version): Use PKGVERSION.
5437 * elf/sln.c (main): Use PKGVERSION.
5438 (usage): Use REPORT_BUGS_TO.
5439 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5440 (top level): Use PKGVERSION.
5441 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5442 (print_version): Use PKGVERSION.
5443 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5444 (print_version): Use PKGVERSION.
5445 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5446 (print_version): Use PKGVERSION.
5447 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5448 (print_version): Use PKGVERSION.
5449 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5450 (print_version): Use PKGVERSION.
5451 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5452 (print_version): Use PKGVERSION.
5453 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5454 and BUGURL.
5455 ($(objpfx)memusage): Likewise.
5456 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5457 (do_version): Use PKGVERSION.
5458 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5459 (print_version): Use PKGVERSION.
5460 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5461 ($PKGVERSION): New variable.
5462 ($REPORT_BUGS_TO): Likewise.
5463 (usage): Use $REPORT_BUGS_TO.
5464 (top level): Use $PKGVERSION.
5465 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5466 ($(objpfx)pkgvers.texi): New rule.
5467 ($(objpfx)stamp-pkgvers): Likewise.
5468 * manual/install.texi: Include pkgvers.texi.
5469 (--with-pkgversion): Document new configure option.
5470 (--with-bugurl): Likewise.
5471 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5472 than necessarily for this particular distribution. Use
5473 REPORT_BUGS_TO for where to report bugs.
5474 * INSTALL: Regenerated.
5475 * manual/libc.texinfo: Include pkgvers.texi.
5476 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5477 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5478 (print_version): Use PKGVERSION.
5479 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5480 (print_version): Use PKGVERSION.
5481 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5482 (print_version): Use PKGVERSION.
5483 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5484 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5485 macro.
5486 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5487 (print_version): Use PKGVERSION.
5488 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5489 (print_version): Use PKGVERSION.
5490 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5491 and PKGVERSION.
5492
92e4b6a9
JM
5493 * timezone/checktab.awk: Update from tzcode 2012i.
5494 * timezone/ialloc.c: Likewise.
5495 * timezone/private.h: Likewise.
5496 * timezone/scheck.c: Likewise.
5497 * timezone/tzfile.h: Likewise.
5498 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5499 (TZVERSION): Hardcode tzcode version number.
5500 * timezone/zdump.c: Update from tzcode 2012i.
5501 * timezone/zic.c: Likewise.
5502 * timezone/version.h: New file.
5503 * timezone/README: Describe version.h. Update upstream location.
5504
9bde902c
JM
5505 [BZ #14824]
5506 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5507 (mktemp): Enable declaration.
5508 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5509 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5510 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5511 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5512 Likewise.
5513 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5514 Likewise.
5515 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5516 Likewise.
5517 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5518 Likewise.
5519 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5520 Likewise.
5521 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5522 Likewise.
5523
fb1ae1ee
JM
5524 [BZ #14821]
5525 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5526 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5527 for copies of such integer values.
5528 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5529 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5530
2c1adbcb
AJ
55312012-11-09 Andreas Jaeger <aj@suse.de>
5532
5533 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5534 definitions and declarations that are provided by
5535 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5536
d0f8457e
AK
55372012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5538
3a235abb 5539 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5540 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5541 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5542 definition.
5543
57241e26
MS
55442012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5545
5546 * elf/elf.h: Update comment before AArch64 relocations.
5547
60e8270d
DM
55482012-11-07 David S. Miller <davem@davemloft.net>
5549
5550 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5551 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5552 (__start_context): Declare.
5553 (__makecontext_ret): Delete.
5554 (__makecontext): Hook up __start_context instead of
5555 __makecontext_ret.
5556 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5557 (sysdep_routines): Add __start_context when in stdlib.
5558
0fbb0fbc
JM
55592012-11-07 Joseph Myers <joseph@codesourcery.com>
5560
5561 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5562 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5563 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5564 hardcoded "nm".
5565 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5566 (READELF): New variable. Use it instead of hardcoded "readelf".
5567
eb48db7e
L
55682012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5569
5570 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5571 * sysdeps/x86/Makefile: Here.
5572 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5573 * sysdeps/x86/tst-xmmymm.sh: This.
5574
05bcf62a
JM
55752012-11-07 Joseph Myers <joseph@codesourcery.com>
5576
c4b6cf53
JM
5577 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5578 expectations.
5579 [UNIX98] (pthread_barrier_t): Do not expect.
5580 [UNIX98] (pthread_barrierattr_t): Likewise.
5581 [UNIX98] (pthread_spinlock_t): Likewise.
5582 [UNIX98] (pthread_barrier_destroy): Likewise.
5583 [UNIX98] (pthread_barrier_init): Likewise.
5584 [UNIX98] (pthread_barrier_wait): Likewise.
5585 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5586 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5587 [UNIX98] (pthread_barrierattr_init): Likewise.
5588 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5589 [UNIX98] (pthread_getcpuclockid): Likewise.
5590 [UNIX98] (pthread_mutex_timedlock): Likewise.
5591 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5592 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5593 [UNIX98] (pthread_sigmask): Likewise.
5594 [UNIX98] (pthread_spin_destroy): Likewise.
5595 [UNIX98] (pthread_spin_init): Likewise.
5596 [UNIX98] (pthread_spin_lock): Likewise.
5597 [UNIX98] (pthread_spin_trylock): Likewise.
5598 [UNIX98] (pthread_spin_unlock): Likewise.
5599 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5600 Do not expect.
5601 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5602 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5603 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5604 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5605 [XPG3 || XPG4] (pthread_key_t): Likewise.
5606 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5607 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5608 [XPG3 || XPG4] (pthread_once_t): Likewise.
5609 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5610 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5611 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5612 [XPG3 || XPG4] (pthread_t): Likewise.
5613
cbe6e120
JM
5614 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5615 not expect.
5616 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5617
1b126443
JM
5618 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5619 Change function return type to int.
5620
b961a573
JM
5621 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5622 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5623 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5624 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5625 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5626 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5627 [!POSIX] (posix_madvise): Likewise.
5628 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5629 && !UNIX98].
5630 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5631 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5632 (mode_t): Likewise.
5633 (posix_mem_offset): Likewise.
5634 (posix_typed_mem_get_info): Likewise.
5635 (posix_typed_mem_open): Likewise.
5636
9e188909
JM
5637 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5638 Change condition to [XOPEN2K8].
5639
05bcf62a
JM
5640 * conform/conformtest.pl: Preprocess allow-header data with -x c
5641 instead of from stdin.
5642 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5643 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5644 [C99-based standards] (cerfc): Likewise.
5645 [C99-based standards] (cexp2): Likewise.
5646 [C99-based standards] (cexpm1): Likewise.
5647 [C99-based standards] (clog10): Likewise.
5648 [C99-based standards] (clog1p): Likewise.
5649 [C99-based standards] (clog2): Likewise.
5650 [C99-based standards] (clgamma): Likewise.
5651 [C99-based standards] (ctgamma): Likewise.
5652 [C99-based standards] (cerff): Likewise.
5653 [C99-based standards] (cerfcf): Likewise.
5654 [C99-based standards] (cexp2f): Likewise.
5655 [C99-based standards] (cexpm1f): Likewise.
5656 [C99-based standards] (clog10f): Likewise.
5657 [C99-based standards] (clog1pf): Likewise.
5658 [C99-based standards] (clog2f): Likewise.
5659 [C99-based standards] (clgammaf): Likewise.
5660 [C99-based standards] (ctgammaf): Likewise.
5661 [C99-based standards] (cerfl): Likewise.
5662 [C99-based standards] (cerfcl): Likewise.
5663 [C99-based standards] (cexp2l): Likewise.
5664 [C99-based standards] (cexpm1l): Likewise.
5665 [C99-based standards] (clog10l): Likewise.
5666 [C99-based standards] (clog1pl): Likewise.
5667 [C99-based standards] (clog2l): Likewise.
5668 [C99-based standards] (clgammal): Likewise.
5669 [C99-based standards] (ctgammal): Likewise.
5670 * conform/data/inttypes.h-data [C99-based standards]: Include
5671 stdint.h-data. Remove all expectations for stdint.h contents.
5672 [C99-based standards] (PRI*): Do not allow.
5673 [C99-based standards] (SCN*): Likewise.
5674 [C99-based standards] (*_t): Likewise.
5675 [C99-based-standards] (PRId8): Expect macro.
5676 [C99-based-standards] (PRIi8): Likewise.
5677 [C99-based-standards] (PRIo8): Likewise.
5678 [C99-based-standards] (PRIu8): Likewise.
5679 [C99-based-standards] (PRIx8): Likewise.
5680 [C99-based-standards] (PRIX8): Likewise.
5681 [C99-based-standards] (SCNd8): Likewise.
5682 [C99-based-standards] (SCNi8): Likewise.
5683 [C99-based-standards] (SCNo8): Likewise.
5684 [C99-based-standards] (SCNu8): Likewise.
5685 [C99-based-standards] (SCNx8): Likewise.
5686 [C99-based-standards] (PRIdLEAST8): Likewise.
5687 [C99-based-standards] (PRIiLEAST8): Likewise.
5688 [C99-based-standards] (PRIoLEAST8): Likewise.
5689 [C99-based-standards] (PRIuLEAST8): Likewise.
5690 [C99-based-standards] (PRIxLEAST8): Likewise.
5691 [C99-based-standards] (PRIXLEAST8): Likewise.
5692 [C99-based-standards] (SCNdLEAST8): Likewise.
5693 [C99-based-standards] (SCNiLEAST8): Likewise.
5694 [C99-based-standards] (SCNoLEAST8): Likewise.
5695 [C99-based-standards] (SCNuLEAST8): Likewise.
5696 [C99-based-standards] (SCNxLEAST8): Likewise.
5697 [C99-based-standards] (PRIdFAST8): Likewise.
5698 [C99-based-standards] (PRIiFAST8): Likewise.
5699 [C99-based-standards] (PRIoFAST8): Likewise.
5700 [C99-based-standards] (PRIuFAST8): Likewise.
5701 [C99-based-standards] (PRIxFAST8): Likewise.
5702 [C99-based-standards] (PRIXFAST8): Likewise.
5703 [C99-based-standards] (SCNdFAST8): Likewise.
5704 [C99-based-standards] (SCNiFAST8): Likewise.
5705 [C99-based-standards] (SCNoFAST8): Likewise.
5706 [C99-based-standards] (SCNuFAST8): Likewise.
5707 [C99-based-standards] (SCNxFAST8): Likewise.
5708 [C99-based-standards] (PRId16): Likewise.
5709 [C99-based-standards] (PRIi16): Likewise.
5710 [C99-based-standards] (PRIo16): Likewise.
5711 [C99-based-standards] (PRIu16): Likewise.
5712 [C99-based-standards] (PRIx16): Likewise.
5713 [C99-based-standards] (PRIX16): Likewise.
5714 [C99-based-standards] (SCNd16): Likewise.
5715 [C99-based-standards] (SCNi16): Likewise.
5716 [C99-based-standards] (SCNo16): Likewise.
5717 [C99-based-standards] (SCNu16): Likewise.
5718 [C99-based-standards] (SCNx16): Likewise.
5719 [C99-based-standards] (PRIdLEAST16): Likewise.
5720 [C99-based-standards] (PRIiLEAST16): Likewise.
5721 [C99-based-standards] (PRIoLEAST16): Likewise.
5722 [C99-based-standards] (PRIuLEAST16): Likewise.
5723 [C99-based-standards] (PRIxLEAST16): Likewise.
5724 [C99-based-standards] (PRIXLEAST16): Likewise.
5725 [C99-based-standards] (SCNdLEAST16): Likewise.
5726 [C99-based-standards] (SCNiLEAST16): Likewise.
5727 [C99-based-standards] (SCNoLEAST16): Likewise.
5728 [C99-based-standards] (SCNuLEAST16): Likewise.
5729 [C99-based-standards] (SCNxLEAST16): Likewise.
5730 [C99-based-standards] (PRIdFAST16): Likewise.
5731 [C99-based-standards] (PRIiFAST16): Likewise.
5732 [C99-based-standards] (PRIoFAST16): Likewise.
5733 [C99-based-standards] (PRIuFAST16): Likewise.
5734 [C99-based-standards] (PRIxFAST16): Likewise.
5735 [C99-based-standards] (PRIXFAST16): Likewise.
5736 [C99-based-standards] (SCNdFAST16): Likewise.
5737 [C99-based-standards] (SCNiFAST16): Likewise.
5738 [C99-based-standards] (SCNoFAST16): Likewise.
5739 [C99-based-standards] (SCNuFAST16): Likewise.
5740 [C99-based-standards] (SCNxFAST16): Likewise.
5741 [C99-based-standards] (PRId32): Likewise.
5742 [C99-based-standards] (PRIi32): Likewise.
5743 [C99-based-standards] (PRIo32): Likewise.
5744 [C99-based-standards] (PRIu32): Likewise.
5745 [C99-based-standards] (PRIx32): Likewise.
5746 [C99-based-standards] (PRIX32): Likewise.
5747 [C99-based-standards] (SCNd32): Likewise.
5748 [C99-based-standards] (SCNi32): Likewise.
5749 [C99-based-standards] (SCNo32): Likewise.
5750 [C99-based-standards] (SCNu32): Likewise.
5751 [C99-based-standards] (SCNx32): Likewise.
5752 [C99-based-standards] (PRIdLEAST32): Likewise.
5753 [C99-based-standards] (PRIiLEAST32): Likewise.
5754 [C99-based-standards] (PRIoLEAST32): Likewise.
5755 [C99-based-standards] (PRIuLEAST32): Likewise.
5756 [C99-based-standards] (PRIxLEAST32): Likewise.
5757 [C99-based-standards] (PRIXLEAST32): Likewise.
5758 [C99-based-standards] (SCNdLEAST32): Likewise.
5759 [C99-based-standards] (SCNiLEAST32): Likewise.
5760 [C99-based-standards] (SCNoLEAST32): Likewise.
5761 [C99-based-standards] (SCNuLEAST32): Likewise.
5762 [C99-based-standards] (SCNxLEAST32): Likewise.
5763 [C99-based-standards] (PRIdFAST32): Likewise.
5764 [C99-based-standards] (PRIiFAST32): Likewise.
5765 [C99-based-standards] (PRIoFAST32): Likewise.
5766 [C99-based-standards] (PRIuFAST32): Likewise.
5767 [C99-based-standards] (PRIxFAST32): Likewise.
5768 [C99-based-standards] (PRIXFAST32): Likewise.
5769 [C99-based-standards] (SCNdFAST32): Likewise.
5770 [C99-based-standards] (SCNiFAST32): Likewise.
5771 [C99-based-standards] (SCNoFAST32): Likewise.
5772 [C99-based-standards] (SCNuFAST32): Likewise.
5773 [C99-based-standards] (SCNxFAST32): Likewise.
5774 [C99-based-standards] (PRId64): Likewise.
5775 [C99-based-standards] (PRIi64): Likewise.
5776 [C99-based-standards] (PRIo64): Likewise.
5777 [C99-based-standards] (PRIu64): Likewise.
5778 [C99-based-standards] (PRIx64): Likewise.
5779 [C99-based-standards] (PRIX64): Likewise.
5780 [C99-based-standards] (SCNd64): Likewise.
5781 [C99-based-standards] (SCNi64): Likewise.
5782 [C99-based-standards] (SCNo64): Likewise.
5783 [C99-based-standards] (SCNu64): Likewise.
5784 [C99-based-standards] (SCNx64): Likewise.
5785 [C99-based-standards] (PRIdLEAST64): Likewise.
5786 [C99-based-standards] (PRIiLEAST64): Likewise.
5787 [C99-based-standards] (PRIoLEAST64): Likewise.
5788 [C99-based-standards] (PRIuLEAST64): Likewise.
5789 [C99-based-standards] (PRIxLEAST64): Likewise.
5790 [C99-based-standards] (PRIXLEAST64): Likewise.
5791 [C99-based-standards] (SCNdLEAST64): Likewise.
5792 [C99-based-standards] (SCNiLEAST64): Likewise.
5793 [C99-based-standards] (SCNoLEAST64): Likewise.
5794 [C99-based-standards] (SCNuLEAST64): Likewise.
5795 [C99-based-standards] (SCNxLEAST64): Likewise.
5796 [C99-based-standards] (PRIdFAST64): Likewise.
5797 [C99-based-standards] (PRIiFAST64): Likewise.
5798 [C99-based-standards] (PRIoFAST64): Likewise.
5799 [C99-based-standards] (PRIuFAST64): Likewise.
5800 [C99-based-standards] (PRIxFAST64): Likewise.
5801 [C99-based-standards] (PRIXFAST64): Likewise.
5802 [C99-based-standards] (SCNdFAST64): Likewise.
5803 [C99-based-standards] (SCNiFAST64): Likewise.
5804 [C99-based-standards] (SCNoFAST64): Likewise.
5805 [C99-based-standards] (SCNuFAST64): Likewise.
5806 [C99-based-standards] (SCNxFAST64): Likewise.
5807 [C99-based-standards] (PRIdMAX): Likewise.
5808 [C99-based-standards] (PRIiMAX): Likewise.
5809 [C99-based-standards] (PRIoMAX): Likewise.
5810 [C99-based-standards] (PRIuMAX): Likewise.
5811 [C99-based-standards] (PRIxMAX): Likewise.
5812 [C99-based-standards] (PRIXMAX): Likewise.
5813 [C99-based-standards] (SCNdMAX): Likewise.
5814 [C99-based-standards] (SCNiMAX): Likewise.
5815 [C99-based-standards] (SCNoMAX): Likewise.
5816 [C99-based-standards] (SCNuMAX): Likewise.
5817 [C99-based-standards] (SCNxMAX): Likewise.
5818 [C99-based-standards] (PRIdPTR): Likewise.
5819 [C99-based-standards] (PRIiPTR): Likewise.
5820 [C99-based-standards] (PRIoPTR): Likewise.
5821 [C99-based-standards] (PRIuPTR): Likewise.
5822 [C99-based-standards] (PRIxPTR): Likewise.
5823 [C99-based-standards] (PRIXPTR): Likewise.
5824 [C99-based-standards] (SCNdPTR): Likewise.
5825 [C99-based-standards] (SCNiPTR): Likewise.
5826 [C99-based-standards] (SCNoPTR): Likewise.
5827 [C99-based-standards] (SCNuPTR): Likewise.
5828 [C99-based-standards] (SCNxPTR): Likewise.
5829 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5830 allow.
5831 * conform/data/stdint.h-data: Update comments to clarify
5832 requirements.
5833 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5834 type.
5835 [C99-based standards] (INT8_MAX): Likewise.
5836 [C99-based standards] (INT16_MIN): Likewise.
5837 [C99-based standards] (INT16_MAX): Likewise.
5838 [C99-based standards] (INT32_MIN): Likewise.
5839 [C99-based standards] (INT32_MAX): Likewise.
5840 [C99-based standards] (INT64_MIN): Likewise.
5841 [C99-based standards] (INT64_MAX): Likewise.
5842 [C99-based standards] (UINT8_MAX): Likewise.
5843 [C99-based standards] (UINT16_MAX): Likewise.
5844 [C99-based standards] (UINT32_MAX): Likewise.
5845 [C99-based standards] (UINT64_MAX): Likewise.
5846 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5847 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5848 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5849 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5850 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5851 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5852 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5853 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5854 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5855 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5856 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5857 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5858 [C99-based standards] (INT_FAST8_MIN): Likewise.
5859 [C99-based standards] (INT_FAST8_MAX): Likewise.
5860 [C99-based standards] (INT_FAST16_MIN): Likewise.
5861 [C99-based standards] (INT_FAST16_MAX): Likewise.
5862 [C99-based standards] (INT_FAST32_MIN): Likewise.
5863 [C99-based standards] (INT_FAST32_MAX): Likewise.
5864 [C99-based standards] (INT_FAST64_MIN): Likewise.
5865 [C99-based standards] (INT_FAST64_MAX): Likewise.
5866 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5867 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5868 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5869 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5870 [C99-based standards] (INTPTR_MIN): Likewise.
5871 [C99-based standards] (INTPTR_MAX): Likewise.
5872 [C99-based standards] (UINTPTR_MAX): Likewise.
5873 [C99-based standards] (INTMAX_MIN): Likewise.
5874 [C99-based standards] (INTMAX_MAX): Likewise.
5875 [C99-based standards] (UINTMAX_MAX): Likewise.
5876 [C99-based standards] (PTRDIFF_MIN): Likewise.
5877 [C99-based standards] (PTRDIFF_MAX): Likewise.
5878 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5879 [C99-based standards] (SIZE_MAX): Likewise.
5880 [C99-based standards] (WCHAR_MAX): Likewise.
5881 [C99-based standards] (WINT_MAX): Likewise.
5882 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5883 constraint on value.
5884 [C99-based standards] (WCHAR_MIN): Likewise.
5885 [C99-based standards] (WINT_MIN): Likewise.
5886 [C99-based standards] (*_t): Allow.
5887 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5888 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5889 Include math.h-data and complex.h-data. Remove all expectations
5890 of math.h and complex.h contents.
5891 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5892 at end of line.
5893 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5894 (struct tm): Expect tag.
5895 [C99-based-standards] (wcstof): Expect function.
5896 [C99-based-standards] (wcstold): Likewise.
5897 [C99-based-standards] (wcstoll): Likewise.
5898 [C99-based-standards] (wcstoull): Likewise.
5899 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5900 macro-int-constant. Specify type.
5901 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5902 constraint on value.
5903 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5904 Specify type.
5905 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5906 Specify value.
5907 [ISO C standards]: Do not allow headers.
5908 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5909 wcs[abcdefghijklmnopqrstuvwxyz]*.
5910 [ISO C standards] (*_t): Do not allow.
5911 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5912 Expect function.
5913 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5914 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5915 Specify type.
5916 [ISO C standards]: Do not allow headers.
5917 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5918 is[abcdefghijklmnopqrstuvwxyz]*.
5919 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5920 to[abcdefghijklmnopqrstuvwxyz]*.
5921 [ISO C standards] (*_t): Do not allow.
5922 * conform/data/stdalign.h-data: New file.
5923 * conform/data/stdbool.h-data: Likewise.
5924 * conform/data/stdnoreturn.h-data: Likewise.
5925
7514feb8
RM
59262012-11-07 Roland McGrath <roland@hack.frob.com>
5927
5928 [BZ #14815]
5929 * manual/filesys.texi (Directory Entries): Typo fix.
5930 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5931
19b2ecfc
MS
59322012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5933
5934 * elf/elf.h (EM_AARCH64): New macro.
5935 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5936 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5937 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5938 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5939 (R_AARCH64_TLSDESC): Likewise.
5940 (NT_ARM_TLS): Likewise.
5941 (NT_ARM_HW_BREAK): Likewise.
5942 (NT_ARM_HW_WATCH): Likewise.
5943
60e235ee
JM
59442012-11-07 Joseph Myers <joseph@codesourcery.com>
5945
5946 [BZ #14811]
5947 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5948 (__ieee754_powl): Saturate nonzero exponents with absolute value
5949 below 0x1p-79 to +/- 0x1p-79.
5950 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5951 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5952 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5953 nonzero exponents with absolute value below 0x1p-32 to +/-
5954 0x1p-32.
5955 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5956 (__ieee754_powl): Saturate nonzero exponents with absolute value
5957 below 0x1p-79 to +/- 0x1p-79.
5958 * math/libm-test.inc (pow_test): Add more tests.
5959
0ab234b7
AK
59602012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5961
5962 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5963 _dl_s390_cap_flags with kernel. Increase string length.
5964 (_dl_s390_platforms): Add z196 and zEC12.
5965
45832f74
JM
59662012-11-07 Joseph Myers <joseph@codesourcery.com>
5967
5968 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5969 Change XOPEN21K to XOPEN2K.
5970
19218757
MK
59712012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5972
5973 * string/memmove.c: Use memcpy when possible.
5974
c5f45721
AJ
59752012-11-06 Andreas Jaeger <aj@suse.de>
5976
5977 * po/eo.po: Update from translation team.
5978
82477c28
JM
59792012-11-06 Joseph Myers <joseph@codesourcery.com>
5980
5981 [BZ #14793]
5982 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5983 exponent and small x and y exponents, scale x or y up. Increase
5984 by 2 the exponent used in scaling up.
5985 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5986 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5987 * math/libm-test.inc (fma_test): Add more tests.
5988 (fma_test_towardzero): Likewise.
5989 (fma_test_downward): Likewise.
5990 (fma_test_upward): Likewise.
5991
99252c8c
JM
59922012-11-05 Joseph Myers <joseph@codesourcery.com>
5993
acfa885f
JM
5994 [BZ #14805]
5995 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5996 fenv_t *.
5997
99252c8c
JM
5998 [BZ #14801]
5999 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6000 namespace for names of struct fields.
6001 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6002 fenv_t fields.
6003 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6004 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6005
d6d98dea
ST
60062012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6007
6008 [BZ #3665]
6009 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6010
e10bb107
TS
60112012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6012
6013 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6014 PTR_DEMANGLE.
6015
6016 [BZ #5246]
6017 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6018 PTR_DEMANGLE.
6019
a0c2940d
JM
60202012-11-04 Joseph Myers <joseph@codesourcery.com>
6021
6022 [BZ #14797]
6023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6024 definitely overflow as x * y not x * y + z.
6025 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6026 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6027 * math/libm-test.inc (fma_test): Add more tests.
6028 (fma_test_towardzero): Likewise.
6029 (fma_test_downward): Likewise.
6030 (fma_test_upward): Likewise.
6031
b830319d
TS
60322012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6033
6034 [BZ #157]
6035
6036 * include/stub-tag.h: Remove file.
6037 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6038 '#include' of it.
6039 * manual/maint.texi (Porting): Don't reference it.
6040 * Makerules ($(objpfx)stubs): Likewise.
6041 * dirent/closedir.c: Don't include <stub-tag.h>.
6042 * dirent/dirfd.c: Likewise.
6043 * dirent/fdopendir.c: Likewise.
6044 * dirent/getdents.c: Likewise.
6045 * dirent/getdents64.c: Likewise.
6046 * dirent/opendir.c: Likewise.
6047 * dirent/readdir.c: Likewise.
6048 * dirent/readdir64.c: Likewise.
6049 * dirent/readdir64_r.c: Likewise.
6050 * dirent/readdir_r.c: Likewise.
6051 * dirent/rewinddir.c: Likewise.
6052 * dirent/seekdir.c: Likewise.
6053 * dirent/telldir.c: Likewise.
6054 * gmon/profil.c: Likewise.
6055 * grp/setgroups.c: Likewise.
6056 * inet/if_index.c: Likewise.
6057 * io/access.c: Likewise.
6058 * io/chdir.c: Likewise.
6059 * io/chmod.c: Likewise.
6060 * io/chown.c: Likewise.
6061 * io/close.c: Likewise.
6062 * io/dup.c: Likewise.
6063 * io/dup2.c: Likewise.
6064 * io/dup3.c: Likewise.
6065 * io/euidaccess.c: Likewise.
6066 * io/faccessat.c: Likewise.
6067 * io/fchdir.c: Likewise.
6068 * io/fchmod.c: Likewise.
6069 * io/fchmodat.c: Likewise.
6070 * io/fchown.c: Likewise.
6071 * io/fchownat.c: Likewise.
6072 * io/fcntl.c: Likewise.
6073 * io/flock.c: Likewise.
6074 * io/fstatfs.c: Likewise.
6075 * io/fstatfs64.c: Likewise.
6076 * io/fstatvfs.c: Likewise.
6077 * io/fstatvfs64.c: Likewise.
6078 * io/futimens.c: Likewise.
6079 * io/fxstat.c: Likewise.
6080 * io/fxstat64.c: Likewise.
6081 * io/fxstatat.c: Likewise.
6082 * io/fxstatat64.c: Likewise.
6083 * io/getcwd.c: Likewise.
6084 * io/isatty.c: Likewise.
6085 * io/lchmod.c: Likewise.
6086 * io/lchown.c: Likewise.
6087 * io/link.c: Likewise.
6088 * io/linkat.c: Likewise.
6089 * io/lseek.c: Likewise.
6090 * io/lseek64.c: Likewise.
6091 * io/lxstat64.c: Likewise.
6092 * io/mkdir.c: Likewise.
6093 * io/mkdirat.c: Likewise.
6094 * io/mkfifo.c: Likewise.
6095 * io/mkfifoat.c: Likewise.
6096 * io/open.c: Likewise.
6097 * io/open64.c: Likewise.
6098 * io/openat.c: Likewise.
6099 * io/openat64.c: Likewise.
6100 * io/pipe.c: Likewise.
6101 * io/pipe2.c: Likewise.
6102 * io/poll.c: Likewise.
6103 * io/posix_fadvise.c: Likewise.
6104 * io/posix_fadvise64.c: Likewise.
6105 * io/posix_fallocate.c: Likewise.
6106 * io/posix_fallocate64.c: Likewise.
6107 * io/read.c: Likewise.
6108 * io/readlink.c: Likewise.
6109 * io/readlinkat.c: Likewise.
6110 * io/rmdir.c: Likewise.
6111 * io/sendfile.c: Likewise.
6112 * io/sendfile64.c: Likewise.
6113 * io/statfs.c: Likewise.
6114 * io/statfs64.c: Likewise.
6115 * io/statvfs.c: Likewise.
6116 * io/statvfs64.c: Likewise.
6117 * io/symlink.c: Likewise.
6118 * io/symlinkat.c: Likewise.
6119 * io/ttyname.c: Likewise.
6120 * io/ttyname_r.c: Likewise.
6121 * io/umask.c: Likewise.
6122 * io/unlink.c: Likewise.
6123 * io/unlinkat.c: Likewise.
6124 * io/utime.c: Likewise.
6125 * io/utimensat.c: Likewise.
6126 * io/write.c: Likewise.
6127 * io/xmknod.c: Likewise.
6128 * io/xmknodat.c: Likewise.
6129 * io/xstat.c: Likewise.
6130 * io/xstat64.c: Likewise.
6131 * login/getpt.c: Likewise.
6132 * login/grantpt.c: Likewise.
6133 * login/unlockpt.c: Likewise.
6134 * math/e_acoshl.c: Likewise.
6135 * math/e_acosl.c: Likewise.
6136 * math/e_asinl.c: Likewise.
6137 * math/e_atan2l.c: Likewise.
6138 * math/e_atanhl.c: Likewise.
6139 * math/e_coshl.c: Likewise.
6140 * math/e_expl.c: Likewise.
6141 * math/e_fmodl.c: Likewise.
6142 * math/e_gammal_r.c: Likewise.
6143 * math/e_hypotl.c: Likewise.
6144 * math/e_j0l.c: Likewise.
6145 * math/e_j1l.c: Likewise.
6146 * math/e_jnl.c: Likewise.
6147 * math/e_lgammal_r.c: Likewise.
6148 * math/e_log10l.c: Likewise.
6149 * math/e_log2l.c: Likewise.
6150 * math/e_logl.c: Likewise.
6151 * math/e_powl.c: Likewise.
6152 * math/e_rem_pio2l.c: Likewise.
6153 * math/e_sinhl.c: Likewise.
6154 * math/e_sqrtl.c: Likewise.
6155 * math/fclrexcpt.c: Likewise.
6156 * math/fedisblxcpt.c: Likewise.
6157 * math/feenablxcpt.c: Likewise.
6158 * math/fegetenv.c: Likewise.
6159 * math/fegetexcept.c: Likewise.
6160 * math/fegetround.c: Likewise.
6161 * math/feholdexcpt.c: Likewise.
6162 * math/fesetenv.c: Likewise.
6163 * math/fesetround.c: Likewise.
6164 * math/feupdateenv.c: Likewise.
6165 * math/fgetexcptflg.c: Likewise.
6166 * math/fraiseexcpt.c: Likewise.
6167 * math/fsetexcptflg.c: Likewise.
6168 * math/ftestexcept.c: Likewise.
6169 * math/k_cosl.c: Likewise.
6170 * math/k_rem_pio2l.c: Likewise.
6171 * math/k_sinl.c: Likewise.
6172 * math/k_tanl.c: Likewise.
6173 * math/s_asinhl.c: Likewise.
6174 * math/s_atanl.c: Likewise.
6175 * math/s_cbrtl.c: Likewise.
6176 * math/s_erfl.c: Likewise.
6177 * math/s_expm1l.c: Likewise.
6178 * math/s_log1pl.c: Likewise.
6179 * math/s_tanhl.c: Likewise.
6180 * misc/acct.c: Likewise.
6181 * misc/brk.c: Likewise.
6182 * misc/chflags.c: Likewise.
6183 * misc/chroot.c: Likewise.
6184 * misc/fchflags.c: Likewise.
6185 * misc/fgetxattr.c: Likewise.
6186 * misc/flistxattr.c: Likewise.
6187 * misc/fremovexattr.c: Likewise.
6188 * misc/fsetxattr.c: Likewise.
6189 * misc/fsync.c: Likewise.
6190 * misc/ftruncate.c: Likewise.
6191 * misc/futimes.c: Likewise.
6192 * misc/futimesat.c: Likewise.
6193 * misc/getdomain.c: Likewise.
6194 * misc/getdtsz.c: Likewise.
6195 * misc/gethostid.c: Likewise.
6196 * misc/gethostname.c: Likewise.
6197 * misc/getloadavg.c: Likewise.
6198 * misc/getpagesize.c: Likewise.
6199 * misc/getsysstats.c: Likewise.
6200 * misc/getxattr.c: Likewise.
6201 * misc/gtty.c: Likewise.
6202 * misc/ioctl.c: Likewise.
6203 * misc/lgetxattr.c: Likewise.
6204 * misc/listxattr.c: Likewise.
6205 * misc/llistxattr.c: Likewise.
6206 * misc/lremovexattr.c: Likewise.
6207 * misc/lsetxattr.c: Likewise.
6208 * misc/lutimes.c: Likewise.
6209 * misc/madvise.c: Likewise.
6210 * misc/mincore.c: Likewise.
6211 * misc/mlock.c: Likewise.
6212 * misc/mlockall.c: Likewise.
6213 * misc/mmap.c: Likewise.
6214 * misc/mprotect.c: Likewise.
6215 * misc/msync.c: Likewise.
6216 * misc/munlock.c: Likewise.
6217 * misc/munlockall.c: Likewise.
6218 * misc/munmap.c: Likewise.
6219 * misc/preadv.c: Likewise.
6220 * misc/preadv64.c: Likewise.
6221 * misc/ptrace.c: Likewise.
6222 * misc/pwritev.c: Likewise.
6223 * misc/pwritev64.c: Likewise.
6224 * misc/readv.c: Likewise.
6225 * misc/reboot.c: Likewise.
6226 * misc/remap_file_pages.c: Likewise.
6227 * misc/removexattr.c: Likewise.
6228 * misc/revoke.c: Likewise.
6229 * misc/select.c: Likewise.
6230 * misc/setdomain.c: Likewise.
6231 * misc/setegid.c: Likewise.
6232 * misc/seteuid.c: Likewise.
6233 * misc/sethostid.c: Likewise.
6234 * misc/sethostname.c: Likewise.
6235 * misc/setregid.c: Likewise.
6236 * misc/setreuid.c: Likewise.
6237 * misc/setxattr.c: Likewise.
6238 * misc/sstk.c: Likewise.
6239 * misc/stty.c: Likewise.
6240 * misc/swapoff.c: Likewise.
6241 * misc/swapon.c: Likewise.
6242 * misc/sync.c: Likewise.
6243 * misc/syncfs.c: Likewise.
6244 * misc/syscall.c: Likewise.
6245 * misc/truncate.c: Likewise.
6246 * misc/ualarm.c: Likewise.
6247 * misc/usleep.c: Likewise.
6248 * misc/ustat.c: Likewise.
6249 * misc/utimes.c: Likewise.
6250 * misc/vhangup.c: Likewise.
6251 * misc/writev.c: Likewise.
6252 * posix/_exit.c: Likewise.
6253 * posix/alarm.c: Likewise.
6254 * posix/execve.c: Likewise.
6255 * posix/fexecve.c: Likewise.
6256 * posix/fork.c: Likewise.
6257 * posix/fpathconf.c: Likewise.
6258 * posix/getaddrinfo.c: Likewise.
6259 * posix/getegid.c: Likewise.
6260 * posix/geteuid.c: Likewise.
6261 * posix/getgid.c: Likewise.
6262 * posix/getgroups.c: Likewise.
6263 * posix/getlogin.c: Likewise.
6264 * posix/getlogin_r.c: Likewise.
6265 * posix/getpgid.c: Likewise.
6266 * posix/getpid.c: Likewise.
6267 * posix/getppid.c: Likewise.
6268 * posix/getresgid.c: Likewise.
6269 * posix/getresuid.c: Likewise.
6270 * posix/getsid.c: Likewise.
6271 * posix/getuid.c: Likewise.
6272 * posix/glob64.c: Likewise.
6273 * posix/nanosleep.c: Likewise.
6274 * posix/pathconf.c: Likewise.
6275 * posix/pause.c: Likewise.
6276 * posix/posix_madvise.c: Likewise.
6277 * posix/pread.c: Likewise.
6278 * posix/pread64.c: Likewise.
6279 * posix/pwrite.c: Likewise.
6280 * posix/pwrite64.c: Likewise.
6281 * posix/sched_getaffinity.c: Likewise.
6282 * posix/sched_getp.c: Likewise.
6283 * posix/sched_gets.c: Likewise.
6284 * posix/sched_primax.c: Likewise.
6285 * posix/sched_primin.c: Likewise.
6286 * posix/sched_rr_gi.c: Likewise.
6287 * posix/sched_setaffinity.c: Likewise.
6288 * posix/sched_setp.c: Likewise.
6289 * posix/sched_sets.c: Likewise.
6290 * posix/sched_yield.c: Likewise.
6291 * posix/setgid.c: Likewise.
6292 * posix/setlogin.c: Likewise.
6293 * posix/setpgid.c: Likewise.
6294 * posix/setresgid.c: Likewise.
6295 * posix/setresuid.c: Likewise.
6296 * posix/setsid.c: Likewise.
6297 * posix/setuid.c: Likewise.
6298 * posix/sleep.c: Likewise.
6299 * posix/spawni.c: Likewise.
6300 * posix/sysconf.c: Likewise.
6301 * posix/times.c: Likewise.
6302 * posix/wait.c: Likewise.
6303 * posix/wait3.c: Likewise.
6304 * posix/wait4.c: Likewise.
6305 * posix/waitpid.c: Likewise.
6306 * resolv/gai_sigqueue.c: Likewise.
6307 * resource/getpriority.c: Likewise.
6308 * resource/getrlimit.c: Likewise.
6309 * resource/getrusage.c: Likewise.
6310 * resource/nice.c: Likewise.
6311 * resource/setpriority.c: Likewise.
6312 * resource/setrlimit.c: Likewise.
6313 * resource/ulimit.c: Likewise.
6314 * rt/aio_cancel.c: Likewise.
6315 * rt/aio_fsync.c: Likewise.
6316 * rt/aio_read.c: Likewise.
6317 * rt/aio_sigqueue.c: Likewise.
6318 * rt/aio_suspend.c: Likewise.
6319 * rt/aio_write.c: Likewise.
6320 * rt/clock_getres.c: Likewise.
6321 * rt/clock_gettime.c: Likewise.
6322 * rt/clock_nanosleep.c: Likewise.
6323 * rt/clock_settime.c: Likewise.
6324 * rt/lio_listio.c: Likewise.
6325 * rt/mq_close.c: Likewise.
6326 * rt/mq_getattr.c: Likewise.
6327 * rt/mq_notify.c: Likewise.
6328 * rt/mq_open.c: Likewise.
6329 * rt/mq_receive.c: Likewise.
6330 * rt/mq_send.c: Likewise.
6331 * rt/mq_setattr.c: Likewise.
6332 * rt/mq_timedreceive.c: Likewise.
6333 * rt/mq_timedsend.c: Likewise.
6334 * rt/mq_unlink.c: Likewise.
6335 * rt/shm_open.c: Likewise.
6336 * rt/shm_unlink.c: Likewise.
6337 * rt/timer_create.c: Likewise.
6338 * rt/timer_delete.c: Likewise.
6339 * rt/timer_getoverr.c: Likewise.
6340 * rt/timer_gettime.c: Likewise.
6341 * rt/timer_settime.c: Likewise.
6342 * setjmp/__longjmp.c: Likewise.
6343 * setjmp/setjmp.c: Likewise.
6344 * signal/kill.c: Likewise.
6345 * signal/killpg.c: Likewise.
6346 * signal/raise.c: Likewise.
6347 * signal/sigaction.c: Likewise.
6348 * signal/sigaltstack.c: Likewise.
6349 * signal/sigblock.c: Likewise.
6350 * signal/sigignore.c: Likewise.
6351 * signal/sigintr.c: Likewise.
6352 * signal/signal.c: Likewise.
6353 * signal/sigpause.c: Likewise.
6354 * signal/sigpending.c: Likewise.
6355 * signal/sigqueue.c: Likewise.
6356 * signal/sigreturn.c: Likewise.
6357 * signal/sigset.c: Likewise.
6358 * signal/sigsetmask.c: Likewise.
6359 * signal/sigstack.c: Likewise.
6360 * signal/sigsuspend.c: Likewise.
6361 * signal/sigtimedwait.c: Likewise.
6362 * signal/sigvec.c: Likewise.
6363 * signal/sigwait.c: Likewise.
6364 * signal/sigwaitinfo.c: Likewise.
6365 * signal/sysv_signal.c: Likewise.
6366 * socket/accept.c: Likewise.
6367 * socket/accept4.c: Likewise.
6368 * socket/bind.c: Likewise.
6369 * socket/connect.c: Likewise.
6370 * socket/getpeername.c: Likewise.
6371 * socket/getsockname.c: Likewise.
6372 * socket/getsockopt.c: Likewise.
6373 * socket/isfdtype.c: Likewise.
6374 * socket/listen.c: Likewise.
6375 * socket/recv.c: Likewise.
6376 * socket/recvfrom.c: Likewise.
6377 * socket/recvmsg.c: Likewise.
6378 * socket/send.c: Likewise.
6379 * socket/sendmsg.c: Likewise.
6380 * socket/sendto.c: Likewise.
6381 * socket/setsockopt.c: Likewise.
6382 * socket/shutdown.c: Likewise.
6383 * socket/sockatmark.c: Likewise.
6384 * socket/socket.c: Likewise.
6385 * socket/socketpair.c: Likewise.
6386 * stdio-common/ctermid.c: Likewise.
6387 * stdio-common/cuserid.c: Likewise.
6388 * stdio-common/remove.c: Likewise.
6389 * stdio-common/rename.c: Likewise.
6390 * stdio-common/renameat.c: Likewise.
6391 * stdio-common/tempname.c: Likewise.
6392 * stdlib/getcontext.c: Likewise.
6393 * stdlib/makecontext.c: Likewise.
6394 * stdlib/setcontext.c: Likewise.
6395 * stdlib/swapcontext.c: Likewise.
6396 * stdlib/system.c: Likewise.
6397 * streams/fattach.c: Likewise.
6398 * streams/fdetach.c: Likewise.
6399 * streams/getmsg.c: Likewise.
6400 * streams/getpmsg.c: Likewise.
6401 * streams/putmsg.c: Likewise.
6402 * streams/putpmsg.c: Likewise.
6403 * sysdeps/unix/bsd/getpt.c: Likewise.
6404 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6405 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6406 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6408 Likewise.
6409 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6410 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6411 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6412 * sysvipc/msgctl.c: Likewise.
6413 * sysvipc/msgget.c: Likewise.
6414 * sysvipc/msgrcv.c: Likewise.
6415 * sysvipc/msgsnd.c: Likewise.
6416 * sysvipc/semctl.c: Likewise.
6417 * sysvipc/semget.c: Likewise.
6418 * sysvipc/semop.c: Likewise.
6419 * sysvipc/semtimedop.c: Likewise.
6420 * sysvipc/shmat.c: Likewise.
6421 * sysvipc/shmctl.c: Likewise.
6422 * sysvipc/shmdt.c: Likewise.
6423 * sysvipc/shmget.c: Likewise.
6424 * termios/tcdrain.c: Likewise.
6425 * termios/tcflow.c: Likewise.
6426 * termios/tcflush.c: Likewise.
6427 * termios/tcgetattr.c: Likewise.
6428 * termios/tcgetpgrp.c: Likewise.
6429 * termios/tcsendbrk.c: Likewise.
6430 * termios/tcsetattr.c: Likewise.
6431 * termios/tcsetpgrp.c: Likewise.
6432 * time/adjtime.c: Likewise.
6433 * time/clock.c: Likewise.
6434 * time/getitimer.c: Likewise.
6435 * time/gettimeofday.c: Likewise.
6436 * time/setitimer.c: Likewise.
6437 * time/settimeofday.c: Likewise.
6438 * time/stime.c: Likewise.
6439 * time/time.c: Likewise.
6440
64412012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6442
a20492cf
PT
6443 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6444 /usr/old/bin.
6445
72e182e3
PT
6446 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6447 instead of spaces.
6448 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6449
fbeafede
JM
64502012-11-03 Joseph Myers <joseph@codesourcery.com>
6451
5b5b04d6
JM
6452 [BZ #14796]
6453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6454 FE_TONEAREST before applying Dekker multiplication and Knuth
6455 addition. Clear inexact exceptions and check for exact zero
6456 results afterwards.
6457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6458 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6459 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6460 * math/libm-test.inc (fma_test): Add more tests.
6461 (fma_test_towardzero): Likewise.
6462 (fma_test_downward): Likewise.
6463 (fma_test_upward): Likewise.
6464 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6465 function.
6466 (libc_fesetround): New macro.
6467 (libc_fesetroundf): Likewise.
6468 (libc_fesetroundl): Likewise.
6469 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6470 function.
6471 (libc_fesetround_387): Likewise.
6472 (libc_fesetroundf): New macro.
6473 (libc_fesetround): Likewise.
6474 (libc_fesetroundl): Likewise.
6475 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6476 function.
6477 (libc_fesetroundf): New macro.
6478 (libc_fesetround): Likewise.
6479 (libc_fesetroundl): Likewise.
6480 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6481 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6482 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6483 libm_hidden_ver.
6484 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6485 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6486 libm_hidden_def.
6487 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6488 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6489 libm_hidden_ver.
6490 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6491 libm_hidden_def.
6492
fbeafede
JM
6493 [BZ #3439]
6494 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6495 integer constant usable in #if and use that to give value to enum
6496 constant.
6497 (FE_DIVBYZERO): Likewise.
6498 (FE_UNDERFLOW): Likewise.
6499 (FE_OVERFLOW): Likewise.
6500 (FE_INVALID): Likewise.
6501 (FE_INVALID_SNAN): Likewise.
6502 (FE_INVALID_ISI): Likewise.
6503 (FE_INVALID_IDI): Likewise.
6504 (FE_INVALID_ZDZ): Likewise.
6505 (FE_INVALID_IMZ): Likewise.
6506 (FE_INVALID_COMPARE): Likewise.
6507 (FE_INVALID_SOFTWARE): Likewise.
6508 (FE_INVALID_SQRT): Likewise.
6509 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6510 (FE_TONEAREST): Likewise.
6511 (FE_TOWARDZERO): Likewise.
6512 (FE_UPWARD): Likewise.
6513 (FE_DOWNWARD): Likewise.
6514 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6515 (FE_DIVBYZERO): Likewise.
6516 (FE_OVERFLOW): Likewise.
6517 (FE_UNDERFLOW): Likewise.
6518 (FE_INEXACT): Likewise.
6519 (FE_TONEAREST): Likewise.
6520 (FE_DOWNWARD): Likewise.
6521 (FE_UPWARD): Likewise.
6522 (FE_TOWARDZERO): Likewise.
6523 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6524 (FE_UNDERFLOW): Likewise.
6525 (FE_OVERFLOW): Likewise.
6526 (FE_DIVBYZERO): Likewise.
6527 (FE_INVALID): Likewise.
6528 (FE_TONEAREST): Likewise.
6529 (FE_TOWARDZERO): Likewise.
6530 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6531 (FE_OVERFLOW): Likewise.
6532 (FE_UNDERFLOW): Likewise.
6533 (FE_DIVBYZERO): Likewise.
6534 (FE_INEXACT): Likewise.
6535 (FE_TONEAREST): Likewise.
6536 (FE_TOWARDZERO): Likewise.
6537 (FE_UPWARD): Likewise.
6538 (FE_DOWNWARD): Likewise.
6539 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6540 (FE_DIVBYZERO): Likewise.
6541 (FE_OVERFLOW): Likewise.
6542 (FE_UNDERFLOW): Likewise.
6543 (FE_INEXACT): Likewise.
6544 (FE_TONEAREST): Likewise.
6545 (FE_DOWNWARD): Likewise.
6546 (FE_UPWARD): Likewise.
6547 (FE_TOWARDZERO): Likewise.
6548
105ca950
CM
65492012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6550
6551 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6552
a542b389
AS
65532012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6554
6555 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6556 commands. Quote $PWD.
6557 (blacklist_exports): Don't use remove_newlines. Replace "declare
6558 -x" by "export".
6559 (remove_newlines): Remove.
6560
f62c8abc
L
65612012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6562
6563 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6564 * stdlib/stdlib.h (atof): Moved to ...
6565 * include/bits/stdlib-float.h: Here. New file.
6566 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6567 * stdlib/bits/stdlib-float.h: New file.
6568 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6569 -mno-sse -mno-mmx.
6570 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6571 <xmmintrin.h>.
6572
0155d5b2
JM
65732012-11-02 Joseph Myers <joseph@codesourcery.com>
6574
a68d0680
JM
6575 * conform/conformtest.pl (@headers): Add fenv.h.
6576 * conform/data/fenv.h-data: New file.
6577 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6578 include of <math/fenv.h>.
6579
caf7f573
JM
6580 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6581 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6582 && !UNIX98]. Enables tests for XOPEN2K8.
6583 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6584 POSIX2008]: Likewise.
6585
6c073ad6
JM
6586 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6587 (struct rusage): Do not expect type or its members.
6588
0155d5b2
JM
6589 [BZ #3439]
6590 * math/math.h (FP_NAN): Define macro to integer constant usable in
6591 #if and use that to give value to enum constant.
6592 (FP_INFINITE): Likewise.
6593 (FP_ZERO): Likewise.
6594 (FP_SUBNORMAL): Likewise.
6595 (FP_NORMAL): Likewise.
6596
b5dcacb4
AS
65972012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6598
6599 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6600 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6601 arguments.
6602
f7934be8
RM
66032012-11-02 Roland McGrath <roland@hack.frob.com>
6604
6605 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6606 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6607 autoconf-time if not.
6608 * configure.in: Remove AC_PREREQ.
6609
d7d08bde
TMQMF
66102012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6611
6612 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6613 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6614 of the internal implementation.
6615
dcdae19a
JM
66162012-11-02 Joseph Myers <joseph@codesourcery.com>
6617
6618 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6619 except include of <misc/sys/syslog.h>.
6620
d6cffd3e
AS
66212012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6622
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6624 function returns with a NULL context exit with zero.
6625
b3563932
TMQMF
66262012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6627
6628 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6629
b288a93d
L
66302012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6631
6632 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6633 (run_program_cmd): This.
6634 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6635 (tst_langinfo): New variable. Use it.
6636
a2421a68
SAS
66372012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6638
6639 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6640 floating point opcodes.
6641
6f796e1b
TS
66422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6643
7402596b
TS
6644 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6645 variable.
6646
d0d4f868
TS
6647 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6648
6f796e1b
TS
6649 * sysdeps/mach/hurd/powerpc: Remove directory.
6650 * sysdeps/mach/powerpc: Likewise.
6651
4da224a2
AS
66522012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6653
6654 * scripts/check-local-headers.sh: Ignore c++ headers.
6655
341dd673
TS
66562012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6657
6658 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6659 __libc_cleanup_region_start argument.
6660
473611b2
JM
66612012-11-01 Joseph Myers <joseph@codesourcery.com>
6662
6663 [BZ #14784]
6664 [BZ #14785]
6665 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6666 x * y using scaling, not as x * y + z.
6667 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6668 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6669 * math/libm-test.inc (fma_test): Add more tests.
6670 (fma_test_towardzero): Likewise.
6671 (fma_test_downward): Likewise.
6672 (fma_test_upward): Likewise.
6673
4078da3d
TS
66742012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6675
6676 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6677
903252aa
JM
66782012-10-31 Joseph Myers <joseph@codesourcery.com>
6679
6680 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6681 New variable.
6682
cbc818d0
TS
66832012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6684
6685 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6686
5a03cb1e
AS
66872012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6688
6689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6690 Fix sort order.
6691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6692 Likewise.
6693
90aff2ff
TMQMF
66942012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6695
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6697 Fix the order of the list for glibc 2.17.
6698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6699 Likewise.
6700
1818fcb7
AS
67012012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6702
6703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6704
ef82f4da
JM
67052012-10-31 Joseph Myers <joseph@codesourcery.com>
6706
16a0e2ec
JM
6707 [BZ #14610]
6708 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6709 for low part of x being zero before using __atanl (y).
6710 * math/libm-test.inc (atan2_test): Add another test.
6711
0eb69512
JM
6712 * manual/install.texi (Configuring and compiling): Document
6713 general use of test-wrapper and test-wrapper-env.
6714 * INSTALL: Regenerated.
6715
ef82f4da
JM
6716 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6717 (__fma): Do not extract and scale down low bits on after-rounding
6718 systems when result rounded to normal precision would have normal
6719 exponent.
6720 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6721 (__fmal): Do not extract and scale down low bits on after-rounding
6722 systems when result rounded to normal precision would have normal
6723 exponent.
6724 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6725 (__fmal): Do not extract and scale down low bits on after-rounding
6726 systems when result rounded to normal precision would have normal
6727 exponent.
6728 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6729 macro.
6730 (fma_test): Add more tests.
6731 (fma_test_towardzero): Likewise.
6732 (fma_test_downward): Likewise.
6733 (fma_test_upward): Likewise.
6734
954ef0d9
L
67352012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6736
6737 * sysdeps/i386/tininess.h: Renamed to ...
6738 * sysdeps/x86/tininess.h: This.
6739 * sysdeps/x86_64/tininess.h: Removed.
6740
df61ffb2
JM
67412012-10-30 Joseph Myers <joseph@codesourcery.com>
6742
6743 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6744 input. Use $(build-program-cmd).
6745 ($(objpfx)tst-array1-static.out): Likewise.
6746 ($(objpfx)tst-array2.out): Likewise.
6747 ($(objpfx)tst-array3.out): Likewise.
6748 ($(objpfx)tst-array4.out): Likewise.
6749 ($(objpfx)tst-array5.out): Likewise.
6750 ($(objpfx)tst-array5-static.out): Likewise.
6751
01767843
CM
67522012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6753
47cc1490
CM
6754 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6755 if defined.
6756
01767843
CM
6757 * nss/nsswitch.h (nss_interface_function): Provide new
6758 macro for use with NSS functions.
6759 * grp/initgroups.c: Use new macro.
6760 * nss/getXXbyYY.c: Likewise.
6761 * nss/getXXbyYY_r.c: Likewise.
6762 * nss/getXXent.c: Likewise.
6763 * nss/getXXent_r.c: Likewise.
6764 * sysdeps/posix/getaddrinfo.c: Likewise.
6765
8321aa97
AJ
67662012-10-30 Andreas Jaeger <aj@suse.de>
6767
6768 * po/ru.po: Update Russion translation from translation project.
6769
2a27fd6d
JM
67702012-10-30 Joseph Myers <joseph@codesourcery.com>
6771
8627a232
JM
6772 [BZ #14152]
6773 [BZ #14783]
6774 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6775 result and shift together with sticky bit instead of replicating
6776 round-to-nearest rounding.
6777 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6778 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6779 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6780 missing underflow exceptions.
6781 (fma_test_towardzero): Add more tests.
6782 (fma_test_downward): Likewise.
6783 (fma_test_upward): Likewise.
6784
2a27fd6d
JM
6785 [BZ #14047]
6786 * sysdeps/generic/tininess.h: New file.
6787 * sysdeps/i386/tininess.h: Likewise.
6788 * sysdeps/sh/tininess.h: Likewise.
6789 * sysdeps/x86_64/tininess.h: Likewise.
6790 * stdlib/tst-strtod-underflow.c: Likewise.
6791 * stdlib/tst-tininess.c: Likewise.
6792 * stdlib/strtod_l.c: Include <tininess.h>.
6793 (round_and_return): Do not set errno for exact underflow cases.
6794 Force an underflow exception when setting errno for underflow.
6795 Determine underflow based on rounding to normal precision if
6796 TININESS_AFTER_ROUNDING.
6797 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6798 ERANGE for exact underflow cases.
6799 * stdlib/Makefile (tests): Add tst-tininess and
6800 tst-strtod-underflow.
6801 ($(objpfx)tst-tininess): Use $(link-libm).
6802 ($(objpfx)tst-strtod-underflow): Likewise.
6803
e7170363
AJ
68042012-10-30 Andreas Jaeger <aj@suse.de>
6805
e5088dc6
AJ
6806 [BZ#14767]
6807 * elf/Makefile (tests): Remove conditional for have-initfini-array
6808 since this is now always required and the variable does not exist
6809 anymore.
6810 (tests-static): Likewise.
6811 (modules-names): Likewise.
6812
e7170363 6813 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6814
6815 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6816 merged with constructor/destructor.
6817 (init_array): Likewise.
6818 * elf/tst-array2dep.c (fini_array): Likewise.
6819 (init_array): Likewise.
6820
60457d8a
MF
68212012-10-29 Mike Frysinger <vapier@gentoo.org>
6822
6823 * manual/message.texi: Delete @cartouche tags.
6824
8bece752
PT
68252012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6826
94ce799f
PT
6827 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6828 EOPNOTSUPP.
6829 * sysdeps/mach/hurd/fsync.c: Likewise.
6830
8bece752
PT
6831 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6832 [_POSIX_REALTIME_SIGNALS]: Change condition to
6833 [_POSIX_REALTIME_SIGNALS > 0].
6834
86ebe6b1
AJ
68352012-10-27 Andreas Jaeger <aj@suse.de>
6836
6837 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6838 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6839 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6840 [__WORDSIZE != 64]: Likewise.
6841
54399c08
L
68422012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6843
6844 * iconvdata/tst-table.sh: Remove ${SHELL}.
6845 * iconvdata/tst-tables.sh: Likewise.
6846
e2211bed
DM
68472012-10-25 David S. Miller <davem@davemloft.net>
6848
6849 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6850 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6851 of strtoull.
6852
f303f97c
DM
6853 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6854 ifunc-impl-list.c
6855 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6856 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6857 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6858 file.
6859
1e9d84cd
RM
68602012-10-25 Roland McGrath <roland@hack.frob.com>
6861
6862 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6863 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6864 __getdirentries.
6865
df381762
JM
68662012-10-25 Joseph Myers <joseph@codesourcery.com>
6867 Jim Blandy <jimb@codesourcery.com>
6868
6869 * scripts/cross-test-ssh.sh: New file.
6870 * manual/install.texi (Configuring and compiling): Document use of
6871 cross-test-ssh.sh.
6872 * INSTALL: Regenerated.
6873
bff64913
PT
68742012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6875
6876 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6877 EOPNOTSUPP.
6878
25fe8932
JM
68792012-10-25 Joseph Myers <joseph@codesourcery.com>
6880
6881 * Makeconfig (run-program-prefix): Fix comment.
6882
cc1290d0
JM
68832012-10-24 Joseph Myers <joseph@codesourcery.com>
6884 Jim Blandy <jimb@codesourcery.com>
6885
6886 * Makeconfig (test-wrapper): New variable,
6887 (test-wrapper-env): Likewise.
6888 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6889 (run-built-tests): Define to yes.
6890 (run-program-prefix): Use $(test-wrapper).
6891 (built-program-cmd): Likewise.
6892 * Rules (make-test-out): Use $(test-wrapper-env) and
6893 $(host-built-program-cmd).
6894 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6895 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6896 tst-pathopt.sh.
6897 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6898 $(test-wrapper-env) to tst-rtld-load-self.sh.
6899 ($(objpfx)order2.out): Use $(test-wrapper).
6900 ($(objpfx)tst-initorder.out): Likewise.
6901 ($(objpfx)tst-initorder2.out): Likewise.
6902 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6903 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6904 (test_wrapper_env): New variable. Use it to run ld.so.
6905 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6906 Use it to run ld.so.
6907 (test_wrapper_env): Likewise.
6908 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6909 $(test-wrapper) to run-iconv-test.sh.
6910 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6911 (ICONV): Use $test_wrapper.
6912 * posix/Makefile ($(objpfx)globtest.out): Pass
6913 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6914 globtest.sh, not $(run-program-prefix).
6915 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6916 (test_wrapper): Likewise.
6917 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6918 set together with run_via_rtld_prefix.
6919 (run_program_prefix): Define in terms of test_wrapper and
6920 run_via_rtld_prefix.
6921
6e6249d0
RM
69222012-10-24 Roland McGrath <roland@hack.frob.com>
6923
6924 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6925 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6926 Targets removed.
6927
6928 [BZ #14743]
6929 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6930 Declare __clock_getres, __clock_gettime, __clock_settime,
6931 __clock_nanosleep, and __clock_getcpuclockid.
6932 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6933 Remove librt_hidden_def (clock_gettime).
6934 * sysdeps/unix/clock_gettime.c: Likewise.
6935 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6936 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6937 * rt/clock_getres.c: Define __clock_getres as an alias.
6938 * sysdeps/posix/clock_getres.c: Likewise.
6939 * rt/clock_settime.c: Define __clock_settime as an alias.
6940 * sysdeps/unix/clock_settime.c: Likewise.
6941 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6942 * sysdeps/unix/clock_nanosleep.c: Likewise.
6943 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6944 * rt/clock-compat.c: New file.
6945 * rt/Makefile (librt-routines): Add clock-compat and move
6946 $(clock-routines) to ...
6947 (routines): ... here, new variable.
6948 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6949 Don't add get_clockfreq here.
6950 * rt/Versions (libc: GLIBC_2.17): New version set.
6951 Add clock_* symbols here.
6952 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6953 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6954 (GLIBC_2.17): Add clock_* symbols.
6955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6957 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6959 Likewise.
6960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6961 Likewise.
6962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6966 * NEWS: Mention the move.
6967
6968 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6969 Use __open, __read, __close rather than their public counterparts.
6970 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6971 (__get_clockfreq_via_cpuinfo): Likewise.
6972 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6973 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6974
6975 * config.h.in (HAVE_IFUNC): New #undef.
6976 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6977 was successful.
6978 * configure: Regenerated.
6979
0cae3f4b
MF
69802012-10-24 Mike Frysinger <vapier@gentoo.org>
6981
6982 * configure.in: Move READELF check to start of file.
6983 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6984 libc_cv_asm_gnu_indirect_function in the process.
6985 * configure: Regenerated.
6986
8175a253
MF
69872012-10-24 Mike Frysinger <vapier@gentoo.org>
6988
6989 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6990 send the output to /dev/null.
6991 (libc_cv_cc_with_libunwind): Likewise.
6992 (libc_cv_as_noexecstack): Likewise.
6993 * configure: Regenerate.
6994
0708a7d1
JM
69952012-10-24 Joseph Myers <joseph@codesourcery.com>
6996
10b40d85
JM
6997 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6998
0708a7d1
JM
6999 * posix/globtest.sh (TMPDIR): Do not set.
7000 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7001 (testout): Likewise.
7002
9fddec1a
AJ
70032012-10-24 Andreas Jaeger <aj@suse.de>
7004
3a8db22f
AJ
7005 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7006 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7007 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7008 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7009 posix_fadvise64, posix_fallocate64.
7010
9fddec1a
AJ
7011 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7012 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7013 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7014 Likewise.
7015 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7016 Likewise.
7017 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7018
7019 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7020 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7021 <bits/fcntl-linux.h>.
7022 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7023
7024 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7025 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7026 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7027 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7028 [__WORDSIZE != 64]: Likewise.
7029
ebfd1bbd
JM
70302012-10-23 Joseph Myers <joseph@codesourcery.com>
7031
03ac099f
JM
7032 * Makeconfig (run-built-tests): New variable.
7033 * Rules [$(cross-compiling) = yes]: Change condition to
7034 [$(run-built-tests) = no].
7035 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7036 to [$(run-built-tests) = yes].
7037 * elf/Makefile [$(cross-compiling) = no]: Likewise
7038 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7039 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7040 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7041 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7042 * io/Makefile [$(cross-compiling) = no]: Likewise.
7043 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7044 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7045 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7046 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7047 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7048 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7049 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7050 * string/Makefile [$(cross-compiling) = no]: Likewise.
7051
ebfd1bbd
JM
7052 * posix/Makefile ($(objpfx)globtest.out): Pass
7053 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7054 $(rtld-installed-name).
7055 * posix/globtest.sh (elf_objpfx): Remove variable.
7056 (rtld_installed_name): Likewise.
7057 (library_path): Likewise.
7058 (run_program_prefix): New variable. Use for running globtest
7059 binary.
7060
166bca24
JB
70612012-10-23 Jim Blandy <jimb@codesourcery.com>
7062 Joseph Myers <joseph@codesourcery.com>
7063
7064 * Makeconfig (host-built-program-cmd): New variable.
7065 * elf/Makefile (tst-stackguard1-ARGS): Use
7066 $(host-built-program-cmd).
7067 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7068 (tst-spawn-ARGS): Likewise.
7069 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7070
88866099
JM
70712012-10-23 Joseph Myers <joseph@codesourcery.com>
7072 Jim Blandy <jimb@codesourcery.com>
7073
7074 * Makeconfig (run-via-rtld-prefix): New variable.
7075 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7076 (built-program-cmd): Likewise.
7077
b4b4c296
AJ
70782012-10-22 Andreas Jaeger <aj@suse.de>
7079
7080 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7081 __O_RSYNC if it exists, otherwise to O_SYNC.
7082
6fb54a22
JB
70832012-10-22 Jim Blandy <jimb@codesourcery.com>
7084 Joseph Myers <joseph@codesourcery.com>
7085
7086 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7087 /dev/null.
7088 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7089 from /dev/null
7090 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7091 /dev/null.
7092
481b90b9
AJ
70932012-10-22 Andreas Jaeger <aj@suse.de>
7094
2a0e2669
AJ
7095 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7096 Define always.
7097 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7098
76e38f9a
AJ
7099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7100 bits/fcntl-linux.h.
7101
7cd37b43
AJ
7102 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7103 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7104
481b90b9
AJ
7105 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7106 to __O_LARGEFILE.
7107 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7108 to __O_LARGEFILE.
7109
aba75984
JB
71102012-10-21 Jim Blandy <jimb@codesourcery.com>
7111 Joseph Myers <joseph@codesourcery.com>
7112
7113 * config.make.in (NM): New variable.
7114
88d4247f
AJ
71152012-10-21 Andreas Jaeger <aj@suse.de>
7116
7117 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7118 definitions and declarations that are provided by
7119 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7120
f2eed205
L
71212012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7122
7123 [BZ #14683]
7124 * elf/Makefile (tests-static): Add tst-leaks1-static.
7125 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7126 ($(objpfx)tst-leaks1-static): New rule.
7127 ($(objpfx)tst-leaks1-static-mem): Likewise.
7128 (tst-leaks1-static-ENV): New macro.
7129 * elf/dl-open.c (dl_open_worker): Check the main application
7130 only if SHARED is defined.
7131 * elf/tst-leaks1-static.c: New file.
7132
335e6931
AJ
71332012-10-20 Andreas Jaeger <aj@suse.de>
7134
7135 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7136 generic values for Linux.
7137 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7138 and declarations that are provided by <bits/fcntl-linux.h> and
7139 include <bits/fcntl-linux.h>.
7140 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7142
ac5c94d3
RM
71432012-10-20 Roland McGrath <roland@hack.frob.com>
7144
7145 * io/fcntl.h: Move include of <bits/types.h> to the top and
7146 include it unconditionally.
7147
de54b33a
L
71482012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7149
228cfb01
L
7150 * wcsmbs/Makefile (tests-ifunc): New variable.
7151 (tests): Add $(tests-ifunc).
7152 * wcsmbs/test-wcschr-ifunc.c: New file.
7153 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7154 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7155 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7156 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7157 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7158
69f07e5f
L
7159 * string/Makefile (tests-ifunc): New variable.
7160 (tests): Add $(tests-ifunc).
7161 * string/test-memccpy.c (TEST_NAME): New macro.
7162 * string/test-memchr.c (TEST_NAME): Likewise.
7163 * string/test-memcmp.c (TEST_NAME): Likewise.
7164 * string/test-memcpy.c (TEST_NAME): Likewise.
7165 * string/test-memmem.c (TEST_NAME): Likewise.
7166 * string/test-memmove.c (TEST_NAME): Likewise.
7167 * string/test-memset.c (TEST_NAME): Likewise.
7168 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7169 * string/test-stpcpy.c (TEST_NAME): Likewise.
7170 * string/test-stpncpy.c (TEST_NAME): Likewise.
7171 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7172 * string/test-strcasestr.c (TEST_NAME): Likewise.
7173 * string/test-strcat.c (TEST_NAME): Likewise.
7174 * string/test-strchr.c (TEST_NAME): Likewise.
7175 * string/test-strcmp.c(TEST_NAME): Likewise.
7176 * string/test-strcpy.c (TEST_NAME): Likewise.
7177 * string/test-strcspn.c (TEST_NAME): Likewise.
7178 * string/test-strlen.c (TEST_NAME): Likewise.
7179 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7180 * string/test-strncmp.c (TEST_NAME): Likewise.
7181 * string/test-strncpy.c (TEST_NAME): Likewise.
7182 * string/test-strnlen.c (TEST_NAME): Likewise.
7183 * string/test-strpbrk.c (TEST_NAME): Likewise.
7184 * string/test-strrchr.c (TEST_NAME): Likewise.
7185 * string/test-strspn.c (TEST_NAME): Likewise.
7186 * string/test-strstr.c (TEST_NAME): Likewise.
7187 * string/test-bcopy-ifunc.c: New file.
7188 * string/test-bzero-ifunc.c: Likewise.
7189 * string/test-memccpy-ifunc.c: Likewise.
7190 * string/test-memchr-ifunc.c: Likewise.
7191 * string/test-memcmp-ifunc.c: Likewise.
7192 * string/test-memcpy-ifunc.c: Likewise.
7193 * string/test-memmem-ifunc.c: Likewise.
7194 * string/test-memmove-ifunc.c: Likewise.
7195 * string/test-mempcpy-ifunc.c: Likewise.
7196 * string/test-memset-ifunc.c: Likewise.
7197 * string/test-rawmemchr-ifunc.c: Likewise.
7198 * string/test-stpcpy-ifunc.c: Likewise.
7199 * string/test-stpncpy-ifunc.c: Likewise.
7200 * string/test-strcasecmp-ifunc.c: Likewise.
7201 * string/test-strcasestr-ifunc.c: Likewise.
7202 * string/test-strcat-ifunc.c: Likewise.
7203 * string/test-strchr-ifunc.c: Likewise.
7204 * string/test-strchrnul-ifunc.c: Likewise.
7205 * string/test-strcmp-ifunc.c: Likewise.
7206 * string/test-strcpy-ifunc.c: Likewise.
7207 * string/test-strcspn-ifunc.c: Likewise.
7208 * string/test-strlen-ifunc.c: Likewise.
7209 * string/test-strncasecmp-ifunc.c: Likewise.
7210 * string/test-strncat-ifunc.c: Likewise.
7211 * string/test-strncmp-ifunc.c: Likewise.
7212 * string/test-strncpy-ifunc.c: Likewise.
7213 * string/test-strnlen-ifunc.c: Likewise.
7214 * string/test-strpbrk-ifunc.c: Likewise.
7215 * string/test-strrchr-ifunc.c: Likewise.
7216 * string/test-strspn-ifunc.c: Likewise.
7217 * string/test-strstr-ifunc.c: Likewise.
7218
de54b33a
L
7219 * debug/Makefile (tests-ifunc): New variable.
7220 (tests): Add $(tests-ifunc).
7221 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7222 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7223 * debug/test-stpcpy_chk-ifunc.c: New file.
7224 * debug/test-strcpy_chk-ifunc.c: Likewise.
7225
88481c16
SP
72262012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7227
7228 [BZ #13601]
7229 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7230 header is not read in.
7231
135948bd
JM
72322012-10-19 Joseph Myers <joseph@codesourcery.com>
7233
89f1c388
JM
7234 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7235 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7236 directly. Pass built executable to script as
7237 $(built-program-cmd).
7238 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7239 $testprogram without using LD_LIBRARY_PATH and $ldso.
7240
e40a0d21
JM
7241 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7242 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7243 $(rtld-installed-name).
7244 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7245 (rtld_installed_name): Likewise.
7246 (library_path): Likewise.
7247 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7248 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7249 $(run-program-prefix) to tst-tables.sh.
7250 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7251 it to run tst-table-from and tst-table-to.
7252 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7253 Pass it to tst-table.sh.
7254 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7255 $(run-program-prefix) to tst-gettext.sh.
7256 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7257 tst-translit.sh.
7258 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7259 tst-gettext2.sh.
7260 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7261 to run tst-gettext.
7262 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7263 to run tst-gettext2.
7264 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7265 to run tst-translit.
7266 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7267 $(run-program-prefix) to tst-mtrace.sh.
7268 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7269 to run tst-mtrace.
7270 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7271 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7272 $(rtld-installed-name).
7273 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7274 (rtld_installed_name): Likewise.
7275 (run_program_prefix): New variable. Use it to run wordexp-test.
7276
728e272a
JM
7277 * Makeconfig (ARCH): Remove all definitions.
7278 (machine): Likewise.
7279 [ARCH]: Remove conditional code.
7280 [!objdir]: Give error.
7281 [!objdir] (objpfx): Remove.
7282 [!objdir] (common-objpfx): Likewise.
7283 [!objdir] (common-objdir): Likewise.
7284 * configure.in (config_makefile): Remove. Hardcode Makefile in
7285 AC_CONFIG_FILES call.
7286 * configure: Regenerated.
7287
d528cdcf
JM
7288 [BZ #13888]
7289 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7290 or TMPDIR.
7291 (testout): Likewise.
7292
135948bd
JM
7293 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7294 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7295 $(rtld-installed-name).
7296 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7297 (rtld_installed_name): Likwise.
7298 (runit): Remove function.
7299 (run_getconf): New variable, Use it for running getconf binary.
7300
38c78296
L
73012012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7302
7303 [BZ #14716]
7304 * string/test-memmem.c (check_result): New function.
7305 (do_one_test): Use it.
7306 (check1): New function.
7307 (test_main): Use it.
7308
d077f65f
MT
73092012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7310
7311 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7312
ced52c71
JM
73132012-10-18 Joseph Myers <joseph@codesourcery.com>
7314
7315 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7316 (_G_LSEEK64): Likewise.
7317 (_G_MMAP64): Likewise.
7318 (_G_FSTAT64): Likewise.
7319 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7320 (_G_LSEEK64): Likewise.
7321 (_G_MMAP64): Likewise.
7322 (_G_FSTAT64): Likewise.
7323 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7324 unconditional. Call __mmap64 directly.
7325 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7326 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7327 __lseek64 directly.
7328 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7329 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7330 __mmap64 directly.
7331 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7332 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7333 __lseek64 directly.
7334 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7335 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7336 __lseek64 directly.
7337 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7338 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7339 __lseek64 directly.
7340 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7341 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7342 __fxstat64 directly.
7343 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7344 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7345 unconditional.
7346 (freopen64) [!_G_OPEN64]: Remove conditional code.
7347 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7348 unconditional.
7349 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7350 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7351 unconditional.
7352 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7353 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7354 unconditional.
7355 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7356 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7357 unconditional.
7358 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7359 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7360 unconditional.
7361 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7362 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7363 unconditional.
7364 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7365 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7366 unconditional.
7367 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7368
b741de23
SP
73692012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7370
7371 [BZ #12140]
7372 * manual/memory.texi (Malloc Tunable Parameters): Add note
7373 about free list pointers overwriting some perturb bytes.
7374 Wording suggested by Roland McGrath.
7375
f9b9d9c9
JM
73762012-10-17 Joseph Myers <joseph@codesourcery.com>
7377
7378 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7379 (lgamma_test): Likewise.
7380 (tgamma_test): Likewise.
7381
172a631a
FW
73822012-10-16 Florian Weimer <fweimer@redhat.com>
7383
7384 [BZ #14700]
7385 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7386 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7387
e9f37252
MK
73882012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7389
7390 * NEWS: Mention BZ #14716.
7391 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7392 when removing AVAILABLE1_USES_J macro.
7393
d394eb74
L
73942012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7395
7396 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7397 (__bswap_64): __uint64_t for unsigned 64-bit int.
7398
ca38dc17
AS
73992012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7400
7401 * include/string.h (memmem): Declare libc hidden alias.
7402 * string/memmem.c (memmem): Define libc hidden alias.
7403 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7404 __read, __close instead of open, read, close.
7405
9a387d1f
L
74062012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7407
ac49ecaf
L
7408 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7409 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7410 global and hidden.
7411 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7412 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7413 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7414 Likewise.
7415 (__rawmemchr_sse2): Likewise.
7416 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7417 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7418 (__strchr_sse2): Likewise.
7419 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7420 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7421 (__strcasecmp_sse2): Likewise.
7422 (__strncasecmp_sse2): Likewise.
7423 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7424 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7425 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7426 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7427 (__strrchr_sse2): Likewise.
7428 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7429 ifunc-impl-list.c.
7430 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7431 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7432 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7433 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7434 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7435 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7436 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7437 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7438 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7439 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7440 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7441 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7442 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7443 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7444 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7445 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7446 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7447 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7448 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7449 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7450 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7451 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7452 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7453 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7454 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7455 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7456 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7457 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7458 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7459 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7460
b090e8ea
L
7461 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7462 global and hidden.
7463 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7464 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7465 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7466 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7467 Likewise.
7468 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7469 Likewise.
7470 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7471 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7472 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7473 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7474 ifunc-impl-list.c.
7475 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7476 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7477 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7478 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7479 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7480 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7481 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7482 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7483 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7484 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7485 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7486 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7487 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7488 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7489 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7490 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7491 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7492 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7493 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7494 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7495 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7496 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7497 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7498 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7499 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7500 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7501 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7502 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7503 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7504 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7505 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7506 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7507 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7508 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7509 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7510 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7511 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7512 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7513 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7514 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7515 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7516
11dd4af6
L
7517 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7518 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7519 * include/ifunc-impl-list.h: New file.
7520 * misc/ifunc-impl-list.c: Likewise.
7521 * misc/Makefile (routines): Add ifunc-impl-list.
7522 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7523 * string/test-string.h: Include <ifunc-impl-list.h>.
7524 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7525 impl_array): New variables.
7526 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7527 are defined.
7528 (test_init): Call __libc_ifunc_impl_list to initialize
7529 func_list if TEST_IFUNC and TEST_NAME are defined.
7530
9a387d1f
L
7531 * string/Makefile (strop-tests): Add bcopy and bzero.
7532 * string/test-bcopy.c: New file.
7533 * string/test-bzero.c: Likewise.
7534 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7535 defined.
7536 * string/test-memset.c: Support bzero test if TEST_BZERO is
7537 defined.
7538 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7539 __libc_memmove.
7540 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7541 __libc_memset.
7542 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7543 of memset.
7544
472371b9
JM
75452012-10-10 Joseph Myers <joseph@codesourcery.com>
7546
1e4a9536
JM
7547 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7548 * configure: Regenerated.
7549
d173d12e
JM
7550 * Makeconfig (+link-static-before-libc): Don't include
7551 $(link-static-libc).
7552
472371b9
JM
7553 * libio/libio.h (_IO_pos_t): Remove.
7554
89a3ad0b
AO
75552012-10-10 Alexandre Oliva <aoliva@redhat.com>
7556
7557 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7558 McGrath.
7559
e7451425
AO
75602012-10-10 Alexandre Oliva <aoliva@redhat.com>
7561
7562 * crypt/crypt-entry.c: Include fips-private.h.
7563 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7564 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7565 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7566 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7567
4ba74a35
AO
75682012-10-10 Alexandre Oliva <aoliva@redhat.com>
7569
7570 * crypt/crypt-private.h: Include stdbool.h.
7571 (_ufc_setup_salt_r): Return bool.
7572 * crypt/crypt-entry.c: Include errno.h.
7573 (__crypt_r): Return NULL with EINVAL for bad salt.
7574 * crypt/crypt_util.c (bad_for_salt): New.
7575 (_ufc_setup_salt_r): Check that salt is long enough and within
7576 the specified alphabet.
7577 * crypt/badsalttest.c: New file.
7578 * crypt/Makefile (tests): Add it.
7579 ($(objpfx)badsalttest): New.
7580
f96f1242
MK
75812012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7582
7583 * NEWS: Add entry for BZ #14602.
7584
0e8e0c1c
JM
75852012-10-09 Joseph Myers <joseph@codesourcery.com>
7586
7587 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7588 type-generic.
7589 * math/libm-test.inc: Update comment listing what functions and
7590 macros are tested.
7591 (isgreater_test): New function.
7592 (isgreaterequal_test): Likewise.
7593 (isless_test): Likewise.
7594 (islessequal_test): Likewise.
7595 (islessgreater_test): Likewise.
7596 (isunordered_test): Likewise.
7597 (main): Call the new functions.
7598
273edc5e
RM
75992012-10-09 Roland McGrath <roland@hack.frob.com>
7600
b8493de0
RM
7601 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7602 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7603 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7604 * sysdeps/i386/configure: Regenerated.
7605 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7606 * sysdeps/mach/configure: Regenerated.
7607 * sysdeps/mach/hurd/configure: Regenerated.
7608 * sysdeps/powerpc/configure: Regenerated.
7609 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7610 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7611 * sysdeps/s390/s390-32/configure: Regenerated.
7612 * sysdeps/s390/s390-64/configure: Regenerated.
7613 * sysdeps/sh/configure: Regenerated.
7614 * sysdeps/sparc/configure: Regenerated.
7615 * sysdeps/unix/sysv/linux/configure: Regenerated.
7616 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7617 * sysdeps/x86_64/configure: Regenerated.
7618
273edc5e
RM
7619 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7620 defined. Don't check if MAP is NULL.
7621
c8450f70
JM
76222012-10-09 Joseph Myers <joseph@codesourcery.com>
7623
7624 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7625 (_G_stat64): Likewise.
7626 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7627 (_G_stat64): Likewise.
7628 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7629 instead of struct _G_stat64.
7630 * libio/fileops.c (mmap_remap_check): Likewise.
7631 (decide_maybe_mmap): Likewise.
7632 (_IO_new_file_seekoff): Likewise.
7633 (_IO_file_stat): Likewise.
7634 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7635 _G_off64_t.
7636 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7637 instead of struct _G_stat64.
7638 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7639
57e605ba
MK
76402012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7641
7642 [BZ #14602]
7643 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7644 Replace with ...
7645 (CHECK_EOL): New macro.
7646 (two_way_short_needle): Check beginning of haystack for EOL. Use
7647 CHECK_EOL.
7648 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7649 Replace with CHECK_EOL.
7650 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7651 Replace with CHECK_EOL.
7652
ef1bb361
JM
76532012-10-08 Joseph Myers <joseph@codesourcery.com>
7654
7655 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7656 type-generic.
7657 * math/libm-test.inc: Update comment listing what functions and
7658 macros are tested.
7659 (finite_test): New function.
7660 (isinf_test): Likewise.
7661 (isnan_test): Likewise.
7662 (fpclassify_test): Test subnormal input.
7663 (isfinite_test): Likewise.
7664 (isnormal_test): Likewise.
7665 (main): Call the new functions.
7666
55f11534
JN
76672012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7668
7669 [BZ #14660]
7670 * Makerules (%.dynsym): Force C locale when running
7671 $(OBJDUMP) --dynamic-syms.
7672
1ab29350
AS
76732012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7674
7675 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7676 <stdint.h>.
7677
f1ecb7ef
DM
76782012-10-06 David S. Miller <davem@davemloft.net>
7679
7680 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7681 upper 32-bits of the length value in %o2 since we use branch-on-register
7682 tests which consider the entire 64-bit register.
7683
5d41d91a
L
76842012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7685
7686 * string/test-strstr.c (check2): Add a test for page boundary.
7687
3baddb72
DM
76882012-10-05 David S. Miller <davem@davemloft.net>
7689
7690 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7691 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7692 file.
7693 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7694 sysdep_routines.
7695 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7696 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7697 and bzero when HWCAP_SPARC_CRYPTO is present.
7698
9cee5585
L
76992012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7700
d7e0dab9
L
7701 [BZ #14602]
7702 * string/test-strstr.c (check2): New function.
7703 (test_main): Call check2.
7704
03759f47
L
7705 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7706 and bug-strchr1.
7707 * string/bug-strcasestr1.c (do_test): Moved to ...
7708 * string/test-strcasestr.c (check1): Here. New function.
7709 (do_one_test): Break out result checking code into ...
7710 (check_result): This. New function.
7711 (do_one_test): Call check_result.
7712 (test_main): Call check1.
7713 * string/bug-strchr1.c (do_test): Moved to ...
7714 * string/test-strchr.c (check1): Here. New function.
7715 (do_one_test): Break out result checking code into ...
7716 (check_result): This. New function.
7717 (do_one_test): Call check_result.
7718 (test_main): Call check1.
7719 * string/bug-strstr1.c (main): Moved to ...
046f153e 7720 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7721 (do_one_test): Break out result checking code into ...
7722 (check_result): This. New function.
7723 (do_one_test): Call check_result.
7724 (test_main): Call check1.
7725 * string/bug-strcasestr1.c: Removed.
7726 * string/bug-strchr1.c: Likewise.
7727 * string/bug-strstr1.c: Likewise.
7728
53cea63e
L
7729 * elf/Makefile (dl-routines): Add hwcaps.
7730 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7731 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7732 (_dl_important_hwcaps): Moved to ...
7733 * elf/dl-hwcaps.c: Here. New file.
7734 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7735
9cee5585 7736 [BZ #14557]
bb859b06
L
7737 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7738 if IS_IN_rtld isn't defined.
7739
9cee5585
L
7740 * elf/dl-support.c (_dl_sysinfo_map): New.
7741 Include "get-dynamic-info.h" and "setup-vdso.h".
7742 (_dl_non_dynamic_init): Call setup_vdso.
7743 * elf/dynamic-link.h: Don't include <assert.h>.
7744 (elf_get_dynamic_info): Moved to ...
7745 * elf/get-dynamic-info.h: Here. New file.
7746 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7747 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7748 * elf/setup-vdso.h: Here. New file.
7749 * elf/rtld.c: Include "setup-vdso.h".
7750 (dl_main): Call setup_vdso.
7751
23c31b76
JM
77522012-10-05 Joseph Myers <joseph@codesourcery.com>
7753
28234b07
JM
7754 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7755 creal in comment listing functions tested. List finite, isinf,
7756 isnan, isless, islessequal, isgreater, isgreaterequal,
7757 islessgreater, isunordered, lgamma_r and pow10 as functions and
7758 macros not tested. Mention which functions not tested are aliases
7759 for other functions. Fix typo. Note that signs of NaNs are not
7760 tested.
7761
23c31b76
JM
7762 * scripts/config.guess: Update from config.git.
7763 * scripts/config.sub: Likewise.
7764
9043e228
RM
77652012-10-04 Roland McGrath <roland@hack.frob.com>
7766
7767 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7768 * misc/madvise.c (madvise): Renamed to __madvise.
7769 Make madvise a weak alias.
7770 * include/sys/mman.h: Declare __madvise.
7771 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7772 * sysdeps/unix/syscalls.list
7773 (madvise): Make __madvise the strong name, and madvise a weak alias.
7774 * sysdeps/unix/sysv/linux/syscalls.list
7775 (madvise, mmap): Remove redundant entries.
7776 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7777 * malloc/malloc.c (mtrim): Likewise.
7778 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7779
f57f8055
RM
77802012-10-03 Roland McGrath <roland@hack.frob.com>
7781
7782 * sysdeps/mach/hurd/dl-cache.c: File removed.
7783 * config.h.in (USE_LDCONFIG): New #undef.
7784 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7785 * configure: Regenerated.
7786 * elf/Makefile (dl-routines): Add dl-cache only under
7787 [$(use-ldconfig) = yes].
7788 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7789 cache on [USE_LDCONFIG].
7790 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7791 [USE_LDCONFIG].
7792 * elf/rtld.c (dl_main): Likewise.
7793
5bb0c10a
PT
77942012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7795
7796 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7797 _SC_LEVEL4_CACHE_LINESIZE.
7798
010188c6
RM
77992012-10-03 Roland McGrath <roland@hack.frob.com>
7800
7801 * sysdeps/unix/bsd/confstr.h: File removed.
7802
b6c5ec07
AO
78032012-10-02 Alexandre Oliva <aoliva@redhat.com>
7804
7805 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7806 sys/sdt-config.h.
7807
408223d4
RM
78082012-10-02 Roland McGrath <roland@hack.frob.com>
7809
7810 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7811 Make 'mapoff' field ElfW(Off) rather than off_t.
7812
bb9510dc
DL
78132012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7814
fc997c6e
DL
7815 * nscd/Makefile: Remove nscd-cflags and all its users.
7816 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7817 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7818
bb9510dc
DL
7819 [BZ #10631]
7820 * malloc.c (malloc_printerr): Clarify error message.
7821
05699367
L
78222012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7823
7824 [BZ #14648]
7825 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7826 Set bit_FMA_Usable if FMA is supported.
7827 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7828 macro.
7829 (bit_FMA4_Usable): Updated.
7830 (index_FMA_Usable): New macro.
7831 (CPUID_FMA): Likewise
7832 (HAS_FMA): Defined with bit_FMA_Usable.
7833
51367701
RM
78342012-10-01 Roland McGrath <roland@hack.frob.com>
7835
7836 * bits/types.h (__swblk_t): Type removed.
7837 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7838 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7839 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7840 (__SWBLK_T_TYPE): Likewise.
7841 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7842 (__SWBLK_T_TYPE): Likewise.
7843 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7844 (__SWBLK_T_TYPE): Likewise.
7845 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7846 (__SWBLK_T_TYPE): Likewise.
7847
4d57bf63 78482012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7849 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7850
7851 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7852 (xdr_mapname): Use YPMAXMAP as maxsize.
7853 (xdr_peername): Use YPMAXPEER as maxsize.
7854 (xdr_keydat): Use YPAXRECORD as maxsize.
7855 (xdr_valdat): Use YPMAXRECORD as maxsize.
7856
93c65d43
RM
78572012-10-01 Roland McGrath <roland@hack.frob.com>
7858
497a03d6
RM
7859 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7860
93c65d43
RM
7861 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7862 * csu/init-first.c: ... here.
7863 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7864 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7865 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7866 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7867 * sysdeps/i386/init-first.c: File removed.
7868 * sysdeps/sh/init-first.c: File removed.
7869
bec749fd
JM
78702012-10-01 Joseph Myers <joseph@codesourcery.com>
7871
7872 [BZ #14645]
7873 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7874 if x * y might underflow to zero and z is zero.
7875 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7876 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7877 * math/libm-test.inc (min_subnorm_value): New variable.
7878 (fma_test): Add more tests.
7879 (fma_test_towardzero): Likewise.
7880 (fma_test_downward): Likewise
7881 (fma_test_upward): Likewise.
7882 (initialize): Set min_subnorm_value.
7883
8ec5b013
JM
78842012-09-29 Joseph Myers <joseph@codesourcery.com>
7885
7886 [BZ #14638]
7887 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7888 0 + 0.
7889 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7890 mode for addition resulting in exact zero.
7891 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7892 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7893 exact 0 + 0.
7894 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7895 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7896 * math/libm-test.inc (fma_test): Add more tests.
7897 (fma_test_towardzero): New function.
7898 (fma_test_downward): Likewise.
7899 (fma_test_upward): Likewise.
7900 (main): Call the new functions.
7901
b1fa802e
DM
79022012-09-28 David S. Miller <davem@davemloft.net>
7903
7904 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7905
d3b9fd9e
RM
79062012-09-28 Roland McGrath <roland@hack.frob.com>
7907
ea4d37b3
RM
7908 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7909 instead of SIGALRM.
7910
ac51c949
RM
7911 * sysdeps/gnu/_G_config.h: Moved to ...
7912 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7913 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7914 * sysdeps/generic/_G_config.h: ... here.
7915
28c195f7
RM
7916 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7917
848917f9
RM
7918 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7919
6bacf05b
RM
7920 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7921 Conditionalize target on [libnss_test1.so-version].
7922
91363dbb
RM
7923 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7924
cc87f7d8
RM
7925 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7926 (elfobjdir): Move out of conditionals.
7927
b1c608fe
RM
7928 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7929 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7930 (__nss_lookup_function): Conditionalize label remove_from_tree on
7931 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 7932
1d9a6d96
DM
79332012-09-28 David S. Miller <davem@davemloft.net>
7934
7935 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7936 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7937 file.
7938 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7939 sysdep_routines.
7940 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7941 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7942 when HWCAP_SPARC_CRYPTO is present.
7943
72581615
PT
79442012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7945
7946 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7947
715a900c
JL
79482012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7949
7950 [BZ #6530]
7951 * stdio-common/vfprintf.c (process_string_arg): Revert
7952 2000-07-22 change.
7953
79542011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7955
7956 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7957 for testcase.
7958 * stdio-common/tst-sprintf.c: Include <locale.h>
7959 (main): Test sprintf's handling of incomplete multibyte
7960 characters.
7961
9bac1d86
L
79622012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7963
7964 * elf/dl-runtime.c (VERSYMIDX): Removed.
7965 * elf/dl-version.c (VERSYMIDX): Likewise.
7966 * elf/do-rel.h (VERSYMIDX): Likewise.
7967 (VALIDX): Likewise.
7968 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7969 * elf/rtld.c (VALIDX): Likewise.
7970 (ADDRIDX): Likewise.
9bac1d86
L
7971 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7972 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7973 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
7974 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7975 (VALIDX): Likewise.
7976 (ADDRIDX): Likewise.
9bac1d86 7977
b31606c0
PT
79782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7979
7980 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7981
11541177
JL
79822012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7983
7984 [BZ #11438]
7985 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7986 to global scope.
7987 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7988 addresses are in the same scope as 192.0.2/24.
7989 * posix/gai.conf: Document new scope table defaults.
7990
adb26fae
SP
79912012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7992
7993 [BZ #5298]
7994 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7995 for ftell. Compute offsets from write pointers instead.
7996 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7997
4573c6b0
SP
79982012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7999
8000 [BZ #14543]
8001 * libio/Makefile (tests): New test case tst-fseek.
8002 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8003 combination works in wide mode.
8004 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8005 state when the external buffer state changes.
8006
aa9bbfe6
DM
80072012-09-27 David S. Miller <davem@davemloft.net>
8008
8009 [BZ #14376]
8010 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8011 pass reloc->r_addend in as the 'high' argument to
8012 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8013
784421e7
DM
8014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8015
c39bc8b8
PT
80162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8017
8018 * rt/tst-aio2.c: Include <pthread.h>.
8019 * rt/tst-aio3.c: Likewise.
8020
1ccc2399
SE
80212012-09-27 Steve Ellcey <sellcey@mips.com>
8022
8023 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8024
31ed4153
L
80252012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8026
25f5f885
L
8027 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8028 contents on [SHARED].
31ed4153 8029
b7bfe116
MP
80302012-09-26 Marek Polacek <polacek@redhat.com>
8031
8032 [BZ #14530]
8033 [BZ #13741]
8034 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8035 for C++ and GCC <4.3 as well as for non GCC compilers.
8036
43c4edba
MT
80372012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8038
8039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8040
6a1bf82f
RM
80412012-09-25 Roland McGrath <roland@hack.frob.com>
8042
8043 * Makefile.in (all, install): Declare with .PHONY.
8044 Reported by Michael Hope <michael.hope@linaro.org>.
8045
8ad11b9a
TMQMF
80462012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8047
8048 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8049 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8050 system header.
8051 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8052 Likewise.
8053 (sydep_routines): Add the new and the internal functions.
8054 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8055 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8057 (GLIBC_2.17): Add the new function.
8058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8059 (GLIBC_2.17): Likewise.
8060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8061 (GLIBC_2.17): Likewise.
8062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8063 (GLIBC_2.17): Likewise.
8064 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8065
7e2fca8d
AM
80662012-09-25 Alan Modra <amodra@gmail.com>
8067
8068 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8069 Add release barrier before setting once_control to say
8070 initialisation is done. Add hints on lwarx. Use macro in
8071 place of isync.
8072 (clear_once_control): Add release barrier.
8073
b87c4b24
JM
80742012-09-25 Joseph Myers <joseph@codesourcery.com>
8075
d032e0d2
JM
8076 [BZ #13629]
8077 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8078 specially.
8079 * math/s_clog10.c (__clog10): Likewise.
8080 * math/s_clog10f.c (__clog10f): Likewise.
8081 * math/s_clog10l.c (__clog10l): Likewise.
8082 * math/s_clogf.c (__clogf): Likewise.
8083 * math/s_clogl.c (__clogl): Likewise.
8084 * math/Makefile (libm-calls): Add x2y2m1.
8085 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8086 (__x2y2m1): Likewise.
8087 (__x2y2m1l): Likewise.
8088 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8089 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8090 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8091 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8092 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8093 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8094 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8095 * sysdeps/i386/fpu/libm-test-ulps: Update.
8096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8097
b87c4b24
JM
8098 [BZ #14621]
8099 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8100 int as type of variable DEPTH.
8101 (glob): Use size_t instead of int as type of variables NEWCOUNT
8102 and OLD_PATHC.
8103
6d3bf199
LD
81042012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8105
22bf5c17
LD
8106 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8107 Add s_sincosf-sse2.
8108 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8109 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8110 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8111 macros for using routine as __sincosf_ia32.
8112 Use macro for function declaration and weak_alias.
8113 * sysdeps/i386/fpu/libm-test-ulps: Update.
8114
8115 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8117
8118 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8119 subnormal argument.
8120 * math/s_cexpf.c (__cexpf): Likewise.
8121 * math/s_csinf.c (__csinf): Likewise.
8122 * math/s_csinhf.c (__csinhf): Likewise.
8123 * math/s_ctanf.c (__ctanf): Likewise.
8124 * math/s_ctanhf.c (__ctanhf): Likewise.
8125 * math/s_ccosh.c (__ccoshf): Likewise.
8126 * math/s_cexp.c (__cexpl): Likewise.
8127 * math/s_csin.c (__csin): Likewise.
8128 * math/s_csinh.c (__csinh): Likewise.
8129 * math/s_ctan.c (__ctan): Likewise.
8130 * math/s_ctanh.c (ctanh): Likewise.
8131 * math/s_ccoshl.c (__ccoshl): Likewise.
8132 * math/s_cexpl.c (__cexpl): Likewise.
8133 * math/s_csinl.c (__csinl): Likewise.
8134 * math/s_csinhl.c (__csinhl): Likewise.
8135 * math/s_ctanl.c (__ctanl): Likewise.
8136 * math/s_ctanhl.c (__ctanhl): Likewise.
8137
203e5603
JM
81382012-09-25 Joseph Myers <joseph@codesourcery.com>
8139
8140 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8141 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8142 (_IO_off_t): Define to __off_t, not _G_off_t.
8143 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8144 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8145 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8146 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8147 type of __dummy and __dummy2 fields.
8148 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8149 (_G_ssize_t): Likewise.
8150 (_G_off_t): Likewise.
8151 (_G_pid_t): Likewise.
8152 (_G_uid_t): Likewise.
8153 (_G_wchar_t): Likewise.
8154 (_G_wint_t): Likewise.
8155 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8156 (_G_ssize_t): Likewise.
8157 (_G_off_t): Likewise.
8158 (_G_pid_t): Likewise.
8159 (_G_uid_t): Likewise.
8160 (_G_wchar_t): Likewise.
8161 (_G_wint_t): Likewise.
8162 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8163 (_G_ssize_t): Likewise.
8164 (_G_off_t): Likewise.
8165 (_G_pid_t): Likewise.
8166 (_G_uid_t): Likewise.
8167 (_G_wchar_t): Likewise.
8168 (_G_wint_t): Likewise.
8169
9fab36eb
SP
81702012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8171
8172 * malloc/arena.c: Include malloc-sysdep.h.
8173 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8174 is sufficient to shrink the heap or an unmap is needed.
8175 * sysdeps/generic/malloc-sysdep.h: New file. Define
8176 new function check_may_shrink_heap.
8177 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8178 new function check_may_shrink_heap.
8179
2b4f00d1
SP
81802012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8181
8182 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8183 comments.
8184
9a9028b1
DL
81852012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8186
57c69bef
DL
8187 * catgets/test-gencat.sh: Add "set -e".
8188 * elf/tst-pathopt.sh: Likewise.
8189 * grp/tst_fgetgrent.sh: Likewise.
8190 * iconvdata/run-iconv-test.sh: Likewise.
8191 * intl/tst-gettext.sh: Likewise.
8192 * intl/tst-gettext2.sh: Likewise.
8193 * intl/tst-gettext4.sh: Likewise.
8194 * intl/tst-gettext6.sh: Likewise.
8195 * intl/tst-translit.sh: Likewise.
8196 * io/ftwtest-sh: Likewise.
8197 * libio/test-freopen.sh: Likewise.
8198 * malloc/tst-mtrace.sh: Likewise.
8199 * posix/globtest.sh: Likewise.
8200 * posix/tst-getconf.sh: Likewise.
8201 * posix/wordexp-tst.sh: Likewise.
8202 * stdio-common/tst-printf.sh: Likewise.
8203 * stdio-common/tst-unbputc.sh: Likewise.
8204 * stdlib/tst-fmtmsg.sh: Likewise.
8205 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8206 * catgets/Makefile: Do not specify -e option when running
8207 testsuite shell scripts.
8208 * elf/Makefile: Likewise.
8209 * grp/Makefile: Likewise.
8210 * iconvdata/Makefile: Likewise.
8211 * intl/Makefile: Likewise.
8212 * io/Makefile: Likewise.
8213 * libio/Makefile: Likewise.
8214 * malloc/Makefile: Likewise.
8215 * posix/Makefile: Likewise.
8216 * stdio-common/Makefile: Likewise.
8217 * stdlib/Makefile: Likewise.
8218 * sysdeps/x86_64/Makefile: Likewise.
8219
9a9028b1
DL
8220 * io/ftwtest-sh: Add copyright header.
8221 * posix/globtest.sh: Likewise.
8222 * posix/tst-getconf.sh: Likewise.
8223 * posix/wordexp-tst.sh: Likewise.
8224 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8225
ced6f16e
L
82262012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8227
94b32c39
L
8228 [BZ #13679]
8229 * Makeconfig (+link): Defined as $(+link-static) if
8230 $(build-shared) isn't yes.
8231 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8232 isn't yes.
8233 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8234
189e935b
L
8235 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8236
ced6f16e
L
8237 [BZ #14562]
8238 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8239 new chunk size with MALLOC_ALIGN_MASK.
8240
a9f8e53a
JM
82412012-09-24 Joseph Myers <joseph@codesourcery.com>
8242
8243 [BZ #5044]
8244 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8245 <rounding-mode.h>.
8246 (__printf_fphex): Determine rounding using get_rounding_mode and
8247 round_away.
8248 * stdio-common/tst-printf-round.c (struct hex_test): New
8249 structure.
8250 (hex_tests): New variable.
8251 (test_hex_in_one_mode): New function.
8252 (do_test): Also run tests for hex float output.
8253
43153109
JM
82542012-09-21 Joseph Myers <joseph@codesourcery.com>
8255
8256 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8257 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8258 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8259 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8260 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8261 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8262 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8263 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8264
8a26625d
JM
82652012-09-20 Joseph Myers <joseph@codesourcery.com>
8266
8267 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8268 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8269 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8270 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8271
f3fd569c
DL
82722012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8273
8274 [BZ #14579]
8275 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8276 mode only.
8277 * elf/tst-rtld-load-self.sh: New test.
8278 * elf/Makefile: Run it.
8279
63bbedd4
JM
82802012-09-18 Joseph Myers <joseph@codesourcery.com>
8281
8282 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8283 (tst-writev-ENV): Remove.
8284 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8285
626f8b6a
CM
82862012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8287
8288 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8289
b7aaa4d6
JM
82902012-09-17 Joseph Myers <joseph@codesourcery.com>
8291
8292 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8293 unconditional.
8294 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8295 Likewise.
8296 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8297 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8298 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8299 Likewise.
8300
65513990
L
83012012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8302
8303 [BZ #14587]
8304 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8305 * config.make.in (have-cpp-asm-debuginfo): Removed.
8306 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8307 * configure: Regenerated.
8308
784761be
JM
83092012-09-14 Joseph Myers <joseph@codesourcery.com>
8310
8311 [BZ #5044]
8312 * stdio-common/printf_fp.c: Include <stdbool.h> and
8313 <rounding-mode.h>.
8314 (___printf_fp): Determine rounding using get_rounding_mode and
8315 round_away.
8316 * stdio-common/tst-printf-round.c: New file.
8317 * stdio-common/Makefile (tests): Add tst-printf-round.
8318 (link-libm): New variable.
8319 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8320
9503345f
L
83212012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8322
8323 [BZ #14576]
8324 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8325 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8326 Likewise.
8327 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8328 Likewise.
8329
ad35fc00
JM
83302012-09-13 Joseph Myers <joseph@codesourcery.com>
8331
8332 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8333 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8334 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8335 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8336
6c9b0f68
JM
83372012-09-12 Joseph Myers <joseph@codesourcery.com>
8338
8339 [BZ #14518]
8340 * include/rounding-mode.h: New file.
8341 * sysdeps/generic/get-rounding-mode.h: Likewise.
8342 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8343 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8344 (MAX_VALUE): New macro.
8345 (MIN_VALUE): Likewise.
8346 (overflow_value): New function.
8347 (underflow_value): Likewise.
8348 (round_and_return): Use overflow_value and underflow_value to
8349 determine return values in overflow and underflow cases. Use
8350 round_away to determine rounding depending on rounding mode.
8351 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8352 determine return values in overflow and underflow cases.
8353 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8354 (struct test_results): New structure.
8355 (struct test): Use struct test_results to store expected results
8356 for all rounding modes.
8357 (TEST): Include expected results for all rounding modes.
8358 (test_in_one_mode): New function.
8359 (do_test): Use test_in_one_mode to compute and check results.
8360 Check results for all rounding modes.
8361 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8362 $(link-libm).
8363
19fcedd5
AM
83642012-12-09 Allan McRae <allan@archlinux.org>
8365
1e9d84cd 8366 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8367
8bbfd2f1
JM
83682012-09-11 Joseph Myers <joseph@codesourcery.com>
8369
8370 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8371 (_G_int32_t): Likewise.
8372 (_G_uint16_t): Likewise.
8373 (_G_uint32_t): Likewise.
8374 (_G_HAVE_BOOL): Likewise.
8375 (_G_HAVE_ATEXIT): Likewise.
8376 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8377 (_G_HAVE_IO_FILE_OPEN): Likewise.
8378 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8379 (_G_int32_t): Likewise.
8380 (_G_uint16_t): Likewise.
8381 (_G_uint32_t): Likewise.
8382 (_G_HAVE_BOOL): Likewise.
8383 (_G_HAVE_ATEXIT): Likewise.
8384 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8385 (_G_HAVE_IO_FILE_OPEN): Likewise.
8386 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8387 (_G_int32_t): Likewise.
8388 (_G_uint16_t): Likewise.
8389 (_G_uint32_t): Likewise.
8390 (_G_HAVE_BOOL): Likewise.
8391 (_G_HAVE_ATEXIT): Likewise.
8392 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8393 (_G_HAVE_IO_FILE_OPEN): Likewise.
8394
b1dc5912
L
83952012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8396
8397 * csu/libc-tls.c: Update copyright years.
8398
0e886ef9
JM
83992012-09-10 Joseph Myers <joseph@codesourcery.com>
8400
28361c5e
JM
8401 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8402 [!_G_USING_THUNKS]: Remove conditional code.
8403 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8404 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8405
0e886ef9
JM
8406 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8407 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8408 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8409 (_G_VTABLE_LABEL_PREFIX): Likewise.
8410 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8411 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8412 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8413 (_G_VTABLE_LABEL_PREFIX): Likewise.
8414 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8415 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8416 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8417 (_G_VTABLE_LABEL_PREFIX): Likewise.
8418 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8419
bcba7aa2
L
84202012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8421
8422 * libio/Makefile: Include ../Makeconfig before tests.
8423 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8424 only if $(build-shared) is yes.
8425
06585ee8
L
8426 * iconv/gconv_db.c: Update copyright years.
8427
80ccd52c
LD
84282012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8429
8430 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8431 unwind info if defined PIC. Fix special cases description.
8432 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8433
8434 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8435 DP_HI_MASK entry.
8436 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8437
691bc9c1
L
84382012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8439
3d9b46b3
L
8440 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8441
de2139a9
L
8442 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8443 is NULL.
8444
5ca78dd0
L
8445 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8446 (LDLIBS-tst-chk4): This.
8447 (LDFLAGS-tst-chk5): Renamed to ...
8448 (LDLIBS-tst-chk5): This.
8449 (LDFLAGS-tst-chk6): Renamed to ...
8450 (LDLIBS-tst-chk6): This.
8451 (LDFLAGS-tst-lfschk4): Renamed to ...
8452 (LDLIBS-tst-lfschk4): This.
8453 (LDFLAGS-tst-lfschk5): Renamed to ...
8454 (LDLIBS-tst-lfschk5): This.
8455 (LDFLAGS-tst-lfschk6): Renamed to ...
8456 (LDLIBS-tst-lfschk6): This.
8457
691bc9c1
L
8458 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8459 on $(common-objpfx)soversions.mk.
8460
65cafb1c
JM
84612012-09-07 Joseph Myers <joseph@codesourcery.com>
8462
8463 [BZ #10014]
8464 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8465 example host name.
8466
c78ab094
SP
84672012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8468
8469 * malloc/arena.c (arena_get_retry): New function that gets
8470 another arena for the caller to try its request on.
8471 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8472 current arena cannot fulfill the request.
8473 (__libc_memalign): Likewise.
8474 (__libc_memalign): Likewise.
8475 (__libc_pvalloc): Likewise.
8476 (__libc_calloc): Likewise.
8477
01f49f59
JT
84782012-09-05 John Tobey <john.tobey@gmail.com>
8479
8480 [BZ #13542]
8481 * manual/arith.texi (Operations on Complex): Fix description
8482 of carg branch cut.
8483
4c23fed5
JM
84842012-09-06 Joseph Myers <joseph@codesourcery.com>
8485
1d3c8572
JM
8486 [BZ #10014]
8487 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8488 host name.
8489
4c23fed5
JM
8490 [BZ #10038]
8491 * manual/memory.texi (Memory): Make order of menu items match
8492 order of sections.
8493
04570aaa
L
84942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8495
8496 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8497 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8498 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8499
b80af2f4
L
85002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8501
8502 * csu/libc-tls.c (static_dtv): Renamed to ...
8503 (_dl_static_dtv): This. Make it global.
8504 (_dl_initial_dtv): Removed.
8505 (__libc_setup_tls): Updated.
8506 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8507 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8508 DL_INITIAL_DTV.
8509
2abe9f15
PM
85102012-09-06 Petr Machata <pmachata@redhat.com>
8511
8512 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8513 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8514 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8515 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8516
0948c3af
L
85172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8518
8519 [BZ #14545]
8520 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8521 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8522 freeing dtv[-1].
8523
a5055ad1
L
85242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8525
8526 [BZ #14544]
8527 * Makeconfig (link-static-before-libc): Replace $(+prector)
8528 with $(+prectorT).
8529 (link-static-after-libc): Replace $(+postctor) with
8530 $(+postctorT).
8531 (link-bounded): Replace $(+prector)/$(+postctor) with
8532 $(+prectorT)/$(+postctorT).
8533 (+prectorT): New macro.
8534 (+postctorT): Likewise.
8535
ed8c2ecd
JM
85362012-09-06 Joseph Myers <joseph@codesourcery.com>
8537
8538 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8539 (round_str): Handle values above the maximum for IBM long double
8540 as inexact.
8541 * stdlib/tst-strtod-round.c (tests): Regenerated.
8542
14c996c8
AK
85432012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8544
8545 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8546 assembler flag.
8547 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8548 zarch_nohighgprs around the zarch optimized routines.
8549 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8550 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8551 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8552 for zarch.
8553
430d6ce6
DM
85542012-09-05 David S. Miller <davem@davemloft.net>
8555
8556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8557
ff04dda4
DM
8558 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8559 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8560 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8561 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8562 entries.
8563
24d4e01b
AO
85642012-09-05 Alexandre Oliva <aoliva@redhat.com>
8565
8566 * malloc/arena.c: Fold copyright years.
8567 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8568
61d58174
AO
85692012-09-05 Alexandre Oliva <aoliva@redhat.com>
8570
8571 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8572
20196a5e
AO
85732012-09-05 Alexandre Oliva <aoliva@redhat.com>
8574
8575 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8576
5c447383
AO
85772012-09-05 Alexandre Oliva <aoliva@redhat.com>
8578
8579 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8580 change internal state upon failure.
8581
fad64255
AO
85822012-09-05 Alexandre Oliva <aoliva@redhat.com>
8583
8584 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8585 * malloc/memusage.c (mmap): Likewise.
8586 (mmap64, mremap): Likewise. Adjust name in comment.
8587
1ffb8c90
SP
85882012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8589
8590 * libio/fileops.c: Fix typos in comments.
8591 * libio/oldfileops.c: Likewise.
8592 * libio/wfileops.c: Likewise.
8593
6ef9cc37
SP
85942012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8595
8596 [BZ #1349]
8597 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8598 (tst-malloc-usable-ENV): Set environment for test case.
8599 * malloc/hooks.c (malloc_check_get_size): New function to get
8600 requested size.
8601 * malloc/malloc.c (musable): Use malloc_check_get_size.
8602 * malloc/tst-malloc-usable.c: New test case.
8603
4d038ae3
AS
86042012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8605
8606 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8607
c4e85184
AM
86082012-09-05 Allan McRae <allan@archlinux.org>
8609
b9dafc56 8610 [BZ #13966]
c4e85184
AM
8611 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8612 determine header location.
8613 * configure: Regenerated.
8614
e1343020
AS
86152012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8616
8617 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8618 float format.
8619 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8620 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8621 format.
e1343020
AS
8622 (test): Regenerate.
8623
0a9f1987
DM
86242012-09-04 David S. Miller <davem@davemloft.net>
8625
8626 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8627 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8628 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8629
29237804
FW
86302012-09-04 Florian Weimer <fweimer@redhat.com>
8631
8632 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8633 failures.
8634
edb3cb88
FW
8635 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8636
60160d83
JM
86372012-09-04 Joseph Myers <joseph@codesourcery.com>
8638
8639 [BZ #9914]
8640 * libio/iogetdelim.c: Include <limits.h>.
8641 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8642 + len + 1 would overflow.
8643
bcd6c8dc
AJ
86442012-09-03 Andreas Jaeger <aj@suse.de>
8645
8646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8647 * sysdeps/i386/fpu/libm-test-ulps: Update.
8648
4ffffbd2
LD
86492012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8650
8651 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8652 Add s_sinf-sse2, s_conf-sse2.
8653
8654 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8655 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8656 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8657 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8658
8659 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8660 for using routine as __sinf_ia32.
8661 Use macro for function declaration and weak_alias.
8662 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8663 for using routine as __cosf_ia32.
8664 Use macro for function declaration and weak_alias.
8665
8666 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8667 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8668
8669 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8670 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8671 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8672
8673 * math/libm-test.inc (cos_test): Add more test cases.
8674 (sin_test): Likewise.
8675 (sincos_test): Likewise.
8676
511fa286
AK
86772012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8678
8679 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8680 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8681 hidden.
8682 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8683
5f30cfec
L
86842012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8685
8686 [BZ #14538]
8687 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8688 first element of the GOT.
8689 (elf_machine_load_address): Return the difference between
8690 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8691
0786794f
AM
86922012-09-01 Allan McRae <allan@archlinux.org>
8693
5f30cfec
L
8694 [BZ #13412]
8695 * configure.in (AWK): Require gawk version 3.0 or later.
8696 * configure: Regenerated.
0786794f 8697
26889eac
JM
86982012-09-01 Joseph Myers <joseph@codesourcery.com>
8699
8700 * sysdeps/unix/sysv/linux/kernel-features.h
8701 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8702 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8703 [__NR_clock_getres]: Make code unconditional.
8704 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8705 (clock_getcpuclockid): Remove code left unreachable by removal of
8706 conditionals.
8707 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8708 code unconditional.
8709 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8710 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8711 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8712 Make code unconditional.
8713 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8714 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8715 * sysdeps/unix/sysv/linux/clock_settime.c
8716 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8717 conditional code.
8718 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8719 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8720
d22e28b0
L
87212012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8722
8723 [BZ #14476]
8724 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8725 scripts/test-installation.pl.
8726
8727 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8728 and $ld_so_version if it is set.
8729
050af9c4
SP
87302012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8731
8732 [BZ #14516]
8733 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8734 failure if reading from procfs failed.
8735 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8736
ad845c0b
JM
87372012-08-27 Joseph Myers <joseph@codesourcery.com>
8738
8739 * sysdeps/unix/sysv/linux/kernel-features.h
8740 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8741 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8742 Remove conditional code.
8743 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8744 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8745 Remove conditional code.
8746 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8747 * sysdeps/unix/sysv/linux/i386/fxstat.c
8748 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8749 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8750 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8751 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8752 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8753 * sysdeps/unix/sysv/linux/i386/lxstat.c
8754 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8755 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8756 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8757 Remove conditional code.
8758 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8759 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8760 Remove conditional code.
8761 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8762 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8763 <kernel-features.h>.
8764 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8765 Remove.
8766 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8767 Remove conditional code.
8768 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8769 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8770 Remove conditional.
8771
5dbf56af
MF
87722012-08-27 Mike Frysinger <vapier@gentoo.org>
8773
8774 [BZ #5400]
8775 * NEWS: Add fixed bug number.
8776
d6e70f43
JM
87772012-08-27 Joseph Myers <joseph@codesourcery.com>
8778
7efb4737
JM
8779 [BZ #14519]
8780 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8781 underflowing exponent in case of negative sign.
8782 * stdlib/tst-strtod-round-data: Add more tests.
8783 * stdlib/tst-strtod-round.c (tests): Regenerated.
8784
af92131a
JM
8785 [BZ #3479]
8786 * stdlib/strtod_l.c (NDIG): Remove.
8787 (HEXNDIG): Likewise.
8788 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8789 smallest representable value.
8790 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8791 lie within an exact representation of 1/2 ulp of the result.
8792 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8793 unconditionally.
8794 (TENS_P9_IDX): Define unconditionally.
8795 (TENS_P9_SIZE): Likewise.
8796 (TENS_P10_IDX): Likewise.
8797 (TENS_P10_SIZE): Likewise.
8798 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8799 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8800 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8801 entries for 10^2^13 and 10^2^14.
8802 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8803 (TENS_P13_IDX): Define.
8804 (TENS_P13_SIZE): Likewise.
8805 (TENS_P14_IDX): Likewise.
8806 (TENS_P14_SIZE): Likewise.
8807 (_fpioconst_pow10): Change array size to
8808 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8809 unconditional.
8810 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8811 1024]: Add entries for 10^2^13 and 10^2^14.
8812 [LAST_POW10 > _LAST_POW10]: Remove #error.
8813 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8814 (_fpioconst_pow10): Change array size to
8815 FPIOCONST_POW10_ARRAY_SIZE.
8816 * stdlib/gen-fpioconst.c: New file.
8817 * stdlib/gen-tst-strtod-round.c: Likewise.
8818 * stdlib/tst-strtod-round-data: Likewise.
8819 * stdlib/tst-strtod-round.c: Likewise.
8820 * stdlib/Makefile (tests): Add tst-strtod-round.
8821
d6e70f43
JM
8822 [BZ #14459]
8823 * stdlib/strtod_l.c: Include <stdint.h>.
8824 (NDEBUG): Do not define.
8825 (round_and_return): Change EXPONENT parameter to type intmax_t.
8826 Rearrange calculations to avoid internal overflow possibilities.
8827 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8828 Rearrange calculations to avoid internal overflow possibilities.
8829 Assert that number fits inside MPNSIZE limbs.
8830 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8831 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8832 calculations and add assertions to avoid internal overflow
8833 possibilities. Add casts to avoid signed/unsigned operations.
8834 * stdlib/tst-strtod-overflow.c: New file.
8835 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8836
1f529f7d
MP
88372012-08-25 Marek Polacek <polacek@redhat.com>
8838
8839 * time/time.h: Fix some typos in comments.
8840
59a629f1
RM
88412012-08-23 Roland McGrath <roland@hack.frob.com>
8842
8843 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8844 * posix/tst-rfc3484-2.c: Likewise.
8845 * posix/tst-rfc3484-3.c: Likewise.
8846
d3bafbc9
SM
88472012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8848
8849 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8850 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8851
4efcc022
JM
88522012-08-23 Joseph Myers <joseph@codesourcery.com>
8853
8854 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8855 #include of fxstatat64.c.
8856
3cc3ef96
RM
88572012-08-22 Roland McGrath <roland@hack.frob.com>
8858
f04e2132
RM
8859 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8860 * shadow/getspent_r.c: Likewise.
8861 * shadow/getspnam.c: Likewise.
8862 * shadow/getspnam_r.c: Likewise.
8863 * gshadow/getsgent.c: Likewise.
8864 * gshadow/getsgent_r.c: Likewise.
8865 * gshadow/getsgnam.c: Likewise.
8866 * gshadow/getsgnam_r.c: Likewise.
8867 * inet/getnetbyad.c: Likewise.
8868 * inet/getnetbyad_r.c: Likewise.
8869 * inet/getnetbynm.c: Likewise.
8870 * inet/getnetbynm_r.c: Likewise.
8871 * inet/getnetent.c: Likewise.
8872 * inet/getnetent_r.c: Likewise.
8873 * inet/getproto.c: Likewise.
8874 * inet/getproto_r.c: Likewise.
8875 * inet/getprtent.c: Likewise.
8876 * inet/getprtent_r.c: Likewise.
8877 * inet/getprtname.c: Likewise.
8878 * inet/getprtname_r.c: Likewise.
8879 * inet/getrpcbyname.c: Likewise.
8880 * inet/getrpcbyname_r.c: Likewise.
8881 * inet/getrpcbynumber.c: Likewise.
8882 * inet/getrpcbynumber_r.c: Likewise.
8883 * inet/getrpcent.c: Likewise.
8884 * inet/getrpcent_r.c: Likewise.
8885 * inet/getaliasent.c: Likewise.
8886 * inet/getaliasent_r.c: Likewise.
8887 * inet/getaliasname.c: Likewise.
8888 * inet/getaliasname_r.c: Likewise.
8889 * nscd/getgrgid_r.c: Likewise.
8890 * nscd/getgrnam_r.c: Likewise.
8891 * nscd/gethstbyad_r.c: Likewise.
8892 * nscd/gethstbynm3_r.c: Likewise.
8893 * nscd/getpwnam_r.c: Likewise.
8894 * nscd/getpwuid_r.c: Likewise.
8895 * nscd/getsrvbynm_r.c: Likewise.
8896 * nscd/getsrvbypt_r.c: Likewise.
8897 * nscd/gai.c: Likewise.
8898
c53d909c
RM
8899 * configure.in (build_nscd): New substituted variable, set
8900 by --disable-build-nscd and defaults to $use_nscd.
8901 * configure: Regenerated.
8902 * config.make.in (build-nscd): New substituted variable.
8903 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8904 Change conditional to require [$(build-nscd) = yes] as well.
8905 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8906
3cc3ef96
RM
8907 [BZ# 13696]
8908 * configure.in (use_nscd): New substituted variable, set by
8909 --disable-nscd. If enabled, define USE_NSCD.
8910 * configure: Regenerated.
8911 * config.h.in: Add USE_NSCD.
8912 * config.make.in (use-nscd): New substituted variable.
8913 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8914 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8915 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8916 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8917 (CFLAGS-getgrnam_r.c): Likewise.
8918 (CFLAGS-initgroups.c): Likewise.
8919 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8920 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8921 Variables removed.
8922 * inet/getnetgrent_r.c
8923 (nscd_setnetgrent): New function, broken out of ...
8924 (setnetgrent): ... here. Call it.
8925 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8926 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8927 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8928 * nscd/Makefile (routines, aux): Move definitions after include of
8929 Makeconfig. Conditionalize on [$(use-nscd) != no].
8930 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8931 Conditionalize on [USE_NSCD].
8932 (is_nscd, nscd_init_cb): Likewise.
8933 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8934 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8935 * nss/nss_db/db-init.c: Likewise.
8936 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8937 [USE_NSCD].
8938 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8939 (make_request): Use it.
8940 (cache_valid_p): New function.
8941 (__check_pf): Use it.
8942 * NEWS: Add item for --disable-nscd.
8943
07e51550
DL
89442012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8945
8946 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8947 to support sed >= 4.2.1-20-ga9bf076.
8948 * configure: Regenerated.
8949
35a5b08b
RM
89502012-08-22 Roland McGrath <roland@hack.frob.com>
8951
8952 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8953 Conditionalize whole body on [IREL].
8954
8479f23a
JL
89552012-08-22 Jeff Law <law@redhat.com>
8956
8957 [BZ #14505]
8958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8959 if the family is PF_UNSPEC.
8960
48da0b21
MF
89612012-08-22 Mike Frysinger <vapier@gentoo.org>
8962
8963 * Makerules (lib-version): Rename from V.
8964 (install-lib-nosubdir): Change V to lib-version.
8965
15d0da8c
WS
89662012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8967
8968 [BZ #14252]
8969 * powerpc32/power6/wcschr.c: New file.
8970 * powerpc32/power6/wcscpy.c: New file.
8971 * powerpc32/power6/wcsrchr.c: New file.
8972 * powerpc64/power6/wcschr.c: New file.
8973 * powerpc64/power6/wcscpy.c: New file.
8974 * powerpc64/power6/wcsrchr.c: New file.
8975
bcca0895
MK
89762012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8977
8978 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8979 (two_way_short_needle): Use it.
5a4aaa33
RM
8980 * string/strstr.c (AVAILABLE1_USES_J): Define.
8981 * string/strcasestr.c: Likewise.
99677e57
MK
8982
8983 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8984 array references.
8985 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8986
400726de
MK
8987 [BZ #11607]
8988 * NEWS: Add an entry.
8989 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8990 define their defaults.
8991 (two_way_short_needle): Detect end-of-string on-the-fly.
8992 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8993 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8994 * string/bug-strcasestr1.c: New test.
8995 * string/Makefile: Run it.
8996
20a71f2c
MK
89972012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8998
8999 [BZ #11607]
9000 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9001 the first character.
9002
21ad0558
RM
90032012-08-21 Roland McGrath <roland@hack.frob.com>
9004
9005 * csu/elf-init.c (__libc_csu_irel): Function removed.
9006 * csu/libc-start.c (apply_irel): New function.
9007 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9008
0e1d9911
JM
90092012-08-21 Joseph Myers <joseph@codesourcery.com>
9010
9011 * sysdeps/unix/sysv/linux/kernel-features.h
9012 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9013 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9014 <kernel-features.h>.
9015 [__NR_fadvise64_64]: Make code unconditional.
9016 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9017 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9018 !__NR_fadvise64_64)]: Likewise.
9019 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9020 !__NR_fadvise64_64))]: Likewise.
9021 [__NR_fadvise64]: Make code unconditional.
9022 [!__NR_fadvise64]: Remove conditional code.
9023 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9024 <kernel-features.h>.
9025 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9026 unconditional.
9027 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9028 conditional code.
9029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9030 not include <kernel-features.h>.
9031 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9032 unconditional.
9033 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9034 conditional code.
9035 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9036 include <kernel-features.h>.
9037 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9038 unconditional.
9039 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9040 conditional code.
9041
14a50c9d
WS
90422012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9043
9044 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9045 slight instruction rearrangements per scrollpipe analysis.
9046 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9047
c0f4faf0
RM
90482012-08-20 Roland McGrath <roland@hack.frob.com>
9049
696da859
RM
9050 * manual/syslog.texi (syslog; vsyslog, closelog):
9051 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9052 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9053
c0f4faf0
RM
9054 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9055 DSOCAPS to match condition on defining it.
9056
348363b2
JM
90572012-08-20 Joseph Myers <joseph@codesourcery.com>
9058
a35cbf28
JM
9059 * sysdeps/unix/sysv/linux/kernel-features.h
9060 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9062 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9063 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9065 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9066 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9068 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9069 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9070
445f7ecd
JM
9071 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9072 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9073
348363b2
JM
9074 * sysdeps/unix/sysv/linux/kernel-features.h
9075 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9076 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9077 unconditional.
9078 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9079 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9080 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9081 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9082 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9083 Make code unconditional.
9084 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9085 (__mmap64) [!__NR_mmap2]: Likewise.
9086 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9087 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9088 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9089 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9090 [__NR_mmap2]: Make code unconditional.
9091 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9092 (__mmap64) [!__NR_mmap2]: Likewise.
9093
bc5bc0e5
AK
90942012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9095
9096 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9097
88d506de
AJ
90982012-08-18 Andreas Jaeger <aj@suse.de>
9099
9100 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9101
493387d2
MF
91022012-08-18 Mike Frysinger <vapier@gentoo.org>
9103
9104 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9105 * include/unistd.h (__have_sock_cloexec): Likewise.
9106 (__have_pipe2): Likewise.
9107 (__have_dup3): Likewise.
9108
a277af22
MF
91092012-08-18 Mike Frysinger <vapier@gentoo.org>
9110
9111 [BZ #9685]
9112 * include/unistd.h (__have_pipe2): Change define into an extern int.
9113 (__have_dup3): Likewise.
9114 * socket/have_sock_cloexec.c: Include fcntl.h.
9115 (__have_pipe2): New variable.
9116 (__have_dup3): Likewise.
9117
fdab8fd3
MF
91182012-08-17 Mike Frysinger <vapier@gentoo.org>
9119
9120 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9121
31035e80
MP
91222012-08-17 Marek Polacek <polacek@redhat.com>
9123
9124 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9125 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9126
3bd9e993
RM
91272012-08-17 Roland McGrath <roland@hack.frob.com>
9128
c91c505f
RM
9129 * configure.in: Add AC_SUBST for sysheaders.
9130 * configure: Regenerated.
9131 * config.make.in (sysheaders): New substituted variable.
9132
7c6f9d53
RM
9133 * sysdeps/unix/mkfifo.c: Moved ...
9134 * sysdeps/posix/mkfifo.c: ... here.
9135 * sysdeps/unix/mkfifoat.c: Moved ...
9136 * sysdeps/posix/mkfifoat.c: ... here.
9137
9138 * sysdeps/unix/utime.c: Moved ...
9139 * sysdeps/posix/utime.c: ... here.
9140
9141 * sysdeps/unix/time.c: Moved ...
9142 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9143 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9144 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9145
9146 * sysdeps/unix/nice.c: Moved ...
9147 * sysdeps/posix/nice.c: ... here.
9148
9149 * sysdeps/unix/alarm.c: Moved ...
9150 * sysdeps/posix/alarm.c: ... here.
9151
3bd9e993
RM
9152 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9153
d1f09384
JL
91542012-08-17 Jeff Law <law@redhat.com>
9155
9156 * intl/Makefile (codeset_mo): New variable.
9157 ($(codeset_mo)): New target.
9158 (tst-codeset.out): Depend on that. Remove explicit rule.
9159 (tst-gettext3.out, tst-gettext5.out): Likewise.
9160 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9161 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9162 * intl/tst-codeset.sh: Remove.
9163 * intl/tst-gettext3.sh: Likewise.
9164 * intl/tst-gettext5.sh: Likewise.
9165
2ae1ae5c
RM
91662012-08-17 Roland McGrath <roland@hack.frob.com>
9167
c31fdb83
RM
9168 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9169 * sysdeps/unix/syscalls.list: ... here.
9170
a0844057
RM
9171 * sysdeps/posix/getaddrinfo.c
9172 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9173 (gaiconf_init, gaiconf_reload): Use them.
9174 [!_STATBUF_ST_NSEC]
9175 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9176 Define using time_t rather than struct timespec.
9177
750c1f2a
RM
9178 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9179 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9180 Macros removed.
9181 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9182 [!NO_THREADS].
9183 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9184 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9185 Likewise.
9186
2ae1ae5c
RM
9187 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9188 __libc_cleanup_push argument.
9189
e66a42f5
RM
9190 * bits/param.h: New file.
9191 * misc/sys/param.h: New file.
9192 * include/sys/param.h: New file.
9193 * misc/Makefile (headers): Add bits/param.h.
9194 * sysdeps/generic/sys/param.h: File removed.
9195 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9196 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9197 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9198 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9199
b7c08a66
RM
9200 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9201 last change.
9202
b2e1c562
RM
9203 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9204 [_IO_MTSAFE_IO].
9205 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9206 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9207 New macros.
9208
c75ccd4c
RM
9209 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9210 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9211 rather than -D_IO_MTSAFE_IO conditionally.
9212 * stdio-common/Makefile (CPPFLAGS): Likewise.
9213 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9214 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9215 Use $(libio-mtsafe).
9216 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9217 of -D_IO_MTSAFE_IO.
9218 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9219 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9220 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9221 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9222 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9223 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9224 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9225 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9226 (CFLAGS-fread_u_chk.c): Likewise.
9227 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9228 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9229 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9230 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9231 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9232 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9233 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9234 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9235 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9236
9237 * libio/Makefile: Test [$(libc-reentrant) = yes]
9238 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9239
9240 * Makeconfig
9241 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9242 * sysdeps/pthread/configure: File removed.
9243 * sysdeps/pthread/Makeconfig: New file.
9244 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9245 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9246
d9195db8
GB
92472012-08-16 Gary Benson <gbenson@redhat.com>
9248
9249 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9250 unmapping the first object in a namespace.
9251
86466cd9
RM
92522012-08-16 Roland McGrath <roland@hack.frob.com>
9253
9254 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9255 (__internal_setnetgrent): ... this. Add internal_function to
9256 definition. Add libc_hidden_def.
9257 (setnetgrent): Update caller.
9258 (internal_endnetgrent): Renamed to ...
9259 (__internal_endnetgrent): ... this. Add internal_function to
9260 definition. Add libc_hidden_def.
9261 (endnetgrent): Update caller.
9262 (internal_getnetgrent_r): Renamed to ...
9263 (__internal_getnetgrent_r): ... this. Add internal_function to
9264 definition. Add libc_hidden_def.
9265 (__getnetgrent_r): Update caller.
9266 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9267
c3c8283c
JM
92682012-08-16 Joseph Myers <joseph@codesourcery.com>
9269
9270 * stdlib/longlong.h: Update from GCC.
9271
db1ee0a8
RM
92722012-08-16 Roland McGrath <roland@hack.frob.com>
9273
9274 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9275 on _QL, which is set by umul_ppmm but never used.
9276 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9277 variables, which are set by GMP macros but never used.
9278 * stdio-common/_itowa.c (_itowa): Likewise.
9279 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9280 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9281
30f69637
CD
92822012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9283
9284 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9285 struct La_sh_regs is not constant.
9286 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9287 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9288 and struct La_sparc64_regs are not constant.
9289
93a78ac4
JM
92902012-08-16 Joseph Myers <joseph@codesourcery.com>
9291
9292 * sysdeps/unix/sysv/linux/kernel-features.h
9293 (__ASSUME_POSIX_TIMERS): Remove.
9294 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9295 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9296 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9297 Make code unconditional.
9298 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9299 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9300 Make code unconditional.
9301 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9302 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9303 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9304 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9305 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9306 Make code unconditional.
9307 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9308 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9309 (__libc_missing_posix_timers): Remove.
9310
dd924cd7
RM
93112012-08-15 Roland McGrath <roland@hack.frob.com>
9312
4b4f2771
RM
9313 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9314 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9315
601c888b
RM
9316 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9317
176790a7
RM
9318 * elf/dl-sym.c: Include <stdlib.h>.
9319
329bc018
RM
9320 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9321 constants, which avoids warnings in 32-bit builds.
9322
e04e272d
RM
9323 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9324 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9325
952bf94a
RM
9326 * misc/lseek.c: File moved to ...
9327 * io/lseek.c: ... here.
9328
7c99b50a
RM
9329 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9330
dd924cd7
RM
9331 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9332 shifting LEN more than 31 bits at once.
9333
b3f479a8
LD
93342012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9335
9336 [BZ #14195]
8c4ae0d4
RM
9337 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9338 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9339 * string/test-strncasecmp.c (check1): Renamed to...
9340 (bz12205): ...this.
9341 (bz14195): Add new testcase for two empty input strings and N > 0.
9342 (test_main): Call new testcase, adapt for renamed function.
9343
9c55864e
AJ
93442012-08-15 Andreas Jaeger <aj@suse.de>
9345
9346 [BZ #14090]
9347 * crypt/md5test2.c: New test, based on test supplied by Serge
9348 Belyshev <belyshev@depni.sinp.msu.ru>.
9349 * crypt/Makefile (xtests): Add md5test-giant..
9350 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9351
02dcb6c5
PE
93522012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9353
9354 [BZ #14090]
9355 * crypt/md5.c (md5_process_block): Don't assume the buffer
9356 length is less than 2**32.
9357 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9358 length is less than 2**64.
9359
a3f95dcc
RM
93602012-08-15 Roland McGrath <roland@hack.frob.com>
9361
be75d758
RM
9362 * string/str-two-way.h: Include <sys/param.h>.
9363 (MAX): Macro removed.
9364
7312ca90
RM
9365 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9366 Move #define and #undef of memmove to just before and after
9367 including <string.h>.
9368
9a0a5486
RM
9369 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9370 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9371 and after including <string.h>. Move declarations of
9372 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9373 to before #include "string/memmove.c".
9374
67cc348d
RM
9375 * include/dirent.h: Declare __getdirentries.
9376
a3f95dcc
RM
9377 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9378 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9379
ca98e171
MF
93802012-08-14 Mike Frysinger <vapier@gentoo.org>
9381
9382 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9383 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9384 * sysdeps/i386/configure: Regenerated.
9385 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9386 STABS_CURRENT_FILE, and STABS_FUN.
9387 (END): Remove call to STABS_FUN_END.
9388 (STABS_CURRENT_FILE1): Delete.
9389 (STABS_CURRENT_FILE): Likewise.
9390 (STABS_FUN): Likewise.
9391 (STABS_FUN_END): Likewise.
9392 (STABS_FUN2): Likewise.
9393 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9394 * sysdeps/x86_64/configure: Regenerated.
9395
5908bf46
RM
93962012-08-14 Roland McGrath <roland@hack.frob.com>
9397
9398 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9399 * elf/dl-lookup.c: Likewise.
5908bf46 9400
f2c05b9e
JM
94012012-08-14 Joseph Myers <joseph@codesourcery.com>
9402
9403 * sysdeps/unix/sysv/linux/kernel-features.h
9404 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9405 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9406 unconditionally.
9407 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9408 unconditionally.
9409 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9410 condition on __ASSUME_CLONE_THREAD_FLAGS.
9411
e11f5155
AJ
94122012-08-14 Andreas Jaeger <aj@suse.de>
9413
9414 * sysdeps/i386/fpu/libm-test-ulps: Update.
9415
51a9ba86
MK
94162012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9417
2fdd4f78
AJ
9418 * include/atomic.h (atomic_exchange_and_add): Split into ...
9419 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9420 New atomic macros.
51a9ba86 9421
ba6cba9e
MT
94222012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9423
9424 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9425
42443a47
JL
94262012-08-13 Jeff Law <law@redhat.com>
9427
9428 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9429 null byte in the output string.
9430
121dce05
JM
94312012-08-10 Joseph Myers <joseph@codesourcery.com>
9432
9433 * sysdeps/unix/sysv/linux/kernel-features.h
9434 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9435 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9436 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9437 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9438 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9439 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9440 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9441
bf51f568
JL
94422012-08-09 Jeff Law <law@redhat.com>
9443
9444 [BZ #13939]
9445 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9446 When avoid_arena is set, don't retry in the that arena. Pick the
9447 next one, whatever it might be.
9448 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9449 (arena_lock): Pass in new parameter to arena_get2.
9450 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9451 arena_get2.
9452 (__libc_malloc): Unify retrying after main arena failure with
9453 __libc_memalign version.
9454 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9455
f85fa270
L
94562012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9457
9458 [BZ #14166]
9459 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9460 to __redirect_strstr.
9461 (__strstr_sse42): Use typeof __redirect_strstr.
9462 (__strstr_ia32): Likewise.
9463 (__libc_strstr): New prototype.
9464 (strstr): Renamed to ...
9465 (__libc_strstr): This.
9466 (strstr): New strong alias of __libc_strstr.
9467 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9468 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9469 __redirect_time.
9470 Include <time.h>.
9471 (__libc_time): New prototype.
9472 (time_ifunc): Replace time with __libc_time.
9473 (time): New strong alias and hidden definition of __libc_time.
9474 (__GI_time): Remove strong alias.
9475 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9476 Include <stddef.h>.
9477 (memmove): Redefined to __redirect_memmove.
9478 (__memmove_sse2): Use typeof __redirect_memmove.
9479 (__memmove_ssse3): Likewise.
9480 (__memmove_ssse3_back): Likewise.
9481 (__libc_memmove): New prototype.
9482 (memmove): Renamed to ...
9483 (__libc_memmove): This.
9484 (memmove): New strong alias of __libc_memmove.
9485
33b4a91e
MS
94862012-08-08 Mark Salter <msalter@redhat.com>
9487
9488 * elf/elf.h
9489 (R_MN10300_TLS_GD): Define.
9490 (R_MN10300_TLS_LD): Likewise.
9491 (R_MN10300_TLS_LDO): Likewise.
9492 (R_MN10300_TLS_GOTIE): Likewise.
9493 (R_MN10300_TLS_IE): Likewise.
9494 (R_MN10300_TLS_LE): Likewise.
9495 (R_MN10300_TLS_DTPMOD): Likewise.
9496 (R_MN10300_TLS_DTPOFF): Likewise.
9497 (R_MN10300_TLS_TPOFF): Likewise.
9498 (R_MN10300_SYM_DIFF): Likewise.
9499 (R_MN10300_ALIGN): Likewise.
9500 (R_MN10300_NUM): Update.
9501
b36137f1
JM
95022012-08-08 Joseph Myers <joseph@codesourcery.com>
9503
9504 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9505 Remove.
9506
cdd915fd
RM
95072012-08-08 Roland McGrath <roland@hack.frob.com>
9508
a2433aac
RM
9509 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9510
cdd915fd
RM
9511 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9512 sysdeps/unix -> sysdeps/posix move.
9513 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9514
bf9b740a
AM
95152012-08-07 Allan McRae <allan@archlinux.org>
9516
9517 [BZ #14303]
9518 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9519 (SUNOS_CPP): Likewise.
9520 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9521 not found.
9522 (open_input): Call CPP using execvp.
9523
93df14ee
JM
95242012-08-07 Joseph Myers <joseph@codesourcery.com>
9525
9526 * sysdeps/unix/sysv/linux/kernel-features.h
9527 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9528 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9529 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9530 (__ASSUME_WAITID_SYSCALL): Likewise.
9531 * sysdeps/unix/sysv/linux/dl-execstack.c
9532 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9533 code unconditional.
9534 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9535 conditional code.
9536 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9537 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9538 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9539 code.
9540 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9541 unconditional.
9542 [__ASSUME_WAITID_SYSCALL]: Likewise.
9543 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9544
d34689de
RM
95452012-08-07 Roland McGrath <roland@hack.frob.com>
9546
a281decc
RM
9547 * sysdeps/unix/closedir.c: Renamed to ...
9548 * sysdeps/posix/closedir.c: ... here.
9549 * sysdeps/unix/dirfd.c: Renamed to ...
9550 * sysdeps/posix/dirfd.c: ... here.
9551 * sysdeps/unix/dirstream.h: Renamed to ...
9552 * sysdeps/posix/dirstream.h: ... here.
9553 * sysdeps/unix/fdopendir.c: Renamed to ...
9554 * sysdeps/posix/fdopendir.c: ... here.
9555 * sysdeps/unix/opendir.c: Renamed to ...
9556 * sysdeps/posix/opendir.c: ... here.
9557 * sysdeps/unix/readdir.c: Renamed to ...
9558 * sysdeps/posix/readdir.c: ... here.
9559 * sysdeps/unix/readdir_r.c: Renamed to ...
9560 * sysdeps/posix/readdir_r.c: ... here.
9561 * sysdeps/unix/rewinddir.c: Renamed to ...
9562 * sysdeps/posix/rewinddir.c: ... here.
9563 * sysdeps/unix/seekdir.c: Renamed to ...
9564 * sysdeps/posix/seekdir.c: ... here.
9565 * sysdeps/unix/telldir.c: Renamed to ...
9566 * sysdeps/posix/telldir.c: ... here.
9567 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9568 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9569 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9570 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9571
22895b47
RM
9572 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9573 * bits/fcntl.h: ... here.
9574
707a53b6
RM
9575 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9576 not 0.
9577 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9578 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9579 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9580 (struct flock): Move l_start, l_len to the beginning.
9581 Use __pid_t for l_pid.
9582 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9583 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9584 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9585 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9586 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9587 [__USE_LARGEFILE64] (struct flock64): New type.
9588 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9589
f0bd3e25
RM
9590 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9591 * bits/dirent.h: ... here.
9592
d34689de
RM
9593 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9594 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9595
6dad2c06
JM
95962012-08-07 Joseph Myers <joseph@codesourcery.com>
9597
9598 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9599 Change from 2.6.0 to 2.6.16.
9600 * sysdeps/unix/sysv/linux/configure: Regenerated.
9601 * sysdeps/unix/sysv/linux/kernel-features.h
9602 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9603 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9604 version.
9605 (__ASSUME_UTIMES): Likewise.
9606 (__ASSUME_CLONE_STOPPED): Remove.
9607 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9608 architectures, not kernel version.
9609 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9610 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9611 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9612 (__ASSUME_WAITID_SYSCALL): Likewise.
9613 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9614 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9615 * README: State 2.6.16 as minimum Linux kernel version. Do not
9616 refer to older versions.
9617
03af9520
RM
96182012-08-06 Roland McGrath <roland@hack.frob.com>
9619
8e49df1d
RM
9620 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9621 Define alphasort64 as an alias.
9622 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9623 Define versionsort64 as an alias.
9624 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9625 Define scandir64 as an alias.
9626 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9627 Define scandirat64 as an alias.
9628 * dirent/alphasort64.c (alphasort64):
9629 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9630 * dirent/versionsort64.c: Likewise.
9631 * dirent/scandir64.c: Likewise.
9632 * dirent/scandirat64.c: Likewise.
9633 * sysdeps/wordsize-64/alphasort.c: File removed.
9634 * sysdeps/wordsize-64/alphasort64.c: File removed.
9635 * sysdeps/wordsize-64/scandir.c: File removed.
9636 * sysdeps/wordsize-64/scandir64.c: File removed.
9637 * sysdeps/wordsize-64/scandirat.c: File removed.
9638 * sysdeps/wordsize-64/scandirat64.c: File removed.
9639 * sysdeps/wordsize-64/versionsort.c: File removed.
9640 * sysdeps/wordsize-64/versionsort64.c: File removed.
9641 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9642 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9643 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9644 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9645 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9646 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9647 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9648 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9649
9650 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9651 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9652 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9653 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9654 [defined __arch64__ || defined __sparcv9]
9655 (__INO_T_MATCHES_INO64_T): New macro.
9656 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9657 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9658 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9659 * sysdeps/unix/sysv/linux/bits/dirent.h
9660 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9661 (_DIRENT_MATCHES_DIRENT64): New macro.
9662
03af9520
RM
9663 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9664 Define lockf64 as an alias.
9665 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9666 Define fseeko64 as an alias.
9667 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9668 Define ftello64 as an alias.
9669 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9670 Define _IO_fgetpos64 and fgetpos64 as aliases.
9671 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9672 Define _IO_fsetpos64 and fsetpos64 as aliases.
9673 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9674 Conditionalize body on this.
9675 * libio/fseeko64.c: Likewise.
9676 * libio/ftello64.c: Likewise.
9677 * libio/iofgetpos64.c: Likewise.
9678 * libio/iofsetpos64.c: Likewise.
9679 * sysdeps/wordsize-64/lockf.c: File removed.
9680 * sysdeps/wordsize-64/lockf64.c: File removed.
9681 * sysdeps/wordsize-64/fseeko.c: File removed.
9682 * sysdeps/wordsize-64/fseeko64.c: File removed.
9683 * sysdeps/wordsize-64/ftello.c: File removed.
9684 * sysdeps/wordsize-64/ftello64.c: File removed.
9685 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9686 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9687 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9688 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9689 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9690 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9691 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9692 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9693 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9694 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9695 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9696 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9697 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9698 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9699
9700 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9702 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9704 [defined __arch64__ || defined __sparcv9]
9705 (__OFF_T_MATCHES_OFF64_T): New macro.
9706 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9707 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9708 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9709 (__OFF_T_MATCHES_OFF64_T): New macro.
9710
c5757acd
L
97112012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9712
9713 * stdlib/secure-getenv.c (__secure_getenv): Replace
9714 GLIBC_2_16 with GLIBC_2_17.
9715
3a31811e
L
97162012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9717
9718 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9719 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9720
faa2bccb
DM
97212012-08-03 David S. Miller <davem@davemloft.net>
9722
9723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9724
85fe1997
JM
97252012-08-03 Joseph Myers <joseph@codesourcery.com>
9726
9727 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9728 Remove.
9729 (__ASSUME_CORRECT_SI_PID): Likewise.
9730 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9731 (__ASSUME_TMPFS_NAME): Likewise.
9732 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9733 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9734 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9735 (HAVE_AUX_SECURE): Make definition unconditional.
9736 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9737 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9738
4f75b7a0
RM
97392012-08-03 Roland McGrath <roland@hack.frob.com>
9740
9741 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9742 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9743 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9744 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9745 __eloop_threshold instead of SYMLOOP_MAX.
9746
9747 * sysdeps/generic/eloop-threshold.h: New file.
9748 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9749 of MAXSYMLINKS.
9750 * elf/chroot_canon.c (chroot_canon): Likewise.
9751
7aab07e4
JM
97522012-08-03 Joseph Myers <joseph@codesourcery.com>
9753
9754 [BZ #13717]
9755 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9756 Change to 2.6.0 everywhere.
9757 * sysdeps/unix/sysv/linux/configure: Regenerated.
9758 * sysdeps/unix/sysv/linux/kernel-features.h
9759 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9760 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9761 kernel versions.
9762 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9763 (__ASSUME_FUTEX_REQUEUE): Remove.
9764 (__ASSUME_STATFS64): Define unconditionally.
9765 (__ASSUME_AT_SECURE): Likewise.
9766 (__ASSUME_CORRECT_SI_PID): Likewise.
9767 (__ASSUME_TGKILL): Define without depending on kernel version for
9768 i386.
9769 (__ASSUME_UTIMES): Likewise.
9770 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9771 kernel version.
9772 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9773 (__ASSUME_TMPFS_NAME): Likewise.
9774 * README: Update reference to Linux kernel versions.
9775
b67e9372
MP
97762012-08-02 Marek Polacek <polacek@redhat.com>
9777
1f529f7d 9778 [BZ# 14150]
b67e9372
MP
9779 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9780 libc_cv_asm_type_prefix with %.
9781 * configure: Regenerated.
d2441631
RM
9782 * include/libc-symbols.h: Remove comment about
9783 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9784 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9785 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9786 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9787 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9788 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9789 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9790 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9791 * elf/tst-unique2mod1.c: Likewise.
9792 * elf/tst-unique1mod2.c: Likewise.
9793 * elf/tst-unique1mod1.c: Likewise.
9794 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9795 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9796 Replace ASM_TYPE_DIRECTIVE with .type.
9797 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9798 * sysdeps/i386/sysdep.h: Likewise.
9799 * sysdeps/x86_64/sysdep.h: Likewise.
9800 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9802 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9803 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9804 * sysdeps/powerpc/powerpc32/sysdep.h:
9805 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9806 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9807 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9808 * sysdeps/i386/fpu/e_powf.S: Likewise.
9809 * sysdeps/i386/fpu/e_expl.S: Likewise.
9810 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9811 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9812 * sysdeps/i386/fpu/e_pow.S: Likewise.
9813 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9814 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9815 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9816 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9817 * sysdeps/i386/fpu/e_log2.S: Likewise.
9818 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9819 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9820 * sysdeps/i386/fpu/e_powl.S: Likewise.
9821 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9822 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9823 * sysdeps/i386/fpu/e_logl.S: Likewise.
9824 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9825 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9826 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9827 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9828 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9829 * sysdeps/i386/fpu/e_log.S: Likewise.
9830 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9831 * sysdeps/i386/fpu/e_logf.S: Likewise.
9832 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9833 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9834 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9835 * sysdeps/i386/fpu/e_log10.S: Likewise.
9836 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9837 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9838 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9839 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9840 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9841 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9842 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9843 * sysdeps/i386/i686/strtok.S: Likewise.
9844 * sysdeps/i386/i386-mcount.S: Likewise.
9845 * sysdeps/i386/strtok.S: Likewise.
9846 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9847 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9848 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9849 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9850 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9851 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9852 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9853 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9854 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9855 * sysdeps/x86_64/_mcount.S: Likewise.
9856 * sysdeps/x86_64/strtok.S: Likewise.
9857 * sysdeps/sh/_mcount.S: Likewise.
9858
2747bf9a
RM
98592012-08-01 Roland McGrath <roland@hack.frob.com>
9860
9861 * libio/iofopen.c: Include <fcntl.h>.
9862 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9863 (_IO_fopen64, fopen64): Define as aliases.
9864 * libio/iofopen64.c: Include <fcntl.h>.
9865 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9866 Conditionalize body on this.
9867 * sysdeps/wordsize-64/iofopen.c: File removed.
9868 * sysdeps/wordsize-64/iofopen64.c: File removed.
9869
3fb791b8
MP
98702012-08-01 Marek Polacek <polacek@redhat.com>
9871
9872 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9873 Use dlfcn directly instead of a variable.
9874 (binfmt-subdir): Do not define.
9875 (dlfcn): Likewise.
9876
a9f1039f
JM
98772012-08-01 Joseph Myers <joseph@codesourcery.com>
9878
23bddc06
JM
9879 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9880 Remove all definitions.
9881 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9882 <kernel-features.h>.
9883 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9884 (miss_F_GETOWN_EX): Remove all definitions.
9885 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9886 macro definition.
9887 [!__ASSUME_FCNTL64]: Remove conditional code.
9888 [__ASSUME_FCNTL64]: Make code unconditional.
9889 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9890 <kernel-features.h>.
9891 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9892 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9893 (lockf64) [__NR_fcntl64]: Make code unconditional.
9894 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9895
a9f1039f
JM
9896 * sysdeps/unix/sysv/linux/kernel-features.h
9897 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9898 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9899 Make code unconditional.
9900 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9901 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9903 [__NR_vfork]: Make code unconditional.
9904 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9905 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9907 [__NR_vfork]: Make code unconditional.
9908 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9909 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9910
09c0ee5f
RM
99112012-08-01 Roland McGrath <roland@hack.frob.com>
9912
48aec5b9
RM
9913 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9914 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9915
cd97c966
RM
9916 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9917 Define mkstemp64 as an alias.
3f55550c
RM
9918 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9919 Define mkstemps64 as an alias.
cd97c966
RM
9920 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9921 Define mkostemp64 as an alias.
b8625cfc
RM
9922 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9923 Define mkostemps64 as an alias.
cd97c966
RM
9924 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9925 Conditionalize body on this.
9926 * misc/mkostemp64.c: Likewise.
b8625cfc 9927 * misc/mkostemps64.c: Likewise.
3f55550c 9928 * misc/mkstemps64.c: Likewise.
cd97c966
RM
9929 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9930 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9931 * sysdeps/wordsize-64/mkostemp.c: File removed.
9932 * sysdeps/wordsize-64/mkstemp.c: File removed.
9933 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9934 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9935 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9936 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9937
09c0ee5f
RM
9938 [BZ #14138]
9939 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9940 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9941 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9942 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9943
9944 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9945 compat_symbol macros from <shlib-compat.h> rather than the underlying
9946 default_symbol_version and symbol_version macros, so that DEFAULT
9947 lines in shlib-versions are respected.
9948 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9949
7e66ee51
FW
99502012-08-01 Florian Weimer <fweimer@redhat.com>
9951
9952 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9953 Declare with warn_unused_result.
9954 (setgid, setregid, setegid, setresgid): Likewise.
9955 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9956 Likewise.
9957 * WUR-REPORT: Remove set*id functions.
9958
d2a54255
PT
99592012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9960
9961 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9962
7ecdb005
RM
99632012-07-31 Roland McGrath <roland@hack.frob.com>
9964
789bd351
RM
9965 * include/sys/socket.h (__libc_accept, __libc_accept4):
9966 Add attribute_hidden.
9967 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9968
40ce302d
RM
9969 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9970 use of PTR_MANGLE.
9971 * inet/getnetgrent_r.c (setup): Likewise.
9972
7ecdb005
RM
9973 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9974
e2eabb2c
DM
99752012-07-31 David S. Miller <davem@davemloft.net>
9976
9977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9978
d0419dbf
JM
99792012-07-31 Joseph Myers <joseph@codesourcery.com>
9980
9981 [BZ #13629]
9982 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9983 value between 1.0 and 2.0 and smaller part has absolute value less
9984 than 1.0.
9985 * math/s_clog10.c (__clog10): Likewise.
9986 * math/s_clog10f.c (__clog10f): Likewise.
9987 * math/s_clog10l.c (__clog10l): Likewise.
9988 * math/s_clogf.c (__clogf): Likewise.
9989 * math/s_clogl.c (__clogl): Likewise.
9990 * math/libm-test.inc (clog_test): Add more tests.
9991 (clog10_test): Likewise.
9992 * sysdeps/i386/fpu/libm-test-ulps: Update.
9993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9994
2bc13872
FW
99952012-07-31 Florian Weimer <fweimer@redhat.com>
9996
9997 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9998 Exit with zero in case no suitable GID is found, and write a
9999 message to standard error.
10000
bea9b193
RM
100012012-07-30 Roland McGrath <roland@hack.frob.com>
10002
10003 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10004 rather than to 1.
10005 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10006 (MAXPATHLEN): Removed.
10007 (NOGROUP, NODEV): New macros.
10008 (setbit, clrbit, isset, isclr): New macros.
10009 (howmany, roundup, powerof2): New macros.
10010 (DEV_BSIZE): New macro.
10011
10012 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10013 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10014
10015 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10016 definition on [!__NO_LONG_DOUBLE_MATH].
10017
10018 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10019 PTR_MANGLE and PTR_DEMANGLE.
10020
10021 * socket/accept4.c (accept4): Rename to __libc_accept4.
10022 Define accept4 as a weak alias.
10023
10024 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10025 on [_DIRENT_HAVE_D_TYPE].
10026 * io/ftw.c (ftw_dir): Likewise.
10027
10028 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10029
10030 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10031
10032 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10033 Use the BSD numbers rather than the arbitrary ones we had.
10034 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10035 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10036 (SIGXCPU, SIGXFSZ): New macros.
10037 (_NSIG): Now 32.
10038
10039 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10040 initializer on [_LIBC_REENTRANT].
10041
10042 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10043 definitions inside [_POSIX_MAPPED_FILES].
10044
10045 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10046
10047 * dirent/opendir.c: Include <fcntl.h>.
10048
10049 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10050 (__libc_getspecific): Likewise.
10051 (__libc_key_create): Likewise.
10052
10053 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10054 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10055 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10056 (tmpfile64): Define as alias.
10057 * sysdeps/wordsize-64/tmpfile.c: File removed.
10058 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10059 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10060 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10061
10062 * stdio-common/vfscanf.c: Include <stdbool.h>.
10063 * nss/makedb.c: Likewise.
10064 * stdio-common/_i18n_number.h: Likewise.
10065 * argp/argp-help.c: Likewise.
10066 * posix/wordexp.c: Likewise.
10067 * sysdeps/posix/spawni.c: Likewise.
10068 * nss/nss_files/files-initgroups.c: Likewise.
10069 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10070 * nss/nss_files/files-initgroups.c: Likewise.
10071 * nss/nss_db/db-netgrp.c: Likewise.
10072 * nss/nss_db/db-initgroups.c: Likewise.
10073 * io/fchmodat.c: Include <sys/stat.h>.
10074
10075 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10076 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10077
10078 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10079 [HAVE_MMAP].
10080
10081 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10082 Add multiple inclusion protection.
10083
e5abc686
DM
100842012-07-27 David S. Miller <davem@davemloft.net>
10085
10086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10087
815e6fa3
GB
100882012-07-27 Gary Benson <gbenson@redhat.com>
10089
10090 [BZ #14298]
10091 * elf/rtld.c: Include <stap-probe.h>.
10092 (dl_main): Added static probes "init_start" and "init_complete".
10093 * elf/dl-load.c: Include <stap-probe.h>.
10094 (lose): Take new parameter "nsid".
10095 Added static probe "map_failed".
10096 (_dl_map_object_from_fd): Pass namespace id to lose.
10097 Added static probe "map_start".
10098 (open_verify): Pass namespace id to lose.
10099 * elf/dl-open.c: Include <stap-probe.h>.
10100 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10101 and "reloc_complete".
10102 * elf/dl-close.c: Include <stap-probe.h>.
10103 (_dl_close_worker): Added static probes "unmap_start" and
10104 "unmap_complete".
10105 * elf/rtld-debugger-interface.txt: New file documenting the above.
10106
9f98c16c
RM
101072012-07-26 Roland McGrath <roland@hack.frob.com>
10108
10109 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10110 rather than a string variable.
10111 * sunrpc/rpc_main.c (h_output): Likewise.
10112 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10113
f3c22df3
PT
101142012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10115
10116 * inet/check_native.c: New file.
10117
3129cfc6
JM
101182012-07-26 Joseph Myers <joseph@codesourcery.com>
10119
da865e95
JM
10120 [BZ #13629]
10121 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10122 if larger part has absolute value 1.0.
10123 * math/s_clog10.c (__clog10): Likewise.
10124 * math/s_clog10f.c (__clog10f): Likewise.
10125 * math/s_clog10l.c (__clog10l): Likewise.
10126 * math/s_clogf.c (__clogf): Likewise.
10127 * math/s_clogl.c (__clogl): Likewise.
10128 * math/libm-test.inc (clog_test): Add more tests.
10129 (clog10_test): Likewise.
10130 * sysdeps/i386/fpu/libm-test-ulps: Update.
10131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10132
3129cfc6
JM
10133 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10134 (pltexit): Likewise.
10135 (La_regs): Likewise.
10136 (La_retval): Likewise.
10137 (int_retval): Likewise.
10138 Update #error for removed macros to refer only to definitions in
10139 tst-audit.h.
10140 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10141 macro.
10142 (pltexit): Likewise.
10143 (La_regs): Likewise.
10144 (La_retval): Likewise.
10145 (int_retval): Likewise.
10146 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10147 macro.
10148 (pltexit): Likewise.
10149 (La_regs): Likewise.
10150 (La_retval): Likewise.
10151 (int_retval): Likewise.
10152 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10153 macro.
10154 (pltexit): Likewise.
10155 (La_regs): Likewise.
10156 (La_retval): Likewise.
10157 (int_retval): Likewise.
10158 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10159 macro.
10160 (pltexit): Likewise.
10161 (La_regs): Likewise.
10162 (La_retval): Likewise.
10163 (int_retval): Likewise.
10164 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10165 macro.
10166 (pltexit): Likewise.
10167 (La_regs): Likewise.
10168 (La_retval): Likewise.
10169 (int_retval): Likewise.
10170 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10171 macro.
10172 (pltexit): Likewise.
10173 (La_regs): Likewise.
10174 (La_retval): Likewise.
10175 (int_retval): Likewise.
10176 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10177 macro definitions in tst-audit.h.
10178 * sysdeps/i386/tst-audit.h: New file.
10179 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10180 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10181 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10182 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10183 * sysdeps/sh/tst-audit.h: Likewise.
10184 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10185 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10186 * sysdeps/x86_64/tst-audit.h: Likewise.
10187
bfc07087
AJ
101882012-07-26 Andreas Jaeger <aj@suse.de>
10189
b1b2aaf8
AJ
10190 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10191 ptrace.
10192
10193 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10194 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10195 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10196 PTRACE_O_MASK.
10197 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10198 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10199 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10200
bfc07087
AJ
10201 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10202 value.
10203
10204 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10205 _sigsys.
10206 (si_call_addr, si_syscall, si_arch): Define new macro.
10207 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10208 _sigsys.
10209 (si_call_addr, si_syscall, si_arch): Define new marcro.
10210 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10211 _sigsys.
10212 (si_call_addr, si_syscall, si_arch): Define new macro.
10213 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10214 _sigsys.
10215 (si_call_addr, si_syscall, si_arch): Define new macro.
10216
89b4b02f
JM
102172012-07-25 Joseph Myers <joseph@codesourcery.com>
10218
10219 [BZ #13717]
10220 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10221 Change to 2.4.21 where previously 2.4.1.
10222 * sysdeps/unix/sysv/linux/configure: Regenerated.
10223 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10224 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10225 Linux kernel version.
10226 (__ASSUME_STD_AUXV): Remove.
10227 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10228 kernel version.
10229 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10230 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10231 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10232 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10233 (__ASSUME_NETLINK_SUPPORT): Likewise.
10234 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10235 (__no_netlink_support): Remove conditional definition.
10236 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10237 Remove.
10238 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10239 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10240 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10241 (if_nameindex_ioctl): Remove.
10242 (if_nameindex_netlink): Do not handle __no_netlink_support.
10243 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10244 code.
10245 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10246 Remove conditional code.
10247 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10248 code.
10249 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10250 unconditional.
10251 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10252 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10253 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10254 Remove.
10255 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10256 [!__ASSUME_STD_AUXV]: Remove conditional code.
10257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10258 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10259 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10261 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10262 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10263 code.
10264 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10266 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10267 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10268 conditional code.
10269 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10271 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10272 code.
10273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10274 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10275 conditional code.
10276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10277 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10278 code unconditional.
10279 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10280 conditional code.
10281 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10282 unconditional.
10283 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10284 conditional code.
10285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10286 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10287 unconditional.
10288 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10289 conditional code.
10290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10291 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10292 code unconditional.
10293 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10294 conditional code.
10295 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10296 unconditional.
10297 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10298 conditional code.
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10300 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10301 code unconditional.
10302 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10303 conditional code.
10304 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10305 unconditional.
10306 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10307 conditional code.
10308
842a39cd
AS
103092012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10310
10311 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10312 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10313 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10314 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10315 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10316 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10317 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10318 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10319 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10320 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10321 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10322 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10323 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10324 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10325 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10326 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10327 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10328 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10329 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10330 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10331 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10332 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10333 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10334
84b3fd84
FW
103352012-07-25 Florian Weimer <fweimer@redhat.com>
10336
10337 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10338 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10339 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10340 Introduce __libc_secure_getenv.
0c7936d5
FW
10341 * stdlib/Versions (2.17): Add secure_getenv
10342 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10343 * stdlib/secure-getenv.c: Rename __secure_getenv to
10344 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10345 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10346 * stdlib/tst-secure-getenv.c: New.
10347 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10348 * manual/startup.texi (Environment Access): Document
10349 secure_getenv.
84b3fd84
FW
10350 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10351 __libc_secure_getenv.
10352 * inet/ruserpass.c (ruserpass): Likewise.
10353 * malloc/mtrace.c (mtrace): Likewise.
10354 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10355 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10356 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10357 * sysdeps/posix/tempname.c: Likewise. Evaluate
10358 HAVE_SECURE_GETENV.
10359 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10360 __secure_getenv to __libc_secure_getenv.
84b3fd84 10361 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10363 Likewise.
10364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10365 Likewise.
10366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10368 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10373
56e49b71
JM
103742012-07-25 Joseph Myers <joseph@codesourcery.com>
10375
10376 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10377 (struct La_i86_retval): Likewise.
10378 (struct La_x86_64_regs): Likewise.
10379 (struct La_x86_64_retval): Likewise.
10380 (struct La_x32_regs): Likewise.
10381 (struct La_x32_retval): Likewise.
10382 (struct La_ppc32_regs): Likewise.
10383 (struct La_ppc32_retval): Likewise.
10384 (struct La_ppc64_regs): Likewise.
10385 (struct La_ppc64_retval): Likewise.
10386 (struct La_sh_regs): Likewise.
10387 (struct La_sh_retval): Likewise.
10388 (struct La_s390_32_regs): Likewise.
10389 (struct La_s390_32_retval): Likewise.
10390 (struct La_s390_64_regs): Likewise.
10391 (struct La_s390_64_retval): Likewise.
10392 (struct La_sparc32_regs): Likewise.
10393 (struct La_sparc32_retval): Likewise.
10394 (struct La_sparc64_regs): Likewise.
10395 (struct La_sparc64_retval): Likewise.
10396 (struct audit_ifaces): Remove architecture-specific pltenter and
10397 pltexit members.
10398 * sysdeps/i386/ldsodefs.h: New file.
10399 * sysdeps/powerpc/ldsodefs.h: Likewise.
10400 * sysdeps/s390/ldsodefs.h: Likewise.
10401 * sysdeps/sh/ldsodefs.h: Likewise.
10402 * sysdeps/sparc/ldsodefs.h: Likewise.
10403 * sysdeps/x86_64/ldsodefs.h: Likewise.
10404
354691b7
MP
104052012-07-25 Marek Polacek <polacek@redhat.com>
10406
10407 [BZ #6808]
10408 * math/libm-test.inc (yn_test): Add another test.
10409 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10410 to ERANGE when the result is +-Inf.
10411 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10412 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10413 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10414 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10415
bf9e2071
JM
104162012-07-24 Joseph Myers <joseph@codesourcery.com>
10417
10418 * conform/data/time.h-data (NULL): Use macro-constant. Require
10419 equal to 0.
10420 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10421 clock_t.
10422 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10423
57633811
TS
104242012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10425
10426 * configure.in <sysdeps resolving>: Correct printing
10427 Implies_before.
10428 * configure: Regenerate.
10429
c23c33b0
TS
104302012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10431
10432 * math/w_ilogb.c: Include <limits.h>.
10433 * math/w_ilogbl.c: Likewise.
10434
b5982523
JM
104352012-07-20 Joseph Myers <joseph@codesourcery.com>
10436
10437 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10438 va_copy. Document allowing for unavailable va_copy only as
10439 pre-C99 compatibility.
10440 * manual/string.texi (Copying and Concatenation): Use va_copy
10441 instead of __va_copy in concat example.
10442
ac4ea442
PT
104432012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10444
10445 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10446 (__sendto): Use create_address_port. Initialize APORT and deallocate
10447 it if not null.
10448
f98eafbd
PT
10449 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10450 with O_NOLINK passed to __file_name_lookup.
10451
898c7aab
PT
10452 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10453 with O_NOLINK passed to __file_name_lookup.
10454
0ced335a
PT
10455 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10456 negative N or less than NGIDS.
10457
b3404dbd
PT
10458 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10459 type to string_t. Set ERANGE as errno and return it if NAME is not big
10460 enough. Use memcpy instead of strncpy.
10461
0f48659e
JM
104622012-07-20 Joseph Myers <joseph@codesourcery.com>
10463
10464 * elf/Makefile (check-data): Remove.
10465 (localplt.data): New vpath directive.
10466 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10467 instead of $(check-data).
10468 * scripts/data/localplt-generic.data: Move to ...
10469 * sysdeps/generic/localplt.data: ... here.
10470 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10471 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10472 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10474 ... here.
10475 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10477 ... here.
10478 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10480 ... here.
10481 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10483 ... here.
10484 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10486 ... here.
10487 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10489 ... here.
10490
d37cbdaa
AZ
104912012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10492
10493 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10494 PPC32 and PPC64 files.
10495 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10496 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10497
46f85fc2
AK
104982012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10499
10500 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10501 __makecontext_ret to ...
10502 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10503 ... here and call exit if uc_link is NULL. New file.
10504 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10505 __makecontext_ret.S.
10506 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10507 __makecontext_ret to ...
10508 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10509 ... here and call exit if uc_link is NULL. New file.
10510 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10511 __makecontext_ret.S.
10512
08f43f9b
AK
105132012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10514
10515 * elf/elf.h (R_390_IRELATIVE): New definition.
10516 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10517 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10518 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10519 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10520 (elf_machine_lazy_rel): Likewise.
10521 * sysdeps/s390/dl-irel.h: New file.
10522 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10523 * sysdeps/s390/s390-64/memset.S: New asm code.
10524 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10525 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10526 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10527 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10528 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10529 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10530 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10531 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10532 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10533 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10534 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10535 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10536 * sysdeps/s390/s390-32/memset.S: New asm code.
10537 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10538
3b05db33
MP
105392012-07-17 Marek Polacek <polacek@redhat.com>
10540
10541 [BZ #14349]
10542 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10543 * sysdeps/s390/s390-64/configure.in: Likewise.
10544 * sysdeps/sparc/configure.in: Likewise.
10545 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10546 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10547 * sysdeps/i386/configure.in: Likewise.
10548 * sysdeps/x86_64/configure.in: Likewise.
10549 * sysdeps/sh/configure.in: Likewise.
10550 * sysdeps/s390/s390-32/configure: Regenerated.
10551 * sysdeps/s390/s390-64/configure: Likewise.
10552 * sysdeps/x86_64/configure: Likewise.
10553 * sysdeps/sh/configure: Likewise.
10554 * sysdeps/powerpc/powerpc64/configure: Likewise.
10555 * sysdeps/powerpc/powerpc32/configure: Likewise.
10556 * sysdeps/sparc/configure: Likwise.
10557 * sysdeps/i386/configure: Likewise.
10558
a66877c6
MP
10559 * elf/dl-open.c: Comment fixes.
10560
cfc82fd8
JM
105612012-07-17 Joseph Myers <joseph@codesourcery.com>
10562
bd29910a
JM
10563 * Makefile [CXX] (check-data): Remove.
10564 [CXX] (c++-types.data): New vpath directive.
10565 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10566 vpath. Do not allow for C++ type data being missing.
10567 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10568 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10569 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10570 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10571 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10572 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10573 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10575 ... here.
10576 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10578 ... here.
10579 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10581 ... here.
10582 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10584 ... here.
10585 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10587 ... here.
10588 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10590 ... here.
10591 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10593 ... here.
10594 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10596
cfc82fd8
JM
10597 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10598 definitions to architecture-specific files.
10599 (TLS_IE): Likewise.
10600 (TLS_LD): Likewise.
10601 (TLS_GD): Likewise.
10602 * sysdeps/i386/tls-macros.h: New file.
10603 * sysdeps/powerpc/tls-macros.h: Likewise.
10604 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10605 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10606 * sysdeps/sh/tls-macros.h: Likewise.
10607 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10608 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10609 * sysdeps/x86_64/tls-macros.h: Likewise.
10610
f7db3170
TS
106112012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10612
07cbfc23
TS
10613 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10614 zero value for regular exit case.
10615
f7db3170
TS
10616 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10617 (__start_context): Preserve zero value for regular exit case.
10618
dc97c227
TS
106192012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10620 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10621
10622 * manual/setjmp.texi (setcontext): Clarify normal process
10623 termination when uc_link is the null pointer.
10624 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10625 exit call.
10626
d0cd7d02
AS
106272012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10628
10629 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10630 preprocessor. Test for each exception mask separately.
10631
dd318934
AJ
106322012-07-16 Andreas Jaeger <aj@suse.de>
10633
10634 * po/ru.po: Update from translation team.
10635
8048311a
JM
106362012-07-15 Joseph Myers <joseph@codesourcery.com>
10637
10638 * conform/data/string.h-data (NULL): Use macro-constant. Require
10639 equal to 0.
10640 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10641 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10642 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10643 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10644 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10645
b637d46e
AJ
106462012-07-13 Andreas Jaeger <aj@suse.de>
10647
10648 * po/fr.po: Update from translation team.
10649
541428fe
MP
106502012-07-12 Marek Polacek <polacek@redhat.com>
10651
10652 [BZ #14173]
10653 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10654 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10655 loop condition.
10656
ec332e94
JM
106572012-07-12 Joseph Myers <joseph@codesourcery.com>
10658
10659 [BZ #13717]
10660 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10661 Change to 2.4.1 where previously 2.4.0.
10662 * sysdeps/unix/sysv/linux/configure: Regenerated.
10663 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10664 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10665 version.
10666 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10667 (__ASSUME_AT_CLKTCK): Remove.
10668 (__ASSUME_AT_PAGESIZE): Likewise.
10669 (__ASSUME_AT_XID): Likewise.
10670 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10671 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10672 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10673 unconditionally.
10674 (HAVE_AUX_PAGESIZE): Likewise.
10675 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10676 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10677 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10678
7b6e99be
JB
106792012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10680
10681 [BZ #14307]
10682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10683 the temporary buffer used to invoke __gethostbyname2_r,
10684 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10685 host_data / struct gaih_addrtuple.
10686 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10687 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10688 header file nss/nsswitch.h.
10689 * nss/nsswitch.h (global scope): Add definition of implementation
10690 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10691 resolv/nss_dns/dns-host.c).
10692
608404eb
AJ
106932012-07-11 Andreas Jaeger <aj@suse.de>
10694
10695 * po/fr.po: Update from translation team.
10696
71220aca
AJ
10697 * po/sv.po: Update from translation team
10698 * po/fr.po: Another update from translation team.
10699
28cfe843
AZ
107002012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10701
10702 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10703 for subnormals or multiply small sinh result by itself.
10704 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10706
6b90f981
DM
107072012-07-11 David S. Miller <davem@davemloft.net>
10708
10709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10710
c6825772
AS
107112012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10712
10713 [BZ #14347]
10714 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10715 (INTERNAL_MARK): Shift it here.
10716
7b8e0d49
MP
107172012-07-10 Marek Polacek <polacek@redhat.com>
10718
10719 [BZ #14151]
10720 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10721 libc_cv_asm_global_directive with .globl.
10722 * configure: Regenerated.
10723 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10724 with .globl.
10725 * sysdeps/i386/configure: Regenerated.
10726 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10727 with .globl.
10728 * sysdeps/x86_64/configure: Regenerated.
10729 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10730 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10731 * elf/tst-unique2mod2.c: Likewise.
10732 * elf/tst-unique2mod1.c: Likewise.
10733 * elf/tst-unique1mod2.c: Likewise.
10734 * elf/tst-unique1mod1.c: Likewise.
10735 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10736 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10737 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10738 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10739 * sysdeps/mach/sysdep.h: Likewise.
10740 * sysdeps/i386/sysdep.h: Likewise.
10741 * sysdeps/i386/i386-mcount.S: Likewise.
10742 * sysdeps/x86_64/_mcount.S: Likewise.
10743 * sysdeps/x86_64/sysdep.h: Likewise.
10744 * sysdeps/sh/_mcount.S: Likewise.
10745 * sysdeps/sh/sysdep.h: Likewise.
10746 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10747 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10748 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10749 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10750 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10751 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10752 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10753 * locale/localeinfo.h: Likewise.
10754 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10755 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10756
6c55cda3
RM
107572012-07-09 Roland McGrath <roland@hack.frob.com>
10758
10759 [BZ #14336]
10760 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10761 system".
10762 * manual/message.texi (The Uniforum approach): Likewise.
10763 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10764 (glibc iconv Implementation): Likewise.
10765
638a572e
JM
107662012-07-09 Joseph Myers <joseph@codesourcery.com>
10767
10768 [BZ #14337]
10769 * math/s_clog.c (__clog): Avoid scaling a value down where that
10770 could result in underflow.
10771 * math/s_clog10.c (__clog10): Likewise.
10772 * math/s_clog10f.c (__clog10f): Likewise.
10773 * math/s_clog10l.c (__clog10l): Likewise.
10774 * math/s_clogf.c (__clogf): Likewise.
10775 * math/s_clogl.c (__clogl): Likewise.
10776 * math/libm-test.inc (clog_test): Add more tests.
10777 (clog10_test): Likewise.
10778 * sysdeps/i386/fpu/libm-test-ulps: Update.
10779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10780
261f4859
AS
107812012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10782
0abaf3e4
AS
10783 [BZ #14283]
10784 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10785 by 7 not 8 to examine high bit of fractional part.
10786
261f4859
AS
10787 [BZ #14042]
10788 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10789 for call to __mcount_internal.
10790 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10791 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10792 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10793
f17ac40d
JM
107942012-07-06 Joseph Myers <joseph@codesourcery.com>
10795
9ad63c23
JM
10796 [BZ #14154]
10797 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10798 approximation for values within 0x1p-13f of an odd multiple of
10799 pi/4.
10800 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10801 exception. Add more tests.
10802 * sysdeps/i386/fpu/libm-test-ulps: Update.
10803
f17ac40d
JM
10804 [BZ #6778]
10805 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10806 inputs and return -1 for them. Do not check for +Inf in case not
10807 reachable for +Inf.
10808 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10809 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10810 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10811 and return -1 for them. Do not check for +Inf in case not
10812 reachable for +Inf.
10813 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10814 define.
10815 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10816 and return -1 for them. Do not check for +Inf in case not
10817 reachable for +Inf.
10818 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10819 spurious underflow.
10820 * sysdeps/i386/fpu/libm-test-ulps: Update.
10821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10822
fb21f89b
MF
108232012-07-06 Mike Frysinger <vapier@gentoo.org>
10824
10825 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10826
cdfe2c5e
JM
108272012-07-05 Joseph Myers <joseph@codesourcery.com>
10828
10829 [BZ #14157]
10830 [BZ #14331]
10831 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10832 could result in spurious underflow. Scale down values above
10833 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10834 * math/s_csqrtf.c (__csqrtf): Likewise.
10835 * math/s_csqrtl.c (__csqrtl): Likewise.
10836 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10837 spurious underflow.
10838 * sysdeps/i386/fpu/libm-test-ulps: Update.
10839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10840
70d35b67
AS
108412012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10842
704bc459
AS
10843 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10844 xopen-msg.sed.
10845 * catgets/xopen-msg.awk: New file.
10846 * catgets/xopen-msg.sed: Removed.
10847
70d35b67
AS
10848 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10849 po2text.sed.
10850 * intl/po2test.awk: New file.
10851 * intl/po2test.sed: Removed.
10852
ca61cf32
JM
108532012-07-04 Joseph Myers <joseph@codesourcery.com>
10854
10855 [BZ #14328]
10856 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10857 or multiply small sinh result by itself.
10858 * math/s_ctanf.c (__ctanf): Likewise.
10859 * math/s_ctanh.c (__ctanh): Likewise.
10860 * math/s_ctanhf.c (__ctanhf): Likewise.
10861 * math/s_ctanhl.c (__ctanhl): Likewise.
10862 * math/s_ctanl.c (__ctanl): Likewise.
10863 * math/libm-test.inc (ctan_test_tonearest): New function.
10864 (ctan_test_towardzero): Likewise.
10865 (ctan_test_downward): Likewise.
10866 (ctan_test_upward): Likewise.
10867 (ctanh_test_tonearest): Likewise.
10868 (ctanh_test_towardzero): Likewise.
10869 (ctanh_test_downward): Likewise.
10870 (ctanh_test_upward): Likewise.
10871 (main): Call these new functions.
10872 * sysdeps/i386/fpu/libm-test-ulps: Update.
10873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10874
ca48a46a
MF
108752012-07-03 Mike Frysinger <vapier@gentoo.org>
10876
10877 * .gitignore: Delete /ports entry.
10878
9d63d37d
AJ
108792012-07-03 Andreas Jaeger <aj@suse.de>
10880
10881 * po/bg.po: Update from translation team.
10882 * po/cs.po: Likewise.
10883 * po/de.po: Likewise.
10884 * po/hr.po: Likewise.
10885 * po/nl.pl: Likewise.
10886 * po/pl.po: Likewise.
10887 * po/vi.po: Likewise.
10888
370ca3d2
JM
108892012-07-03 Joseph Myers <joseph@codesourcery.com>
10890
95f5a9a8
JM
10891 * Makeconfig [!+link] (+link-before-libc): New variable.
10892 [!+link] (+link-after-libc): Likewise.
10893 [!+link] (+link-tests): Likewise.
10894 [!+link] (+link): Define in terms of $(+link-before-libc) and
10895 $(+link-after-libc).
10896 [!+link-static] (+link-static-before-libc): New variable.
10897 [!+link-static] (+link-static-after-libc): Likewise.
10898 [!+link-static] (+link-static-tests): Likewise.
10899 [!+link-static] (+link-static): Define in terms of
10900 $(+link-static-before-libc) and $(+link-static-after-libc).
10901 [build-shared] (link-libc-before-gnulib): New variable.
10902 [build-shared] (link-libc-tests): Likewise.
10903 [build-shared] (link-libc): Define in terms of
10904 $(link-libc-before-gnulib).
10905 [!build-shared] (link-libc-tests): New variable.
10906 (link-libc-static-tests): New variable.
10907 [!gnulib] (gnulib-arch): New variable.
10908 [!gnulib] (gnulib-tests): Likewise.
10909 [!gnulib] (static-gnulib-arch): Likewise.
10910 [!gnulib] (static-gnulib-tests): Likewise.
10911 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10912 Define with "=" instead of ":=".
10913 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10914 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10915 * Rules (binaries-all-notests): New variable.
10916 (binaries-all-tests): Likewise.
10917 (binaries-static-notests): Likewise.
10918 (binaries-static-tests): Likewise.
10919 (binaries-all): Define using $(binaries-all-notests) and
10920 $(binaries-all-tests).
10921 (binaries-static): Define using $(binaries-static-notests) and
10922 $(binaries-static-tests).
10923 (binaries-shared-tests): New variable.
10924 (binaries-shared-notests): Likewise.
10925 (binaries-shared): Remove variable.
10926 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10927 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10928 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10929 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10930 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10931 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10932 * elf/Makefile (sln-modules): New variable.
10933 (extra-objs): Add $(sln-modules:=.o).
10934 (ldconfig-modules): Add static-stubs.
10935 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10936 * elf/static-stubs.c: New file.
10937
7a845b2c
JM
10938 [BZ #14283]
10939 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10940 by 7 not 8 to examine high bit of fractional part. Use volatile
10941 variables when splitting into final array of floats if
10942 __FLT_EVAL_METHOD__ != 0.
10943 * math/libm-test.inc (cos_test): Add another test.
10944 (sin_test): Likewise.
10945 * sysdeps/i386/fpu/libm-test-ulps: Update.
10946
e2283f38
JM
10947 [BZ #14273]
10948 * math/libm-test.inc (cosh_test): Add more tests.
10949
370ca3d2
JM
10950 * version.h (RELEASE): Set to "development".
10951 (VERSION): Set to "2.16.90".
10952
ee9247c3
CD
109532012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10954
10955 * NEWS: Update copyright. Remove last-updated date.
10956 Mention math library bug fixes and timezone data changes.
10957 * README: Mention GNU/Hurd, x32, and HPPA support status.
10958
4648c381
TS
109592012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10960
10961 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10962
aac78a43
AJ
109632012-06-27 Andreas Jaeger <aj@suse.de>
10964
10965 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10966
ed3dbfad
AJ
109672012-06-25 Andreas Jaeger <aj@suse.de>
10968
10969 * sysdeps/s390/fpu/libm-test-ulps: Update.
10970
4d0ee855
AS
109712012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10972 Thomas Schwinge <thomas@codesourcery.com>
10973
10974 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10975 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10976 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10977 fanotify_mark.
10978
af1bce34
TS
109792012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10980
a9fa33ba
TS
10981 * sysdeps/mach/start.c: Remove file.
10982 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10983 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10984 * sysdeps/sh/init-first.c: Likewise.
10985
58f902b8
TS
10986 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10987 registers for frame unwinding purposes, add CFI directives.
10988 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10989 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10990 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10991 Likewise.
10992
1518f58b
TS
10993 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10994 __fortify_fail returning.
10995 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10996
db9b5059
TS
10997 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10998 sysdeps/sh/____longjmp_chk.S.
10999 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11000 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11001 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11002 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11003
967705fe
TS
11004 * sysdeps/sh/abort-instr.h: New file.
11005 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11006 process in case exit returns.
11007
a9def8c4
TS
11008 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11009 initialize the GOT register before use.
11010
2a649725
TS
11011 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11012 calculation of ARGC > 4.
11013
af1bce34
TS
11014 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11015 meaningful names to some local labels.
11016
d230f50a
KK
110172012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11018 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11019
11020 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11021 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11022 (__arch_compare_and_exchange_val_16_acq): Likewise.
11023 (__arch_compare_and_exchange_val_32_acq): Likewise.
11024 (atomic_exchange_and_add): Fix gUSA sequence.
11025 (atomic_add): Likewise.
11026 (atomic_add_negative): Likewise.
11027 (atomic_add_zero): Likewise.
11028 (atomic_bit_test_set): Likewise.
11029
0479b305
AS
110302012-06-22 Andreas Schwab <schwab@redhat.com>
11031
11032 [BZ #13579]
11033 * include/link.h (struct link_map): Add l_free_initfini.
11034 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11035 l_initfini.
11036 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11037 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11038 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11039 set.
11040
0e3933b9
CD
110412012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11042
11043 * configure.in: Use AC_LANG_SOURCE.
11044 * configure: Regenerate.
11045
4248b1b1
RM
110462012-06-22 Roland McGrath <roland@hack.frob.com>
11047
11048 * configure.in (libc_cv_localstatedir): New substituted variable.
11049 * configure: Regenerated.
11050 * config.make.in (localstatedir): New variable, substituted from
11051 libc_cv_localstatedir.
11052 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11053 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11054 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11055 * sysdeps/gnu/configure: Regenerated.
11056
006dd861
JL
110572012-06-21 Jeff Law <law@redhat.com>
11058
11059 [BZ #14277]
11060 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11061 free. Simplify list management for _LIBC case.
11062
79662d42
JM
110632012-06-21 Joseph Myers <joseph@codesourcery.com>
11064
b7abb4bf
JM
11065 [BZ #14273]
11066 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11067 Clear sign bit of 64-bit integer value before comparing against
11068 overflow value.
11069
79662d42
JM
11070 * sysdeps/mach/configure: Regenerated.
11071
1f150908
L
110722012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11073
11074 [BZ #14278]
11075 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11076
28363bbf
JL
110772012-06-21 Jeff Law <law@redhat.com>
11078
11079 [BZ #13882]
11080 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11081 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11082 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11083 * elf/dl-open.c (dl_open_worker): Likewise.
11084
09615db4
CD
110852012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11086
11087 * scripts/list-sources.sh: Scan PORTS for translations.
11088 * po/libc.pot: Regenerated.
11089
2174c6dd
AJ
110902012-06-21 Andreas Jaeger <aj@suse.de>
11091
11092 [BZ #12194]
11093 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11094 warning.
11095 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11096 * bits/byteswap-16.h (__bswap_16): Likewise.
11097 * bits/byteswap.h (__bswap_constant_16): Likewise.
11098
3ee947b1
L
110992012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11100
11101 [BZ #14117]
a2f34833
L
11102 * sysdeps/i386/fpu_control.h: Removed.
11103 * sysdeps/x86_64/fpu_control.h: Moved to ...
11104 * sysdeps/x86/fpu_control.h: Here.
11105
3ee947b1
L
11106 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11107 (_FPU_SETCW): Likewise.
11108
ed1825f8
L
111092012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11110
25f1282a
L
11111 [BZ #14117]
11112 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11113 * sysdeps/x86/fpu/bits/mathinline.h: This.
11114 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11115
ed1825f8
L
11116 [BZ #14050]
11117 [BZ #14117]
11118 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11119 functions if __x86_64__ is defined.
11120
36d54b74
CLT
111212012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11122
11123 * string/endian.h: Add !__ASSEMBLER__ condition for including
11124 conversion interfaces.
11125
10285c21
JM
111262012-06-15 Joseph Myers <joseph@codesourcery.com>
11127
11128 [BZ #14241]
11129 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11130 of ABS(x) in calculating zero to negative powers other than odd
11131 integers.
11132 * math/libm-test.inc (pow_test): Add more tests.
11133
06c5abbd
AJ
111342012-06-15 Andreas Jaeger <aj@suse.de>
11135
11136 * manual/contrib.texi (Contributors): Update entry of Liubov
11137 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11138 Machado Filho.
11139
a3aeac40
CH
111402012-06-15 Cyril Hrubis <metan@ucw.cz>
11141
11142 * string/string.h: Add __wur to GNU version of strerror_r.
11143
49bdf4c1
L
111442012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11145
11146 [BZ #14229]
11147 * string/Makefile (tests): Add tst-strtok_r.
11148 * string/tst-strtok_r.c: New file.
11149 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11150 RAX_LP/RDX_LP on SAVE_PTR.
11151
834f9b8d
RM
111522012-06-14 Roland McGrath <roland@hack.frob.com>
11153
11154 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11155
75fa1921
JM
111562012-06-14 Joseph Myers <joseph@codesourcery.com>
11157
11158 * libm_test.inc (csqrt_test): Allow more spurious underflow
11159 exceptions.
11160 (j0_test): Likewise.
11161 (j1_test): Likewise.
11162 (y0_test): Likewise.
11163 (y1_test): Likewise.
11164
771766df
CD
111652012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11166
11167 * po/Makefile (libc.pot): Use UTF-8 charset.
11168
ceb9e56b
PP
111692012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11170
11171 [BZ #14210]
11172 Suppress sign-conversion warning from FD_SET.
11173 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11174 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11175 not unsigned long int.
11176 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11177
ddb28975
L
111782012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11179
11180 [BZ #14050]
11181 [BZ #14117]
11182 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11183 __extern_always_inline instead of __extern_inline.
11184 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11185 (__signbit): Likewise.
11186 (__signbitl): Support C++ namespace.
11187 (lrintf): New inline function.
11188 (lrint): Likewise.
11189 (llrintf): Likewise.
11190 (llrint): Likewise.
11191 (fmaxf): Likewise.
11192 (fmax): Likewise.
11193 (fminf): Likewise.
11194 (fmin): Likewise.
11195 (rint): Likewise.
11196 (rintf): Likewise.
11197 (ceil): Likewise.
11198 (ceilf): Likewise.
11199 (floor): Likewise.
11200 (floorf): Likewise.
11201 (nearbyint): Likewise.
11202 (nearbyintf): Likewise.
11203
d7b4fb26
TS
112042012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11205
11206 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11207 non-default versions.
11208
eb55f5c2
RM
112092012-06-11 Roland McGrath <roland@hack.frob.com>
11210
11211 [BZ #14218]
11212 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11213
366af02c
TS
112142012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11215
99ff6e5c
TS
11216 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11217 (FE_UPWARD, FE_DOWNWARD): Don't define.
11218 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11219 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11220
366af02c
TS
11221 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11222 reading it.
11223 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11224 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11225
793ea851
KK
112262012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11227
11228 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11229 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11230 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11231 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11232
a728a38f
L
112332012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11234
11235 [BZ #14117]
c08010c7
L
11236 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11237 * sysdeps/i386/fpu/Implies: New file.
11238 * sysdeps/x86_64/fpu/Implies: Likewise.
11239 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11240 * sysdeps/x86/fpu/bits/fenv.h: This.
11241
a728a38f
L
11242 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11243 __SSE_MATH__.
11244
6e230d11
SP
112452012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11246
11247 [BZ #14134]
11248 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11249 character 0xffff that matches the last element of the
11250 conversion table.
11251
1b671feb
AZ
112522012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11253
11254 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11255 fmodl commit.
11256
6043738b
AZ
112572012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11258
11259 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11260 values higher than 25.6283.
11261
34ae0b32
AZ
112622012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11263
11264 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11265 subnormal exponent extraction and add some __builtin_expect.
11266 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11267 Fix for subnormal mantissa calculation.
11268
1214ec8f
MF
112692012-06-04 Mike Frysinger <vapier@gentoo.org>
11270
11271 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11272 cpu2 is -1 and errno is not ENOSYS.
11273
f3d1f93c
L
112742012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11275
11276 [BZ #14117]
0e4a3cd7
L
11277 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11278 * sysdeps/x86/bits/string.h: This.
11279 * sysdeps/x86_64/bits/string.h: Removed.
11280
6704c645
L
11281 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11282 if not compiling for x86-64, but compiling for >= i486.
11283
48495318
L
11284 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11285 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11286
14adcbfc
L
11287 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11288 New macro from Linux kernel 3.4.0.
11289 (FP_XSTATE_MAGIC2): Likewise.
11290 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11291 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11292 (struct _fpx_sw_bytes): New struct.
11293 (struct _xsave_hdr): Likewise.
11294 (struct _ymmh_state): Likewise.
11295 (struct _xstate): Likewise.
11296
68e408ab
L
11297 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11298 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11299 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11300 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11301 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11302 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11303
f3d1f93c
L
11304 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11305 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11306 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11307 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11308 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11309 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11310
d9dc34cd
TMQMF
113112012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11312
11313 [BZ #13743]
11314 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11315 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11316 (sysdep_headers): Include sys/platform/ppc.h.
11317 * sysdeps/powerpc/test-gettimebase.c: Test for
11318 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11319 * manual/Makefile (appendices): Include platform.texi.
11320 * manual/contrib.texi (Contributors): Update @node pointers.
11321 * manual/maint.texi (Maintenance): Likewise.
11322 (Platform): New node.
11323 * manual/platform.texi: New file. Document the new features.
11324
4af3879c
SP
113252012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11326 Jakub Jelinek <jakub@redhat.com>
11327
11328 [BZ #14188]
11329 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11330 where __builtin_expect is unavailable.
11331
2fd6ff13
DM
113322012-06-03 David S. Miller <davem@davemloft.net>
11333
11334 * stdlib/longlong.h: Updated from GCC.
11335
173f7220
AS
113362012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11337
11338 [BZ #14042]
11339 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11340 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11341 __mcount_internal.
11342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11343 (GLIBC_2.16): Likewise.
11344
f34a1c6f
L
113452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11346
11347 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11348
88a4576f
JM
113492012-06-01 Joseph Myers <joseph@codesourcery.com>
11350
ea32bcdd
JM
11351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11352 (default-abi): New variable.
11353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11354 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11355 variable.
11356 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11357 Likewise.
11358 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11359 Likewise.
11360 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11361 Likewise.
11362
88a4576f
JM
11363 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11364 definition. Document in comment.
11365
402fe938
DM
113662012-06-01 David S. Miller <davem@davemloft.net>
11367
11368 * stdlib/longlong.h: Updated from GCC.
11369
3553723f
L
113702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11371
11372 [BZ #14117]
3bd872c4
L
11373 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11374 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11375 sys/debugreg.h sys/io.h here.
11376 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11377 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11378 sys/io.h.
11379 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11380 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11381 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11382 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11383 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11384 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11385
3553723f
L
11386 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11387 Define only if __x86_64__ is defined.
11388
4842e4fe
JM
113892012-06-01 Joseph Myers <joseph@codesourcery.com>
11390
c5bfe3d5
JM
11391 [BZ #14048]
11392 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11393 Use int64_t for variable i.
11394 * math/libm-test.inc (fmod_test): Add more tests.
11395
4842e4fe
JM
11396 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11397 z computation is not scheduled after fetestexcept.
11398 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11399 Use math_force_eval instead of asm to ensure calculation scheduled
11400 before exception test.
11401 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11402 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11403
efb73488
AJ
114042012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11405
11406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11407 computation is not scheduled after fetestexcept.
11408
29bcce7c
L
114092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11410
11411 [BZ #14117]
11412 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11413 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11414
73a68f94
AZ
114152012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11416
11417 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11418 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11419
67b6df78
L
114202012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11421
edf2933a 11422 [BZ #14117]
ebc64a18
L
11423 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11424 <bits/wordsize.h>.
11425 (__WCHAR_MIN): Support __WORDSIZE == 64.
11426 (__WCHAR_MAX): Likewise.
11427
edf2933a
L
11428 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11429 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11430
57c6cf40
L
11431 [BZ #14183]
11432 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11433 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11434
67b6df78 11435 [BZ #14117]
8eb6281e
L
11436 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11437 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11438
aac639f4
L
11439 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11440 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11441
67b6df78
L
11442 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11443 Defined to 1 if __x86_64__ isn't defined.
11444 (_STAT_VER_LINUX_OLD): New.
11445 (st_atime): Remove duplicate.
11446 (st_mtime): Likewise.
11447 (st_ctime): Likewise.
11448
1c2cfe81
DM
114492012-05-31 David S. Miller <davem@davemloft.net>
11450
11451 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11452 entries.
11453
5be8418c
AS
114542012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11455
e7725326
AS
11456 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11457 gen-libm-test.pl.
11458
5be8418c
AS
11459 [BZ #14132]
11460 * elf/dl-reloc.c: Include <_itoa.h>.
11461 (_dl_reloc_bad_type): Remove use of INTUSE.
11462 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11463 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11464 * stdio-common/psiginfo.c (psiginfo): Likewise.
11465 * stdio-common/psignal.c (psignal): Likewise.
11466 * string/strsignal.c (strsignal): Likewise.
11467 * include/signal.h (_sys_siglist): Declare hidden proto.
11468 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11469 INTVARDEF with libc_hidden_data_def.
11470 * stdio-common/itoa-udigits.c: Likewise.
11471 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11472 (_itoa_lower_digits_internal): Remove declaration.
11473 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11474 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11475 (_sys_sigabbrev_internal): Remove aliases.
11476 (_sys_siglist): Define hidden alias.
11477
507352f1
MT
114782012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11479
11480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11481 bits/sysctl.h.
11482
42bbb1c3
L
114832012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11484
11485 [BZ #14117]
6bd784b6
L
11486 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11487 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11488
8bca20f0
L
11489 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11490 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11491 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11492 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11493 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11494 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11495
f9e890a9
L
11496 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11497 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11498 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11499
471101a1
L
11500 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11501 with __addr.
11502 (insw): Likewise.
11503 (insl): Likewise.
11504 (outsb): Likewise.
11505 (outsw): Likewise.
11506 (outsl): Likewise.
11507
6451c862
L
11508 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11509 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11510 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11511
a254b8c9
L
11512 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11513 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11514 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11515 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11516 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11517 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11518
b8dfdd92
L
11519 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11520 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11521
578cd270
L
11522 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11523 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11524
de662f5f
L
11525 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11526 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11527 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11528
25653439
L
11529 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11530 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11531 to ...
11532 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11533
6bad24a0
L
11534 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11535 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11536 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11537
42bbb1c3
L
11538 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11539 for x86-64.
11540 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11541
2d10d547
JM
115422012-05-31 Joseph Myers <joseph@codesourcery.com>
11543
11544 * math/math.h (M_El): Use two more decimal places.
11545 (M_LOG2El): Likewise.
11546 (M_LOG10El): Likewise.
11547 (M_LN2l): Likewise.
11548 (M_LN10l): Likewise.
11549 (M_PIl): Likewise.
11550 (M_PI_2l): Likewise.
11551 (M_PI_4l): Likewise.
11552 (M_1_PIl): Likewise.
11553 (M_2_PIl): Likewise.
11554 (M_2_SQRTPIl): Likewise.
11555 (M_SQRT2l): Likewise.
11556 (M_SQRT1_2l): Likewise.
11557
f230c29b
DM
115582012-05-31 David S. Miller <davem@davemloft.net>
11559
11560 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11561 values between float registers.
11562 * sysdeps/sparc/sparc64/memset.S: Likewise.
11563 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11564
fed806c3
MF
115652012-05-31 Mike Frysinger <vapier@gentoo.org>
11566
11567 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11568 -D_FORTIFY_SOURCE=1.
11569 (CPPFLAGS-tst-longjmp_chk.c): Define.
11570 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11571 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11572 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11573 CFLAGS-tst-wchar-h.c.
11574
30917259
MP
115752012-05-31 Marek Polacek <polacek@redhat.com>
11576
11577 [BZ #14132]
11578 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11579 __endmntent_internal): Remove declaration.
11580 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11581 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11582 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11583
1c58d5dc
DM
115842012-05-30 David S. Miller <davem@davemloft.net>
11585
11586 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11587 (___Q_simulate_exceptions): Use real FP ops rather than writing
11588 into the %fsr.
11589 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11590 Likewise.
11591
7dc00e0d
L
115922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11593
11594 [BZ #14117]
0bd53985
L
11595 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11596 * sysdeps/x86/bits/xtitypes.h: This.
11597
3a257e66
L
11598 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11599 * sysdeps/x86/bits/wordsize.h: This.
11600
62f62904
L
11601 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11602 * sysdeps/x86/bits/huge_vall.h: This.
11603
404fe9d9
L
11604 * sysdeps/i386/bits/select.h: Removed.
11605 * sysdeps/x86_64/bits/select.h: Renamed to ...
11606 * sysdeps/x86/bits/select.h: This.
11607
d48d0446
L
11608 * sysdeps/i386/bits/setjmp.h: Removed.
11609 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11610 * sysdeps/x86/bits/setjmp.h: This.
11611
7dc00e0d
L
11612 * sysdeps/i386/bits/mathdef.h: Removed.
11613 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11614 * sysdeps/x86/bits/mathdef.h: This.
11615
03277f8f
AS
116162012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11617
11618 [BZ #14132]
11619 * include/sys/socket.h (__connect_internal)
11620 (__libc_sa_len_internal): Remove declaration.
11621 (__connect, __libc_sa_len): Declare hidden_proto.
11622 (SA_LEN): Remove use of INTUSE.
11623 * socket/connect.c: Add libc_hidden_def.
11624 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11625 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11626 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11627 alias.
11628 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11629 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11630 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11631 of adding _internal alias.
11632
13764867
L
116332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11634
11635 [BZ #14117]
6bd97696
L
11636 * sysdeps/i386/bits/link.h: Removed.
11637 * sysdeps/i386/bits/linkmap.h: Likewise.
11638 * sysdeps/x86_64/bits/link.h: Renamed to ...
11639 * sysdeps/x86/bits/link.h: This.
11640 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11641 * sysdeps/x86/bits/linkmap.h: This.
11642
f726f0bb
L
11643 * sysdeps/i386/bits/endian.h: Removed.
11644 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11645 * sysdeps/x86/bits/endian.h: This.
11646
13764867
L
11647 * sysdeps/i386/bits/byteswap.h: Removed.
11648 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11649 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11650 * sysdeps/x86/bits/byteswap.h: This.
11651 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11652 * sysdeps/x86/bits/byteswap-16.h: This.
11653 * sysdeps/i386/Implies: Add x86.
11654 * sysdeps/x86_64/Implies: Likewise.
11655
ae251b0b
DM
116562012-05-30 David S. Miller <davem@davemloft.net>
11657
11658 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11659 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11660 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11661 (FP_TRAPPING_EXCEPTIONS): Define.
11662 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11663 (FP_TRAPPING_EXCEPTIONS): Define.
11664 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11665 subnormals only when inexact has been signalled or underflow
11666 exceptions are enabled.
11667 (_FP_PACK_CANONICAL): Likewise.
11668
d5c90867
L
116692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11670
11671 [BZ #14183]
11672 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11673 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11674
63f1549e
RH
116752012-05-30 Richard Henderson <rth@twiddle.net>
11676
8d8f2279
RH
11677 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11678 with #ifndef NOT_IN_libc.
11679
63f1549e
RH
11680 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11681 marked to avoid plt entry.
11682
0ab0291b
L
116832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11684
11685 [BZ #14112]
11686 * Makeconfig (default-abi): New macro.
11687 (abi-includes): Likewise.
11688 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11689 $(abi-$(default-abi)-lib-soname) for soname if defined.
11690 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11691 abi-variants.
11692 * Makefile (installed-stubs): Likewise.
11693 * include/stubs-biarch.h: Removed.
11694 * scripts/lib-names.awk: Only handle one library at a time.
11695 * scripts/soversions.awk: Remove WORDSIZE support.
11696 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11697 entries.
11698 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11699 Removed.
11700 (syscall-list-default-condition): Likewise.
11701 (syscall-list-default-condition): Likewise.
11702 (syscall-list-includes): Likewise.
11703 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11704 syscall-list-* with abi-*. Handle undefined abi-variants.
11705 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11706 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11707 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11708 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11709 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11710 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11711 Removed.
11712 (syscall-list-32-options): Likewise.
11713 (syscall-list-32-condition): Likewise.
11714 (syscall-list-64-options): Likewise.
11715 (syscall-list-64-condition): Likewise.
11716 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11717 macro.
11718 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11719 Renamed to ...
11720 (abi-*): This.
11721 (abi-64-ld-soname): New macro.
11722 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11723 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11724 Renamed to ...
11725 (abi-*): This.
11726 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11727 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11728
4da0431d
JM
117292012-05-30 Joseph Myers <joseph@codesourcery.com>
11730
3a85279c
JM
11731 * sysdeps/unix/sysv/linux/kernel-features.h
11732 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11733 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11734 include <kernel-features.h>.
11735 [!__NR_ftruncate64]: Remove conditional code.
11736 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11737 [__NR_ftruncate64]: Make code unconditional.
11738 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11739 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11740 include <kernel-features.h>.
11741 [!__NR_ftruncate64]: Remove conditional code.
11742 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11743 [__NR_ftruncate64]: Make code unconditional.
11744 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11746 include <kernel-features.h>.
11747 [!__NR_ftruncate64]: Remove conditional code.
11748 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11749 [__NR_ftruncate64]: Make code unconditional.
11750 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11752 include <kernel-features.h>.
11753 [!__NR_ftruncate64]: Remove conditional code.
11754 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11755 [__NR_ftruncate64]: Make code unconditional.
11756 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11757
4da0431d
JM
11758 * configure.in (libc_cv_fpie): Weaken to a compile test using
11759 LIBC_TRY_CC_OPTION.
11760 * configure: Regenerated.
11761
11ef492c
AK
117622012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11763
11764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11768 Refreshed.
11769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11775 Refreshed.
11776
d66ef399
DM
117772012-05-27 David S. Miller <davem@davemloft.net>
11778
11779 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11780 (___Q_zero): New.
11781 (__Q_simulate_exceptions): Return void. Change to simulate
11782 exceptions by writing into the %fsr.
11783 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11784 (__Qp_handle_exceptions): Likewise.
11785 (numbers): Delete.
11786 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11787 __Qp_handle_exceptions.
11788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11789 __Qp_handle_exceptions.
11790 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11791 as unused and give dummy FP_RND_NEAREST initializer.
11792 (FP_INHIBIT_RESULTS): Define.
11793 (___Q_simulate_exceptions): Update declaration.
11794 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11795 formatting.
11796 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11797 as unused and give dummy FP_RND_NEAREST initializer.
11798 (__Qp_handle_exceptions): Update declaration.
11799 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11800 formatting.
11801
04fb54b5
TS
118022012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11803
11804 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11805 the temporary FPU control word.
11806 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11807 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11808 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11809 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11810 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11811 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11812 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11813 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11814 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11815 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11816 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11817
3f99608f
KK
118182012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11819
11820 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11821 fields.
11822
65a4de4e
CLT
118232012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11824
11825 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11826 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11827 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11828 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11829 Likewise.
11830 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11831 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11832 Likewise.
11833
15749d40
UD
118342012-05-27 Ulrich Drepper <drepper@gmail.com>
11835
11836 * po/h.po: Update from translation team.
11837
25dbcb27
AS
118382012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11839
3d3f8e55
AS
11840 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11841
25dbcb27
AS
11842 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11843 handling of denormals.
11844 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11845 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11846 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11847 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11848 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11849 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11850 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11851 Likewise.
11852
7ad47a80 118532012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11854
11855 [BZ #14152]
11856 * math/libm-test.inc (fma_test): Don't always expect underflow
11857 exception.
11858
9c6ea9fa
SP
118592012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11860
11861 [BZ #12416]
11862 * elf/tst-execstack.c: Include stackinfo.h.
11863 (do_test): Adjust test case to ensure that pthread_getattr_np
11864 behaviour remains the same after marking stack executable.
11865
a8239222
JM
118662012-05-25 Joseph Myers <joseph@codesourcery.com>
11867
11868 * sysdeps/unix/sysv/linux/kernel-features.h
11869 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11870 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11871 kernel-features.h.
11872 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11873 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11874 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11875 kernel-features.h.
11876 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11877 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11878
918b5606
L
118792012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11880
11881 * configure.in: Define the default includes to being none.
11882 * configure: Regenerated.
11883
3a097cc7
RM
118842012-05-25 Roland McGrath <roland@hack.frob.com>
11885
8422c9a5
RM
11886 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11887 * sysdeps/x86_64/setjmp.S: Likewise.
11888 * sysdeps/i386/bsd-setjmp.S: Likewise.
11889 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11890 * sysdeps/i386/setjmp.S: Likewise.
11891 * sysdeps/i386/__longjmp.S: Likewise.
11892 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11893 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11894
3a097cc7
RM
11895 * include/stap-probe.h: New file.
11896 * configure.in: Handle --enable-systemtap.
11897 * configure: Regenerated.
11898 * config.h.in (USE_STAP_PROBE): New #undef.
11899 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11900 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11901 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11902
21708942
JM
119032012-05-25 Joseph Myers <joseph@codesourcery.com>
11904
11905 [BZ #13717]
11906 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11907 to 2.4.0 where earlier.
11908 * sysdeps/unix/sysv/linux/configure: Regenerated.
11909 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11910 <kernel-features.h>.
11911 [__ASSUME_32BITUIDS]: Make code unconditional.
11912 [!__ASSUME_32BITUIDS]: Remove conditional code.
11913 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11914 <kernel-features.h>.
11915 [__ASSUME_32BITUIDS]: Make code unconditional.
11916 [!__ASSUME_32BITUIDS]: Remove conditional code.
11917 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11918 [__ASSUME_32BITUIDS]: Make code unconditional.
11919 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11920 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11921 <kernel-features.h>.
11922 [__ASSUME_32BITUIDS]: Make code unconditional.
11923 [!__ASSUME_32BITUIDS]: Remove conditional code.
11924 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11925 <kernel-features.h>.
11926 [__ASSUME_32BITUIDS]: Make code unconditional.
11927 [!__ASSUME_32BITUIDS]: Remove conditional code.
11928 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11929 <kernel-features.h>.
11930 [__ASSUME_32BITUIDS]: Make code unconditional.
11931 [!__ASSUME_32BITUIDS]: Remove conditional code.
11932 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11933 <kernel-features.h>.
11934 [__ASSUME_32BITUIDS]: Make code unconditional.
11935 [!__ASSUME_32BITUIDS]: Remove conditional code.
11936 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11937 <kernel-features.h>.
11938 [__ASSUME_32BITUIDS]: Make code unconditional.
11939 [!__ASSUME_32BITUIDS]: Remove conditional code.
11940 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11941 <kernel-features.h>.
11942 [__ASSUME_32BITUIDS]: Make code unconditional.
11943 [!__ASSUME_32BITUIDS]: Remove conditional code.
11944 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11945 <kernel-features.h>.
11946 [__ASSUME_32BITUIDS]: Make code unconditional.
11947 [!__ASSUME_32BITUIDS]: Remove conditional code.
11948 * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
11961 <kernel-features.h>.
11962 [__NR_setresgid] (__setresgid): Do not declare.
11963 [__ASSUME_32BITUIDS]: Make code unconditional.
11964 [!__ASSUME_32BITUIDS]: Remove conditional code.
11965 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11966 <kernel-features.h>.
11967 [__NR_setresuid] (__setresuid): Do not declare.
11968 [__ASSUME_32BITUIDS]: Make code unconditional.
11969 [!__ASSUME_32BITUIDS]: Remove conditional code.
11970 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11971 <kernel-features.h>.
11972 [__ASSUME_32BITUIDS]: Make code unconditional.
11973 [!__ASSUME_32BITUIDS]: Remove conditional code.
11974 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11975 <kernel-features.h>.
11976 [__ASSUME_32BITUIDS]: Make code unconditional.
11977 [!__ASSUME_32BITUIDS]: Remove conditional code.
11978 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11979 <kernel-features.h>.
11980 [__ASSUME_32BITUIDS]: Make code unconditional.
11981 [!__ASSUME_32BITUIDS]: Remove conditional code.
11982 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11983 <kernel-features.h>.
11984 [__ASSUME_32BITUIDS]: Make code unconditional.
11985 [!__ASSUME_32BITUIDS]: Remove conditional code.
11986 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11987 <kernel-features.h>.
11988 [__ASSUME_32BITUIDS]: Make code unconditional.
11989 [!__ASSUME_32BITUIDS]: Remove conditional code.
11990 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11991 <kernel-features.h>.
11992 [__ASSUME_32BITUIDS]: Make code unconditional.
11993 [!__ASSUME_32BITUIDS]: Remove conditional code.
11994 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11995 <kernel-features.h>.
11996 [__ASSUME_32BITUIDS]: Make code unconditional.
11997 [!__ASSUME_32BITUIDS]: Remove conditional code.
11998 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11999 <kernel-features.h>.
12000 [__ASSUME_32BITUIDS]: Make code unconditional.
12001 [!__ASSUME_32BITUIDS]: Remove conditional code.
12002 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12003 <kernel-features.h>.
12004 [__ASSUME_32BITUIDS]: Make code unconditional.
12005 [!__ASSUME_32BITUIDS]: Remove conditional code.
12006 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12007 <kernel-features.h>.
12008 [__ASSUME_32BITUIDS]: Make code unconditional.
12009 [!__ASSUME_32BITUIDS]: Remove conditional code.
12010 * sysdeps/unix/sysv/linux/kernel-features.h
12011 (__ASSUME_SETRESUID_SYSCALL): Remove.
12012 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12013 (__ASSUME_32BITUIDS): Likewise.
12014 (__ASSUME_LDT_WORKS): Likewise.
12015 (__ASSUME_O_DIRECTORY): Likewise.
12016 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12017 architecture but not kernel version.
12018 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12019 (__ASSUME_MMAP2_SYSCALL): Likewise.
12020 (__ASSUME_STAT64_SYSCALL): Likewise.
12021 (__ASSUME_IPC64): Likewise.
12022 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12023 <kernel-features.h>.
12024 [__ASSUME_32BITUIDS]: Make code unconditional.
12025 [!__ASSUME_32BITUIDS]: Remove conditional code.
12026 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12027 <kernel-features.h>.
12028 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12029 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12030 132096]: Remove conditional code.
12031 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12032 * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-32/lchown.c: Do not include
12037 <kernel-features.h>.
12038 [__ASSUME_32BITUIDS]: Make code unconditional.
12039 [!__ASSUME_32BITUIDS]: Remove conditional code.
12040 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12041 <kernel-features.h>.
12042 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12043 unconditional.
12044 (__setresgid): Do not declare.
12045 [__ASSUME_32BITUIDS]: Make code unconditional.
12046 [!__ASSUME_32BITUIDS]: Remove conditional code.
12047 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12048 <kernel-features.h>.
12049 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12050 unconditional.
12051 (__setresuid): Do not declare.
12052 [__ASSUME_32BITUIDS]: Make code unconditional.
12053 [!__ASSUME_32BITUIDS]: Remove conditional code.
12054 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12055 <kernel-features.h>.
12056 [__ASSUME_32BITUIDS]: Make code unconditional.
12057 [!__ASSUME_32BITUIDS]: Remove conditional code.
12058 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12059 <kernel-features.h>.
12060 [__ASSUME_32BITUIDS]: Make code unconditional.
12061 [!__ASSUME_32BITUIDS]: Remove conditional code.
12062
a386f1cc
RH
120632012-05-25 Richard Henderson <rth@twiddle.net>
12064
12065 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12066 dl_hwcap to ifunc resolver.
12067 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12068 elf_ifunc_invoke.
12069 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12070 dl_hwcap to ifunc resolver.
12071 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12072
b6550497
JM
120732012-05-24 Joseph Myers <joseph@codesourcery.com>
12074
12075 [BZ #14153]
12076 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12077 for |x| <= 2**-26, not 2**-57.
12078 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12079 exception.
12080
b0bc23a1
JL
120812012-05-24 Jeff Law <law@redhat.com>
12082
12083 * stdio-common/Makefile (tests): Add bug25.
12084 * stdio-common/bug25.c: New test.
12085
347c92e9
L
120862012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12087
12088 [BZ #13576]
12089 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12090 multiple of MALLOC_ALIGNMENT in size.
12091 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12092
6bcc8b3f
JM
120932012-05-24 Joseph Myers <joseph@codesourcery.com>
12094
12095 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12096 Require >= 256.
12097 (FILENAME_MAX): Use macro-int-constant.
12098 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12099 (_IOFBF): Use macro-int-constant.
12100 (_IOLBF): Likewise.
12101 (_IONBF): Likewise.
12102 (SEEK_CUR): Likewise.
12103 (SEEK_END): Likewise.
12104 (SEEK_SET): Likewise.
12105 (TMP_MAX): Likewise.
12106 (EOF): Use macro-int-constant. Require < 0.
12107 (NULL): Use macro-constant. Require == 0.
12108 (stdin): Require type to be FILE *.
12109 (stdout): Likewise.
12110 (stderr): Likewise.
12111 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12112 macro-int-constant.
12113 (EXIT_SUCCESS): Likewise.
12114 (NULL): Use macro-constant. Require == 0.
12115 (RAND_MAX): Use macro-int-constant.
12116 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12117 [C99-based standards] (strtof): Require function.
12118 [C99-based standards] (strtold): Likewise.
12119 [C99-based standards] (strtoll): Likewise.
12120 [C99-based standards] (strtoull): Likewise.
12121 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12122 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12123 [ISO || ISO99 || ISO11] (math.h): Likewise.
12124 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12125 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12126 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12127
d18ea0c5
AS
121282012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12129
12130 [BZ #14132]
56d25bb8
AS
12131 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12132 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12133 * intl/dgettext.c (DCGETTEXT): Likewise.
12134 * intl/gettext.c (DCGETTEXT): Likewise.
12135 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12136 * posix/regex_internal.h (gettext): Likewise.
12137 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12138 Remove declaration.
12139 * include/argz.h (__argz_count_internal)
12140 (__argz_stringify_internal): Remove declaration.
12141 (__argz_count, __argz_stringify): Declare hidden proto.
12142 * intl/dcgettext.c: Remove use of INTDEF.
12143 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12144 * string/argz-stringify.c: Likewise.
12145 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12146 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12147 Declare hidden proto.
d18ea0c5
AS
12148 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12149 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12150 Declare hidden proto.
12151 * include/stdio.h (__asprintf_internal): Don't declare.
12152 (__asprintf): Don't define as macro. Declare hidden proto.
12153 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12154 (__fsetlocking): Declare hidden proto.
12155 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12156 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12157 hidden proto.
12158 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12159 (_IO_setlinebuf): Remove use of INTUSE.
12160 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12161 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12162 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12163 Remove declaration.
12164 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12165 (_IO_do_flush): Remove use of INTUSE.
12166 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12167 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12168 (_IO_adjust_column, _IO_least_wmarker)
12169 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12170 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12171 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12172 (_IO_default_doallocate, _IO_wdefault_doallocate)
12173 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12174 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12175 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12176 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12177 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12178 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12179 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12180 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12181 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12182 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12183 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12184 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12185 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12186 proto.
12187 (_IO_flush_all_internal, _IO_adjust_column_internal)
12188 (_IO_default_uflow_internal, _IO_default_finish_internal)
12189 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12190 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12191 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12192 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12193 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12194 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12195 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12196 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12197 (_IO_file_close_internal, _IO_file_close_it_internal)
12198 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12199 (_IO_file_init_internal, _IO_file_attach_internal)
12200 (_IO_file_fopen_internal, _IO_file_read_internal)
12201 (_IO_file_sync_internal, _IO_file_seek_internal)
12202 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12203 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12204 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12205 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12206 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12207 (_IO_list_all_internal, _IO_link_in_internal)
12208 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12209 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12210 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12211 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12212 (_IO_do_write_internal, _IO_padn_internal)
12213 (_IO_getline_info_internal, _IO_getline_internal)
12214 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12215 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12216 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12217 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12218 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12219 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12220 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12221 with libc_hidden_ver, remove use of INTUSE.
12222 * libio/genops.c: Likewise.
12223 * libio/freopen.c: Likewise.
12224 * libio/freopen64.c: Likewise.
12225 * libio/iofclose.c: Likewise.
12226 * libio/iofdopen.c: Likewise.
12227 * libio/iofflush.c: Likewise.
12228 * libio/iofflush_u.c: Likewise.
12229 * libio/iofgets.c: Likewise.
12230 * libio/iofgets_u.c: Likewise.
12231 * libio/iofopen.c: Likewise.
12232 * libio/iofopncook.c: Likewise.
12233 * libio/iofread.c: Likewise.
12234 * libio/iofread_u.c: Likewise.
12235 * libio/ioftell.c: Likewise.
12236 * libio/iofwrite.c: Likewise.
12237 * libio/iogetline.c: Likewise.
12238 * libio/iogets.c: Likewise.
12239 * libio/iogetwline.c: Likewise.
12240 * libio/iopadn.c: Likewise.
12241 * libio/iopopen.c: Likewise.
12242 * libio/ioseekoff.c: Likewise.
12243 * libio/ioseekpos.c: Likewise.
12244 * libio/iosetbuffer.c: Likewise.
12245 * libio/iosetvbuf.c: Likewise.
12246 * libio/ioungetc.c: Likewise.
12247 * libio/ioungetwc.c: Likewise.
12248 * libio/iovdprintf.c: Likewise.
12249 * libio/iovsprintf.c: Likewise.
12250 * libio/iovsscanf.c: Likewise.
12251 * libio/memstream.c: Likewise.
12252 * libio/obprintf.c: Likewise.
12253 * libio/oldfileops.c: Likewise.
12254 * libio/oldiofclose.c: Likewise.
12255 * libio/oldiofdopen.c: Likewise.
12256 * libio/oldiofopen.c: Likewise.
12257 * libio/oldiopopen.c: Likewise.
12258 * libio/oldstdfiles.c: Likewise.
12259 * libio/putc.c: Likewise.
12260 * libio/setbuf.c: Likewise.
12261 * libio/setlinebuf.c: Likewise.
12262 * libio/stdfiles.c: Likewise.
12263 * libio/strops.c: Likewise.
12264 * libio/vasprintf.c: Likewise.
12265 * libio/vscanf.c: Likewise.
12266 * libio/vsnprintf.c: Likewise.
12267 * libio/vswprintf.c: Likewise.
12268 * libio/wfiledoalloc.c: Likewise.
12269 * libio/wfileops.c: Likewise.
12270 * libio/wgenops.c: Likewise.
12271 * libio/wmemstream.c: Likewise.
12272 * libio/wstrops.c: Likewise.
12273 * libio/__fpurge.c: Likewise.
12274 * libio/__fsetlocking.c: Likewise.
12275 * assert/assert.c: Likewise.
12276 * debug/fgets_chk.c: Likewise.
12277 * debug/fgets_u_chk.c: Likewise.
12278 * debug/fread_chk.c: Likewise.
12279 * debug/fread_u_chk.c: Likewise.
12280 * debug/gets_chk.c: Likewise.
12281 * debug/obprintf_chk.c: Likewise.
12282 * debug/vasprintf_chk.c: Likewise.
12283 * debug/vdprintf_chk.c: Likewise.
12284 * debug/vsnprintf_chk.c: Likewise.
12285 * debug/vsprintf_chk.c: Likewise.
12286 * malloc/mtrace.c: Likewise.
12287 * misc/error.c: Likewise.
12288 * misc/syslog.c: Likewise.
12289 * stdio-common/asprintf.c: Likewise.
12290 * stdio-common/fxprintf.c: Likewise.
12291 * stdio-common/getw.c: Likewise.
12292 * stdio-common/isoc99_fscanf.c: Likewise.
12293 * stdio-common/isoc99_scanf.c: Likewise.
12294 * stdio-common/isoc99_vfscanf.c: Likewise.
12295 * stdio-common/isoc99_vscanf.c: Likewise.
12296 * stdio-common/isoc99_vsscanf.c: Likewise.
12297 * stdio-common/printf-prs.c: Likewise.
12298 * stdio-common/printf_fp.c: Likewise.
12299 * stdio-common/printf_fphex.c: Likewise.
12300 * stdio-common/printf_size.c: Likewise.
12301 * stdio-common/putw.c: Likewise.
12302 * stdio-common/scanf.c: Likewise.
12303 * stdio-common/sprintf.c: Likewise.
12304 * stdio-common/tmpfile.c: Likewise.
12305 * stdio-common/vfprintf.c: Likewise.
12306 * stdio-common/vfscanf.c: Likewise.
12307 * stdlib/strfmon_l.c: Likewise.
12308 * sunrpc/openchild.c: Likewise.
12309 * sunrpc/xdr_stdio.c: Likewise.
12310 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12311 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12312
d6c33fda
RM
123132012-05-24 Roland McGrath <roland@hack.frob.com>
12314
c1487492
RM
12315 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12316
12317 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12318 in the third column, to generate for the shared library an IFUNC
12319 that uses _dl_vdso_vsym.
12320 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12321 * Makeconfig (object-suffixes-noshared): New variable.
12322
12323 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12324 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12325 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12326 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12327
d6c33fda
RM
12328 [BZ #14132]
12329 * include/sys/time.h (__gettimeofday): Remove macro.
12330 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12331 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12332 Remove INTDEF.
12333 (__gettimeofday): Add libc_hidden_def.
12334 (gettimeofday): Add libc_hidden_weak.
12335 * sysdeps/mach/gettimeofday.c: Likewise.
12336 * sysdeps/posix/gettimeofday.c: Likewise.
12337 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12338 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12339 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12340 (__gettimeofday_internal): Remove strong_alias.
12341 (__gettimeofday): Add libc_hidden_def.
12342 (gettimeofday): Add libc_hidden_weak.
12343 * sysdeps/unix/syscalls.list (gettimeofday):
12344 Remove __gettimeofday_internal alias.
12345
b5a2bbe6
L
123462012-05-24 Daniel Jacobowitz <drow@false.org>
12347 H.J. Lu <hongjiu.lu@intel.com>
12348
12349 [BZ #12495]
12350 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12351 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12352 (largebin_index_32_big): New.
12353 (largebin_index): Use it for 16-byte alignment.
12354 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12355 correction with front_misalign.
12356
cfba4fda
L
123572012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12358
7f907421
L
12359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12361 Likewise.
12362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12363 Likewise.
12364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12365 Likewise.
12366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12367 Likewise.
12368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12369 Likewise.
12370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12371 Likewise.
12372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12373 Likewise.
12374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12375 Likewise.
12376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12377 Likewise.
12378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12379 Likewise.
12380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12381 Likewise.
12382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12383 Likewise.
12384
cfba4fda
L
12385 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12386 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12387
80bad0cc
JM
123882012-05-24 Joseph Myers <joseph@codesourcery.com>
12389
7a25eb06
JM
12390 [BZ #10846]
12391 [BZ #14036]
12392 * math/libm-test.inc (exp_test): Add test from bug 14036.
12393 (pow_test): Add test from bug 10846.
12394
795405f9
JM
12395 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12396 and other flags.
12397 (special_function): Do not include flags in test name.
12398 (parse_args): Likewise.
12399 * sysdeps/i386/fpu/libm-test-ulps: Update.
12400 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12401 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12402 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12404
80bad0cc
JM
12405 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12406 exceptions.
12407 * math/libm-test.inc ("Philosophy"): Update comment about
12408 exception testing.
12409 (UNDERFLOW_EXCEPTION): New macro.
12410 (UNDERFLOW_EXCEPTION_OK): Likewise.
12411 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12412 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12413 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12414 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12415 (INVALID_EXCEPTION_OK): Update value.
12416 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12417 (OVERFLOW_EXCEPTION_OK): Likewise.
12418 (IGNORE_ZERO_INF_SIGN): Likewise.
12419 (test_exceptions): Handle underflow exceptions.
12420 (acos_test): Update for underflow exception expectations.
12421 (cexp_test): Likewise.
12422 (clog_test): Likewise.
12423 (clog10_test): Likewise.
12424 (csqrt_test): Likewise.
12425 (ctan_test): Likewise.
12426 (ctanh_test): Likewise.
12427 (exp_test): Likewise.
12428 (exp10_test): Likewise.
12429 (exp2_test): Likewise.
12430 (expm1_test): Likewise.
12431 (fma_test): Likewise.
12432 (j0_test): Likewise.
12433 (jn_test): Likewise.
12434 (nexttoward_test): Likewise.
12435 (pow_test): Likewise.
12436 (scalbn_test): Likewise.
12437 (scalbln_test): Likewise.
12438 (tan_test): Likewise.
12439 (y1_test): Likewise.
12440 * sysdeps/i386/fpu/libm-test-ulps: Update.
12441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12442
9e0e3d0b
DM
124432012-05-23 David S. Miller <davem@davemloft.net>
12444
12445 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12446 (__libc_sigaction): Remove unused local variables.
12447
ccd0a08f
L
124482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12449
12450 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12451
62bdf9a6
PE
124522012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12453
f8591f80
PE
12454 mktime: avoid signed integer overflow
12455 * time/mktime.c (__mktime_internal): Do not mishandle the case
12456 where diff == INT_MIN.
12457
94c7d826
PE
12458 mktime: simplify computation of average
12459 * time/mktime.c (ranged_convert): Use new time_t_avg function
12460 instead of rolling our own (probably-slower) code.
12461
ce73d683
PE
12462 mktime: do not assume signed right shift propagates sign bit
12463 * time/mktime.c (isdst_differ): New static function.
12464 (__mktime_internal): No need to normalize tm_isdst now.
12465 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12466 tm_isdst values.
12467
72a22e59
PE
12468 mktime: merge another wrapv change from gnulib
12469 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12470 from some compilers.
12471
68605433
PE
12472 mktime: remove incorrect attempt at unusual arithmetics
12473 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12474 The code didn't really work on such machines anyway.
12475 (TYPE_MINIMUM): Assume two's complement.
12476 (twos_complement_arithmetic): Verify that long_int and time_t
12477 are two's complement (or unsigned, in the latter case).
12478
03cf7fe3
PE
12479 mktime: check signed shifts on long_int and time_t, too
12480 * time/mktime.c (SHR): Check that shifts work as desired
12481 on the types long_int and time_t too, as SHR is used on
12482 such types.
12483
f04dfbc2
PE
12484 mktime: do not assume 'long' is wide enough
12485 * time/mktime.c (verify): Move decl up.
12486 (long_int): New type.
12487 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12488 to remove assumption in the code that 'long' is wide enough to
12489 store year values. This assumption is not true on x32 and on
12490 some non-glibc platforms.
12491
62bdf9a6
PE
12492 mktime: merge wrapv change from gnulib
12493 * time/mktime.c (WRAPV): New macro.
12494 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12495 (guess_time_tm, __mktime_internal): Do not assume that signed
12496 integer overflow wraps around; modern compilers generate code
12497 where this assumption is no longer valid.
12498
5e292e4f
L
124992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12500
12501 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12502 Replace "jmp L(pseudo_end)" with "ret".
12503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12504 Likewise.
12505
8caf8c87
AJ
125062012-05-23 Andreas Jaeger <aj@suse.de>
12507
12508 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12509 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12510
1a09dc56
AJ
125112012-05-23 Andreas Jaeger <aj@suse.de>
12512 Maximilian Attems <max@stro.at>
12513
12514 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12515 New macros.
12516
1c87aba0
L
125172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12518
12519 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12520 code so that pseudo_end is just ret and the stack pointer is
12521 correct also for static library in error case.
12522
40e45bd5
JM
125232012-05-23 Joseph Myers <joseph@codesourcery.com>
12524
c2670533
JM
12525 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12526 move to syscalls.list.
12527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12531
40e45bd5
JM
12532 * manual/install.texi (Running make install): Do not mention Linux
12533 kernel version for which pt_chown is not needed.
12534 (Linux): Do not mention problems with nscd with 2.0 kernels.
12535 * INSTALL: Regenerated.
12536
be08eda5
AJ
125372012-05-23 Andreas Jaeger <aj@suse.de>
12538
12539 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12540 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12541 macro.
12542 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12543 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12544 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12545 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12546 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12547 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12548 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12549 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12550 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12551 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12552 * sysdeps/unix/sysv/linux/bits/in.h
12553 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12554
a6a056bb
RM
125552012-05-22 Roland McGrath <roland@hack.frob.com>
12556
12557 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12558 (PREPARE_VERSION): Just use assert instead, it will be elided
12559 under [NDEBUG] anyway.
12560
c9009328
L
125612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12562
12563 * sysdeps/unix/sysv/linux/Makefile: Include
12564 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12565 (sysdep_routines): Remove sysctl.
c9009328
L
12566 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12567 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12568 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12569 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12570 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12571
73338355
AJ
125722012-05-22 Andreas Jaeger <aj@suse.de>
12573
12574 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12575 that pseudo_end is just ret and the stack pointer is correct also
12576 for static library in error case.
12577
d44638b0
PP
125782012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12579
12580 [BZ #14122]
12581 * nss/nsswitch.c (defconfig_entries): New variable.
12582 (__nss_database_lookup): Don't leak defconfig entries.
12583 (nss_parse_service_list): Don't leak on error paths.
12584 (free_database_entries): New function.
12585 (free_defconfig): New function.
12586 (free_mem): Move common code to free_database_entries.
12587
31a39bd8
L
125882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12589
da0331a8
L
12590 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12591 Add arch_prctl.
12592 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12593
31a39bd8
L
12594 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12595 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12597 New macro.
12598 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12599 (INTERNAL_SYSCALL_TYPES): Likewise.
12600 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12601 (LOAD_REGS_TYPES_[1-6]): Likewise.
12602 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12603 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12604
45470df3
AZ
126052012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12606
12607 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12608 copysignl for GLIBC_2_0.
12609 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12610 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12611 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12612 logbl for GLIBC_2_0.
12613 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12614 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12615
98a61bcb
L
126162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12617
a4f6e481
L
12618 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12619 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12620
f63d5db6
L
12621 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12622 Use "neg %eax".
12623
98a61bcb
L
12624 * time/mktime.c: Update copyright years.
12625
95770f14
PE
126262012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12627
6226efbd
PE
12628 mktime: merge comment-quoting-style change from gnulib
12629 * time/mktime.c: Quote 'like this' in comments.
12630 The GNU coding standards suggest that we no longer quote `like this',
12631 as "`" and "'" are typically rendered asymmetrically nowadays.
12632 The typical gnulib style is to quote 'like this' when quoting
12633 code, and "like this" when quoting English.
12634
b99e4f78
PE
12635 * time/mktime.c (compile-command): Add "-I.".
12636
643e01e6
PE
12637 mktime: merge mktime-internal.h change from gnulib
12638 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12639
2554247d
PE
12640 mktime: merge time_r change from gnulib
12641 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12642
826dd0ab
PE
12643 mktime: merge DEBUG change from gnulib
12644 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12645 case system <time.h> has a #define.
12646
bd83aabe
PE
12647 mktime: merge <sys/types.h> change from gnulib
12648 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12649 since <time.t> is now guaranteed to define time_t.
12650
95770f14
PE
12651 mktime: merge HAVE_CONFIG_H change from gnulib
12652 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12653
5e1a27a9
L
126542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12655
0e44a77e
L
12656 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12657 Use "neg %eax".
12658
5e1a27a9
L
12659 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12660 __rlim_t cast.
12661 (struct rusage): Use anonymous union to pad each field to
12662 __syscall_slong_t.
12663
46259bec
DM
126642012-05-21 David S. Miller <davem@davemloft.net>
12665
12666 * Makefules (o-iterator): Remove .s cases.
12667 (compile-command.s): Delete.
12668 (COMPILE.s): Delete.
12669 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12670
59f0c22e
JM
126712012-05-21 Joseph Myers <joseph@codesourcery.com>
12672
12673 * configure.in (libc_cv_predef_stack_protector): Only consider
12674 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12675 * configure: Regenerated.
12676
20c07380
L
126772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12678
bbb3154b
L
12679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12680 New macro. Use R*LP on int and pointer.
12681 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12682 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12683 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12684 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12685
20c07380
L
12686 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12687 [__WORDSIZE_TIME64_COMPAT32] instead of
12688 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12689 (struct utmp): Likewise.
12690 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12691 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12692 Renamed to ...
12693 (__WORDSIZE_TIME64_COMPAT32): This.
12694 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12695 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12696 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12697 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12698 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12699 (__WORDSIZE_TIME64_COMPAT32): New macro.
12700
d8d1017e
AJ
127012012-05-21 Andreas Jaeger <aj@suse.de>
12702
12703 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12704 only if [SHARED]. Add prototype for __wcschr_ia32.
12705
6c7fb145
RM
127062012-05-21 Roland McGrath <roland@hack.frob.com>
12707
12708 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12709 of %rbp unmolested in the jmp_buf while mangling the low bits.
12710 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12711 unmolested high bits of %rbp while demangling the low bits.
12712 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12713
66274218
AJ
127142012-05-21 Andreas Jaeger <aj@suse.de>
12715
07c58f8f
AJ
12716 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12717 * sunrpc/svc_simple.c: Use it for registerrpc.
12718 * sunrpc/xcrypt.c: Use it for passwd2des.
12719
66274218
AJ
12720 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12721
61f65140
L
127222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12723
12724 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12725 Don't define if [__SYSCALL_WORDSIZE != 32].
12726 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12727 New macro.
12728
5fefb436
AJ
127292012-05-21 Bruno Haible <bruno@clisp.org>
12730 Andreas Jaeger <aj@suse.de>
12731
12732 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12733 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12734 inptr and inend for must_buffer_ch.
12735 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12736 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12737 * stdio-common/Makefile (tests): Remove bug15.
12738 (bug15-ENV): Remove macro.
12739 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12740 anymore.
12741
d8e272ab
AJ
127422012-05-19 Andreas Jaeger <aj@suse.de>
12743 Roland McGrath <roland@hack.frob.com>
12744
12745 * manual/contrib.texi: Completely rewritten. It contains now an
12746 alphabetical list of contributors and their contributions.
12747
4a56a162
RH
127482012-05-21 Richard Henderson <rth@twiddle.net>
12749
12750 * misc/getauxval.c (__getauxval): Use unsigned long int.
12751 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12752 (getauxval): Use unsigned long int.
12753
d024d23c
L
127542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12755
12756 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12757
cbc00a03
RM
127582012-05-21 Roland McGrath <roland@hack.frob.com>
12759
12760 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12761 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12762 __alignof__ (long double).
12763
478143fa
AZ
127642012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12765
12766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12767
c7683a6d
RH
127682012-05-20 Richard Henderson <rth@twiddle.net>
12769
12770 * misc/getauxval.c: New file.
12771 * misc/sys/auxv.h: New file.
12772 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12773 (routines): Add getauxval.
12774 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12775 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12776 * elf/dl-sysdep.c (_dl_auxv): Remove.
12777 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12778 * elf/dl-support.c (_dl_auxv): New variable.
12779 (_dl_aux_init): Initialize it.
12780 * manual/startup.texi (Auxiliary Vector): New node.
12781 * sysdeps/generic/bits/hwcap.h: New file.
12782 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12783 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12784 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12785 * sysdeps/sparc/sysdep.h: ... here. Include it.
12786 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12787 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12789 Update.
c7683a6d
RH
12790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12793 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12798
a6f1845d
AZ
127992012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12800
12801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12802
cbcbe830
DM
128032012-05-19 David S. Miller <davem@davemloft.net>
12804
12805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12806
e0b16cc2
JM
128072012-05-19 Joseph Myers <joseph@codesourcery.com>
12808
12809 [BZ #14123]
12810 * math/s_ccosh.c: Include <float.h>
12811 (__ccosh): Avoid internal overflow calculating sinh and cosh
12812 values before multiplying by sin and cos values.
12813 * math/s_ccoshf.c: Likewise.
12814 * math/s_ccoshl.c: Likewise.
12815 * math/s_csin.c: Likewise.
12816 * math/s_csinf.c: Likewise.
12817 * math/s_csinl.c: Likewise.
12818 * math/s_csinh.c: Likewise.
12819 * math/s_csinhf.c: Likewise.
12820 * math/s_csinhl.c: Likewise.
12821 * math/libm-test.inc (ccos_test): Add more tests.
12822 (ccosh_test): Likewise.
12823 (csin_test): Likewise.
12824 (csinh_test): Likewise.
12825 * sysdeps/i386/fpu/libm-test-ulps: Update.
12826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12827
6ad13e08
L
128282012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12829
f66f0ce8
L
12830 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12831 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12832
6ad13e08
L
12833 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12834
b1d072a7
JM
128352012-05-19 Joseph Myers <joseph@codesourcery.com>
12836
12837 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12838 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12839 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12840 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12841 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12842 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12843 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12844 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12845 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12846 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12847 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12848 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12849 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12850 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12851 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12852 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12853 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12854 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12855 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12856 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12857 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12858 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12859 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12860 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12861 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12862 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12863 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12864 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12865 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12866 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12867 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12868
9eae47cb
AJ
128692012-05-18 Andreas Jaeger <aj@suse.de>
12870
12871 * csu/.gitignore: Delete.
12872
bb07f69f
L
128732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12874
12875 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12876 (timex): Use __syscall_slong_t.
12877
e6bdb741
AJ
128782012-05-18 Andreas Jaeger <aj@suse.de>
12879 Carlos O'Donell <carlos_odonell@mentor.com>
12880
12881 * manual/install.texi (Configuring and compiling): Update
12882 description about files modified in the source directory.
d6c33fda 12883 * INSTALL: Regenerated.
e6bdb741 12884
1b74487e
L
128852012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12886
12887 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12888 value. Use "or" to set return value to -1.
12889 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12890 negate return value.
12891
a88b64b9
TMQMF
128922012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12893
12894 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12895 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12896 failure if the compiler has Graphite support disabled.
12897 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12898 Likewise.
12899 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12900 CFLAGS-memmove.c): Likewise.
12901 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12902 Likewise.
12903
3707636e
L
129042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12905
610b8622
L
12906 * sysdeps/x86_64/x32/_itoa.h: New file.
12907
7cd195df
L
12908 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12909 getdents system call only if kernel and user dirents have the
12910 same d_ino and d_off.
12911
94b07d20
L
12912 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12913 LLONG_MAX != LONG_MAX.
12914 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12915 (_fitoa_word): Likewise.
12916
18298070
L
12917 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12918 years.
12919 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12920 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12921 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12922
553c7ea4
L
12923 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12924 include <bits/wordsize.h>. Check __x86_64__ instead of
12925 __WORDSIZE.
12926 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12927 if __x86_64__ is defined. Use anonymous union on fpstate.
12928
3707636e
L
12929 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12930 anonymous union.
12931
b53ef01a
AS
129322012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12933
37fb1dc0
AS
12934 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12935 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12936 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12937 Refer to _rtld_local_ro instead of _rtld_global_ro.
12938 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12939 Likewise.
12940 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12941 Likewise.
12942 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12943 Likewise.
12944 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12945 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12946 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12947
b53ef01a
AS
12948 * sysdeps/powerpc/powerpc32/dl-machine.c
12949 (__elf_machine_runtime_setup) [PROF]: Don't reference
12950 _dl_prof_resolve.
12951
7a185db2
AJ
129522012-05-18 Andreas Jaeger <aj@suse.de>
12953
12954 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12955 function only available for GCCs before 3.4 since GCC 3.4
12956 introduced a builtin.
12957 (lrint): Likewise.
12958 (llrintf): Likewise.
12959 (llrint): Likewise.
12960 (fmaxf): Likewise.
12961 (fmax): Likewise.
12962 (fminf): Likewise.
12963 (fmin): Likewise.
12964 (rint): Likewise.
12965 (rintf): Likewise.
12966 (nearbyint): Likewise.
12967 (nearbyintf): Likewise.
12968 (ceil): Likewise.
12969 (ceilf): Likewise.
12970 (floor): Likewise.
12971 (floorf): Likewise.
12972
3e5aef87
L
129732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12974
428bd707
L
12975 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12976 on both fields and cast pointer to __syscall_ulong_t.
12977
3e5aef87
L
12978 * bits/types.h (__fsword_t): New type.
12979 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12980 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12981 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12982 (__FSWORD_T_TYPE): Likewise.
12983 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12984 (__FSWORD_T_TYPE): Likewise.
12985 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12986 (__FSWORD_T_TYPE): Likewise.
12987 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12988 (__FSWORD_T_TYPE): Likewise.
12989 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12990 __SWORD_TYPE with __fsword_t.
12991 (statfs64): Likewise.
12992
1ba7c3dc
DM
129932012-05-17 David S. Miller <davem@davemloft.net>
12994
12995 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12996
59910343
AJ
129972012-05-17 Andreas Jaeger <aj@suse.de>
12998
12999 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13000 warning.
13001
2e4c1e9e
L
130022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13003
13004 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13005
de7f5ce7
AJ
130062012-05-17 Andreas Jaeger <aj@suse.de>
13007
13008 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13009 when it is used.
13010
286abc3d
CM
130112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13012
13013 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13014
477cc68e
L
130152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13016
13017 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13018 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13019
1a0994f5
CD
130202012-05-17 Andreas Jaeger <aj@suse.de>
13021 Carlos O'Donell <carlos_odonell@mentor.com>
13022
13023 [BZ #14059]
13024 * sysdeps/x86_64/multiarch/init-arch.h
13025 (bit_YMM_Usable): Rename to...
13026 (bit_AVX_Usable): ... this.
13027 (bit_FMA4_Usable): New macro.
13028 (bit_XMM_state): New macro.
13029 (bit_YMM_state): New macro.
13030 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13031 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13032 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13033 (CPUID_OSXSAVE): New macro.
13034 (CPUID_AVX): New macro.
13035 (CPUID_FMA4): New macro.
13036 (index_YMM_Usable): Rename to...
13037 (index_AVX_Usable): ... this.
13038 (HAS_AVX): Use HAS_ARCH_FEATURE.
13039 (HAS_FMA4): Likewise.
13040 (HAS_YMM_USABLE): Remove.
13041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13042 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13043 are present.
13044 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13045 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13046 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13047 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13048 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13049
0af797de
CM
130502012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13051
13052 * math/libm-test.c: Support platforms without multiple rounding modes.
13053 * math/bug-nextafter.c: Support platforms without FP exceptions.
13054 * math/bug-nexttoward.c: Likewise.
13055 * math/test-fenv.c: Likewise.
13056 * math/test-misc.c: Likewise.
13057 * stdlib/bug-getcontext.c: Likewise.
13058
e39745ff
AJ
130592012-05-17 Andreas Jaeger <aj@suse.de>
13060
13061 * manual/examples/search.c (critter_cmp): Change signature to
13062 avoid warnings.
13063 * manual/string.texi (Collation Functions): Likewise.
13064
48970aba
L
130652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13066
13067 * bits/types.h: Fold copyright years.
13068 * bits/typesizes.h: Likewise.
13069 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13070 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13071 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13072 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13073 * time/time.h: Likewise.
13074
bedee953
PP
130752012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13076
13077 [BZ #208]
13078 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13079 in instead of returning them. Return void.
13080 (__libc_mallinfo): Accumulate over all arenas.
13081 (__malloc_stats): Adjust for change in int_mallinfo interface.
13082
61653dfb
RM
130832012-05-16 Roland McGrath <roland@hack.frob.com>
13084
30b99d79
RM
13085 [BZ #10375]
13086 * configure.in (NM): Add AC_CHECK_TOOL for it.
13087 (libc_extra_cflags): New substituted variable.
13088 Check for -fstack-protector being used implicitly.
13089 * configure: Regenerated.
13090 * config.make.in (config-extra-cflags): New variable,
13091 gets @libc_extra_cflags@.
13092 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13093
61653dfb
RM
13094 [BZ #10375]
13095 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13096 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13097 * configure: Regenerated.
13098 * config.make.in (CPPUNDEFS): New substituted variable.
13099 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13100 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13101 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13102
661768bb
L
131032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13104
13105 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13106 (mq_attr): Use __syscall_slong_t.
13107
d4261567
L
131082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13109
13110 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13111 Check __x86_64__ instead of __WORDSIZE.
13112 (_STAT_VER_LINUX): Likewise.
13113 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13114 __syscall_ulong_t and __syscall_slong_t.
13115 (stat64): Likewise.
13116
cf3ff365
L
131172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13118
13119 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13120
76cf3e4d
L
131212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13122
13123 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13124
a637753a
L
131252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13126
13127 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13128 __syscall_ulong_t.
13129
d5e05119
L
13130 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13131 include <bits/wordsize.h>. Check __x86_64__ instead of
13132 __WORDSIZE.
13133 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13134 defined.
13135 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13136
f62ee380
L
13137 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13138 include <bits/wordsize.h>. Check __x86_64__ instead of
13139 __WORDSIZE.
13140 (user_regs_struct): Use "__extension__ unsigned long long"
13141 instead of "unsigned long" if __x86_64__ is defined.
13142 (user): Likewise. Pad after pointer field if __ILP32__ is
13143 defined.
13144
4e124ced
JM
131452012-05-16 Joseph Myers <joseph@codesourcery.com>
13146
6a3951a0
JM
13147 * configure.in (makeinfo): Require version 4.5 or later. Allow
13148 versions 5 to 9.
13149 * configure: Regenerated.
13150 * manual/install.texi (texinfo): Increase version requirement to
13151 4.5 or later.
13152 * INSTALL: Regenerated.
13153
4e124ced
JM
13154 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13155
953ca31a
L
131562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13157
13158 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13159
617aca05
L
13160 * sysdeps/x86_64/x32/ffs.c: New file.
13161
5762f7ae
L
13162 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13163 __syscall_ulong_t.
13164 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13165 defined. Use __syscall_ulong_t.
13166 (shminfo): Use __syscall_ulong_t.
13167 (shm_info): Likewise.
13168
a26b6856
L
13169 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13170 __syscall_ulong_t.
13171
cb2b9ef7
L
13172 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13173 <bits/wordsize.h>.
13174 (msgqnum_t): Use __syscall_ulong_t.
13175 (msglen_t): Likewise.
13176 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13177 __syscall_ulong_t.
13178
34683bb0
L
13179 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13180 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13181
84a68786
L
13182 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13183
48baa5f1
L
13184 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13185 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13186
180be88b
L
13187 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13188 __syscall_slong_t.
13189
5e90c8ad
L
13190 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13191 include <bits/wordsize.h>. Check __x86_64__ instead of
13192 __WORDSIZE.
13193
23dfb58b
L
13194 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13195 "unsigned long long int" if __x86_64__ is defined.
13196 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13197
ce5d54b0
L
13198 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13199 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13200 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13201
13dc9eac
L
13202 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13203 <stdint.h>.
13204 (GET_PC): Cast to uintptr_t first.
13205 (GET_FRAME): Likewise.
13206 (GET_STACK): Likewise.
13207
a7895d15
L
13208 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13209 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13210 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13211 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13212 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13213 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13214 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13215 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13216 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13217 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13218 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13219 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13220 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13221 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13222 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13223 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13224 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13225 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13226 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13227 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13228 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13229 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13230 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13231 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13232 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13233 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13234 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13235 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13236 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13237
656416c9
AS
132382012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13239
5bd66283
AS
13240 * Makerules (+depfiles): Also collect depfiles from .oS in
13241 $(extra-objs).
13242 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13243 .oS, $(libnldbl-routines)).
13244
656416c9
AS
13245 * Makerules (native-compile-mkdep-flags): Define.
13246 * sunrpc/Makefile (extra-objs): Add $(addprefix
13247 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13248 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13249 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13250 calling $(make-target-directory).
13251
a46f2169
L
132522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13253
13254 * bits/types.h (__snseconds_t): Removed.
13255 * time/time.h (struct timespec): Replace __snseconds_t with
13256 __syscall_slong_t.
13257 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13258 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13259 Likewise.
13260 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13261 (__SNSECONDS_T_TYPE): Likewise.
13262 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13263 (__SNSECONDS_T_TYPE): Likewise.
13264 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13265 (__SNSECONDS_T_TYPE): Likewise.
13266
6af6528b
L
132672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13268
13269 * sysdeps/mach/hurd/bits/typesizes.h
13270 (__SYSCALL_SLONG_TYPE): New macro.
13271 (__SYSCALL_ULONG_TYPE): Likewise.
13272
de986b56
L
132732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13274
13275 * bits/types.h (__syscall_slong_t): New type.
13276 (__syscall_ulong_t): Likewise.
13277
13278 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13279 (__SYSCALL_ULONG_TYPE): Likewise.
13280 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13281 (__SYSCALL_SLONG_TYPE): Likewise.
13282 (__SYSCALL_ULONG_TYPE): Likewise.
13283 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13284 (__SYSCALL_SLONG_TYPE): Likewise.
13285 (__SYSCALL_ULONG_TYPE): Likewise.
13286 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13287 (__SYSCALL_SLONG_TYPE): Likewise.
13288 (__SYSCALL_ULONG_TYPE): Likewise.
13289
85736dc7
L
132902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13291
13292 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13293 Add sigaltstack-offsets.sym.
13294 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13295 <sigaltstack-offsets.h>.
13296 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13297 longjmp_msg pointer.
13298 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13299 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13300 signal stack.
13301 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13302
cc03b296
JM
133032012-05-15 Joseph Myers <joseph@codesourcery.com>
13304
a9538892
JM
13305 * elf/stackguard-macros.h: Remove file.
13306 * sysdeps/generic/stackguard-macros.h: New file.
13307 * sysdeps/i386/stackguard-macros.h: Likewise.
13308 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13309 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13310 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13311 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13312 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13313 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13314 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13315 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13316 <elf/stackguard-macros.h>.
13317
cc03b296
JM
13318 [BZ #14109]
13319 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13320 __aligned__ in attribute.
13321 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13322 (gregset_t): Likewise.
13323
93171016
L
133242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13325
13326 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13327 * sysdeps/x86_64/64/Implies-after: Here. New file.
13328 * sysdeps/x86_64/x32/Implies-after: New file.
13329
d86813a0
L
133302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13331
13332 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13333 and access return value for _dl_profile_fixup. Use R10_LP to
13334 load frame size.
13335
2953ec75
L
133362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13337
13338 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13339
3b550e9e
L
133402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13341
13342 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13343 * sysdeps/x86_64/x32/sysdep.h: New file.
13344
eda41706
L
133452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13346
13347 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13348 * sysdeps/x86_64/setjmp.S: Likewise.
13349
9ea01d93
AZ
133502012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13351
13352 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13353 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13354 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13355 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13356 remove unused global constant.
13357
02a91938
CM
133582012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13359
13360 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13361 include of <not-cancel.h>.
13362
6540185f
RM
133632012-05-15 Roland McGrath <roland@hack.frob.com>
13364
13365 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13366
509072a0
AJ
133672012-05-15 Jeff Law <law@redhat.com>
13368 Andreas Jaeger <aj@suse.de>
13369
13370 [BZ #13594]
13371 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13372 out from...
13373 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13374 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13375 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13376 code changing __hst_map_handle.map.
13377
ba75122d
RM
133782012-05-15 Roland McGrath <roland@hack.frob.com>
13379
13380 * configure.in (sysnames): Look for Implies-before and Implies-after
13381 files.
13382 * configure: Regenerated.
13383
890d8bd8
L
133842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13385
13386 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13387 8-byte data alignment with LP_SIZE alignment.
13388
f6ee6623
L
133892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13390
13391 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13392 into R10_LP.
13393
ea2626f6
L
133942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13395
13396 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13397
085f715e
L
133982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13399
13400 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13401 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13402 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13403 Likewise.
13404 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13405
be8498fc
L
134062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13407
13408 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13409 (stackinfo_sub_sp): Likewise.
13410
70bc83b9
L
134112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13412
13413 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13414 RAX_LP.
13415
9bc0b730
L
134162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13417
13418 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13419 into R*_LP.
13420
6d2850e7
L
134212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13422
13423 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13424 sizes into R*_LP.
13425
3cb84561
L
134262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13427
13428 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13429
54e2ed81
L
134302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13431
13432 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13433 into R11_LP and load __x86_64_shared_cache_size_half into
13434 R8_LP.
13435
8a17f349
L
134362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13437
13438 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13439 R8_LP.
13440
777b1eea
AZ
134412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13442
13443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13444 logb for POWER7.
13445 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13446 logbf for POWER7.
13447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13448 logbl for POWER7.
13449 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13450 powerpc32/power7/fpu/s_logb.c via #include.
13451 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13452 powerpc32/power7/fpu/s_logbf.c via #include.
13453 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13454 powerpc32/power7/fpu/s_logbl.c via #include.
13455
d20d4ac2
JM
134562012-05-15 Joseph Myers <joseph@codesourcery.com>
13457
13458 * README.libm: Remove file.
13459
6cdef1ab
L
134602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13461
13462 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13463 count for x32. Use R*_LP and omit operand-size suffix.
13464
0b254d8f
L
134652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13466
13467 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13468 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13469 * sysdeps/x86_64/x32/shlib-versions: New file.
13470
ceb809dc
RM
134712012-05-14 Roland McGrath <roland@hack.frob.com>
13472
13473 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13474 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13475 Use _dl_fatal_printf instead.
13476
37f1abd4
JM
134772012-05-14 Joseph Myers <joseph@codesourcery.com>
13478
13479 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13480 set if not set by the user. Do not allow for being unset.
13481 * sysdeps/unix/sysv/linux/configure: Regenerated.
13482
11de3a33
L
134832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13484
13485 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13486 the `q' suffix from lea and replace .quad with ASM_ADDR.
13487
e02f153a
L
134882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13489
13490 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13491 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13492 instead of $17.
13493 (PTR_DEMANGLE): Likewise.
13494
520ae0fd
L
134952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13496
13497 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13498 (LP_OP): Likewise.
13499 (ASM_ADDR): Likewise.
13500 (RAX_LP): Likewise.
13501 (RBP_LP): Likewise.
13502 (RBX_LP): Likewise.
13503 (RCX_LP): Likewise.
13504 (RDI_LP): Likewise.
13505 (RSI_LP): Likewise.
13506 (RSP_LP): Likewise.
13507 (R8_LP): Likewise.
13508 (R9_LP): Likewise.
13509 (R10_LP): Likewise.
13510 (R10_LP): Likewise.
13511 (R11_LP): Likewise.
13512 (R12_LP): Likewise.
13513 (R13_LP): Likewise.
13514 (R14_LP): Likewise.
13515 (R15_LP): Likewise.
13516
b985be81
L
135172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13518
13519 * sysdeps/x86_64/x32/dl-machine.h: New file.
13520
6a4888ff
AJ
135212012-05-14 Andreas Jaeger <aj@suse.de>
13522
13523 * manual/Makefile (subdir): Remove export of subdir.
13524 (all): Remove target.
13525 (.PHONY): Remove all from list.
13526 (mkinstalldirs): Remove.
13527 (.PHONY): Remove installdirs from list.
13528 ($(inst_infodir)/libc.info): Use make-target-directory.
13529 (installdirs): Remove.
13530 (subdir_%): Remove.
13531 (glibc-targets): Remove.
13532 (lib): Remove.
13533 (stubs): Remove.
13534 ($(objpfx)stubs ../po/manual.pot): Remove.
13535 ($(objpfx)stamp%): Remove.
13536 (make-target-directory): Remove.
13537 (subdir_install): Remove.
13538 (routines): Remove.
13539 (aux): Remove.
13540 (sources): Remove.
13541 (objects): Remove.
13542 (headers): Remove.
13543
13544 [BZ #13750]
13545 * manual/.gitignore: Remove, it's not needed anymore.
13546 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13547 all files in it.
13548 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13549 directory.
13550 (texis): Renamed to $(objpfx)texis.
13551 (texis-path): New, contains path to generated files.
13552 (chapters.%): Use texis-path for complete path, add extra argument
13553 libc-texinfo.sh.
13554 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13555 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13556 (summary,texi, stamp-summary): Use complete path of
13557 files. Generate files in build dir.
13558 (dir-add.texi): Build in build dir.
13559 (libm-err.texi,stamp-libm-err): Likewise.
13560 (version.texi, stamp-version): Likewise.
13561 (.%c.texi): Likewise.
13562 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13563 (mostlyclean): Remove target.
13564 (realclean): Remove target.
13565 (generated): Add new variable with contents from mostlyclean and
13566 realclean, remove entries duplicated in common-mostlyclean, add
13567 stamp-libm-err and stamp-version.
13568 (generated-dirs): Add libc directory.
13569 ($(inst_infodir)/libc.info): Install files from build dir.
13570
13571 * manual/install.texi (Configuring and compiling): Adjust since
13572 the info files are not part of the tar ball anymore.
13573
7ac77294
AJ
135742012-05-14 Andreas Jaeger <aj@suse.de>
13575
13576 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13577 variable.
13578
ffb7875d
JM
135792012-05-14 Joseph Myers <joseph@codesourcery.com>
13580
13581 [BZ #13717]
13582 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13583 to 2.2.0 where earlier.
13584 * sysdeps/unix/sysv/linux/configure: Regenerated.
13585 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13586 Remove conditional code.
13587 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13588 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13589 Remove conditional code.
13590 [!__NR_lchown]: Likewise.
13591 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13592 [__NR_lchown]: Likewise.
13593 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13594 comment referencing __ASSUME_LCHOWN_SYSCALL.
13595 * sysdeps/unix/sysv/linux/i386/sigaction.c
13596 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13597 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13598 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13599 Remove conditional code.
13600 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13601 (__protocol_available): Remove #if 0 code.
13602 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13603 conditional code.
13604 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13605 * sysdeps/unix/sysv/linux/kernel-features.h
13606 (__ASSUME_GETCWD_SYSCALL): Don't define.
13607 (__ASSUME_REALTIME_SIGNALS): Likewise.
13608 (__ASSUME_PREAD_SYSCALL): Likewise.
13609 (__ASSUME_PWRITE_SYSCALL): Likewise.
13610 (__ASSUME_POLL_SYSCALL): Likewise.
13611 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13612 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13613 non-SPARC.
13614 (__ASSUME_SIOCGIFNAME): Don't define.
13615 (__ASSUME_MSG_NOSIGNAL): Likewise.
13616 (__ASSUME_SENDFILE): Define unconditionally.
13617 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13618 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13619 conditional code.
13620 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13621 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13622 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13623 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13624 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13625 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13626 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13628 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13629 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13631 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13632 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13634 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13635 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13637 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13638 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13640 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13641 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13643 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13644 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13646 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13647 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13649 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13650 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13651 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13652 Remove conditional code.
13653 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13654 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13655 Remove conditional code.
13656 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13657 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13658 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13659 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13660 Remove conditional code.
13661 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13662 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13663 Remove conditional code.
13664 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13665 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13666 Remove conditional code.
13667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13668 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13669 Remove conditional code.
13670 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13671 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13672 Remove conditional code.
13673 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13674 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13675 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13676 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13677 * sysdeps/unix/sysv/linux/sigaction.c
13678 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13679 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13680 * sysdeps/unix/sysv/linux/sigpending.c
13681 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13682 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13683 * sysdeps/unix/sysv/linux/sigprocmask.c
13684 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13685 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13686 * sysdeps/unix/sysv/linux/sigsuspend.c
13687 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13688 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13689 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13690 (__libc_missing_rt_sigs): Remove.
13691 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13692 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13693 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13694 Remove conditional code.
13695 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13696 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13697 return 1.
13698 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13699 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13700 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13701 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13702
1bfb7291
AJ
137032012-05-14 Andreas Jaeger <aj@suse.de>
13704
caae5a81
AJ
13705 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13706 it's not used in glibc.
13707 (__coshm1): Likewise.
13708 (__acosh1p): Likewise.
13709 (__sgn): Likewise.
13710
1bfb7291
AJ
13711 * manual/string.texi (Copying and Concatenation): Add missing
13712 variable in concat example.
13713 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13714
c044d724
L
137152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13716
144c5467 13717 [BZ #14103]
c044d724
L
13718 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13719 __builtin_clzl with __builtin_clzll.
13720
2523c62b
L
137212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13722
13723 [BZ #14104]
13724 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13725 libc_freeres_ptr.
13726
d7bb4c42
LD
137272012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13728
13729 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13730 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13731 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13732 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13733
9dc4e1fb
MF
137342012-05-14 Mike Frysinger <vapier@gentoo.org>
13735
13736 * NEWS: Update ia64 info.
13737
c7df0112
AS
137382012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13739
13740 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13741 used as bcopy.
13742
dc70356c
TS
137432012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13744
13745 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13746 * sysdeps/unix/syscalls.list (dup3): Likewise.
13747 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13748 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13749
9fb1a21f
L
137502012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13751
13752 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13753 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13754
4822a2a5
L
137552012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13756
13757 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13758 thread pointer.
13759 (TLS_IE): Use mov/add instead of movq/addq to load thread
13760 pointer.
13761 (TLS_GD_PREFIX): New.
13762 (TLS_GD): Use it.
13763
842b81d6
DM
137642012-05-11 David S. Miller <davem@davemloft.net>
13765
13766 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13767 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13768 (_FPU_SETCW): Likewise.
13769
1cf463cd
L
137702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13771
13772 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13773 is 32-byte aligned.
13774
60cc4a18
AS
137752012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13776
13777 [BZ #11837]
13778 * iconvdata/gb18030.c: Update tables.
13779 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13780 characters specially.
13781 (BODY for TO_LOOP): Add encoding of missing ranges.
13782
febb44a4
TS
137832012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13784
13785 [BZ #13673]
13786 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13787 * sysdeps/mach/hurd/dup3.c: Likewise.
13788 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13789 * sysdeps/powerpc/memmove.c:: Likewise.
13790
0a10fb9e
L
137912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13792
13793 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13794 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13795
df8a552f
L
137962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13797
13798 * elf/elf.h (R_X86_64_RELATIVE64): New.
13799 (R_X86_64_NUM): Updated.
13800 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13801 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13802 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13803 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13804 tst-quad1pie tst-quad2pie
13805 (modules-names): Add tst-quadmod1 tst-quadmod2.
13806 ($(objpfx)tst-quad1): New dependency.
13807 ($(objpfx)tst-quad2): Likewise.
13808 ($(objpfx)tst-quad1pie): Likewise.
13809 ($(objpfx)tst-quad2pie): Likewise.
13810 * sysdeps/x86_64/tst-quad1.c: New file.
13811 * sysdeps/x86_64/tst-quad1pie.c: New file.
13812 * sysdeps/x86_64/tst-quad2.c: Likewise.
13813 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13814 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13815 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13816 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13817 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13818
f34d6f84
ST
138192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13820
f42d41d1
ST
13821 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13822 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13823 * streams/stropts.h (t_scalar_t): Define type.
13824
3c3571fc
ST
13825 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13826 (_PATH_PRESERVE): Set to "/var/lib".
13827 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13828
61f06bd3
ST
13829 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13830 instead of int.
13831
918d4d71
ST
13832 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13833 if __dir_mkfile succeeded.
13834
f34d6f84
ST
13835 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13836 checking for _hurd_dtablesize. Unlock it right after having
13837 finished _hurd_dtable allocation.
13838
10589b4a
TS
138392012-05-10 Thomas Schwinge <thomas@schwinge.name>
13840
674cdbc7
TS
13841 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13842 * sysdeps/mach/hurd/configure: Regenerated.
13843 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13844 special-casing to...
13845 * sysdeps/gnu/configure.in: ... this new file.
13846 * sysdeps/unix/sysv/linux/configure: Regenerated.
13847 * sysdeps/gnu/configure: New generated file.
13848
8e41b99f
TS
13849 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13850 for Linux: use nsec instead of usec, as well as:
13851 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13852 members of type struct timespec.
13853 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13854 New macros.
13855 (struct stat64): Likewise.
13856 (_STATBUF_ST_NSEC): New macro.
13857 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13858
10589b4a
TS
13859 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13860 __strtoul_internal rather than strtoul.
13861
63643c85
PT
138622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13863
13864 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13865 and reject them.
13866
3faebe6a
ST
138672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13868
13869 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13870 which preserves existing values.
13871 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13872
c6474b07
PT
138732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13874
13875 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13876 TIMEOUT values. Return EINVAL for NFDS values either negative or
13877 greater than FD_SETSIZE.
13878
1043890b
ST
138792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13880
13881 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13882 allocated, call __vm_protect to finish enabling the existing space, and
13883 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13884 allocate the remainder.
13885
37ed8b9b
PT
138862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13887
13888 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13889 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13890
db653660
ST
138912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13892
37ed8b9b
PT
13893 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13894 sysdeps/mach/hurd/readlink.c.
b29d4053 13895
db653660
ST
13896 * posix/tst-sysconf.c (posix_options): Only use
13897 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13898 _POSIX_SYNCHRONIZED_IO when they are defined
13899 * sysdeps/mach/hurd/bits/posix_opt.h:
13900 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13901 (_XOPEN_REALTIME): Undefine macro.
13902 (_XOPEN_REALTIME_THREADS): Undefine macro.
13903 (_XOPEN_SHM): Undefine macro.
13904 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13905 macro to -1.
13906 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13907 macro to -1.
13908 (_POSIX_ASYNC_IO): Undefine macro.
13909 (_POSIX_PRIORITIZED_IO): Undefine macro.
13910 (_POSIX_SPIN_LOCKS): Define macro to -1.
13911
ee16e894
ST
13912 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13913 SA_NODEFER, SA_RESETHAND.
13914 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13915 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13916 F_DUPFD_CLOEXEC.
13917
6103ae3b
TS
139182012-05-10 Thomas Schwinge <thomas@schwinge.name>
13919
13920 * elf/Makefile (pldd-modules): Define unconditionally.
13921
80b4e5f3
TS
139222012-05-10 Thomas Schwinge <thomas@schwinge.name>
13923
13924 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13925
edadcbd6
ST
139262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13927
13928 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13929 Return ENOENT when name is empty.
13930 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13931
80694780
TS
139322012-05-10 Thomas Schwinge <thomas@schwinge.name>
13933
1792c087
TS
13934 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13935
80694780
TS
13936 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13937
6b645f0d
ST
139382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13939
80694780
TS
13940 Fix mlock in all cases except non-readable pages.
13941 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13942 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 13943
6b645f0d
ST
13944 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13945 (__mkdir): When path is `/', just fail with EEXIST.
13946 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13947
e468f8a3
TS
139482012-05-10 Thomas Schwinge <thomas@schwinge.name>
13949
13950 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13951 <sys/uio.h> (for writev).
13952 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13953 and <sys/param.h> (for MIN).
13954
a4186cff
PT
139552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13956
13957 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13958 REQUESTED_TIME. Properly set the remaining time and return EINTR
13959 if interrupted.
13960
510bbf14
TS
139612012-05-10 Thomas Schwinge <thomas@schwinge.name>
13962
13963 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13964 Depend on against $(link-rpcuserlibs).
13965
5d5722e8
ST
139662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13967
a4186cff
PT
13968 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13969 (__libc_stack_end): Do not use attribute_relro.
13970 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13971 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 13972 to libthread-provided value.
a4186cff
PT
13973 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13974 attribute_relro.
5d5722e8 13975
37233df9
TS
139762012-05-10 Thomas Schwinge <thomas@schwinge.name>
13977
be971a2b
TS
13978 [BZ #3748]
13979 * bits/libc-lock.h (__libc_once_get): New macro.
13980 * sysdeps/mach/bits/libc-lock.h: Likewise.
13981 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13982 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13983 instead of using implementation details.
13984
37233df9
TS
13985 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13986 * libio/freopen.c: Likewise.
13987 * libio/freopen64.c: Likewise.
13988 * misc/syslog.c: Likewise.
13989 * nscd/connections.c: Likewise.
13990 * nscd/netgroupcache.c: Likewise.
13991 * sysdeps/posix/getcwd.c: Likewise.
13992
38de94a5
RM
139932012-05-10 Roland McGrath <roland@hack.frob.com>
13994
13995 * math/w_ilogbf.c: Add #include <limits.h>.
13996
67530489
ST
139972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13998
a4186cff 13999 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14000 path instead of returning without unlocking.
14001
67530489
ST
14002 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14003 immediate-write ioctls.
14004 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14005
5aa3a74a
TS
140062012-05-10 Thomas Schwinge <thomas@schwinge.name>
14007
18bad2ae
TS
14008 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14009 __builtin_frame_address instead of making assumptions about the
14010 location of the return address relative to DATA. Force early load of
14011 the return address.
14012 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14013 __builtin_frame_address.
14014
5aa3a74a
TS
14015 dup3 for GNU Hurd.
14016 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14017 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14018 implement dup3 and do some further code clean-ups.
14019 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14020 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14021
ecd0de9a
ST
140222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14023
cd9fa985
ST
14024 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14025
a4186cff
PT
14026 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14027 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14028 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14029 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14030 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14031 d->port.lock.
802ca5a5 14032
a4186cff
PT
14033 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14034 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14035 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14036
bcf55240
TS
140372012-05-10 Thomas Schwinge <thomas@schwinge.name>
14038
6960eb42
TS
14039 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14040 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14041 definitions.
14042
eb43375f
TS
14043 accept4 for GNU Hurd.
14044 * include/sys/socket.h (__libc_accept4): New prototype.
14045 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14046 to implement __libc_accept4.
14047 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14048 __libc_accept4.
14049 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14050
bcf55240
TS
14051 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14052 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14053 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14054 signal-defines.sym.
14055
6178c55b
ST
140562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14057
a4186cff 14058 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14059
6f080c2f
TS
140602012-05-10 Thomas Schwinge <thomas@schwinge.name>
14061
14062 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14063 assertion on O_CLOEXEC flag.
14064 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14065 * hurd/intern-fd.c: Likewise.
14066 * hurd/port2fd.c: Likewise.
14067
bcfe3a54
ST
140682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14069
14070 [BZ #3906]
14071 * bits/in.h (IPV6_PKTINFO): Define new macro.
14072 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14073
89c9aa49
AZ
140742012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14075
14076 [BZ #13954]
14077 [BZ #13955]
14078 [BZ #13956]
14079 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14080 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14081 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14082 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14083 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14084 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14085 * math/libm-test.inc (logb_test) : Additional logb tests.
14086
021db4be
AJ
140872012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14088 Andreas Jaeger <aj@suse.de>
14089
14090 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14091 * configure: Regenerated.
14092 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14093 * config.make.in (link-obsolete-rpc): New substituted variable.
14094 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14095 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14096 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14097 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14098 so that libc.a contains the symbols.
14099 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14100 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14101 * sunrpc/auth_none.c: Likewise.
14102 * sunrpc/auth_unix.c: Likewise.
14103 * sunrpc/authdes_prot.c: Likewise.
14104 * sunrpc/authuxprot.c: Likewise.
14105 * sunrpc/clnt_gen.c: Likewise.
14106 * sunrpc/clnt_perr.c: Likewise.
14107 * sunrpc/clnt_raw.c: Likewise.
14108 * sunrpc/clnt_simp.c: Likewise.
14109 * sunrpc/clnt_tcp.c: Likewise.
14110 * sunrpc/clnt_udp.c: Likewise.
14111 * sunrpc/clnt_unix.c: Likewise.
14112 * sunrpc/des_crypt.c: Likewise.
14113 * sunrpc/des_soft.c: Likewise.
14114 * sunrpc/get_myaddr.c: Likewise.
14115 * sunrpc/key_call.c: Likewise.
14116 * sunrpc/key_prot.c: Likewise.
14117 * sunrpc/netname.c: Likewise.
14118 * sunrpc/pm_getmaps.c: Likewise.
14119 * sunrpc/pm_getport.c: Likewise.
14120 * sunrpc/pmap_clnt.c: Likewise.
14121 * sunrpc/pmap_prot.c: Likewise.
14122 * sunrpc/pmap_prot2.c: Likewise.
14123 * sunrpc/pmap_rmt.c: Likewise.
14124 * sunrpc/publickey.c: Likewise.
14125 * sunrpc/rpc_cmsg.c: Likewise.
14126 * sunrpc/rpc_common.c: Likewise.
14127 * sunrpc/rpc_dtable.c: Likewise.
14128 * sunrpc/rpc_prot.c: Likewise.
14129 * sunrpc/rpc_thread.c: Likewise.
14130 * sunrpc/rtime.c: Likewise.
14131 * sunrpc/svc.c: Likewise.
14132 * sunrpc/svc_auth.c: Likewise.
14133 * sunrpc/svc_raw.c: Likewise.
14134 * sunrpc/svc_run.c: Likewise.
14135 * sunrpc/svc_tcp.c: Likewise.
14136 * sunrpc/svc_udp.c: Likewise.
14137 * sunrpc/svc_unix.c: Likewise.
14138 * sunrpc/svcauth_des.c: Likewise.
14139 * sunrpc/xcrypt.c: Likewise.
14140 * sunrpc/xdr.c: Likewise.
14141 * sunrpc/xdr_array.c: Likewise.
14142 * sunrpc/xdr_float.c: Likewise.
14143 * sunrpc/xdr_intXX_t.c: Likewise.
14144 * sunrpc/xdr_mem.c: Likewise.
14145 * sunrpc/xdr_rec.c: Likewise.
14146 * sunrpc/xdr_ref.c: Likewise.
14147 * sunrpc/xdr_sizeof.c: Likewise.
14148 * sunrpc/xdr_stdio.c: Likewise.
14149
b5c086a2
RM
141502012-05-10 Roland McGrath <roland@hack.frob.com>
14151
14152 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14153 change. Update copyright years.
14154
6d74dd09
JM
141552012-05-10 Joseph Myers <joseph@codesourcery.com>
14156
14157 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14158
28e72501
MK
141592012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14160 Joseph Myers <joseph@codesourcery.com>
14161 Paul Pluzhnikov <ppluzhnikov@google.com>
14162
14163 [BZ #14012]
14164 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14165 requiring rpcgen.
14166 [cross-compiling] (extra-libs): Likewise.
14167 [cross-compiling] (extra-libs-others): Likewise.
14168 [cross-compiling] (librpcsvc-routines): Likewise.
14169 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14170 [cross-compiling] (omit-deps): Likewise.
14171 (sunrpc-CPPFLAGS): New variable.
14172 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14173 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14174 (cross-rpcgen-objs): New variable.
14175 (extra-objs): Append $(cross-rpcgen-objs).
14176 ($(cross-rpcgen-objs)): New rule.
14177 ($(objpfx)cross-rpcgen): Likewise.
14178 (rpcgen-cmd): Define to use $(built-program-file). Expand
14179 comment.
14180 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14181 ($(objpfx)x%.stmp): Likewise.
14182 * sunrpc/proto.h [IS_IN_build] (_): Define.
14183 [IS_IN_build] (_libc_intl_domainname): Likewise.
14184
c8c59454
L
141852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14186
14187 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14188 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14189 and R_X86_64_TPOFF64.
14190
6f27cd16
JM
141912012-05-10 Joseph Myers <joseph@codesourcery.com>
14192
14193 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14194 sysdeps/unix/sysv/syscalls.list.
14195 (stime): Likewise.
14196 (utime): Likewise.
14197 * sysdeps/unix/sysv/syscalls.list: Remove file.
14198
02467e1c
PE
141992012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14200
14201 [BZ #3440]
14202 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14203 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14204 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14205 (__LC_IDENTIFICATION): Make these macros useful in #if
14206 expressions, as required by C99.
14207
da392631
AS
142082012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14209
14210 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14211 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14212 after this.
14213
8115f29b
L
142142012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14215
14216 * stdlib/longlong.h: Updated from GCC.
14217
bdd74070
AJ
142182012-05-09 Andreas Jaeger <aj@suse.de>
14219
edfe0dbe
AJ
14220 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14221 default is first entry.
14222 (run_mode): Set type.
14223 (main): Remove informal message about syslog.
14224 (options): Fix typo.
14225
bcfe3a54
ST
14226 [BZ #14053]
14227 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14228 to asm.
bcfe3a54
ST
14229 (lrint): Likewise.
14230 (llrintf): Likewise.
14231 (llrint): Likewise.
14232 (rint): Likewise.
14233 (rintf): Likewise.
14234 (nearbyint): Likewise.
14235 (nearbyintf): Likewise.
bdd74070 14236
91d8d69e
AJ
142372012-05-09 Andreas Jaeger <aj@suse.de>
14238 Pedro Alves <palves@redhat.com>
14239
14240 * nscd/nscd.c (run_mode): Use enum.
14241 (main): Cleanup coding style issue.
14242
bb90b80b
AJ
142432012-05-09 Alexandre Oliva <aoliva@redhat.com>
14244 Andreas Jaeger <aj@suse.de>
14245
bcfe3a54
ST
14246 * nscd/nscd.c (go_background): Replaced with...
14247 (run_mode): ... this.
bb90b80b 14248 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14249 (options): Add -F --foreground.
14250 (main): Implement it.
14251 (parse_opt): Parse it.
bb90b80b 14252
1a4b75a1
AJ
142532012-05-09 Andreas Jaeger <aj@suse.de>
14254
14255 [BZ #14083]
14256 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14257 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14258 -Wconversion warning.
14259 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14260 Likewise.
14261
b1cc2472
JM
142622012-05-09 Joseph Myers <joseph@codesourcery.com>
14263
14264 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14265 == 0.
14266 (LC_ALL): Use macro-int-constant.
14267 (LC_COLLATE): Likewise.
14268 (LC_CTYPE): Likewise.
14269 (LC_MESSAGES): Likewise.
14270 (LC_MONETARY): Likewise.
14271 (LC_NUMERIC): Likewise.
14272 (LC_TIME): Likewise.
14273 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14274 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14275 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14276 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14277 Specify type.
14278 [C99-based standards] (float_t): Expect type.
14279 [C99-based standards] (double_t): Expect type.
14280 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14281 type.
14282 [C99-based standards] (HUGE_VALL): Likewise.
14283 [C99-based standards] (INFINITY): Likewise.
14284 [C99-based standards] (NAN): Likewise.
14285 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14286 [C99-based standards] (FP_NAN): Likewise.
14287 [C99-based standards] (FP_NORMAL): Likewise.
14288 [C99-based standards] (FP_SUBNORMAL): Likewise.
14289 [C99-based standards] (FP_ZERO): Likewise.
14290 [C99-based standards] (FP_FAST_FMA): Use
14291 optional-macro-int-constant. Specify type. Require == 1.
14292 [C99-based standards] (FP_FAST_FMAF): Likewise.
14293 [C99-based standards] (FP_FAST_FMAL): Likewise.
14294 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14295 [C99-based standards] (FP_ILOGBNAN): Likewise.
14296 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14297 Specify type.
14298 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14299 [C99-based standards] (math_errhandling): Specify type.
14300 [ISO99 || ISO11] (signgam): Do not allow.
14301 [non-C99-based standards] (copysignf): Do not allow.
14302 [non-C99-based standards] (exp2f): Likewise.
14303 [non-C99-based standards] (log2f): Likewise.
14304 [non-C99-based standards] (modff): Allow.
14305 [non-C99-based standards] (erff): Do not allow.
14306 [non-C99-based standards] (erfcf): Likewise.
14307 [non-C99-based standards] (gammaf): Likewise.
14308 [non-C99-based standards] (hypotf): Likewise.
14309 [non-C99-based standards] (j0f): Likewise.
14310 [non-C99-based standards] (j1f): Likewise.
14311 [non-C99-based standards] (jnf): Likewise.
14312 [non-C99-based standards] (lgammaf): Likewise.
14313 [non-C99-based standards] (tgammaf): Likewise.
14314 [non-C99-based standards] (y0f): Likewise.
14315 [non-C99-based standards] (y1f): Likewise.
14316 [non-C99-based standards] (ynf): Likewise.
14317 [non-C99-based standards] (isnanf): Likewise.
14318 [non-C99-based standards] (acoshf): Likewise.
14319 [non-C99-based standards] (asinhf): Likewise.
14320 [non-C99-based standards] (atanhf): Likewise.
14321 [non-C99-based standards] (cbrtf): Likewise.
14322 [non-C99-based standards] (expm1f): Likewise.
14323 [non-C99-based standards] (ilogbf): Likewise.
14324 [non-C99-based standards] (log1pf): Likewise.
14325 [non-C99-based standards] (logbf): Likewise.
14326 [non-C99-based standards] (nextafterf): Likewise.
14327 [non-C99-based standards] (remainderf): Likewise.
14328 [non-C99-based standards] (rintf): Likewise.
14329 [non-C99-based standards] (scalbf): Likewise.
14330 [non-C99-based standards] (copysignl): Likewise.
14331 [non-C99-based standards] (exp2l): Likewise.
14332 [non-C99-based standards] (log2l): Likewise.
14333 [non-C99-based standards] (modfl): Allow.
14334 [non-C99-based standards] (erfl): Do not allow.
14335 [non-C99-based standards] (erfcl): Likewise.
14336 [non-C99-based standards] (gammal): Likewise.
14337 [non-C99-based standards] (hypotl): Likewise.
14338 [non-C99-based standards] (j0l): Likewise.
14339 [non-C99-based standards] (j1l): Likewise.
14340 [non-C99-based standards] (jnl): Likewise.
14341 [non-C99-based standards] (lgammal): Likewise.
14342 [non-C99-based standards] (tgammal): Likewise.
14343 [non-C99-based standards] (y0l): Likewise.
14344 [non-C99-based standards] (y1l): Likewise.
14345 [non-C99-based standards] (ynl): Likewise.
14346 [non-C99-based standards] (isnanl): Likewise.
14347 [non-C99-based standards] (acoshl): Likewise.
14348 [non-C99-based standards] (asinhl): Likewise.
14349 [non-C99-based standards] (atanhl): Likewise.
14350 [non-C99-based standards] (cbrtl): Likewise.
14351 [non-C99-based standards] (expm1l): Likewise.
14352 [non-C99-based standards] (ilogbl): Likewise.
14353 [non-C99-based standards] (log1pl): Likewise.
14354 [non-C99-based standards] (logbl): Likewise.
14355 [non-C99-based standards] (nextafterl): Likewise.
14356 [non-C99-based standards] (remainderl): Likewise.
14357 [non-C99-based standards] (rintl): Likewise.
14358 [non-C99-based standards] (scalbl): Likewise.
14359 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14360 [non-C99-based standards] (FP_*): Do not allow.
14361 [C99-based standards] (FP_*): Change to
14362 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14363 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14364 allow.
14365 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14366 (SIG_ERR): Likewise.
14367 [X/Open-based standards] (SIG_HOLD): Likewise.
14368 (SIG_IGN): Likewise.
14369 (SIGABRT): Use macro-int-constant. Specify type. Require
14370 positive value.
14371 (SIGFPE): Likewise.
14372 (SIGILL): Likewise.
14373 (SIGINT): Likewise.
14374 (SIGSEGV): Likewise.
14375 (SIGTER): Likewise.
14376 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14377 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14378 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14379 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14380 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14381 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14382 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14383 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14384 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14385 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14386 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14387 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14388 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14389 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14390 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14391 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14392 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14393 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14394 [X/Open-based standards] (SIGTRAP): Likewise.
14395 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14396 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14397 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14398 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14399 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14400 allow.
14401
b9f1922d
IW
144022012-05-08 Ian Wienand <ianw@vmware.com>
14403
14404 [BZ #14080]
14405 * time/tzset.c (__tzset_parse_tz): Update default rules for
14406 daylight time changes in the Energy Policy Act of 2005.
14407
1db86e88
AJ
144082012-05-09 Andreas Jaeger <aj@suse.de>
14409
14410 [BZ #13983]
14411 * elf/ldconfig.c (parse_conf): Change string to make clear that
14412 ldconfig only issued a warning if ld.so.conf does not exist.
14413
dee4a4e3
DM
144142012-05-08 David S. Miller <davem@davemloft.net>
14415
ee0db190
DM
14416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14417 movxtod instead of popping the value on the stack.
14418
dee4a4e3
DM
14419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14420
6a43ec98
CD
144212012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14422
14423 * config.h.in: Add HAVE_ARM_PCS_VFP.
14424
05c2c961
RMG
144252012-05-08 Roland Mc Grath <roland@hack.frob.com>
14426
bcfe3a54
ST
14427 [BZ #13979]
14428 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14429 checking but the checks are disabled for any reason.
05c2c961 14430
4b30f61a
L
144312012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14432
14433 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14434 and ELF64_R_TYPE with ELFW(R_TYPE).
14435
eee2bc67
JM
144362012-05-08 Joseph Myers <joseph@codesourcery.com>
14437
7ea5391a
JM
14438 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14439 (ulimit): Likewise.
14440
eee2bc67
JM
14441 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14442 (settimeofday): Likewise.
14443
abb66a67
MF
144442012-05-08 Mike Frysinger <vapier@gentoo.org>
14445
14446 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14447 a struct th_u2 inside the union, and move tu_block/tu_code into
14448 a new th_u3 union of tu_block/tu_code inside of that. Move
14449 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14450 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14451 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14452 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14453 (th_stuff): Change to th_u1.tu_stuff.
14454 (th_data): Define.
14455 (th_msg): Change to th_u1.th_u2.tu_data.
14456
7f18b530
DM
144572012-05-07 David S. Miller <davem@davemloft.net>
14458
05760585
DM
14459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14460
7f18b530
DM
14461 [BZ #14074]
14462 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14463 (SETUP_PIC_REG): Use it.
14464 (SETUP_PIC_REG_LEAF): Use it.
14465
495fd99f
JM
144662012-05-07 Joseph Myers <joseph@codesourcery.com>
14467
14468 [BZ #13885]
14469 [BZ #13923]
14470 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14471 USE_AS_EXPM1L.
14472 (EXPL_FINITE): Likewise.
14473 (FLDLOG): Likewise.
14474 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14475 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14476 e_expl.S.
14477 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14478 USE_AS_EXPM1L.
14479 (EXPL_FINITE): Likewise.
14480 (FLDLOG): Likewise.
14481 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14482 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14483 e_expl.S.
14484 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14485 test of -max_value argument for long double.
14486 * sysdeps/i386/fpu/libm-test-ulps: Update.
14487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14488
6693d694
DM
144892012-05-06 David S. Miller <davem@davemloft.net>
14490
14491 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14492 quad soft-float symbols whose references which are compiler
14493 generated.
14494 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14495
6c23e11c
JM
144962012-05-06 Joseph Myers <joseph@codesourcery.com>
14497
d8b82cad
JM
14498 [BZ #13884]
14499 [BZ #13914]
14500 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14501 USE_AS_EXP10L.
14502 (EXPL_FINITE): Likewise.
14503 (FLDLOG): Likewise.
14504 (c0): Likewise.
14505 (c1): Likewise.
14506 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14507 Adjust comments for base varying.
14508 (__expl_finite): Change alias to EXPL_FINITE.
14509 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14510 e_expl.S.
14511 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14512 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14513 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14514 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14515 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14516 USE_AS_EXP10L.
14517 (EXPL_FINITE): Likewise.
14518 (FLDLOG): Likewise.
14519 (c0): Likewise.
14520 (c1): Likewise.
14521 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14522 Adjust comments for base varying.
14523 (__expl_finite): Change alias to EXPL_FINITE.
14524 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14525 tests for bugs.
14526 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14527
6c23e11c
JM
14528 [BZ #14064]
14529 * math/libm-test.inc (check_float_internal): Correct ulp
14530 calculation for subnormal expected results.
14531
29ba805c
AJ
145322012-05-06 Andreas Jaeger <aj@suse.de>
14533
14534 * Makeconfig (+math-flags): New, set to -frounding-math.
14535 (+cflags): Add +math-flags so that all of glibc gets compiled with
14536 it.
14537
14538 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14539
7b17aeda
JM
145402012-05-05 Joseph Myers <joseph@codesourcery.com>
14541
5779f134
JM
14542 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14543 Disable one test.
14544
41498f4d
JM
14545 [BZ #13787]
14546 [BZ #13922]
14547 [BZ #14036]
14548 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14549 (__ieee754_expl): Allow for and saturate large arguments.
14550 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14551 (u_threshold): Likewise.
14552 (__exp): Call __ieee754_exp before checking for overflow and
14553 underflow.
14554 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14555 (u_threshold): Likewise.
14556 (__expf): Call __ieee754_expf before checking for overflow and
14557 underflow.
14558 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14559 (u_threshold): Likewise.
14560 (__expl): Call __ieee754_expl before checking for overflow and
14561 underflow.
14562 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14563 (__ieee754_expl): Allow for and saturate large arguments.
14564 * math/libm-test.inc (exp_test): Add another test. Do not allow
14565 missing overflow exception on overflow.
14566 (expm1_test): Do not allow missing overflow exception on overflow.
14567
6698b8bf
JM
14568 * sysdeps/i386/fpu/e_expl.c: Move to ...
14569 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14570 rather than using inline asm.
14571 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14572 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14573 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14574
7b17aeda
JM
14575 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14576 (nice): Likewise.
14577 (poll): Likewise.
14578 (signal): Likewise.
14579 (time): Likewise.
14580 (times): Likewise.
14581
f7c85819
JM
145822012-05-04 Joseph Myers <joseph@codesourcery.com>
14583
14584 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14585 sysdeps/unix/common/syscalls.list.
14586 (fchmod): Likewise.
14587 (fchown): Likewise.
14588 (ftruncate): Likewise.
14589 (getrusage): Likewise.
14590 (gettimeofday): Likewise.
14591 (setpgid): Likewise.
14592 (setregid): Likewise.
14593 (setreuid): Likewise.
14594 (sigaction): Likewise.
14595 (truncate): Likewise.
14596 (vhangup): Likewise.
14597 * sysdeps/unix/common/syscalls.list: Remove file.
14598 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14599 * sysdeps/unix/sysv/linux/Implies: Likewise.
14600
336270d0
L
146012012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14602
14603 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14605 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14606 Moved to ...
14607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14608 Here.
14609 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14610 to ...
14611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14612 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14613 to ...
14614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14615 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14616 to ...
14617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14618 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14619 to ...
14620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14621 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14622 to ...
14623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14624 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14625 to ...
14626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14627 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14628 to ...
14629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14630 Here.
14631 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14632 to ...
14633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14634 Here.
14635 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14636 to ...
14637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14638 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14639 Moved to ...
14640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14641 Here.
14642 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14643 to ...
14644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14645
d128e450
JM
146462012-05-04 Joseph Myers <joseph@codesourcery.com>
14647
fa8ee516
JM
14648 * sysdeps/unix/common/bits/dirent.h: Remove file.
14649 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14650
d128e450
JM
14651 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14652 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14653 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14654 * sysdeps/unix/bsd/isatty.c: Likewise.
14655 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14656 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14657 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14658
ff8faaf0 146592012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14660
62881be4 14661 [BZ #13563]
31dc8730
AZ
14662 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14663 long double comparison inaccuracies.
14664 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14666
6fef930c
AS
146672012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14668
14669 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14670 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14671
8f203e6c
JM
146722012-05-04 Joseph Myers <joseph@codesourcery.com>
14673
14674 [BZ #14049]
14675 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14676 nonzero digits before rounding a hex value.
14677 * stdlib/tst-strtod.c (tests): Add another test.
14678
5197d9c2
AK
146792012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14680
14681 * sysdeps/s390/fpu/libm-test-ulps: Update.
14682
f0c1dedf
AJ
146832012-05-03 Andreas Jaeger <aj@suse.de>
14684
14685 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14686 does not get optimized out.
14687 (malloc_opt_barrier): New.
14688
a65ef2ae 146892012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14690 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14691
2b942cb7 14692 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14693 intermediate file deletion.
2b942cb7 14694 (generated): Add .symlist files.
a65ef2ae 14695
54b71e02
JM
146962012-05-03 Joseph Myers <joseph@codesourcery.com>
14697
14698 [BZ #13775]
14699 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14700 Redirect under this condition.
14701 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14702 [__USE_GNU] (__dprintf_chk): Not under this condition.
14703 [__USE_GNU] (__vdprintf_chk): Likewise.
14704 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14705 under this condition.
14706 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14707 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14708 [__USE_XOPEN2K8] (vdprintf): Likewise.
14709 [__USE_GNU] (__dprintf_chk): Not under this condition.
14710 [__USE_GNU] (__vdprintf_chk): Likewise.
14711 [__USE_GNU] (dprintf): Likewise.
14712 [__USE_GNU] (vdprintf): Likewise.
14713
d3dfcc41
RM
147142012-05-03 Roland McGrath <roland@hack.frob.com>
14715
14716 * elf/Makefile (common-generated): Set this instead of generated for
14717 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14718 $(all-built-dso)-derived lists.
14719
7ac30cc5
AJ
147202012-05-03 Andreas Jaeger <aj@suse.de>
14721
0c51e550
AJ
14722 * sysdeps/i386/fpu/libm-test-ulps: Update.
14723
7ac30cc5
AJ
14724 * FAQ: Removed.
14725 * FAQ.in: Likewise.
14726 * scripts/gen-FAQ.pl: Likewise.
14727 * manual/install.texi (Installation): Point to online location of
14728 FAQ.
14729 * Makefile (files-for-dist): Remove FAQ.
14730 (FAQ): Remove.
14731
d4c2917f
AM
147322012-05-02 Allan McRae <allan@archlinux.org>
14733
14734 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14735 (LDFLAGS-reldepmod5.so): Likewise.
14736 (LDFLAGS-reldep6mod1.so): Likewise.
14737 (LDFLAGS-reldep6mod4.so): Likewise.
14738 (LDFLAGS-reldep8mod3.so): Likewise.
14739 (LDFLAGS-unload4mod1.so): Likewise.
14740 (LDFLAGS-unload4mod2.so): Likewise.
14741 (LDFLAGS-tst-initorder): Likewise.
14742 (LDFLAGS-tst-initordera2.so): Likewise.
14743 (LDFLAGS-tst-initordera3.so): Likewise.
14744 (LDFLAGS-tst-initordera4.so): Likewise.
14745 (LDFLAGS-tst-initorderb2.so): Likewise.
14746 (LDFLAGS-noload): Likewise.
14747 (LDFLAGS-next): Likewise.
14748 (LDFLAGS-order2mod1.so): Likewise.
14749 (LDFLAGS-order2mod2.so): Likewise.
14750 (LDFLAGS-tst-initorder2): Likewise.
14751 (LDFLAGS-tst-initorder2a.so): Likewise.
14752 (LDFLAGS-tst-initorder2b.so): Likewise.
14753 (LDFLAGS-tst-initorder2c.so): Likewise.
14754 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14755
d77f993f
DM
147562012-05-02 David S. Miller <davem@davemloft.net>
14757
14758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14759
171a70b4
PP
147602012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14761
14762 [BZ #14055]
14763 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14764
0be196ad
AJ
147652012-05-02 Andreas Jaeger <aj@suse.de>
14766
14767 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14768 since we manipulate rounding mode.
14769 (CPPFLAGS-test-idouble.c): Likewise.
14770 (CPPFLAGS-test-ifloat.c): Likewise.
14771 (CFLAGS-test-ldouble.c): Likewise.
14772 (CFLAGS-test-double.c): Likewise.
14773 (CFLAGS-test-float.c): Likewise.
14774 (CFLAGS-test-misc.c): Likewise.
14775 (CFLAGS-test-test-fenv.c): Likewise.
14776
4f9d04aa
AZ
147772012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14778
2b942cb7
RM
14779 [BZ #2550]
14780 [BZ #2570]
14781 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14782 comparisons to determine direction to adjust input.
4f9d04aa 14783
82a79e7d
RM
147842012-05-01 Roland McGrath <roland@hack.frob.com>
14785
f5a01ca9
RM
14786 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14787 output to the target.
14788
90fe4186
RM
14789 * scripts/localplt.awk: New file.
14790 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14791 (check-localplt-CFLAGS): Variable removed.
14792 ($(all-built-dso:=.jmprel)): New static pattern rule.
14793 (generated): Add those targets.
14794 (localplt-built-dso): New variable.
14795 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14796
14797 * elf/check-localplt.c: File removed.
14798
82397ed6
RM
14799 * scripts/check-execstack.awk: New file.
14800 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14801 (check-execstack-CFLAGS): Variable removed.
14802 ($(objpfx)check-execstack.h): Target removed.
14803 ($(objpfx)execstack-default): New target.
14804 (generated): Add that instead of check-execstack.h.
14805 ($(all-built-dso:=.phdr)): New static pattern rule.
14806 (generated): Add those targets.
14807 * elf/check-execstack.c: File removed.
14808
82a79e7d
RM
14809 * scripts/check-textrel.awk: New file.
14810 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14811 (check-textrel-CFLAGS): Variable removed.
14812 (all-built-dso): Use := to define.o
14813 ($(all-built-dso:=.dyn)): New static pattern rule.
14814 (generated): Add those targets.
14815 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14816 * config.make.in (READELF): New substituted variable.
14817 * elf/check-textrel.c: File removed.
14818
62fde54f 148192012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14820
615605c9
JM
14821 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14822 allow.
14823 * conform/data/ctype.h-data [C99-based standards] (isblank):
14824 Expect function.
14825 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14826 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14827 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14828 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14829 Specify type. Require positive value.
14830 (EILSEQ): Likewise.
14831 (ERANGE): Likewise.
14832 [ISO || POSIX] (EILSEQ): Do not expect.
14833 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14834 Specify type. Require positive value.
14835 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14836 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14837 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14838 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14839 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14840 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14841 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14842 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14843 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14844 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14845 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14846 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14847 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14848 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14849 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14850 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14851 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14852 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14853 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14854 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14855 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14856 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14857 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14858 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14859 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14860 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14861 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14862 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14863 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14864 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14865 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14866 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14867 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14868 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14869 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14870 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14871 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14872 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14873 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14874 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14875 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14876 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14877 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14878 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14879 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14880 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14881 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14882 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14883 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14884 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14885 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14886 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14887 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14888 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14889 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14890 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14891 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14892 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14893 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14894 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14895 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14896 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14897 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14898 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14899 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14900 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14901 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14902 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14903 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14904 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14905 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14906 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14907 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14908 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14909 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14910 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14911 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14912 Require >= 2.
14913 (FLT_ROUNDS): Expect as macro, not constant.
14914 (FLT_MANT_DIG): Use macro-int-constant.
14915 (DBL_MANT_DIG): Likewise.
14916 (LDBL_MANT_DIG): Likewise.
14917 (FLT_DIG): Likewise.
14918 (DBL_DIG): Likewise.
14919 (LDBL_DIG): Likewise.
14920 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14921 (DBL_MIN_EXP): Likewise.
14922 (LDBL_MIN_EXP): Likewise.
14923 (FLT_MAX_EXP): Use macro-int-constant.
14924 (DBL_MAX_EXP): Likewise.
14925 (LDBL_MAX_EXP): Likewise.
14926 (FLT_MAX_10_EXP): Likewise.
14927 (DBL_MAX_10_EXP): Likewise.
14928 (LDBL_MAX_10_EXP): Likewise.
14929 (FLT_MAX): Use macro-constant.
14930 (DBL_MAX): Likewise.
14931 (LDBL_MAX): Likewise.
14932 (FLT_EPSILON): Use macro-constant. Give upper bound.
14933 (DBL_EPSILON): Likewise.
14934 (LDBL_EPSILON): Likewise.
14935 (FLT_MIN): Likewise.
14936 (DBL_MIN): Likewise.
14937 (LDBL_MIN): Likewise.
14938 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14939 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14940 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14941 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14942 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14943 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14944 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14945 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14946 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14947 [ISO11] (FLT_TRUE_MIN): Likewise.
14948 [ISO11] (LDBL_TRUE_MIN): Likewise.
14949 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14950 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14951 (SCHAR_MIN): Use macro-int-constant. Specify type.
14952 (SCHAR_MAX): Likewise.
14953 (UCHAR_MAX): Likewise.
14954 (CHAR_MIN): Likewise.
14955 (CHAR_MAX): Likewise.
14956 (MB_LEN_MAX): Use macro-int-constant.
14957 (SHRT_MIN): Use macro-int-constant. Specify type.
14958 (SHRT_MAX): Likewise.
14959 (USHRT_MAX): Likewise.
14960 (INT_MAX): Likewise.
14961 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14962 bound negative.
14963 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14964 bound with "U".
14965 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14966 bound with "L".
14967 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14968 bound negative. Suffix upper bound with "L".
14969 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14970 bound with "UL".
14971 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14972 Specify type.
14973 [C99-based standards] (LLONG_MAX): Likewise.
14974 [C99-based standards] (ULLONG_MAX): Likewise.
14975 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14976 == 0.
14977 [ISO11] (max_align_t): Require type.
14978 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14979
c9140a62
JM
14980 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14981 from $CFLAGS, without defining away __attribute__ calls.
14982 (checknamespace): Use $CFLAGS_namespace.
14983
9af0bf29
JM
14984 * conform/conformtest.pl (@keywords): Only include C99 keywords
14985 for standards based on C99 or C11.
14986
343222a2
JM
14987 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14988 Disable tests.
14989 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14990 UNIX98]: Likewise.
14991
661f8cf0
JM
14992 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14993 usability of symbols in #if.
14994
ee74b9cb
JM
14995 * conform/conformtest.pl: If macro or constant types start
14996 "promoted:", expect the symbol to be of the following type
14997 promoted by the integer promotions.
62fde54f 14998
aafc49b3
JM
14999 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15000 in one place. Also handle "macro-constant".
15001
fefdf574
JM
15002 * conform/conformtest.pl: Only accept expected macro values with
15003 "==". Parse all "macro" lines in one place.
15004 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15005
f2d922fe
JM
15006 * conform/conformtest.pl: Handle braced types on "constant" lines
15007 instead of handling "typed-constant".
15008 * conform/data/signal.h-data: Use "constant" instead of
15009 "typed-constant".
15010
d22956c9
JM
15011 * conform/conformtest.pl: Handle "optional-" at start of lines in
15012 one place rather than duplicating several cases. Handle each
15013 format of "macro" line with initial "optional-".
15014
028e2e38
JM
15015 * conform/conformtest.pl: Only accept expected constant or
15016 optional-constant values with "==". Parse all "constant" lines in
15017 one place. Parse all "optional-constant" lines in one place.
15018 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15019 * conform/data/fmtmsg.h-data: Likewise.
15020 * conform/data/netinet/in.h-data: Likewise.
15021 * conform/data/tar.h-data: Likewise.
15022 * conform/data/limits.h-data: Use "==" form on "constant" and
15023 "optional-constant" lines.
15024
1b8f2850
JM
15025 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15026 Use -std=c99 for XOPEN2K.
15027 (@knownproblems): Remove.
15028 (newtoken): Don't check %isknown.
15029
a05a144b
JM
15030 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15031 Do not expect macro.
15032 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15033 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15034 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15035 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15036 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15037 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15038 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15039 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15040 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15041 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15042 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15043 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15044 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15045 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15046 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15047 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15048 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15049 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15050 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15051 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15052 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15053 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15054 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15055 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15056 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15057 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15058 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15059 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15060 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15061 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15062 [XPG3] (acosh): Likewise.
15063 [XPG3] (asinh): Likewise.
15064 [XPG3] (atanh): Likewise.
15065 [XPG3] (cbrt): Likewise.
15066 [XPG3] (expm1): Likewise.
15067 [XPG3] (ilogb): Likewise.
15068 [XPG3] (log1p): Likewise.
15069 [XPG3] (logb): Likewise.
15070 [XPG3] (nextafter): Likewise.
15071 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15072 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15073 [XPG3] (remainder): Likewise.
15074 [XPG3] (rint): Likewise.
15075 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15076 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15077 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15078 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15079 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15080 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15081 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15082 [UNIX98 || XOPEN2K] (scalb): Expect.
15083 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15084 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15085 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15086 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15087 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15088 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15089 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15090 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15091 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15092 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15093 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15094 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15095 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15096 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15097 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15098 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15099 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15100 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15101 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15102 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15103 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15104 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15105 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15106 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15107 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15108 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15109 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15110 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15111 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15112 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15113 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15114 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15115 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15116 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15117 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15118 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15119 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15120 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15121 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15122 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15123 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15124 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15125 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15126 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15127 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15128 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15129 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15130 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15131 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15132 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15133 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15134 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15135 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15136 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15137 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15138 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15139 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15140 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15141 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15142 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15143 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15144 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15145 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15146 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15147 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15148 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15149 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15150 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15151 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15152 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15153 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15154 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15155 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15156 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15157 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15158 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15159 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15160 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15161 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15162 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15163 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15164 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15165 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15166 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15167 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15168 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15169 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15170 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15171 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15172 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15173 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15174 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15175 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15176 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15177 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15178 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15179 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15180 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15181 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15182 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15183 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15184 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15185 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15186 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15187 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15188 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15189 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15190 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15191 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15192 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15193 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15194 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15195 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15196 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15198 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15199 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15200 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15201 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15202 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15203 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15204 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15205 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15207 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15208 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15209 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15210 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15211 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15212 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15213 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15214 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15215 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15216 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15217 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15218 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15219 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15220
73c5ebe3
JM
15221 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15222 _XOPEN_SOURCE_EXTENDED for XPG4.
15223
39c33b6c
JM
15224 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15225
62fde54f
JM
15226 * Makeconfig (localtime): Remove variable.
15227 (inst_localtime-file): Likewise.
15228
0741d64c
AS
152292012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15230
15231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15232 Update.
15233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15234 Update.
15235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15236 Update.
15237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15238 Update.
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15240 Update.
15241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15242 Update.
15243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15244 Update.
15245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15246 Update.
15247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15248 Update.
15249
7cb029ee
JM
152502012-05-01 Joseph Myers <joseph@codesourcery.com>
15251
15252 [BZ #2550]
15253 [BZ #2570]
15254 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15255 comparisons to determine direction to adjust input.
15256 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15257 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15258 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15259 Likewise.
15260 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15261 Likewise.
15262 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15263 Likewise.
15264 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15265 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15266 Likewise.
15267 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15268 Likewise.
15269 * math/libm-test.inc (nexttoward_test): Add more tests.
15270
412bd966
AS
152712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15272
15273 [BZ #14040]
15274 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15275 in version GLIBC_2.1, not GLIBC_2.0.
15276 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15277 Likewise.
15278
9568c0c2
JM
152792012-04-30 Joseph Myers <joseph@codesourcery.com>
15280
adfbc8ac
JM
15281 [BZ #13942]
15282 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15283 (1 - x) * (1 + x).
15284 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15285 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15286 * math/libm-test.inc (acos_test): Add more tests.
15287 (asin_test): Likewise.
15288 * sysdeps/i386/fpu/libm-test-ulps: Update.
15289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15290
5ba3cc69
JM
15291 [BZ #14034]
15292 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15293 of square root.
15294 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15295 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15296 * math/libm-test.inc (acos_test_tonearest): New function.
15297 (acos_test_towardzero): Likewise.
15298 (acos_test_downward): Likewise.
15299 (acos_test_upward): Likewise.
15300 (asin_test_tonearest): Likewise.
15301 (asin_test_towardzero): Likewise.
15302 (asin_test_downward): Likewise.
15303 (asin_test_upward): Likewise.
15304 (main): Call the new functions.
15305 * sysdeps/i386/fpu/libm-test-ulps: Update.
15306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15307
9568c0c2
JM
15308 [BZ #13884]
15309 [BZ #13924]
15310 * math/e_exp10.c: Include <float.h>.
15311 (__ieee754_exp10): Handle underflow here rather than multiplying
15312 large negative argument by M_LN10.
15313 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15314 of __ieee754_expf.
15315 * math/e_exp10l.c: Include <float.h>.
15316 (__ieee754_exp10l): Handle underflow here rather than multiplying
15317 large negative argument by M_LN10l.
15318 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15319 spurious overflow exception on underflow.
15320
5ac3ea17
MP
153212012-04-29 Marek Polacek <polacek@redhat.com>
15322
15323 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15324 (__fortify_function): New macro.
15325 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15326 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15327 __extern_always_inline.
15328 * libio/bits/stdio2.h: Likewise.
15329 * libio/bits/stdio.h: Likewise.
15330 * string/string.h: Likewise.
15331 * string/bits/string3.h: Likewise.
15332 * include/stdio.h: Likewise.
15333 * stdlib/bits/stdlib.h: Likewise.
15334 * stdlib/stdlib.h: Likewise.
15335 * rt/bits/mqueue2.h: Likewise.
15336 * rt/mqueue.h: Likewise.
15337 * posix/bits/unistd.h: Likewise.
15338 * posix/unistd.h: Likewise.
15339 * io/bits/poll2.h: Likewise.
15340 * io/bits/fcntl2.h: Likewise.
15341 * io/fcntl.h: Likewise.
15342 * io/sys/poll.h: Likewise.
15343 * misc/bits/syslog.h: Likewise.
15344 * misc/bits/syslog-ldbl.h: Likewise.
15345 * misc/sys/syslog.h: Likewise.
15346 * socket/bits/socket2.h: Likewise.
15347 * socket/sys/socket.h: Likewise.
15348 * debug/tst-chk1.c: Likewise.
15349 * wcsmbs/bits/wchar2.h: Likewise.
15350 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15351 * wcsmbs/wchar.h: Likewise.
15352
ecf0ebfb
AJ
153532012-04-29 Andreas Jaeger <aj@suse.de>
15354
15355 * Makerules (tests): Remove enable-check-abi protection.
15356 (check-abi-warn): Remove.
15357 (check-abi-%): Remove check-abi-warn usage.
15358
15359 * configure.in: Remove check-abi configure option.
15360 * configure: Regenerated.
15361 * config.make.in (enable-check-abi): Remove.
15362
6d5c57fa
AS
153632012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15364
24c5d07e 15365 [BZ #14033]
ded5180a
AS
15366 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15367 double functions to double *_finite functions.
15368
7e0d315d
AS
15369 [BZ #13941]
15370 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15371 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15372 LDBL_MIN_EXP.
15373 * stdio-common/Makefile (tests): Add tst-sprintf3.
15374 * stdio-common/tst-sprintf3.c: New file.
15375
6d5c57fa
AS
15376 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15377 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15378
0749ff8b
JM
153792012-04-28 Joseph Myers <joseph@codesourcery.com>
15380
15381 * conform/conformtest.pl: Remove duplicate typed-constant
15382 handling.
15383
8dbd5d7b
DM
153842012-04-28 David S. Miller <davem@davemloft.net>
15385
15386 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15387 (check-abi-%): Remove AWK script prerequisite and explicit
15388 abilist directory.
15389 (check-abi): Rewrite to just diff the symlist with the abilist.
15390 (config-tls, config-abi-config): Delete, no longer used.
15391 (update-abi-%): Remove AWK script and explicit abilist directory.
15392 (update-abi): Rewrite to simply compare and conditionally copy the
15393 symlist and the sysdep abilist file. Remove update-abi-config
15394 checks.
15395 * abilist/ld.abilist: Remove.
15396 * abilist/libBrokenLocale.abilist: Remove.
15397 * abilist/libanl.abilist: Remove.
15398 * abilist/libcrypt.abilist: Remove.
15399 * abilist/libdl.abilist: Remove.
15400 * abilist/librt.abilist: Remove.
15401 * abilist/libthread_db.abilist: Remove.
15402 * abilist/libutil.abilist: Remove.
15403 * scripts/extract-abilist.awk: Remove.
15404 * scripts/merge-abilist.awk: Remove.
15405 * sysdeps/generic/libcidn.abilist: New file.
15406 * sysdeps/generic/libnss_compat.abilist: New file.
15407 * sysdeps/generic/libnss_db.abilist: New file.
15408 * sysdeps/generic/libnss_dns.abilist: New file.
15409 * sysdeps/generic/libnss_files.abilist: New file.
15410 * sysdeps/generic/libnss_hesiod.abilist: New file.
15411 * sysdeps/generic/libnss_nis.abilist: New file.
15412 * sysdeps/generic/libnss_nisplus.abilist: New file.
15413 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15414 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15415 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15416 file.
15417 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15418 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15419 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15420 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15421 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15422 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15423 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15424 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15425 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15426 file.
15427 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15428 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15429 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15430 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15431 file.
15432 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15433 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15434 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15435 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15436 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15437 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15438 file.
15439 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15440 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15441 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15442 file.
15443 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15445 New file.
15446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15447 New file.
15448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15449 New file.
15450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15451 New file.
15452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15453 New file.
15454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15455 New file.
15456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15457 New file.
15458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15459 New file.
15460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15461 New file.
15462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15463 New file.
15464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15465 New file.
15466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15467 New file.
15468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15469 New file.
15470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15471 file.
15472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15473 New file.
15474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15475 New file.
15476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15477 file.
15478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15479 New file.
15480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15481 New file.
15482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15483 file.
15484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15485 New file.
15486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15487 New file.
15488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15489 New file.
15490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15491 New file.
15492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15493 New file.
15494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15495 New file.
15496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15498 file.
15499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15500 New file.
15501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15502 file.
15503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15504 file.
15505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15506 file.
15507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15508 file.
15509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15510 file.
15511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15512 New file.
15513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15514 file.
15515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15516 file.
15517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15518 New file.
15519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15520 file.
15521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15523 file.
15524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15525 New file.
15526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15527 file.
15528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15529 file.
15530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15531 file.
15532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15533 file.
15534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15535 file.
15536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15537 New file.
15538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15539 file.
15540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15541 file.
15542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15543 New file.
15544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15545 file.
15546 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15547 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15548 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15549 file.
15550 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15551 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15552 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15553 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15554 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15555 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15556 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15557 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15558 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15559 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15562 file.
15563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15564 New file.
15565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15566 file.
15567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15568 file.
15569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15570 file.
15571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15572 file.
15573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15574 file.
15575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15576 New file.
15577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15578 New file.
15579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15580 file.
15581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15582 New file.
15583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15584 file.
15585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15587 file.
15588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15589 New file.
15590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15591 file.
15592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15593 file.
15594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15595 file.
15596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15597 file.
15598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15599 file.
15600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15601 New file.
15602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15603 New file.
15604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15605 file.
15606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15607 New file.
15608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15609 file.
15610
41d73a1b
JM
156112012-04-28 Joseph Myers <joseph@codesourcery.com>
15612
15613 * conform/conformtest.pl: Fix typo in handling typed-constant from
15614 allow-header.
15615
28aeeda4
JM
156162012-04-27 Joseph Myers <joseph@codesourcery.com>
15617
adae8f5e
JM
15618 * README: Cut down references to pre-2.6 Linux kernels and
15619 Linuxthreads. Update lists of configurations in libc and ports
15620 and sort alphabetically. Say "or newer" with Linux kernel version
15621 requirements.
15622
28aeeda4
JM
15623 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15624
a462cb63
RA
156252012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15626
15627 [BZ #887]
15628 * math/libm-test.inc (logb_test_downward): New test to expose
15629 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15630 rounding mode.
15631
6ad3493e
JM
156322012-04-27 Joseph Myers <joseph@codesourcery.com>
15633
15634 [BZ #14027]
15635 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15636 to be done.
15637 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15638 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15639
2ce4f015
JM
156402012-04-26 Joseph Myers <joseph@codesourcery.com>
15641
5aeb141a
JM
15642 * sysdeps/unix/i386/brk.S: Remove file.
15643 * sysdeps/unix/i386/dl-brk.S: Likewise.
15644 * sysdeps/unix/i386/pipe.S: Likewise.
15645 * sysdeps/unix/i386/sigreturn.S: Likewise.
15646 * sysdeps/unix/i386/syscall.S: Likewise.
15647 * sysdeps/unix/i386/vfork.S: Likewise.
15648 * sysdeps/unix/i386/wait.S: Likewise.
15649
7143acae
JM
15650 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15651 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15652
2ce4f015
JM
15653 * configure.in (arm*-none*): Do not allow without
15654 --enable-hacker-mode.
15655 (netbsd*): Remove case setting base_os.
15656 (386bsd*): Likewise.
15657 (freebsd*): Likewise.
15658 (bsdi*): Likewise.
15659 (osf*): Likewise.
15660 (sunos*): Likewise.
15661 (ultrix*): Likewise.
15662 (newsos*): Likewise.
15663 (dynix*): Likewise.
15664 (*bsd*): Likewise.
15665 (sysv*): Likewise.
15666 (isc*): Likewise.
15667 (esix*): Likewise.
15668 (sco*): Likewise.
15669 (minix*): Likewise.
15670 (irix4*): Likewise.
15671 (irix6*): Likewise.
15672 (solaris[2-9]*): Likewise.
15673 (none): Likewise.
15674 * configure: Regenerated.
15675
0ac229c8
AZ
156762012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15677
15678 [BZ #11521]
15679 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15680 overflow or cancellation in calculating denominator.
15681 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15682 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15683 down expression to avoid unexpected rounding in newer GCCs.
15684 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15685
33f244f4
DM
156862012-04-26 David S. Miller <davem@davemloft.net>
15687
15688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15689 long-double compat symbols.
15690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15703
cfa1f3e8
DM
157042012-04-25 David S. Miller <davem@davemloft.net>
15705
15706 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15707 HWCAP_* values only after the memory barriers have been defined.
15708 (atomic_full_barrier): Define.
15709 (atomic_read_barrier): Define.
15710 (atomic_write_barrier): Define.
15711
6e236b92
SP
157122012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15713
15714 * shlib-versions: Add libgcc_s version information.
15715 * sysdeps/generic/libgcc_s.h: Remove.
15716 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15717 libgcc_s.h.
15718 * sysdeps/gnu/unwind-resume.c: Likewise.
15719 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15720
aab39a09
DM
157212012-04-25 David S. Miller <davem@davemloft.net>
15722
15723 * sysdeps/unix/sparc/brk.S: Delete.
15724 * sysdeps/unix/sparc/dl-brk.S: Delete.
15725 * sysdeps/unix/sparc/pipe.S: Delete.
15726 * sysdeps/unix/sparc/sysdep.S: Delete.
15727 * sysdeps/unix/sparc/sysdep.h: Delete.
15728 * sysdeps/unix/sparc/vfork.S: Delete.
15729 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15730 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15731 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15732 ret_ERRVAL, r0, r1, MOVE): Define.
15733 (JUMPTARGET): Remove.
15734 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15735 sysdeps/unix/sparc/sysdep.h
15736 (ENTRY, END): Remove.
15737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15738
a3cc4f48
JM
157392012-04-25 Joseph Myers <joseph@codesourcery.com>
15740
2ed8cda2
JM
15741 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15742 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15743 -DIS_IN_build.
15744
35d76d59
JM
15745 * timezone/README: Update upstream location and email address for
15746 tzcode and tzdata.
15747 * timezone/zdump.c: Update from tzcode 2012b.
15748 * timezone/zic.c: Likewise.
15749
a3cc4f48
JM
15750 * configure.in (libc_cv_as_needed): Remove test.
15751 * configure: Regenerated.
15752 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15753 conditional definition.
15754 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15755 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15756 * config.make.in (have-as-needed): Remove variable.
15757
ceab42c3
SP
157582012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15759 Paul Pluzhnikov <ppluzhnikov@google.com>
15760
15761 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15762 strings correctly.
15763
3ce2865f
CLT
157642012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15765
15766 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15767 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15768 * sysdeps/sh/strlen.S: Likewise.
15769
f37e0d68
JM
157702012-04-24 Joseph Myers <joseph@codesourcery.com>
15771
ae186e9a
JM
15772 * sysdeps/unix/fork.S: Remove file.
15773 * sysdeps/unix/i386/fork.S: Likewise.
15774 * sysdeps/unix/sparc/fork.S: Likewise.
15775
b96914af
JM
15776 * sysdeps/unix/system.c: Remove file.
15777 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15778
f37e0d68
JM
15779 * sysdeps/unix/getegid.S: Remove file.
15780 * sysdeps/unix/geteuid.S: Likewise.
15781
87ef29ca
RM
157822012-04-24 Roland McGrath <roland@hack.frob.com>
15783
83bcd236
RM
15784 * scripts/check-localplt.awk: New file.
15785 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15786 of diff.
15787 * scripts/data/localplt-generic.data: Add a comment.
15788
87ef29ca
RM
15789 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15790 NODE when __dir_mkfile failed.
15791 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15792 Reported by Ludovic Courtès <ludo@gnu.org>.
15793
e5a6e567
AJ
157942012-04-24 Andreas Jaeger <aj@suse.de>
15795
15796 * Makerules (common-clean): Also remove gen-as-const-headers
15797 files.
15798
c1820385
JM
157992012-04-24 Joseph Myers <joseph@codesourcery.com>
15800
15801 * Makerules (native-compile): Do not change working directory for
15802 build. Use $(OUTPUT_OPTION) in command.
15803 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15804
94e02fc4
AZ
158052012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15806
15807 [BZ #13886]
15808 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15809 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15810 * math/libm-test.inc (floor_test): Add more tests.
15811 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15812
3a533ca3
JM
158132012-04-24 Joseph Myers <joseph@codesourcery.com>
15814
940ab4b3
JM
15815 * sysdeps/unix/getdents.c: Remove file.
15816 * sysdeps/unix/sysv/getdents.c: Likewise.
15817 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15818
90e037bd
JM
15819 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15820 sysdeps/unix/mman/syscalls.list.
15821 (mmap): Likewise.
15822 (mprotect): Likewise.
15823 (msync): Likewise.
15824 (munmap): Likewise.
15825 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15826 * sysdeps/unix/mman/syscalls.list: Remove.
15827 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15828
3a533ca3
JM
15829 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15830 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15831 * configure: Regenerated.
15832 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15833 $(libgcc_s_suffix).
15834 * config.make.in (libgcc_s_suffix): Remove variable.
15835
1ad743de
JM
158362012-04-23 Joseph Myers <joseph@codesourcery.com>
15837
4ad451e2
JM
15838 * sysdeps/unix/sysv/gethostname.c: Move to ...
15839 * sysdeps/posix/gethostname.c: ... here.
15840
5e37ce39
JM
15841 * sysdeps/unix/execve.S: Remove file.
15842
1ad743de
JM
15843 * sysdeps/unix/_exit.S: Remove file.
15844
4e681b5b
AJ
158452012-04-23 Andreas Jaeger <aj@suse.de>
15846
15847 [BZ #13739]
15848 * manual/Makefile: Remove make dist support, there's no
15849 need for a stand-alone documentation tar ball.
15850 (TEXI2DVI): Define always, it's not in Makeconfig.
15851 (dist): Removed.
15852 (tar-it): Removed.
15853 (edition): Removed.
15854 (glibc-doc-$(edition).tar): Removed
15855 (%.Z): Removed.
15856 (%.gz): Removed.
15857 (%.uu): Removed.
15858 (ETAGS): Remove, it's in Makeconfig.
15859 (move-if-change): Remove, it's in Makeconfig.
15860
38686a03 158612012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15862
15863 [BZ #13970]
15864 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15865 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15866 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15867 (strtod_l, strtof_l, strtold_l): Remove __wur.
15868 It is not necessarily an error to ignore strtol's return value.
15869 One can reliably look at the stored endptr to decide whether
15870 the number had valid syntax.
15871
7c0616fa
AJ
158722012-04-21 Andreas Jaeger <aj@suse.de>
15873
803cb6b7 15874 [BZ #13739]
7c0616fa
AJ
15875 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15876
b0fe253f
JM
158772012-04-21 Joseph Myers <joseph@codesourcery.com>
15878
15879 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15880 * sysdeps/unix/sysv/Versions: Remove file.
15881
8280f22d
MT
158822012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15883
15884 [BZ #13927]
15885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15886
75ce411f 158872012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15888
15889 [BZ #7064]
15890 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15891 version from __vm86.
15892
097d59fa
JM
158932012-04-20 Joseph Myers <joseph@codesourcery.com>
15894
a90f3bcb
JM
15895 * sysdeps/unix/common/lxstat.c: Remove file.
15896 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15897
edc7ea78
JM
15898 * sysdeps/unix/sysv/Makefile: Remove file.
15899
cb78c221
JM
15900 * sysdeps/unix/sysv/direct.h: Remove file.
15901
efa6a45f
JM
15902 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15903 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15904 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15905 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15906 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15907 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15908 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15909
9c9f2d0c
JM
15910 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15911
4541c83b
JM
15912 * sysdeps/unix/xmknod.c: Remove file.
15913 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15914
f5d153a0
JM
15915 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15916
aa746595
JM
15917 * sysdeps/unix/sysv/i386/time.S: Remove file.
15918
cce5905e
JM
15919 * sysdeps/unix/fxstat.c: Remove file.
15920 * sysdeps/unix/xstat.c: Likewise.
15921 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15922
37fa3841
JM
15923 * sysdeps/unix/sysv/sigaction.c: Remove file.
15924
ff1962a3
JM
15925 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15926 (sysdep_headers): Remove variable.
15927 [termio.h not in sysdep_headers] (generated): Likewise.
15928 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15929 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15930 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15931 * sysdeps/unix/sysv/tcflow.c: Likewise.
15932 * sysdeps/unix/sysv/tcflush.c: Likewise.
15933 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15934 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15935 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15936 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15937 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15938
e7740d31
JM
15939 * sysdeps/unix/siglist.c: Remove file.
15940
ee06f18b
JM
15941 * sysdeps/unix/getppid.S: Remove file.
15942
097d59fa
JM
15943 * sysdeps/unix/mkdir.c: Remove file.
15944 * sysdeps/unix/rmdir.c: Likewise.
15945
ff3d51ec
AS
159462012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15947
15948 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15949 ERR_MAX value.
15950 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15951 errlist-compat value.
15952
50f81fd7
DM
159532012-04-18 David S. Miller <davem@davemloft.net>
15954
15955 * sysdeps/generic/memcopy.h (reg_char): Delete.
15956 * debug/strcat_chk.c: Use char, not reg_char.
15957 * debug/strcpy_chk.c: Likewise.
15958 * debug/strncat_chk.c: Likewise.
15959 * debug/strncpy_chk.c: Likewise.
15960 * string/memchr.c: Likewise.
15961 * string/memrchr.c: Likewise.
15962 * string/rawmemchr.c: Likewise.
15963 * string/strcat.c: Likewise.
15964 * string/strchr.c: Likewise.
15965 * string/strchrnul.c: Likewise.
15966 * string/strcmp.c: Likewise.
15967 * string/strcpy.c: Likewise.
15968 * string/strncat.c: Likewise.
15969 * string/strncmp.c: Likewise.
15970 * string/strncpy.c: Likewise.
15971
8ff41c46
WS
159722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15973
15974 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15975 __builtin_memcopy is called when src and dest ranges are known to not
15976 overlap.
15977
6b652f46
WS
159782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15979
15980 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15981 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15982 fwd_align_merge macro call.
15983 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15984 bwd_align_merge macro call.
15985 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15986
b282631e
WS
159872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15988
15989 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15990 bwd_align_merge macros.
15991 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15992 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15993 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15994
95aa737c
DM
159952012-04-18 David S. Miller <davem@davemloft.net>
15996
15997 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15998
7a99a614
AJ
159992012-04-18 Andreas Jaeger <aj@suse.de>
16000
16001 [BZ# 6794]
16002 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16003 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16004 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16005
16006 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16007 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16008 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16009
16010 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16011 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16012 Adjust for changed ldbl-128 files.
16013
16014 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16015 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16016 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16017
e5270c23
DM
160182012-04-17 David S. Miller <davem@davemloft.net>
16019
16020 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16021
fb5e92c9
AS
160222012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16023
16024 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16025 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16026 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16027 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16028 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16029 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16030
76da7265
AZ
160312012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16032
16033 [BZ #6794]
16034 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16035 * math/libm-test.inc: Add ilogb errno and exception tests.
16036 * math/w_ilogb.c: New file: ilogb wrapper.
16037 * math/w_ilogbf.c: New file: ilogbf wrapper.
16038 * math/w_ilogbl.c: New file: ilogbl wrapper.
16039 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16040 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16041 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16042 exception being thrown with 0.0 as argument.
16043 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16044 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16045 exception being thrown with 0.0 as argument.
16046 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16047 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16048 exception being thrown with 0.0 as argument.
16049 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16050 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16051 exception being thrown with 0.0 as argument.
16052 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16053 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16054 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16055 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16056 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16057 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16058 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16059 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16060 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16061
0396e69d
PB
160622012-04-17 Petr Baudis <pasky@ucw.cz>
16063
16064 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16065 with altivec.
16066
750b5926
MP
160672012-04-16 Marek Polacek <polacek@redhat.com>
16068
16069 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16070
751728a1
MP
160712012-04-16 Marek Polacek <polacek@redhat.com>
16072
16073 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16074 operands of fdivp instruction.
16075
34a27407
L
160762012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16077
16078 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16079 * elf/tst-auditmod3b.c: Likewise.
16080 * elf/tst-auditmod4b.c: Likewise.
16081 * elf/tst-auditmod5b.c: Likewise.
16082 * elf/tst-auditmod6b.c: Likewise.
16083 * elf/tst-auditmod6c.c: Likewise.
16084 * elf/tst-auditmod7b.c: Likewise.
16085 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16086 * sysdeps/x86_64/preconfigure.in: Likewise.
16087 * sysdeps/x86_64/preconfigure: Regenerated.
16088
7e73e17d
L
160892012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16090
16091 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16092 __ILP32__.
16093
c7a6ab72
AB
160942012-04-13 Antoine Balestrat <merkil33@gmail.com>
16095
16096 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16097 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16098
a9e8e0e0
CL
160992012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16100
16101 [BZ #13973]
16102 * locale/iso-639.def: Fix gl language name. Spotted by
16103 Yaron Shahrabani.
16104
ec98af7d
RM
161052012-04-12 Roland McGrath <roland@hack.frob.com>
16106
16107 [BZ #2074]
16108 * libio/libio.h (__io_write_fn): Update comment.
16109
247c3ede
PB
161102012-04-12 Petr Baudis <pasky@ucw.cz>
16111
16112 [BZ #2074]
16113 * stdio.texi (Hook Functions): The user provided writer function
16114 is not allowed to return -1.
16115
55939d6d
DM
161162012-04-11 David S. Miller <davem@davemloft.net>
16117
16118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16119
90020f5a
MF
161202012-04-11 Mike Frysinger <vapier@gentoo.org>
16121
16122 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16123 Add a leading slash to rtkaio.
16124
288f9098
JM
161252012-04-11 Jim Meyering <meyering@redhat.com>
16126
90020f5a
MF
16127 [BZ #11959]
16128 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16129 It is not necessarily an error to ignore fwrite's return
16130 value. One can reliably use ferror to test for errors after
16131 the fact.
288f9098 16132
4be2b570
L
161332012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16134
16135 * bits/types.h (__snseconds_t): New type.
16136 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16137
16138 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16139 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16140 (__SNSECONDS_T_TYPE): Likewise.
16141 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16142 (__SNSECONDS_T_TYPE): Likewise.
16143 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16144 (__SNSECONDS_T_TYPE): Likewise.
16145
288f9098 161462012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16147
16148 [BZ #2636]
16149 * manual/time.texi (Processor Time): Return type of times is
16150 elapsed real time since an arbitrary point in the past.
16151 (CPU Time): Move CLK_TCK from here...
16152 (Processor Time): ...to here. Correct description.
16153 * manual/conf.texi (Constants for Sysconf): Correct description of
16154 _SC_CLK_TCK.
16155
d7dd4413
DM
161562012-04-10 David S. Miller <davem@davemloft.net>
16157
16158 [BZ #13967]
16159 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16160 where the is a gap between DT_REL(A) and DT_JMPREL.
16161
b46068fc
L
161622012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16163
16164 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16165 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16166 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16167
73d65cc3
SP
161682012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16169
16170 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16171 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16172 (dl_main): Handle --inhibit-cache.
16173 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16174 _dl_inhibit_cache.
16175 * elf/dl-load.c (_dl_map_object): Use it.
16176 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16177
bcc8d661
JM
161782012-04-09 Joseph Myers <joseph@codesourcery.com>
16179
8f9a2fae
JM
16180 [BZ #13872]
16181 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16182 (__ieee754_powl): Saturate large exponents rather than testing for
16183 overflow of y*log2(x).
16184 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16185 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16186 exceptions.
16187
bcc8d661
JM
16188 [BZ #11521]
16189 * math/s_ctan.c: Include <float.h>.
16190 (__ctan): Avoid internal overflow or cancellation in calculating
16191 denominator.
16192 * math/s_ctanf.c: Likewise.
16193 * math/s_ctanl.c: Likewise.
16194 * math/s_ctanh.c: Likewise.
16195 * math/s_ctanhf.c: Likewise.
16196 * math/s_ctanhl.c: Likewise.
16197 * math/libm-test.inc (ctan_test): Add more tests.
16198 (ctanh_test): Likewise.
16199 * sysdeps/i386/fpu/libm-test-ulps: Update.
16200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16201
823fbbb4
AJ
162022012-04-09 Andreas Jaeger <aj@suse.de>
16203
03879793
AJ
16204 [BZ #6894]
16205 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16206 is an optional BSD extension.
16207
823fbbb4
AJ
16208 [BZ #10254]
16209 * manual/stdio.texi (Opening Streams): Document additional fopen
16210 parameters.
16211
8de131cb
RM
162122012-04-09 Roland McGrath <roland@hack.frob.com>
16213
16214 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16215 %eax without telling the compiler.
16216
c0ed9d7d
CD
162172012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16218
16219 [BZ # 13963]
16220 * manual/install.texi: Use sourceware.org.
16221
c483f6b4
JM
162222012-04-09 Joseph Myers <joseph@codesourcery.com>
16223
d7dd9453
JM
16224 [BZ #13873]
16225 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16226 (__ieee754_pow): Generate overflow and underflow using huge*huge
16227 and tiny*tiny rather than just returning constant infinity or zero
16228 for large exponents.
16229 * math/libm-test.inc (pow_test): Require overflow exceptions for
16230 applicable cases of large exponents.
16231
c483f6b4
JM
16232 [BZ #706]
16233 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16234 (__ieee754_pow): Use iterative multiplication algorithm only for
16235 integer exponents with absolute value below 1024. Check for odd
16236 integer exponents when using algorithm for real exponents.
16237 * math/libm-test.inc (pow_test): Add more tests.
16238 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16239
d2de7579
JM
162402012-04-08 Joseph Myers <joseph@codesourcery.com>
16241
16242 [BZ #13705]
16243 * math/libm-test.inc (exp_test): Do not allow overflow exception
16244 on underflow test.
16245
f77f1232
AJ
162462012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16247
16248 [BZ #13705]
16249 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16250 instead of __kernel_standard_f.
16251
3884932b
MF
162522012-04-08 Mike Frysinger <vapier@gentoo.org>
16253
16254 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16255 * sysdeps/x86_64/memset_chk.S: Likewise.
16256
54472e9c
AJ
162572012-04-08 Andreas Jaeger <aj@suse.de>
16258
6ab0fbfc
AJ
16259 [BZ #10153]
16260 * manual/startup.texi (Environment Access): Describe return value
16261 for putenv and setenv.
16262
61efba8c
AJ
16263 [BZ #6895]
16264 * manual/filesys.texi (Directory Entries): Add description for
16265 DT_LNK.
16266
95c3f29a
AJ
16267 [BZ #6890]
16268 * manual/filesys.texi (Directory Entries): Clarify that it's file
16269 system not operating system in the description of DT_UNKNOWN.
16270
54472e9c
AJ
16271 [BZ #6578]
16272 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16273
624254b1
SC
162742012-04-08 Stephen Compall <s11@member.fsf.org>
16275
16276 [BZ #6649]
16277 * manual/llio.texi (Opening and Closing Files): Add cross
16278 reference to explain mode argument.
16279
1e4920e0
MF
162802012-04-07 Mike Frysinger <vapier@gentoo.org>
16281
16282 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16283 * sysdeps/x86_64/memset_chk.S: Likewise.
16284
5ed848f3
DM
162852012-04-07 David S. Miller <davem@davemloft.net>
16286
16287 * elf/elf.h (R_SPARC_WDISP10): Define.
16288 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16289 R_SPARC_SIZE32.
16290 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16291 R_SPARC_SIZE64 and R_SPARC_H34.
16292
96154cd8
CD
162932012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16294
16295 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16296 conditions and remove no longer applicable assertion.
16297
9904dc47
L
162982012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16299
16300 * bits/byteswap.h: Include <features.h>.
16301 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16302 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16303
f8887d0a
L
163042012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16305
16306 * bits/byteswap.h (__bswap_16): Removed.
16307 Include <bits/byteswap-16.h> to get __bswap_16.
16308 * sysdeps/i386/bits/byteswap.h: Likewise.
16309 * sysdeps/s390/bits/byteswap.h: Likewise.
16310 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16311 * bits/byteswap-16.h: New file.
16312 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16313 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16314 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16315 * string/Makefile (headers): Add bits/byteswap-16.h.
16316
62470f60
PP
163172012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16318
16319 [BZ #13895]
16320 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16321 extra indirection.
16322 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16323 * nss/tst-nss-static.c: New.
16324
4dad7bab
RM
163252012-04-06 Robert Millan <rmh@gnu.org>
16326
16327 [BZ #6486]
16328 * manual/llio.texi (File Position Primitive): lseek
16329 refers to WHENCE when it really means OFFSET.
16330
e9142a17
AJ
163312012-04-06 Andreas Jaeger <aj@suse.de>
16332
2c040eff
AJ
16333 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16334 strncmp declarations.
16335
e9142a17
AJ
16336 * abilist/libc.abilist: Add __poll and __ppoll.
16337
ff9f1c5f
DM
163382012-04-05 David S. Miller <davem@davemloft.net>
16339
dcd2ae90
DM
16340 * scripts/check-local-headers.sh: Accept a host triplet in the
16341 path matched by the exclude regexp.
16342
993eb054
DM
16343 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16344 definition.
16345 * sysdeps/powerpc/powerpc32/dl-machine.h
16346 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16347 * sysdeps/s390/s390-32/dl-machine.h
16348 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16349 * sysdeps/sparc/sparc32/dl-machine.h
16350 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16351 * sysdeps/sparc/sparc64/dl-machine.h
16352 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16353
ff9f1c5f
DM
16354 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16355 lazy binding.
48e2e132 16356 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16357 undefined symbol errors.
16358
48e2e132 16359 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16360 DT_NEEDED entries.
16361
e80d6f94
MM
163622012-04-05 Michael Matz <matz@suse.de>
16363
16364 [BZ #13592]
16365 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16366
349fa79f
AJ
163672012-04-05 Andreas Jaeger <aj@suse.de>
16368
16369 [BZ #13908]
16370 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16371 comment.
16372
f402708f
KK
163732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16374
16375 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16376 which ROUND is no valid rounding mode.
16377
2ecccfc9
KK
163782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16379
16380 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16381 read again.
16382 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16383
8a53f50f
KK
163842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16385
16386 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16387 an exception using FPU order intentionally.
16388
163892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16390
16391 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16392 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16393 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16394 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16395
d653abb7
SJ
163962012-04-05 Simon Josefsson <simon@josefsson.org>
16397
16398 [BZ #12340]
16399 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16400 EINVAL when BUFLEN is too smal.
16401
c3b1bf7d
TS
164022012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16403
16404 [BZ #13553]
16405 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16406 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16407
b1aa60f3
AJ
164082012-04-03 Andreas Jaeger <aj@suse.de>
16409
c3b1bf7d 16410 [BZ #13938]
67f60a26
AJ
16411 * manual/setjmp.texi (System V contexts): Fix sentence.
16412
b1aa60f3
AJ
16413 [BZ #13926]
16414 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16415 New macro for this case.
16416 [!__GNUC__] (__bswap_64): New inline function for this case.
16417 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16418 * bits/byteswap.h: Likewise.
16419 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16420 ull, guard with __GLIBC_HAVE_LONG_LONG.
16421
16422 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16423 __GLIBC_HAVE_LONG_LONG.
16424
16425 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16426 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16427
39c59c35
TMQMF
164282012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16429
16430 [BZ #13691]
16431 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16432 inptr and inend, rather than using last_ch.
16433
135ffda8
DM
164342012-04-02 David S. Miller <davem@davemloft.net>
16435
16436 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16437 * stdio-common/printf-parse.h (read_int): Change return type to
16438 'int', return -1 on INT_MAX overflow.
16439 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16440 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16441 overflows INT_MAX. Check for overflow of in-format-string precision
16442 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16443 SIZE_MAX not INT_MAX for integer overflow test.
16444 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16445 skip the construct in the format string but do not record anything.
16446 * stdio-common/bug22.c: Adjust to test both width/prevision
16447 INT_MAX overflow as well as total length INT_MAX overflow. Check
16448 explicitly for proper errno values.
16449
228c019e
TS
164502012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16451
302cadd3
TS
16452 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16453 CHAR_MAX.
16454 * string/test-strcmp.c [! WIDE]: Likewise.
16455 * time/tst-mktime2.c: Likewise for INT_MAX.
16456 * string/test-string.h: #include <sys/param.h> for MIN.
16457
228c019e
TS
16458 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16459 * sysdeps/i386/init-first.c (init): Likewise.
16460 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16461 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16462 * sysdeps/sh/init-first.c (init): Likewise.
16463
cfa633f5
UD
164642012-04-01 Ulrich Drepper <drepper@gmail.com>
16465
16466 * po/ru.po: Update from translation team.
d1635ef8 16467 * po/vi.po: Likewise.
cfa633f5 16468
6cd0a5ea
SP
164692012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16470
16471 * resolv/nss_dns/dns-host.c: Merge copyright years.
16472
4b43400f
LD
164732012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16474
16475 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16476 Optimize memcpy with prefetch if
16477 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16478 src, dst pointers have unequal 16 byte alignments.
16479
48c41d04
SP
164802012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16481
16482 [BZ #13928]
16483 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16484 from a CNAME entry and return the minimum ttl for the query.
16485 (gaih_getanswer_slice): Likewise.
16486
b8dc394d
JL
164872012-03-30 Jeff Law <law@redhat.com>
16488
16489 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16490 due to long keys.
16491 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16492 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16493
2f5a5ed0
JL
16494 * resolv/nss_dns/dns-host.c: Update copyright year.
16495
1d39e359
UD
164962012-03-30 Ulrich Drepper <drepper@gmail.com>
16497
c030f70c 16498 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16499 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16500
1d39e359
UD
16501 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16502 comments for sendmmsg.
16503
165042012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16505
16506 [BZ #13691]
16507 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16508 with only 1 character between 0x0041 and 0x01b0.
16509 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16510 * wcsmbs/tst-mbsnrtowcs.c: New file.
16511
20fde227
DM
165122012-03-29 David S. Miller <davem@davemloft.net>
16513
16514 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16515 small copies by hand.
16516
984a4237
JL
165172012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16518
16519 [BZ #13761]
16520 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16521 _nss_compat_initgroups_dyn): Fall back to malloc/free
16522 for large group memberships.
16523
18c9d62b
DM
165242012-03-28 David S. Miller <davem@davemloft.net>
16525
88d85d4f
DM
16526 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16527 that branches into memcpy.
16528 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16529 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16530 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16531 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16532 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16533 bits.
16534 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16535 implementation too.
16536 * sysdeps/sparc/mempcpy.S: New file.
16537
e5aa83e1
DM
16538 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16539 the IFUNC routine in the libc case.
16540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16541
88570753
DM
16542 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16543 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16544 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16545 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16546 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16547 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16548 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16549 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16550
249d7567
DM
16551 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16552 loop to 256 bytes instead of 64 bytes and fix test signedness.
16553
18c9d62b
DM
16554 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16555 * sysdeps/sparc/sparc32/Makefile: rather than here...
16556 * sysdeps/sparc/sparc64/Makefile: and here.
16557
05f3d1f6
UD
165582012-03-28 Ulrich Drepper <drepper@gmail.com>
16559
16560 * malloc/mallocbug.c: Avoid warnings about unused variables.
16561
86ae07a8
JL
165622012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16563
16564 [BZ #13760]
16565 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16566 in the right place. Discard and retry query if response is
16567 larger than input buffer size.
16568
41bf21a1
JM
165692012-03-28 Joseph Myers <joseph@codesourcery.com>
16570
d6270972
JM
16571 [BZ #369]
16572 [BZ #2678]
16573 [BZ #3866]
16574 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16575 x for large integer exponent.
16576 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16577 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16578 sign of result as needed afterwards.
16579 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16580 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16581 result for underflowing pow the same as for overflow.
16582 (__kernel_standard_l): Handle powl overflow and underflow here
16583 rather than calling __kernel_standard.
16584 * math/libm-test.inc (pow_test): Add more tests.
16585
414fca03 16586 [BZ #3868]
41bf21a1
JM
16587 [BZ #13879]
16588 [BZ #13910]
16589 [BZ #13911]
16590 [BZ #13912]
16591 [BZ #13913]
16592 [BZ #13915]
16593 [BZ #13916]
16594 [BZ #13917]
16595 [BZ #13918]
16596 [BZ #13919]
16597 [BZ #13920]
16598 [BZ #13921]
16599 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16600 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16601 (__kernel_standard_l): New function.
16602 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16603 __kernel_standard.
16604 * math/w_acosl.c (__acosl): Likewise.
16605 * math/w_asinl.c (__asinl): Likewise.
16606 * math/w_atan2l.c (__atan2l): Likewise.
16607 * math/w_atanhl.c (__atanhl): Likewise.
16608 * math/w_coshl.c (__coshl): Likewise.
16609 * math/w_exp10l.c (__exp10l): Likewise.
16610 * math/w_exp2l.c (__exp2l): Likewise.
16611 * math/w_fmodl.c (__fmodl): Likewise.
16612 * math/w_hypotl.c (__hypotl): Likewise.
16613 * math/w_j0l.c (__j0l, __y0l): Likewise.
16614 * math/w_j1l.c (__j1l, __y1l): Likewise.
16615 * math/w_jnl.c (__jnl, __ynl): Likewise.
16616 * math/w_lgammal.c (__lgammal): Likewise.
16617 * math/w_log10l.c (__log10l): Likewise.
16618 * math/w_log2l.c (__log2l): Likewise.
16619 * math/w_logl.c (__logl): Likewise.
16620 * math/w_powl.c (__powl): Likewise.
16621 * math/w_remainderl.c (__remainderl): Likewise.
16622 * math/w_scalbl.c (sysv_scalbl): Likewise.
16623 * math/w_sinhl.c (__sinhl): Likewise.
16624 * math/w_sqrtl.c (__sqrtl): Likewise.
16625 * math/w_tgammal.c (__tgammal): Likewise.
16626 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16627 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16628 * math/libm-test.inc (acos_test): Add more tests.
16629 (acosh_test): Likewise.
16630 (asin_test): Likewise.
16631 (atanh_test): Likewise.
16632 (exp_test): Likewise.
16633 (exp10_test): Likewise.
16634 (exp2_test): Likewise.
16635 (expm1_test): Likewise.
16636 (lgamma_test): Likewise.
16637 (log_test): Likewise.
16638 (log10_test): Likewise.
16639 (log1p_test): Likewise.
16640 (log2_test): Likewise.
16641 (pow_test): Do not allow some spurious overflow exceptions.
16642 (sqrt_test): Add more tests.
16643 (tgamma_test): Likewise.
16644 (y0_test): Likewise.
16645 (y1_test): Likewise.
16646 (yn_test): Likewise.
16647
dd62fda6
AB
166482012-03-27 Anton Blanchard <anton@samba.org>
16649
16650 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16651 MAP_HUGETLB.
16652 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16653 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16654 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16655
1e3cdfda
AJ
166562012-03-27 David S. Miller <davem@davemloft.net>
16657
b855ab85
DM
16658 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16659
1e3cdfda
AJ
16660 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16661 have-as-vis3 check.
16662
166632012-03-27 Andreas Jaeger <aj@suse.de>
16664
16665 * sysdeps/x86_64/elf/configure.in: Moved to ...
16666 * sysdeps/x86_64/configure.in: ... here.
16667 * sysdeps/x86_64/elf/start.S: Moved to ...
16668 * sysdeps/x86_64/start.S: ... here.
16669 * sysdeps/x86_64/elf/configure: Delete.
16670
16671 * sysdeps/x86_64/configure.in: Merge contents from
16672 sysdeps/i386/configure.in (without i686 check).
16673
16674 * sysdeps/i386/elf/Versions: Merge into ...
16675 * sysdeps/i386/Versions: ... this.
16676 * sysdeps/i386/elf/Versions: Delete file.
16677 * sysdeps/i386/elf/start.S: Moved to ...
16678 * sysdeps/i386/start.S: ...here.
16679 * sysdeps/i386/elf/configure.in: Merge into...
16680 * sysdeps/i386/configure.in: ...here.
16681 * sysdeps/i386/elf/configure.in: Delete file.
16682 * sysdeps/i386/elf/configure: Delete file.
16683
16684 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16685 * debug/backtracesyms.c: ... here.
16686 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16687 * debug/backtracesymsfd.c: ... here.
16688 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16689 * sysdeps/generic/ifunc-sel.h: ... here.
16690
16691 * sysdeps/unix/i386/start.c: Delete file.
16692 * sysdeps/unix/sparc/start.c: Delete file.
16693 * sysdeps/unix/start.c: Delete file.
16694
16695 * sysdeps/sh/elf/configure.in: Moved to ...
16696 * sysdeps/sh/configure.in: ... here.
16697 * sysdeps/sh/elf/start.S: Moved to ...
16698 * sysdeps/sh/start.S: ... here.
16699 * sysdeps/sh/elf/configure: Delete file.
16700
16701 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16702 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16703 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16704 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16705 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16706 * sysdeps/powerpc/powerpc64/start.S: here.
16707 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16708 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16709 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16710 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16711 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16712
16713 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16714 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16715 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16716 * sysdeps/powerpc/powerpc32/start.S: ... here.
16717 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16718 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16719 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16720
16721 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16722 * sysdeps/powerpc/ifunc-sel.h: ... here.
16723 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16724 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16725
16726 * sysdeps/sparc/elf/configure.in: Moved to ...
16727 * sysdeps/sparc/configure.in: ... here.
16728 * sysdeps/sparc/elf/configure: Delete file.
16729 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16730 * sysdeps/sparc/sparc32/start.S: ... here.
16731 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16732 * sysdeps/sparc/sparc64/start.S: ... here.
16733 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16734 * sysdeps/sparc/sparc32/Makefile: ... this.
16735 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16736 * sysdeps/sparc/sparc64/Makefile: ... this.
16737
16738 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16739 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16740 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16741 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16742 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16743 * sysdeps/s390/s390-32/setjmp.S: ... here.
16744 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16745 * sysdeps/s390/s390-32/configure.in: ... here.
16746 * sysdeps/s390/s390-32/elf/configure: Delete file.
16747 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16748 * sysdeps/s390/s390-32/start.S: ... here.
16749
16750 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16751 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16752 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16753 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16754 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16755 * sysdeps/s390/s390-64/setjmp.S: ... here.
16756 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16757 * sysdeps/s390/s390-64/configure.in: ... here
16758 * sysdeps/s390/s390-64/elf/configure: Delete file.
16759 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16760 * sysdeps/s390/s390-64/start.S: ... here.
16761 * sysdeps/s390/s390-64/elf/configure: Delete.
16762
16763 * configure.in: Remove support for elf directories in sysdeps.
16764
16765 * configure: Regenerated.
16766 * sysdeps/i386/configure: Regenerated.
16767 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16768 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16769 * sysdeps/s390/s390-32/configure: Regenerated.
16770 * sysdeps/s390/s390-64/configure: Regenerated.
16771 * sysdeps/sh/configure: Regenerated.
16772 * sysdeps/sparc/configure: Regenerated.
16773 * sysdeps/x86_64/configure: Regenerated.
16774
a3f61311
AS
167752012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16776
c876e002
AS
16777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16778
a3f61311
AS
16779 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16780 denormal result into account.
16781
ac4c54f0
RM
167822012-03-25 Roland McGrath <roland@hack.frob.com>
16783
16784 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16785 Reported by Allan McRae <allan@archlinux.org>.
16786
6a9b9c02
JL
167872012-03-23 Jeff Law <law@redhat.com>
16788
16789 * nss/getnssent.c (__nss_getent): Fix typo.
16790
4c42a0c1
DM
167912012-03-23 David S. Miller <davem@davemloft.net>
16792
16793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16794
1532c7ac
L
167952012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16796
16797 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16798 to pad to uint64_t for each field.
16799 (dl_tls_index): Replace unsigned long with uint64_t.
16800
3ff42526
PP
168012012-03-23 Daniel Jacobowitz <dmj@google.com>
16802 Paul Pluzhnikov <ppluzhnikov@google.com>
16803
16804 [BZ #6528]
16805 * grp/Makefile (otherlibs): Don't set it.
16806 * inet/Makefile (otherlibs): Likewise.
16807 * login/Makefile (otherlibs): Likewise.
16808 * nscd/Makefile (otherlibs): Likewise.
16809 * posix/Makefile (otherlibs): Likewise.
16810 * pwd/Makefile (otherlibs): Likewise.
16811 * rt/Makefile (otherlibs): Likewise.
16812 * sunrpc/Makefile (otherlibs): Likewise.
16813 * nss/Makefile (otherlibs): Likewise.
16814 Add libnss_files to routines and static-only-routines.
16815 ($(objpfx)getent): Remove rule.
16816 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16817 static-only-routines.
16818
7c69cd14
JM
168192012-03-22 Joseph Myers <joseph@codesourcery.com>
16820
16821 [BZ #13892]
16822 * math/s_cexp.c: Include <float.h>.
16823 (__cexp): Handle exp result overflowing not necessarily
16824 overflowing both real and imaginary parts of result.
16825 * math/s_cexpf.c: Likewise.
16826 * math/s_cexpl.c: Likewise.
16827 * math/libm-test.inc (cexp_test): Add more tests.
16828 * sysdeps/i386/fpu/libm-test-ulps: Update.
16829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16830
81b035fe
L
168312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16832
16833 * include/link.h (ELFW): New macro.
16834 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16835 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16836
1da7940c
L
168372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16838
16839 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16840 with uint64_t.
16841
b749dbb9
L
168422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16843
16844 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16845 declaration.
16846 (struct La_x32_retval): Likewise.
16847
2ff87f3f
L
168482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16849
16850 * sysdeps/x86_64/preconfigure.in: New file.
16851 * sysdeps/x86_64/preconfigure: New generated file.
16852
c0df8e69
JM
168532012-03-22 Joseph Myers <joseph@codesourcery.com>
16854
48e44791
JM
16855 [BZ #13824]
16856 * math/e_exp2l.c: Include <float.h>.
16857 (__ieee754_exp2l): Handle overflow and underflow cases
16858 separately. Only pass fractional part of argument to
16859 __ieee754_expl.
16860 * math/libm-test.inc (exp2_test): Add more tests.
16861
c0df8e69
JM
16862 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16863 negating x to take absolute value.
16864 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16865 Likewise.
16866 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16867 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16868 Likewise.
16869 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16870 computing low part if x was negated.
16871 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16872
c8e43ba7
L
168732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16874
16875 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16876 la_x32_gnu_pltexit.
16877 (pltexit): Cast int_retval to ptrdiff_t.
16878 * elf/tst-auditmod3b.c: Likewise.
16879 * elf/tst-auditmod4b.c: Likewise.
16880 * elf/tst-auditmod5b.c: Likewise.
16881 * elf/tst-auditmod6b.c: Likewise.
16882 * elf/tst-auditmod6c.c: Likewise.
16883 * elf/tst-auditmod7b.c: Likewise.
16884
16885 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16886 and x32_gnu_pltexit.
16887
16888 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16889 __ELF_NATIVE_CLASS.
16890 (La_x32_regs): New macro.
16891 (La_x32_retval): Likewise.
16892 (la_x32_gnu_pltenter): New function prototype.
16893 (la_x32_gnu_pltexit): Likewise.
16894
7998fa78
AS
168952012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16896
dcb33988
AS
16897 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16898 exponent.
16899
233fc563
AS
16900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16901
7998fa78
AS
16902 * configure.in (libc_cv_cc_nofma): Check for option to disable
16903 generation of FMA instructions.
16904 * configure: Regenerate.
16905 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16906 * sysdeps/ieee754/dbl-64/Makefile: New file.
16907 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16908 Remove brandred-fma4.
16909 (CFLAGS-brandred-fma4.c): Remove.
16910 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16911 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16912 define.
16913 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16914 define.
16915
8e95c99a
L
169162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16917
16918 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16919 LLONG_MAX != LONG_MAX.
16920 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16921 (_fitoa_word): Likewise.
16922 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16923 LLONG_MAX != LONG_MAX.
16924 * stdio-common/_itowa.h: Include <_itoa.h>.
16925 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16926 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16927 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16928 only if not defined.
16929 (_ITOA_WORD_TYPE): Likewise.
16930 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16931 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16932
6f4db457
DM
169332012-03-21 David S. Miller <davem@davemloft.net>
16934
16935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16936
7785fe5a
L
169372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16938
16939 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16940 of x86_64 when setting libc_cv_slibdir, libdir and
16941 libc_cv_localedir.
16942 * sysdeps/unix/sysv/linux/configure: Regenerated.
16943
4535cd55
JM
169442012-03-21 Joseph Myers <joseph@codesourcery.com>
16945
16946 * manual/lang.texi (Old Varargs): Remove section.
16947 (How Variadic): Update menu.
16948 (va_start): Do not mention varargs.h.
16949
17228132
TS
169502012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16951 Joseph Myers <joseph@codesourcery.com>
16952
16953 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16954 link test.
16955 * configure: Regenerated.
16956
8149f976
TS
169572012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16958
05f3d1f6
UD
16959 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16960 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16961 conformtest.pl
8149f976 16962
1a4ac776
JM
169632012-03-21 Joseph Myers <joseph@codesourcery.com>
16964
be22ce65
JM
16965 * NOTES: Remove.
16966 * Makefile (files-for-dist): Remove NOTES.
16967 (NOTES): Remove rule.
16968 * README: Don't refer to NOTES.
16969 * manual/creature.texi: Don't include macros.texi.
16970 * manual/intro.texi (creature.texi): Remove comment referring to
16971 NOTES.
16972
40b601fb
JM
16973 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16974 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16975 * configure: Regenerated.
16976 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16977 LIBC_TRY_CC_OPTION.
16978 (libc_cv_as_i686): Likewise.
16979 (libc_cv_cc_avx): Likewise.
16980 (libc_cv_cc_sse2avx): Likewise.
16981 (libc_cv_cc_fma4): Likewise.
16982 (libc_cv_cc_novzeroupper): Likewise.
16983 * sysdeps/i386/configure: Regenerated.
16984
1a4ac776
JM
16985 [BZ #13883]
16986 * sysdeps/i386/fpu/s_cexp.S: Remove.
16987 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16988 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16989 * math/libm-test.inc (cexp_test): Add more tests.
16990 * sysdeps/i386/fpu/libm-test-ulps: Update.
16991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16992
a458e7fe
AM
169932012-03-21 Allan McRae <allan@archlinux.org>
16994
16995 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16996
0cb7efc5
JM
169972012-03-21 Joseph Myers <joseph@codesourcery.com>
16998
16999 [BZ #13871]
17000 * math/w_exp2.c: Do not include <float.h>.
17001 (o_threshold, u_threshold): Remove.
17002 (__exp2): Calculate result before checking finiteness and calling
17003 __kernel_standard.
17004 * math/w_exp2f.c: Likewise.
17005 * math/w_exp2l.c: Likewise.
17006 * math/libm-test.inc (exp2_test): Require overflow exception for
17007 1e6 input.
2460d3aa
JM
17008
17009 [BZ #3866]
17010 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17011 range of signed 64-bit integers before using fistpll. Remove
17012 checks for whether integers fit in mantissa bits.
17013 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17014 the range of signed 32-bit integers before using fistpl. Remove
17015 checks for whether integers fit in mantissa bits.
17016 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17017 (__ieee754_powl): Test for y outside the range of signed 64-bit
17018 integers before using fistpll. Reduce 64-bit values to 63-bit
17019 ones as needed.
17020 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17021 divide-by-zero is raised for zero to large negative powers.
17022 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17023 (__ieee754_powl): Test for y outside the range of signed 64-bit
17024 integers before using fistpll. Reduce 64-bit values to 63-bit
17025 ones as needed.
17026 * math/libm-test.inc (pow_test): Add more tests.
17027
eb96ffb0
L
170282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17029
17030 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17031 <stdio-common/_itoa.h>.
17032 * debug/segfault.c: Likewise.
17033 * elf/dl-cache.c: Likewise.
17034 * elf/dl-minimal.c: Likewise.
17035 * elf/dl-misc.c: Likewise.
17036 * elf/dl-sysdep.c: Likewise.
17037 * elf/dl-version.c: Likewise.
17038 * elf/rtld.c: Likewise.
17039 * hurd/hurdsock.c: Likewise.
17040 * hurd/lookup-retry.c: Likewise.
17041 * malloc/malloc.c: Likewise.
17042 * malloc/mtrace.c: Likewise.
17043 * nscd/nscd_getgr_r.c: Likewise.
17044 * nscd/nscd_getpw_r.c: Likewise.
17045 * nscd/nscd_getserv_r.c: Likewise.
17046 * posix/getopt_init.c: Likewise.
17047 * posix/wordexp.c: Likewise.
17048 * stdio-common/_itoa.c: Likewise.
17049 * stdio-common/printf_fphex.c: Likewise.
17050 * stdio-common/vfprintf.c: Likewise.
17051 * string/_strerror.c: Likewise.
17052 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17053 * sysdeps/i386/i686/hp-timing.h: Likewise.
17054 * sysdeps/mach/_strerror.c: Likewise.
17055 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17056 * sysdeps/mach/hurd/sethostid.c: Likewise.
17057 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17058 * sysdeps/mach/xpg-strerror.c: Likewise.
17059 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17060 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17061 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17062 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17063 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17064 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17065 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17066 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17067 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17068 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17069 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17070 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17071 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17072 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17073 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17074 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17075 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17076 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17077 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17078 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17079 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17080
17081 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17082
17083 * stdio-common/_itoa.h: Moved to ...
17084 * sysdeps/generic/_itoa.h: Here.
17085
17086 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17087
17088 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17089 instead of "_itoa.h" and "_itowa.h".
17090 * stdio-common/vfprintf.: Likewise.
17091
d1af992d
L
170922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17093
17094 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17095 <bits/wordsize.h>.
17096 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17097 (__signbit): Likwise.
17098 (llrintf): Likwise.
17099 (llrint): Likwise.
17100
114883e0
L
171012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17102
17103 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17104 __WORDSIZE != 64.
17105
c135cc1b
JM
171062012-03-20 Joseph Myers <joseph@codesourcery.com>
17107
17108 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17109 OVERFLOW_EXCEPTION_OK.
17110 * math/libm-test.inc ("Philosophy"): Update comment about
17111 exception testing.
17112 (OVERFLOW_EXCEPTION): Define.
17113 (OVERFLOW_EXCEPTION_OK): Likewise.
17114 (INVALID_EXCEPTION_OK): Renumber.
17115 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17116 (IGNORE_ZERO_INF_SIGN): Likewise.
17117 (test_exceptions): Handle FE_OVERFLOW.
17118 (exp10_test): Expect overflow exceptions.
17119 (exp2_test): Likewise.
17120 (expm1_test): Likewise.
17121 (nextafter_test): Likewise.
17122 (pow_test): Likewise.
17123 (scalbn_test): Likewise.
17124 (scalbln_test): Likewise.
17125
95443d88
L
171262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17127
17128 * sysdeps/x86_64/bits/atomic.h
17129 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17130 64bit integer.
17131 (atomic_exchange_acq): Likewise.
17132 (__arch_exchange_and_add_body): Likewise.
17133 (__arch_add_body): Likewise.
17134 (atomic_add_negative): Likewise.
17135 (atomic_add_zero): Likewise.
17136
490df6c4
L
171372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17138
c2722551 17139 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17140 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17141
5e52b189
L
171422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17143
17144 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17145 Check __x86_64__ instead of __WORDSIZE.
17146
a9879d4c
L
171472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17148
17149 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17150
5df98260
DM
171512012-03-19 David S. Miller <davem@davemloft.net>
17152
e1497744
DM
17153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17154
5df98260
DM
17155 * sysdeps/sparc/fpu/fenv_private.h: New file.
17156 * sysdeps/sparc/fpu/math_private.h: Use it.
17157 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17158 Remove.
17159 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17160 (libc_feholdexcept_setroundl): Remove.
17161 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17162 Remove.
17163 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17164 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17165
b4c35121
L
171662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17167
17168 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17169 int64_t instead of long int.
17170 (INSERT_WORDS64): Likwise.
17171
56965fd7
L
171722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17173
17174 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17175 _Unwind_GetCFA return to _Unwind_Ptr first.
17176
83d1aec8
JM
171772012-03-19 Joseph Myers <joseph@codesourcery.com>
17178
1897ad44
JM
17179 [BZ #13629]
17180 * math/s_clog.c: Include <float.h>.
17181 (__clog): Scale large or subnormal inputs.
17182 * math/s_clogf.c: Likewise.
17183 * math/s_clogl.c: Likewise.
17184 * math/s_clog10.c: Include <float.h>.
17185 (M_LOG10_2): Define.
17186 (__clog10): Scale large or subnormal inputs.
17187 * math/s_clog10f.c: Likewise.
17188 * math/s_clog10l.c: Likewise.
17189 * math/libm-test.inc (clog_test): Add more tests.
17190 (clog10_test): Likewise.
17191 * sysdeps/i386/fpu/libm-test-ulps: Update.
17192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17193
7726d6a9
JM
17194 [BZ #11451]
17195 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17196 x and y.
17197 * math/libm-test.inc (atan2_test): Add another test.
17198
83d1aec8
JM
17199 * Makerules (common-objdir-compile): Remove.
17200 * sysdeps/unix/Makefile (config-generated): Do not add
17201 $(unix-generated) to variable.
17202 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17203 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17204 Remove rule.
17205 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17206 Likewise.
17207 [generic bits/local_lim.h] (before-compile): Do not append to
17208 variable.
17209 [generic bits/local_lim.h] (common-generated): Likewise.
17210 [generic sys/param.h] (before-compile): Do not append to variable.
17211 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17212 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17213 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17214 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17215 include.
17216 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17217 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17218 [generic sys/param.h] ($(addprefix
17219 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17220 [generic sys/param.h] (common-generated): Do not append to
17221 variable.
17222 [generic sys/param.h] (sysdep_headers): Likewise.
17223 [generic bits/errno.h] (before-compile): Do not append to
17224 variable.
17225 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17226 rule.
17227 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17228 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17229 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17230 [generic bits/errno.h] (common-generated): Do not append to
17231 variable.
17232 [generic bits/ioctls.h] (before-compile): Do not append to
17233 variable.
17234 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17235 rule.
17236 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17237 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17238 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17239 rule.
17240 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17241 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17242 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17243 [generic bits/ioctls.h] (common-generated): Do not append to
17244 variable.
17245 [generic sys/syscall.h] (syscall.h): Remove variable.
17246 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17247 rule.
17248 [generic sys/syscall.h] (before-compile): Do not append to
17249 variable.
17250 [generic sys/syscall.h] (common-generated): Likewise.
17251 * sysdeps/unix/errnos-tmpl.c: Remove file.
17252 * sysdeps/unix/errnos.awk: Likewise.
17253 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17254 * sysdeps/unix/ioctls.awk: Likewise.
17255 * sysdeps/unix/mk-local_lim.c: Likewise.
17256 * sysdeps/unix/snarf-ioctls: Likewise.
17257
4851a949
RH
172582012-03-19 Richard Henderson <rth@twiddle.net>
17259
bd37f2ee
RH
17260 * sysdeps/i386/fpu/fenv_private.h: New file.
17261 * sysdeps/i386/fpu/math_private.h: Use it.
17262 (math_opt_barrier, math_force_eval): Remove.
17263 (libc_feholdexcept_setround_53bit): Remove.
17264 (libc_feupdateenv_53bit): Remove.
17265 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17266 (math_opt_barrier, math_force_eval): Remove.
17267 (libc_feholdexcept): Remove.
17268 (libc_feholdexcept_setround): Remove.
17269 (libc_fetestexcept, libc_fesetenv): Remove.
17270 (libc_feupdateenv_test): Remove.
17271 (libc_feupdateenv, libc_feholdsetround): Remove.
17272 (libc_feresetround): Remove.
17273
d0adc922
RH
17274 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17275 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17276
0fe0f1f8
RH
17277 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17278 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17279 (libc_feupdateenv_testl): New.
17280 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17281 (libc_feupdateenv_testf): New.
17282 (libc_feupdateenv): Use libc_feupdateenv_test.
17283 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17284 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17285
eb92c487
RH
17286 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17287 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17288 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17289 (libc_feresetround_noex): New.
17290 (libc_feresetround_noexf): New.
17291 (libc_feresetround_noexl): New.
17292 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17293 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17294 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17295 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17296 SET_RESTORE_ROUND.
17297 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17298 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17299 (__cos): Likewise.
17300 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17301 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17302 SET_RESTORE_ROUND_NOEX.
17303 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17304 SET_RESTORE_ROUND_NOEXF.
17305 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17306 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17307 (libc_feholdsetroundf): New.
17308 (libc_feresetround, libc_feresetroundf): New.
17309
7d2e8012
RH
17310 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17311 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17312 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17313
b4dabbb4
RH
17314 * sysdeps/generic/math_private.h: Include <fenv.h>.
17315 (default_libc_feholdexcept): New.
17316 (default_libc_feholdexcept_setround): New.
17317 (default_libc_fesetenv, default_libc_feupdateenv): New.
17318 (libc_feholdexcept): Only define if undefined.
17319 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17320 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17321 (libc_feholdexcept_setroundl): Likewise.
17322 (libc_feholdexcept_setround_53bit): Likewise.
17323 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17324 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17325 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17326 (libc_feupdateenv_53bit): Likewise.
17327 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17328 (libc_feholdexcept): Convert from macro to inline function.
17329 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17330 (libc_fesetenv, libc_feupdateenv): Likewise.
17331
4851a949
RH
17332 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17333 not previously defined.
17334 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17335 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17336 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17337 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17338 * sysdeps/ieee754/flt-32/math_private.h: New file.
17339 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17340 math_private.h below SET_FLOAT_WORD.
17341 (__isnan, __isinf_ns, __finite): Remove.
17342 (__isnanf, __isinf_nsf, __finitef): Remove.
17343
e79d442e
AS
173442012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17345
17346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17347
90b80344
DM
173482012-03-17 David S. Miller <davem@davemloft.net>
17349
17350 [BZ #6471]
17351 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17352 for 2.16.
17353
edc21804
DM
173542012-03-16 David S. Miller <davem@davemloft.net>
17355
77e927af
DM
17356 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17357 warnings.
17358
374976dd
DM
17359 [BZ #6471]
17360 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17361 properly.
17362 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17363 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17364 sysdep_routines when subdir is sysvipc.
17365 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17366 __getshmlba helper.
17367
edc21804
DM
17368 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17369
473c3ef3
L
173702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17371
17372 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17373 [__LP64__].
17374
eb0f39b6
L
173752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17376
17377 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17378 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17379 (__lround): Renamed to ...
17380 (__llround): This. Replace long int with long long int.
17381 Define lround functions as aliases of llround functions.
17382 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17383
6b6cd74b
L
173842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17385
17386 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17387 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17388 adresses to uintptr_t. Replace "long int" and "unsigned long
17389 int" with "greg_t" on va_arg.
17390
f1a77b01
L
173912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17392
17393 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17394 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17395
17396 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17397 Move e_machine check before EI_CLASS check. Handle x32
17398 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17399 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17400 SKIP_EM_IA_64 and include
17401 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17402
17403 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17404 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17405 (add_system_dir): New macro.
17406
17407 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17408 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17409
11b90b9f
JM
174102012-03-16 Joseph Myers <joseph@codesourcery.com>
17411
c36e1d23
JM
17412 [BZ #2551]
17413 [BZ #2552]
17414 [BZ #2553]
17415 [BZ #2554]
17416 [BZ #2562]
17417 [BZ #2563]
17418 [BZ #2565]
17419 [BZ #2566]
17420 [BZ #2576]
17421 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17422 (y0): Likewise.
17423 * math/w_j0f.c (j0f): Likewise.
17424 (y0f): Likewise.
17425 * math/w_j0l.c (__j0l): Likewise.
17426 (__y0l): Likewise.
17427 * math/w_j1.c (j1): Likewise.
17428 (y1): Likewise.
17429 * math/w_j1f.c (j1f): Likewise.
17430 (y1f): Likewise.
17431 * math/w_j1l.c (__j1l): Likewise.
17432 (__y1l): Likewise.
17433 * math/w_jn.c (jn): Likewise.
17434 (yn): Likewise.
17435 * math/w_jnf.c (jnf): Likewise.
17436 (ynf): Likewise.
17437 * math/w_jnl.c (__jnl): Likewise.
17438 (__ynl): Likewise.
17439 * math/libm-test.inc (j0_test): Add more tests.
17440 (j1_test): Likewise.
17441 (jn_test): Likewise. Add trailing semicolon to existing test.
17442 (y0_test): Likewise.
17443 (y1_test): Likewise.
17444 * sysdeps/i386/fpu/libm-test-ulps: Update.
17445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17446
11b90b9f
JM
17447 [BZ #13851]
17448 [BZ #13854]
17449 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17450 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17451 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17452 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17453 (__tanl): Set errno for infinite argument.
17454 * sysdeps/i386/fpu/mptan.c: Remove.
17455 * sysdeps/i386/fpu/s_tan.S: Likewise.
17456 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17457 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17458 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17459 * math/libm-test.inc (tan_test): Add more tests and enable more
17460 tests for double and long double.
17461 * sysdeps/i386/fpu/libm-test-ulps: Update.
17462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17463
6a1bd2a1
JK
174642012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17465
17466 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17467 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17468
10a803e0
RM
174692012-03-16 Roland McGrath <roland@hack.frob.com>
17470
17471 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17472 * configure.in: Use it for both main tree and add-ons.
17473 * configure: Regenerated.
17474
f196c7f7
L
174752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17476
17477 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17478
8848d99d
JM
174792012-03-16 Joseph Myers <joseph@codesourcery.com>
17480
96cbe7f4
JM
17481 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17482 in comment.
17483
8848d99d
JM
17484 [BZ #13851]
17485 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17486 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17487 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17488 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17489 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17490 infinite argument.
17491 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17492 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17493 != 0 for prec == 2.
17494 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17495 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17496 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17497 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17498 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17499 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17500 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17501 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17502 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17503 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17504 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17505 * math/libm-test.inc (cos_test): Add more tests and enable more
17506 tests for long double.
17507 (sin_test): Likewise.
17508 (sincos_test): Likewise.
17509 * sysdeps/i386/fpu/libm-test-ulps: Update.
17510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17511
dd7f4703
DM
175122012-03-16 David S. Miller <davem@davemloft.net>
17513
17514 * sysdeps/sparc/fpu/math_private.h: New file.
17515
006f1daa
DM
175162012-03-15 David S. Miller <davem@davemloft.net>
17517
c0c83bc8
DM
17518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17519 file.
e6a62e18 17520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17522 file.
e6a62e18
DM
17523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17528 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17529 sysdep routines.
17530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17531
88cb87d9
DM
17532 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17533 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17534
006f1daa 17535 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17537 sparc-ifunc.h
006f1daa 17538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17540 Likewise.
17541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17542 Likewise.
006f1daa
DM
17543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17547 Likewise.
006f1daa
DM
17548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17553 Likewise.
17554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17555 Likewise.
006f1daa
DM
17556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17562 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17563 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17574 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17575 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17576 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17577 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17578 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17579 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17580
11e0098e
AS
175812012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17582
17583 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17584 scaling.
17585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17586
e85b09d0
AJ
175872012-03-15 Andreas Jaeger <aj@suse.de>
17588
17589 [BZ #13852]
17590 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17591 ieee754/flt-32 implementation for sin, cos and sincos.
17592 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17593 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17594 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17595 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17596 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17597 ieee754/flt-32 implementation for tan.
17598
17599 * math/libm-test.inc (cos_test): Enable some large input tests for
17600 float as well
17601 (sin_test): Likewise.
17602 (sincos_test): Likewise.
17603 (tan_test): Add tests for large input.
17604
17605 * sysdeps/i386/fpu/libm-test-ulps: Update.
17606
81c64153
AJ
176072012-03-15 Andreas Jaeger <aj@suse.de>
17608
17609 [BZ #13658]
17610 * math/libm-test.inc (cos_test): Add more test cases.
17611 (sin_test): Likewise.
17612 (sincos_test): Likewise.
17613
7bbfa5c6
AJ
176142012-03-15 Andreas Jaeger <aj@suse.de>
17615
17616 [BZ #13837]
17617 * math/libm-test.inc (cos_test): Add a test case for large input
17618 value.
17619 (sin_test): Likewise.
17620 (sincos_test): Likewise.
17621
176222012-03-15 Andreas Jaeger <aj@suse.de>,
17623 Joseph Myers <joseph@codesourcery.com>
17624
17625 [BZ #13658]
0671f479 17626 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17627 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17628 * sysdeps/i386/fpu/branred.c: Likewise.
17629 * sysdeps/i386/fpu/dosincos.c: Likewise.
17630 * sysdeps/i386/fpu/mpa.c: Likewise.
17631 * sysdeps/i386/fpu/s_cos.S: Likewise.
17632 * sysdeps/i386/fpu/s_sin.S: Likewise.
17633 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17634 * sysdeps/i386/fpu/sincos32.c: Likewise.
17635
17636 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17637 Define.
17638 (libc_feupdateenv_53bit): Define.
17639 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17640 Define.
17641 (libc_feupdateenv_53bit): Define.
17642
17643 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17644 53 bit (without extend i386 double precision).
17645
17646 * math/libm-test.inc (sincos_test): Add tests for large input.
17647 (sin): Likewise.
17648 (cos): Likewise.
17649
17650 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17651
9cad04ea
AS
176522012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17653
17654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17655
f7062b9a
DM
176562012-03-15 David S. Miller <davem@davemloft.net>
17657
17658 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17659 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17660 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17661 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17674 file.
f7062b9a 17675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17677 file.
f7062b9a 17678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17680 file.
f7062b9a 17681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17683 file.
f7062b9a
DM
17684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17685 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17686 fmin/fmax sysdep routines.
17687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17688
7bd951ff
DM
176892012-03-14 David S. Miller <davem@davemloft.net>
17690
559398ab
DM
17691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17694 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17695 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17696 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17697 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17698 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17699 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17700 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17701 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17711 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17712 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17713 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17714 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17715 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17716 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17717 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17719 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17720 routines.
17721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17722 file.
559398ab 17723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17725 file.
559398ab 17726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17728 file.
559398ab 17729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17731 file.
559398ab 17732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17734 file.
559398ab 17735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17737 file.
17738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17739 file.
17740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17741 file.
17742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17743 file.
17744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17745 New file.
17746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17747 file.
17748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17749 file.
559398ab 17750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17752 file.
559398ab 17753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17755 file.
559398ab 17756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17758 file.
559398ab 17759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17761 VIS3 routines.
559398ab
DM
17762
17763 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17764 New file.
17765
5a1c1e32
DM
17766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17767
eae47a36
DM
17768 * sysdeps/sparc/configure.in: New file.
17769 * sysdeps/sparc/configure: Generate.
17770 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17771 * configure: Regenerate.
17772 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17773 * config.make.in (have-as-vis3): New.
17774 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17775 available use -Av9d instead of -Av9a.
17776 * sysdeps/sparc/sparc64/Makefile: Likewise.
17777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17779 New file.
17780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17781 file.
17782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17783 New file.
17784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17785 file.
eae47a36
DM
17786 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17787 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17788 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17789 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17790 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17791
c0c83bc8
DM
17792 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17793 fzeros/fnegs to load 0x80000000 into a float register instead of
17794 using the stack.
7bd951ff
DM
17795 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17796
bd951ccb
JM
177972012-03-14 Joseph Myers <joseph@codesourcery.com>
17798
17799 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17800 bits/syscall.h.
17801 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17802 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17803 ($(inst_includedir)/bits/syscall.h): Remove rule.
17804 ($(objpfx)bits/syscall.d): Include instead of
17805 $(objpfx)syscall-list.d.
17806 (generated): Change syscall-list.h and syscall-list.d to
17807 bits/syscall.h and bits/syscall.d.
17808
bb4e6db2
RM
178092012-03-14 Roland McGrath <roland@hack.frob.com>
17810
17811 [BZ #13846]
17812 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17813
aa4a2ae1
JM
178142012-03-14 Joseph Myers <joseph@codesourcery.com>
17815
e456826d
JM
17816 [BZ #13841]
17817 * math/s_csqrt.c: Include <float.h>.
17818 (__csqrt): Scale large or subnormal inputs.
17819 * math/s_csqrtf.c: Likewise.
17820 * math/s_csqrtl.c: Likewise.
17821 * math/libm-test.inc (csqrt_test): Add more tests.
17822 * sysdeps/i386/fpu/libm-test-ulps: Update.
17823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17824
aa4a2ae1
JM
17825 [BZ #13840]
17826 * math/libm-test.inc (hypot_test): Add more tests.
17827
7c10fd35
DM
178282012-03-13 David S. Miller <davem@davemloft.net>
17829
17830 [BZ #13840]
17831 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17832 double-precision for the calculation instead of scaling.
17833
f453b98b
JM
178342012-03-13 Joseph Myers <joseph@codesourcery.com>
17835
17836 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17837 manipulate bits before adding and subtracting TWO52[sx].
17838 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17839 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17840 Likewise.
17841 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17842
09a3453f
DM
178432012-03-13 David S. Miller <davem@davemloft.net>
17844
8e59da90
DM
17845 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17846 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17847 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17848 rtld-global-offsets.h
17849 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17850
2a8ab7f2
DM
17851 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17852 large parameters.
17853
10f62770
DM
17854 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17855
5f0bdb18
DM
17856 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17857 'err' in the ifdef scope in which it is actually used.
17858
09a3453f
DM
17859 * nss/nss_db/db-init.c: Include string.h
17860
b4b2eb5e
DM
178612012-03-12 David S. Miller <davem@davemloft.net>
17862
98bb2f1c
DM
17863 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17864 masking out of the most significant byte of random value used.
17865 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17866 Fix coding style in previous change.
17867
b4b2eb5e
DM
17868 * sysdeps/unix/sysv/linux/kernel-features.h
17869 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17870 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17871 expression.
17872 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17873 later.
17874
6e226b09
DM
178752012-03-11 David S. Miller <davem@davemloft.net>
17876
a1bcbd40
DM
17877 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17878 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17879 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17880 for 'resultvar' otherwise things get truncated on 64-bit.
17881
cb9d6174
DM
17882 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17883 Fix masking out of the most significant byte of random value used.
17884
6e226b09
DM
17885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17886
058c132d
AS
178872012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17888
17889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17890
2d2cd515
DM
178912012-03-09 David S. Miller <davem@davemloft.net>
17892
17893 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17894 variables with appropriate CPP guards.
17895 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17896 frame pointer, not the stack pointer. Correct layout comments. Fix test
17897 on resulting framesize and the management of the outregs buffer for pltexit.
17898 Preserve floating point return values across _dl_call_pltexit call.
17899 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17900 framesize and the management of the outregs buffer for pltexit.
17901 Preserve floating point return values across _dl_call_pltexit
17902 call.
17903 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17904 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17905 (print_exit): Fix format string for return register value.
17906
9a07f9d0
JM
179072012-03-10 Joseph Myers <joseph@codesourcery.com>
17908
17909 * sunrpc/Makefile (others): Add rpcgen.
17910 ($(objpfx)rpcgen): Remove special build rule and dependency on
17911 libc.
17912 * sunrpc/rpcgen.c: New file.
17913
547b5e30
PE
179142012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17915
c524201a
PE
17916 [BZ #13673]
17917 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17918 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17919 * sysdeps/i386/crti.S: Likewise.
17920 * sysdeps/i386/crtn.S: Likewise.
17921 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17922 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17923 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17924 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17925 * sysdeps/sh/crti.S: Likewise.
17926 * sysdeps/sh/crtn.S: Likewise.
17927 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17928
7b6235f2
PE
17929 [BZ #13673]
17930 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17931 with URL.
17932 * locale/programs/locfile-kw.gperf: Likewise.
17933 * locale/programs/charmap-kw.h: Regenerated.
17934 * locale/programs/locfile-kw.h: Likewise.
17935
547b5e30
PE
17936 [BZ #13673]
17937 * intl/plural.y: Replace FSF snail mail address with URL.
17938 * intl/plural.c: Regenerated.
17939
5f0a5dae
RH
179402012-03-09 Richard Henderson <rth@twiddle.net>
17941
17942 * include/math_private.h: Remove file.
17943 * math/math_private.h: Move file ...
17944 * sysdeps/generic/math_private.h: ... here.
17945
b8c03620
RH
17946 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17947 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17948 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17949
4e234f5d 17950 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
17951 and <math_private.h>.
17952 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17953 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17954 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17955 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17956 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17957 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17958 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17960 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17961 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17962 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17963 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17964 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17965 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17966 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17967 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17968 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17969 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17970 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17971 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17972 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17973 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17974 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17975 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17976 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17977 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17978 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17979 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17980 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17981 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17982 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17983 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17984 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17985 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17987 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17988 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17989 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17990 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17991 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17992 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17993 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17994 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17995 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17996 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17997 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17998 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17999 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18000 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18001 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18002 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18003 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18004 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18005 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18006 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18007 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18008 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18009 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18010 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18011 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18012 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18013 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18014 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18015 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18016 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18017 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18018 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18019 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18020 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18021 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18022 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18023 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18024 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18025 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18026 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18027 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18028 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18030 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18031 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18032 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18033 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18034 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18035 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18036 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18037 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18038 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18039 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18040 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18041 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18042 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18043 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18044 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18045 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18046 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18047 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18048 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18049 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18050 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18051 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18052 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18053 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18054 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18055 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18056 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18057 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18058 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18059 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18060 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18061 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18062 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18063 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18064 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18065 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18066 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18067 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18068 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18069 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18070 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18071 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18072 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18073 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18074 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18075 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18076 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18077 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18078 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18079 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18080 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18081 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18082 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18083 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18084 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18085 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18086 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18087 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18088 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18089 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18090 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18091 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18092 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18093 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18094 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18095 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18096 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18097 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18098 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18099 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18100 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18101 * sysdeps/ieee754/k_standard.c: Likewise.
18102 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18103 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18104 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18105 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18106 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18107 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18108 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18109 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18110 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18111 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18112 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18113 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18114 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18115 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18116 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18117 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18118 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18119 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18120 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18121 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18122 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18123 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18124 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18125 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18126 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18127 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18128 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18129 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18130 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18131 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18132 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18133 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18134 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18135 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18157 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18158 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18159 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18161 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18162 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18205 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18206 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18207 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18208 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18210 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18211 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18212 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18213 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18217 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18220 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18221 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18222 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18224 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18226 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18227 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18228 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18229 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18234 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18242 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18243 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18244 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18247 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18248 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18249 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18250 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18251 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18252 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18253 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18254 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18255 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18256 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18257 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18258 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18262 * sysdeps/ieee754/s_lib_version.c: Likewise.
18263 * sysdeps/ieee754/s_matherr.c: Likewise.
18264 * sysdeps/ieee754/s_signgam.c: Likewise.
18265 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18266 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18267 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18268 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18269 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18270 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18271 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18272 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18273 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18274 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18275 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18276 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18277 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18278 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18279 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18280 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18281 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18282 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18283 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18284 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18285 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18286
1991fa03
JM
182872012-03-09 Joseph Myers <joseph@codesourcery.com>
18288
18289 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18290 * sunrpc/rpc_main.c: Likewise.
18291 * sunrpc/rpc_svcout.c: Likewise.
18292
60d6f5a6
DM
182932012-03-09 David S. Miller <davem@davemloft.net>
18294
18295 * include/math_private.h: New file.
18296
4962050e
JM
182972012-03-09 Joseph Myers <joseph@codesourcery.com>
18298
02a6f887
JM
18299 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18300 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18301 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18302 from <bits/socket_type.h>.
18303 (enum __socket_type): Don't define here.
18304 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18306 bits/socket_type.h.
18307
c6e013c1
JM
18308 [BZ #13566]
18309 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18310 checking __USE_GNU.
18311
4962050e
JM
18312 * Makerules ($(inst_includedir)/%.h): New rule.
18313 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18314 (install-others): Remove variable setting.
18315 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18316
38842f45
RH
183172012-03-08 Richard Henderson <rth@twiddle.net>
18318
67bb6da6
RH
18319 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18320 from macro to inline function; merge with the
18321 !__LIBC_INTERNAL_MATH_INLINES version.
18322 (__ieee754_sqrtf): Likewise.
18323
15194b4b
RH
18324 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18325 to inline function.
18326 (__rintf, __floor, __floorf): Likewise.
18327
64e21ede
RH
18328 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18329 macro to inline function.
18330 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18331
38842f45
RH
18332 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18333 not <math/math_private.h>.
18334
c64bf5fe
DM
183352012-03-08 David S. Miller <davem@davemloft.net>
18336
18337 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18338 copyright year.
18339 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18340
82d86f28
TS
183412012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18342
18343 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18344 normalization.
18345 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18346 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18347
aea5d727
UD
183482012-03-08 Ulrich Drepper <drepper@gmail.com>
18349
18350 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18351 be defined individually, they must be defined as a block. Define
18352 S for printing a string instead of hidint the different by using a
18353 macro for adding the 'l'.
18354 * stdio-common/tst-fphex-wide.c: Adjust.
18355
70bca0a3
MP
183562012-03-07 Marek Polacek <polacek@redhat.com>
18357
18358 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18359
65b81130
MP
183602012-03-08 Marek Polacek <polacek@redhat.com>
18361
18362 [BZ #13806]
18363 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18364 * stdio-common/tst-fphex.c: Define a few macros to make the
18365 test reusable. Use them.
18366 * stdio-common/tst-fphex-wide.c: New file.
18367
07037eeb
JM
183682012-03-08 Joseph Myers <joseph@codesourcery.com>
18369
a7a93d50
JM
18370 [BZ #6911]
18371 * manual/macros.texi (gnusystems): New macro.
18372 (nongnusystems): Likewise.
18373 (gnulinuxhurdsystems): Likewise.
18374 (gnuhurdsystems): Likewise..
18375 (gnulinuxsystems): Likewise.
18376 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18377 variants of the GNU system, not "GNU system".
18378 * manual/conf.texi: Likewise.
18379 * manual/errno.texi: Likewise. Update example of errno macro
18380 expansion.
18381 * manual/filesys.texi: Likewise.
18382 (getumask): Document as specific to GNU/Hurd.
18383 * manual/install.texi: Likewise. Reword some references to
18384 GNU/Linux.
18385 * manual/intro.texi: Likewise.
18386 * manual/io.texi: Likewise.
18387 (File Name Portability): Detail which constraints are inapplicable
18388 to all GNU systems and which are only inapplicable to GNU/Hurd.
18389 * manual/job.texi: Likewise.
18390 * manual/llio.texi: Likewise.
18391 (O_NOCTTY): Document as present on GNU/Linux.
18392 * manual/maint.texi: Likewise.
18393 * manual/memory.texi: Likewise.
18394 * manual/pattern.texi: Likewise.
18395 * manual/pipe.texi: Likewise.
18396 * manual/process.texi: Likewise.
18397 * manual/resource.texi: Likewise.
18398 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18399 child on GNU/Hurd.
18400 * manual/setjmp.texi: Likewise.
18401 * manual/signal.texi: Likewise.
18402 * manual/startup.texi: Likewise.
18403 * manual/stdio.texi: Likewise.
18404 * manual/terminal.texi: Likewise.
18405 (ONLCR): Document as POSIX.
18406 (OXTABS): Document availability on GNU/Linux as XTABS.
18407 (ONOEOT): Document availability separately from other bits.
18408 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18409 * manual/time.texi: Likewise.
18410 * manual/users.texi: Likewise.
18411 * INSTALL: Regenerated.
18412 * sysdeps/gnu/errlist.c: Regenerated.
18413
07037eeb
JM
18414 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18415 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18416 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18417 puts.
18418 * configure: Regenerated.
18419
d1d3431a
JM
184202012-03-07 Joseph Myers <joseph@codesourcery.com>
18421
af6a1e37
JM
18422 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18423 default includes instead of AC_HEADER_CHECK.
18424 * sysdeps/i386/configure: Regenerated.
18425
d1d3431a
JM
18426 [BZ #10716]
18427 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18428 * math/s_cacoshf.c (__cacoshf): Likewise.
18429 * math/s_cacoshl.c (__cacoshl): Likewise.
18430 * math/s_casinh.c (__casinh): Set signs of result from argument.
18431 * math/s_casinhf.c (__casinhf): Likewise.
18432 * math/s_casinhl.c (__casinhl): Likewise.
18433 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18434 (casinh_test): Add more tests.
18435 * sysdeps/i386/fpu/libm-test-ulps: Update.
18436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18437
482ff4da
UD
184382012-03-07 Ulrich Drepper <drepper@gmail.com>
18439
872fda05
UD
18440 * po/zh_TW.po: Update from translation team.
18441
a4300c7a
UD
18442 * login/Makefile (distribute): Remove variable.
18443 * catgets/Makefile: Likewise.
18444 * mach/Makefile: Likewise.
18445 * malloc/Makefile: Likewise.
18446 * misc/Makefile: Likewise.
18447 * iconv/Makefile: Likewise.
18448 * nscd/Makefile: Likewise.
18449 * hurd/Makefile: Likewise.
18450 * manual/Makefile: Likewise.
18451 * locale/Makefile: Likewise.
18452 * intl/Makefile: Likewise.
18453 * conform/Makefile: Likewise.
18454 * nss/Makefile: Likewise.
18455 * time/Makefile: Likewise.
18456 * soft-fp/Makefile: Likewise.
18457 * dirent/Makefile: Likewise.
18458 * gmon/Makefile: Likewise.
18459 * po/Makefile: Likewise.
18460 * rt/Makefile: Likewise.
18461 * socket/Makefile: Likewise.
18462 * math/Makefile: Likewise.
18463 * signal/Makefile: Likewise.
18464 * debug/Makefile: Likewise.
18465 * elf/Makefile: Likewise.
18466 * timezone/Makefile: Likewise.
18467 * stdlib/Makefile: Likewise.
18468 * iconvdata/Makefile: Likewise.
18469 * sunrpc/Makefile: Likewise.
18470 * io/Makefile: Likewise.
18471 * argp/Makefile: Likewise.
18472 * inet/Makefile: Likewise.
18473 * hesiod/Makefile: Likewise.
18474 * grp/Makefile: Likewise.
18475 * csu/Makefile: Likewise.
18476 * wctype/Makefile: Likewise.
18477 * crypt/Makefile: Likewise.
18478 * libio/Makefile: Likewise.
18479 * string/Makefile: Likewise.
18480 * nis/Makefile: Likewise.
18481 * resolv/Makefile: Likewise.
18482 * stdio-common/Makefile: Likewise.
18483 * wcsmbs/Makefile: Likewise.
18484 * dlfcn/Makefile: Likewise.
18485 * posix/Makefile: Likewise.
18486
3b7c4e74 18487 [BZ #6959]
482ff4da
UD
18488 * timezone/Makefile: Don't install timezone files, just the programs
18489 and scripts.
18490
f72ed77d
UD
184912012-03-06 Ulrich Drepper <drepper@gmail.com>
18492
a000466f
UD
18493 * nss/databases.def: Add missing gshadow entry.
18494
f72ed77d
UD
18495 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18496
a53b7a4e
MP
184972012-03-06 Marek Polacek <polacek@redhat.com>
18498
18499 [BZ #13726]
18500 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18501 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18502 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18503 * stdio-common/tst-long-dbl-fphex.c: New file.
18504
e9258400
DM
185052012-03-06 David S. Miller <davem@davemloft.net>
18506
18507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18508 (set_obp_int): New function.
18509 (get_obp_int): New function.
18510 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18511 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18512 Avoid unused variable warnings on 'val' and use builtin_expect.
18513 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18514 __builtin_expect.
e9258400
DM
18515 (INLINE_CLONE_SYSCALL): Likewise.
18516
3bd2c723
DM
185172012-03-05 David S. Miller <davem@davemloft.net>
18518
18519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18520
bbb78d03
AS
185212012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18522
884c5db4
AS
18523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18524
bbb78d03
AS
18525 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18526 only for |x| >= 40.
18527 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18528
1c9f702a 185292012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18530
18531 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18532 Replace gettimeofday with __vdso_gettimeofday.
18533
7be16f82
RM
18534 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18535 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18536 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18537
18538 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18539 time with __vdso_time.
18540
ed58a00f
JM
185412012-03-05 Joseph Myers <joseph@codesourcery.com>
18542
18543 * manual/lang.texi (size_t): Note types to which size_t may be
18544 equivalent with the GNU C Library, but do not describe when
18545 differences between them are significant.
18546
30ee4ced
AJ
185472012-03-05 Andreas Jaeger <aj@suse.de>
18548
18549 * sysdeps/i386/fpu/libm-test-ulps: Update.
18550
b7cd39e8
JM
185512012-03-05 Joseph Myers <joseph@codesourcery.com>
18552
18553 [BZ #3976]
18554 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18555 (__ieee754_pow): Save and restore rounding mode and use
18556 round-to-nearest for main computations.
18557 * math/libm-test.inc (pow_test_tonearest): New function.
18558 (pow_test_towardzero): Likewise.
18559 (pow_test_downward): Likewise.
18560 (pow_test_upward): Likewise.
18561 (main): Call the new functions.
18562 * sysdeps/i386/fpu/libm-test-ulps: Update.
18563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18564
18565 [BZ #3976]
18566 * math/libm-test.inc (cosh_test_tonearest): New function.
18567 (cosh_test_towardzero): Likewise.
18568 (cosh_test_downward): Likewise.
18569 (cosh_test_upward): Likewise.
18570 (sinh_test_tonearest): Likewise.
18571 (sinh_test_towardzero): Likewise.
18572 (sinh_test_downward): Likewise.
18573 (sinh_test_upward): Likewise.
18574 (main): Call the new functions.
18575 * sysdeps/i386/fpu/libm-test-ulps: Update.
18576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18577
6c6a98c9
TV
185782012-03-05 Tom de Vries <tom@codesourcery.com>
18579
18580 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18581 default stack guard is set in last bytes.
18582 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18583
21bb2d2e 185842012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18585
21bb2d2e 18586 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18587
21bb2d2e
AJ
18588 [BZ #13656]
18589 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18590 possibly allocate from heap instead of stack.
18591 * stdio-common/bug-vfprintf-nargs.c: New file.
18592 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18593
c6922934
AS
185942012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18595
18596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18597
bc957d53
MP
185982012-03-03 Marek Polacek <polacek@redhat.com>
18599
18600 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18601 * math/math_private.h: Likewise.
18602 * stdlib/tst-strtod.c: Likewise.
18603 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18604 * sysdeps/x86_64/bits/atomic.h: Likewise.
18605
6358490d
DM
186062012-03-02 David S. Miller <davem@davemloft.net>
18607
18608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18612 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18613 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18614 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18615 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18616
01ae168d
RM
186172012-03-02 Roland McGrath <roland@hack.frob.com>
18618
d9a17c07
RM
18619 [BZ #13792]
18620 * manual/examples/README: New file, says the example source files
18621 can be used under GPL>=2.
18622 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18623 line containing just "*/".
18624 * manual/examples/add.c: Add copyright header (GPL>=2).
18625 * manual/examples/argp-ex1.c: Likewise.
18626 * manual/examples/argp-ex2.c: Likewise.
18627 * manual/examples/argp-ex3.c: Likewise.
18628 * manual/examples/argp-ex4.c: Likewise.
18629 * manual/examples/atexit.c: Likewise.
18630 * manual/examples/db.c: Likewise.
18631 * manual/examples/dir.c: Likewise.
18632 * manual/examples/dir2.c: Likewise.
18633 * manual/examples/execinfo.c: Likewise.
18634 * manual/examples/filecli.c: Likewise.
18635 * manual/examples/filesrv.c: Likewise.
18636 * manual/examples/fmtmsgexpl.c: Likewise.
18637 * manual/examples/genpass.c: Likewise.
18638 * manual/examples/inetcli.c: Likewise.
18639 * manual/examples/inetsrv.c: Likewise.
18640 * manual/examples/isockad.c: Likewise.
18641 * manual/examples/longopt.c: Likewise.
18642 * manual/examples/memopen.c: Likewise.
18643 * manual/examples/memstrm.c: Likewise.
18644 * manual/examples/mkfsock.c: Likewise.
18645 * manual/examples/mkisock.c: Likewise.
18646 * manual/examples/mygetpass.c: Likewise.
18647 * manual/examples/pipe.c: Likewise.
18648 * manual/examples/popen.c: Likewise.
18649 * manual/examples/rprintf.c: Likewise.
18650 * manual/examples/search.c: Likewise.
18651 * manual/examples/select.c: Likewise.
18652 * manual/examples/setjmp.c: Likewise.
18653 * manual/examples/sigh1.c: Likewise.
18654 * manual/examples/sigusr.c: Likewise.
18655 * manual/examples/stpcpy.c: Likewise.
18656 * manual/examples/strdupa.c: Likewise.
18657 * manual/examples/strftim.c: Likewise.
18658 * manual/examples/strncat.c: Likewise.
18659 * manual/examples/subopt.c: Likewise.
18660 * manual/examples/swapcontext.c: Likewise.
18661 * manual/examples/termios.c: Likewise.
18662 * manual/examples/testopt.c: Likewise.
18663 * manual/examples/testpass.c: Likewise.
18664 * manual/examples/timeval_subtract.c: Likewise.
18665
01ae168d
RM
18666 [BZ #13792]
18667 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18668 function to ...
18669 * manual/timeval_subtract.c.texi: ... here, new file.
18670
49efa33d
DM
186712012-03-02 David S. Miller <davem@davemloft.net>
18672
18673 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18674
28afd92d
JM
186752012-03-02 Joseph Myers <joseph@codesourcery.com>
18676
804360ed
JM
18677 [BZ #3976]
18678 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18679 (__sin): Save and restore rounding mode and use round-to-nearest
18680 for all computations.
18681 (__cos): Save and restore rounding mode and use round-to-nearest
18682 for all computations.
18683 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18684 <fenv.h>.
18685 (tan): Save and restore rounding mode and use round-to-nearest for
18686 all computations.
18687 * math/libm-test.inc (cos_test_tonearest): New function.
18688 (cos_test_towardzero): Likewise.
18689 (cos_test_downward): Likewise.
18690 (cos_test_upward): Likewise.
18691 (sin_test_tonearest): Likewise.
18692 (sin_test_towardzero): Likewise.
18693 (sin_test_downward): Likewise.
18694 (sin_test_upward): Likewise.
18695 (tan_test_tonearest): Likewise.
18696 (tan_test_towardzero): Likewise.
18697 (tan_test_downward): Likewise.
18698 (tan_test_upward): Likewise.
18699 (main): Call the new functions.
18700 * sysdeps/i386/fpu/libm-test-ulps: Update.
18701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18702
a6d06d7b
JM
18703 [BZ #10135]
18704 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18705 small n, then large n, before computing and testing k+n.
18706 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18707 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18708 Likewise.
18709 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18710 Likewise.
18711 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18712 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18713 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18714 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18715 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18716 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18717 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18718 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18719 * math/libm-test.inc (scalbn_test): Add more tests.
18720 (scalbln_test): Likewise.
18721
07e12bb3
JM
18722 * manual/filesys.texi (mode_t): Describe constraints on size and
18723 signedness, not exact equivalence to a particular type.
18724 (ino_t): Likewise.
18725 (ino64_t): Likewise.
18726 (dev_t): Likewise.
18727 (nlink_t): Likewise.
18728 (blkcnt_t): Likewise.
18729 (blkcnt64_t): Likewise.
18730 * manual/llio.texi (off_t): Likewise.
18731
28afd92d
JM
18732 [BZ #3976]
18733 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18734 (__ieee754_exp): Save and restore rounding mode and use
18735 round-to-nearest for all computations.
18736 * math/libm-test.inc (exp_test_tonearest): New function.
18737 (exp_test_towardzero): Likewise.
18738 (exp_test_downward): Likewise.
18739 (exp_test_upward): Likewise.
18740 (main): Call the new functions.
18741 * sysdeps/i386/fpu/libm-test-ulps: Update.
18742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18743
b1eeb65d
CD
187442012-03-01 Chris Demetriou <cgd@google.com>
18745
18746 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18747 have predictable order.
18748
53362a4b
DM
187492012-03-01 David S. Miller <davem@davemloft.net>
18750
3c969083
DM
18751 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18752
759707de
DM
18753 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18754 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18755 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18756 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18757
dfdb8ff2
DM
18758 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18759 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18760 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18762 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18763 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18764 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18765 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18766 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18767
ead89f96
DM
18768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18769
7f66bd07
DM
18770 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18771 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18772 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18773
53362a4b
DM
18774 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18775 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18776 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18777 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18778 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18779 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18780 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18781 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18782 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18783 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18784 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18785 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18786 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18787 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18788 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18789 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18790 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18791 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18792 * sysdeps/sparc/elf/configure: Regenerated.
18793
7b1902cb
JM
187942012-03-01 Joseph Myers <joseph@codesourcery.com>
18795
bec039bc
JM
18796 * configure.in (AS, LD): Require binutils 2.20 or later.
18797 * configure: Regenerated.
18798 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18799 as required minimum version.
18800 * INSTALL: Regenerated.
18801
7b1902cb
JM
18802 [BZ #2541]
18803 [BZ #4108]
18804 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18805 before squaring exponent.
18806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18807 bottom long double and 27 bits of top long double before squaring
18808 exponent.
18809 * math/libm-test.inc (erfc_test): Add more tests.
18810 * sysdeps/i386/fpu/libm-test-ulps: Update.
18811 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18813
f775c276
KT
188142012-03-01 Kai Tietz <ktietz@redhat.com>
18815
18816 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18817 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18818 containing bit-fields.
18819 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18820 * soft-fp/single.h (_FP_UNION_S): Likewise.
18821 * soft-fp/double.h (_FP_UNION_D): Likewise.
18822
5b8a4d4a
JM
188232012-02-29 Joseph Myers <joseph@codesourcery.com>
18824
0bab47b6
JM
18825 [BZ #13786]
18826 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18827 not include ../strcmp.S.
18828 [USE_AS_STRNCASECMP_L]: Likewise.
18829 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18830 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18831 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18832 (__strncasecmp_l_ia32): Define as alias to
18833 __strncasecmp_l_nonascii.
18834
0fcad3e2
JM
18835 [BZ #5794]
18836 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18837 * sysdeps/i386/fpu/libm-test-ulps: Update.
18838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18839
5b8a4d4a
JM
18840 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18842
8fdceb2e
JL
188432012-02-29 Jeff Law <law@redhat.com>
18844
18845 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18846 out of bounds read.
18847
1f393a11
MP
188482012-02-29 Marek Polacek <polacek@redhat.com>
18849
18850 [BZ #13706]
18851 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18852 * elf/Makefile: Add rules to run tst-unused-dep.out.
18853
8847f037
DM
188542012-02-28 David S. Miller <davem@davemloft.net>
18855
18856 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18857 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18858 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18859 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18860 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18861 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18862
169d7f11
JM
188632012-02-29 Joseph Myers <joseph@codesourcery.com>
18864
18865 * math/libm-test.inc (llround_test): Move one test from
18866 lround_test. Use TEST_f_L in moved test.
18867 (lround_test): Move misplaced test to llround_test. Add testcase
18868 from bug 2561.
18869
39adf059
UD
188702012-02-28 Ulrich Drepper <drepper@gmail.com>
18871
18872 * sysdeps/x86_64/fpu/e_expf.S: New file.
18873 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18874
71b5d1c5
SB
188752012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18876
18877 [BZ #13637]
18878 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18879 of remain_len that may cause incomplete multi-byte character and
18880 false match.
18881 * posix/bug-regex33.c: New file.
18882 * posix/Makefile (tests): Add bug-regex33.
18883
1f77f049
JM
188842012-02-28 Joseph Myers <joseph@codesourcery.com>
18885
18886 * manual/macros.texi: New file.
18887 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18888 * manual/libc.texinfo: Include macros.texi.
18889 * manual/creatute.texi: Likewise.
18890 * manual/install.texi: Likewise.
18891 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18892 @glibcadj{} in references to the GNU C Library.
18893 * manual/charset.texi: Likewise.
18894 * manual/conf.texi: Likewise.
18895 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18896 when not using those macros.
18897 * manual/creature.texi: Likewise.
18898 * manual/crypt.texi: Likewise.
18899 * manual/errno.texi: Likewise.
18900 * manual/filesys.texi: Likewise.
18901 * manual/header.texi: Likewise.
18902 * manual/install.texi: Likewise.
18903 * manual/intro.texi: Likewise.
18904 * manual/io.texi: Likewise.
18905 * manual/job.texi: Likewise.
18906 * manual/lang.texi: Likewise.
18907 * manual/libc.texiinfo: Likewise.
18908 * manual/llio.texi: Likewise.
18909 * manual/locale.texi: Likewise.
18910 * manual/maint.texi: Likewise.
18911 * manual/math.texi: Likewise.
18912 * manual/memory.texi: Likewise.
18913 * manual/message.texi: Likewise.
18914 * manual/nss.texi: Likewise.
18915 * manual/pattern.texi: Likewise.
18916 * manual/process.texi: Likewise.
18917 * manual/resource.texi: Likewise.
18918 * manual/search.texi: Likewise.
18919 * manual/setjmp.texi: Likewise.
18920 * manual/signal.texi: Likewise.
18921 * manual/socket.texi: Likewise.
18922 * manual/startup.texi: Likewise.
18923 * manual/stdio.texi: Likewise.
18924 * manual/string.texi: Likewise.
18925 * manual/sysinfo.texi: Likewise.
18926 * manual/syslog.texi: Likewise.
18927 * manual/terminal.texi: Likewise.
18928 * manual/time.texi: Likewise.
18929 * manual/users.texi: Likewise.
18930 * INSTALL: Regenerated.
18931 * NOTES: Regenerated.
d40c5d54 18932 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 18933
450bf206
AS
189342012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18935
18936 * include/dirent.h: Include <dirstream.h> before
18937 <dirent/dirent.h>.
18938
741a235b
DM
189392012-02-28 David S. Miller <davem@davemloft.net>
18940
18941 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18942 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18943 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18944 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18945
d6b5aa58
DM
189462012-02-27 David S. Miller <davem@davemloft.net>
18947
1aff59a3
DM
18948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18950 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18951 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18952
d6b5aa58
DM
18953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18954 frame pointer instead of stack pointer relative arg slot.
18955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18956 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18957 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18958
433f48bf
CD
189592012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18960
18961 [BZ #3992]
18962 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18963
d674b76d
DM
189642012-02-27 David S. Miller <davem@davemloft.net>
18965
18966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18970 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18971 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18972 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18973 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18974
0e7727f7
JM
189752012-02-27 Joseph Myers <joseph@codesourcery.com>
18976
18977 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18978 later. Allow versions 5-9.
43be4ca2 18979 * configure: Regenerated.
0e7727f7
JM
18980 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18981 required minimum version and 4.6 as recommended version. Do not
18982 mention bugs in GCC 2.7 and 2.8.
43be4ca2 18983 * INSTALL: Regenerated.
0e7727f7 18984
a78bc654
DM
189852012-02-27 David S. Miller <davem@davemloft.net>
18986
428d5830
DM
18987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18991 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18992 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18993 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18994 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18995
a78bc654
DM
18996 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18997 manipulate bits before adding and subtracting TWO112[sx].
18998 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18999
4579f81c
RM
190002012-02-27 Roland McGrath <roland@hack.frob.com>
19001
36c8acb4
RM
19002 [BZ #13775]
19003 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19004 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19005 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19006 being in POSIX, because they are in 1003.1-2008.
19007
84ad622b
RM
19008 * rt/tst-aio.c: Include <fcntl.h>.
19009 * rt/tst-aio7.c: Likewise.
19010 * rt/tst-aio64.c: Likewise.
19011
4579f81c
RM
19012 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19013
abd923db
JM
190142012-02-27 Joseph Myers <joseph@codesourcery.com>
19015
19016 * manual/install.texi (--with-headers): Describe headers as
19017 interface headers, not private headers.
19018 (Specific advice for GNU/Linux systems): Describe use of headers
19019 from "make headers_install", not private headers from older
19020 kernels.
43be4ca2 19021 * INSTALL: Regenerated.
abd923db
JM
19022 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19023 Change to 2.6.19.
19024 * sysdeps/unix/sysv/linux/configure: Regenerated.
19025
6664049b
JM
19026 * manual/llio.texi (fclean): Remove documentation.
19027
bb8b6697
JM
19028 * manual/Makefile (libc-texi-generated): New variable. Include
19029 version.texi.
19030 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19031 $(libc-texi-generated), not duplicated list of files.
19032 (version.texi, stamp-version): New rules.
19033 (realclean): Remove $(libc-texi-generated), not individual files
19034 from that list. Do not remove dir-add.texinfo.
19035 * manual/libc.texinfo: Comment out uses of edition numbers and
19036 references to printed manual. Remove last-updated dates.
19037 (EDITION): Comment out.
19038 (ISBN): Likewise.
19039 (VERSION, UPDATED): Remove.
19040 (version.texi): Include.
19041
12e5c3b9
AS
190422012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19043
19044 * sysdeps/posix/spawni.c: Include <signal.h>.
19045 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19046 * sysdeps/pthread/aio_fsync.c: Likewise.
19047
4efeffc1 190482012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19049
ba63ba08
UD
19050 * conform/Makefile (tests): Run only when not cross-compiling and
19051 when fast-check is not defined.
19052
d94a4670
UD
19053 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19054 * conform/data/limits.h-data: Fixes for POSIX2008.
19055 * conform/run-conformtest.sh: Run all tests.
19056 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19057 headers.
19058 * include/bits/dlfcn.h: Likewise.
19059 * include/langinfo.h: Likewise.
19060 * include/monetary.h: Likewise.
19061 * include/sys/poll.h: Likewise.
19062
19063 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19064 for __USE_GNU.
19065 * posix/spawn.h: Define __need_sigset_t.
19066 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19067 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19068 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19069 to get sigevent_t only.
19070 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19071 only for __USE_GNU.
19072 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19073 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19074 process_vm_writev only for __USE_GNU.
19075 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19076
19077 * conform/Makefile: For now ignore errors from run-conformtest.
19078 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19079 POSIX to avoid namespace pollution. Don't prepend headers.
19080 * conform/data/aio.h-data: Fixes for POSIX testing.
19081 * conform/data/fcntl.h-data: Likewise.
19082 * conform/data/glob.h-data: Likewise.
19083 * conform/data/grp.h-data: Likewise.
19084 * conform/data/pthread.h-data: Likewise.
19085 * conform/data/pwd.h-data: Likewise.
19086 * conform/data/signal.h-data: Likewise.
19087 * conform/data/spawn.h-data: Likewise.
19088 * conform/data/stdio.h-data: Likewise.
19089 * conform/data/stdlib.h-data: Likewise.
19090 * conform/data/stropts.h-data: Likewise.
19091 * conform/data/sys/mman.h-data: Likewise.
19092 * conform/data/sys/stat.h-data: Likewise.
19093 * conform/data/sys/types.h-data: Likewise.
19094 * conform/data/sys/wait.h-data: Likewise.
19095 * conform/data/time.h-data: Likewise.
19096 * conform/data/unistd.h-data: Likewise.
19097 * conform/data/utime.h-data: Likewise.
19098
19099 * io/sys/stat.h: fchmod was always in POSIX.
19100 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19101 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19102 * rt/aio.h: Define __need_timespec before including <time.h>.
19103 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19104 struct. Add forward declaration of pthread_attr_t and use it in
19105 sigevent.
19106 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19107 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19108 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19109 always remove CLK_TCK definition.
19110
c20105c3
AS
191112012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19112
19113 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19114
7a270350
UD
191152012-02-25 Ulrich Drepper <drepper@gmail.com>
19116
31341567
UD
19117 * conform/run-conformtest.sh: New file.
19118 * conform/Makefile: Run run-conformtest for tests.
19119 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19120 support.
19121
19122 * conform/data/uchar.h-data: New file.
19123 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19124 * conform/data/arpa/inet.h-data: Likewise.
19125 * conform/data/assert.h-data: Likewise.
19126 * conform/data/complex.h-data: Likewise.
19127 * conform/data/cpio.h-data: Likewise.
19128 * conform/data/ctype.h-data: Likewise.
19129 * conform/data/dirent.h-data: Likewise.
19130 * conform/data/dlfcn.h-data: Likewise.
19131 * conform/data/errno.h-data: Likewise.
19132 * conform/data/fcntl.h-data: Likewise.
19133 * conform/data/float.h-data: Likewise.
19134 * conform/data/fmtmsg.h-data: Likewise.
19135 * conform/data/fnmatch.h-data: Likewise.
19136 * conform/data/ftw.h-data: Likewise.
19137 * conform/data/glob.h-data: Likewise.
19138 * conform/data/grp.h-data: Likewise.
19139 * conform/data/iconv.h-data: Likewise.
19140 * conform/data/inttypes.h-data: Likewise.
19141 * conform/data/langinfo.h-data: Likewise.
19142 * conform/data/libgen.h-data: Likewise.
19143 * conform/data/limits.h-data: Likewise.
19144 * conform/data/locale.h-data: Likewise.
19145 * conform/data/math.h-data: Likewise.
19146 * conform/data/monetary.h-data: Likewise.
19147 * conform/data/mqueue.h-data: Likewise.
19148 * conform/data/ndbm.h-data: Likewise.
19149 * conform/data/net/if.h-data: Likewise.
19150 * conform/data/netdb.h-data: Likewise.
19151 * conform/data/netinet/in.h-data: Likewise.
19152 * conform/data/nl_types.h-data: Likewise.
19153 * conform/data/poll.h-data: Likewise.
19154 * conform/data/pthread.h-data: Likewise.
19155 * conform/data/pwd.h-data: Likewise.
19156 * conform/data/regex.h-data: Likewise.
19157 * conform/data/sched.h-data: Likewise.
19158 * conform/data/search.h-data: Likewise.
19159 * conform/data/semaphore.h-data: Likewise.
19160 * conform/data/setjmp.h-data: Likewise.
19161 * conform/data/signal.h-data: Likewise.
19162 * conform/data/spawn.h-data: Likewise.
19163 * conform/data/stdarg.h-data: Likewise.
19164 * conform/data/stdio.h-data: Likewise.
19165 * conform/data/stdlib.h-data: Likewise.
19166 * conform/data/string.h-data: Likewise.
19167 * conform/data/strings.h-data: Likewise.
19168 * conform/data/stropts.h-data: Likewise.
19169 * conform/data/sys/ipc.h-data: Likewise.
19170 * conform/data/sys/mman.h-data: Likewise.
19171 * conform/data/sys/msg.h-data: Likewise.
19172 * conform/data/sys/resource.h-data: Likewise.
19173 * conform/data/sys/select.h-data: Likewise.
19174 * conform/data/sys/sem.h-data: Likewise.
19175 * conform/data/sys/shm.h-data: Likewise.
19176 * conform/data/sys/socket.h-data: Likewise.
19177 * conform/data/sys/stat.h-data: Likewise.
19178 * conform/data/sys/statvfs.h-data: Likewise.
19179 * conform/data/sys/time.h-data: Likewise.
19180 * conform/data/sys/timeb.h-data: Likewise.
19181 * conform/data/sys/times.h-data: Likewise.
19182 * conform/data/sys/types.h-data: Likewise.
19183 * conform/data/sys/uio.h-data: Likewise.
19184 * conform/data/sys/un.h-data: Likewise.
19185 * conform/data/sys/utsname.h-data: Likewise.
19186 * conform/data/sys/wait.h-data: Likewise.
19187 * conform/data/syslog.h-data: Likewise.
19188 * conform/data/tar.h-data: Likewise.
19189 * conform/data/termios.h-data: Likewise.
19190 * conform/data/utime.h-data: Likewise.
19191 * conform/data/utmpx.h-data: Likewise.
19192 * conform/data/varargs.h-data: Likewise.
19193 * conform/data/wchar.h-data: Likewise.
19194 * conform/data/wctype.h-data: Likewise.
19195 * conform/data/wordexp.h-data: Likewise.
19196
19197 * include/stropts.h: New file.
19198 * include/uchar.h: New file.
19199 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19200 * include/assert.h: Likewise.
19201 * include/ctype.h: Likewise.
19202 * include/dirent.h: Likewise.
19203 * include/dlfcn.h: Likewise.
19204 * include/fcntl.h: Likewise.
19205 * include/fnmatch.h: Likewise.
19206 * include/glob.h: Likewise.
19207 * include/grp.h: Likewise.
19208 * include/libio.h: Likewise.
19209 * include/locale.h: Likewise.
19210 * include/math.h: Likewise.
19211 * include/net/if.h: Likewise.
19212 * include/netdb.h: Likewise.
19213 * include/netinet/in.h: Likewise.
19214 * include/pthread.h: Likewise.
19215 * include/pwd.h: Likewise.
19216 * include/regex.h: Likewise.
19217 * include/sched.h: Likewise.
19218 * include/search.h: Likewise.
19219 * include/setjmp.h: Likewise.
19220 * include/signal.h: Likewise.
19221 * include/stdio.h: Likewise.
19222 * include/stdlib.h: Likewise.
19223 * include/string.h: Likewise.
19224 * include/sys/cdefs.h: Likewise.
19225 * include/sys/mman.h: Likewise.
19226 * include/sys/msg.h: Likewise.
19227 * include/sys/resource.h: Likewise.
19228 * include/sys/select.h: Likewise.
19229 * include/sys/socket.h: Likewise.
19230 * include/sys/stat.h: Likewise.
19231 * include/sys/statvfs.h: Likewise.
19232 * include/sys/time.h: Likewise.
19233 * include/sys/times.h: Likewise.
19234 * include/sys/uio.h: Likewise.
19235 * include/sys/utsname.h: Likewise.
19236 * include/sys/wait.h: Likewise.
19237 * include/termios.h: Likewise.
19238 * include/time.h: Likewise.
19239 * include/ulimit.h: Likewise.
19240 * include/unistd.h: Likewise.
19241 * include/utime.h: Likewise.
19242 * include/wchar.h: Likewise.
19243 * include/wctype.h: Likewise.
19244 * include/wordexp.h: Likewise.
19245
19246 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19247
7a270350
UD
19248 * time/time.h: TIME_UTC must be a macro.
19249 Make timespec_get available for ISO C11 only as well.
19250
7724defc
UD
192512012-02-24 Ulrich Drepper <drepper@gmail.com>
19252
19253 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19254 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19255
6b1d1d46
JM
192562012-02-24 Joseph Myers <joseph@codesourcery.com>
19257
19258 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19259
0f8bbd69
JM
192602012-02-24 Joseph Myers <joseph@codesourcery.com>
19261
19262 * manual/texinfo.tex: Update to version 2012-01-19.16.
19263
66ab80bc
JM
192642012-02-24 Joseph Myers <joseph@codesourcery.com>
19265
19266 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19267
74981cc5
RM
192682012-02-24 Roland McGrath <roland@hack.frob.com>
19269
ee968201
RM
19270 [BZ #13738]
19271 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19272 * manual/fdl-1.3.texi: New file.
19273 * manual/fdl-1.1.texi: File removed.
19274
74981cc5
RM
19275 [BZ #13738]
19276 * manual/libc.texinfo (FDL_VERSION): New @set.
19277 Use it for mention of FDL in cover text.
19278 (Documentation License): Use it in @include file name.
19279
7bb764bc
JM
192802012-02-22 Joseph Myers <joseph@codesourcery.com>
19281 Roland McGrath <roland@hack.frob.com>
19282
19283 [BZ #5461]
19284 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19285 not LONG_LONG_MAX and LONG_LONG_MIN.
19286 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19287 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19288 name.
19289 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19290
6cbeae47
JM
192912012-02-22 Joseph Myers <joseph@codesourcery.com>
19292
19293 [BZ #2547]
19294 [BZ #11365]
19295 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19296 manipulate bits before adding and subtracting TWO23[sx].
19297 * math/libm-test.inc (nearbyint_test): Add more tests.
19298
fe45ce09
JM
192992012-02-22 Joseph Myers <joseph@codesourcery.com>
19300
19301 [BZ #2548]
19302 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19303 bits before adding and subtracting TWO23[sx].
19304 * math/libm-test.inc (rint_test): Add more tests.
19305 (rint_test_tonearest): Likewise.
19306 (rint_test_towardzero): Likewise.
19307 (rint_test_downward): Likewise.
19308 (rint_test_upward: Likewise.
19309
ff3b3d82
JM
193102012-02-22 Joseph Myers <joseph@codesourcery.com>
19311
19312 [BZ #10110]
19313 * include/stdc-predef.h: New file. Extracted from features.h.
19314 * include/features.h: Include stdc-predef.h.
19315 * Makefile (headers): Add stdc-predef.h.
19316 * CONFORMANCE (Compiler limitations): Update.
19317
ef0aab35
JM
193182012-02-22 Joseph Myers <joseph@codesourcery.com>
19319
19320 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19321
58639409
DM
193222012-02-21 David S. Miller <davem@davemloft.net>
19323
19324 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19325 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19326
c0e70b25
DM
193272012-02-20 David S. Miller <davem@davemloft.net>
19328
19329 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19330 using a normal save/restore sequence, rather than allocating a
19331 dummy stack frame just to store a frame pointer and restore.
19332 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19333
fb06851d
JM
193342012-02-21 Joseph Myers <joseph@codesourcery.com>
19335
19336 * manual/install.texi: Fix stray word in line-wrapped comment.
19337
7a8b71c3
DM
193382012-02-20 David S. Miller <davem@davemloft.net>
19339
d510c123
DM
19340 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19341 both binutils and gcc support GOTDATA.
19342
0722d7c2
DM
19343 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19344 "rd %pc" in the PIC register setup sequences.
19345
3d2b3019
DM
19346 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19347 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19348 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19349 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19350 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19351 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19352 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19353 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19354 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19355 (SYSCALL_ERROR_HANDLER): Likewise.
19356 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19357 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19358 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19359 (SYSCALL_ERROR_HANDLER): Likewise.
19360
c80098a9
DM
19361 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19362 (HAVE_GCC_GOTDATA): New.
19363 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19364 relocation support in both binutils and gcc.
19365 * sysdeps/sparc/elf/configure: Regenerate.
19366
3a2545a0
DM
19367 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19368 * sysdeps/sparc/sparc32/elf/configure: Delete.
19369 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19370 * sysdeps/sparc/sparc64/elf/configure: Delete.
19371 * sysdeps/sparc/elf/configure.in: New file.
19372 * sysdeps/sparc/elf/configure: Generate.
19373
7a8b71c3
DM
19374 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19375 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19376 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19377 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19378 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19379
f1e86fca
JM
193802012-02-21 Joseph Myers <joseph@codesourcery.com>
19381
19382 * manual/install.texi: Do not mention specific glibc version
19383 numbers.
19384 * manual/libc.texinfo (VERSION, UPDATED): Update.
19385 (@copying): Use @copyright{} and range of years.
19386
0e7dfaef
JM
193872012-02-21 Joseph Myers <joseph@codesourcery.com>
19388
19389 [BZ #13695]
19390 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19391 [crti.S not in sysdirs] (generated): Do not append.
19392 [crti.S not in sysdirs] (omit-deps): Likewise.
19393 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19394 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19395 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19396 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19397 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19398 Likewise.
19399 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19400 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19401 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19402 * csu/defs.awk: Remove file.
19403 * sysdeps/generic/initfini.c: Likewise.
19404 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19405 variable.
19406 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19407 Likewise.
19408
599af3ca
JM
194092012-02-20 Joseph Myers <joseph@codesourcery.com>
19410
19411 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19412 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19413 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19414 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19415 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19416 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19417 <bits/epoll.h>.
19418 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19419 (__EPOLL_PACKED): Define to empty if not defined by
19420 <bits/epoll.h>.
19421 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19423 bits/epoll.h.
19424
0e499750
JM
194252012-02-20 Joseph Myers <joseph@codesourcery.com>
19426
19427 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19428 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19429 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19430 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19431 <bits/timerfd.h>.
19432 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19434 bits/timerfd.h.
19435
5ad91f6e
JM
194362012-02-20 Joseph Myers <joseph@codesourcery.com>
19437
19438 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19439 in C locale.
19440 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19441 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19442 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19444
06b99b02
AJ
194452012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19446
19447 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19448 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19449
7638c0fd
AS
194502012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19451
19452 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19453 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19454 defined.
19455 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19456 Likewise.
19457 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19458 entry for 2.16.
19459
92221550
AJ
194602012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19461
19462 * math/w_acos.c: Use non-signaling floating-point comparisons.
19463 * math/w_acosf.c: Likewise.
19464 * math/w_acosh.c: Likewise.
19465 * math/w_acoshf.c: Likewise.
19466 * math/w_acoshl.c: Likewise.
19467 * math/w_acosl.c: Likewise.
19468 * math/w_asin.c: Likewise.
19469 * math/w_asinf.c: Likewise.
19470 * math/w_asinl.c: Likewise.
19471 * math/w_atanh.c: Likewise.
19472 * math/w_atanhf.c: Likewise.
19473 * math/w_atanhl.c: Likewise.
19474 * math/w_exp2.c: Likewise.
19475 * math/w_exp2f.c: Likewise.
19476 * math/w_exp2l.c: Likewise.
19477 * math/w_j0.c: Likewise.
19478 * math/w_j0f.c: Likewise.
19479 * math/w_j0l.c: Likewise.
19480 * math/w_j1.c: Likewise.
19481 * math/w_j1f.c: Likewise.
19482 * math/w_j1l.c: Likewise.
19483 * math/w_jn.c: Likewise.
19484 * math/w_jnf.c: Likewise.
19485 * math/w_log.c: Likewise.
19486 * math/w_log10.c: Likewise.
19487 * math/w_log10f.c: Likewise.
19488 * math/w_log10l.c: Likewise.
19489 * math/w_log2.c: Likewise.
19490 * math/w_log2f.c: Likewise.
19491 * math/w_log2l.c: Likewise.
19492 * math/w_logf.c: Likewise.
19493 * math/w_logl.c: Likewise.
19494 * math/w_sqrt.c: Likewise.
19495 * math/w_sqrtf.c: Likewise.
19496 * math/w_sqrtl.c: Likewise.
19497 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19498 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19499 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19500 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19501 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19502
ebaf36eb
JM
195032012-02-19 Joseph Myers <joseph@codesourcery.com>
19504
19505 [BZ #9739]
19506 * manual/string.texi (strnlen): Use correct parameter name in
19507 equivalent expression.
19508
71c254a6
JM
195092012-02-19 Joseph Myers <joseph@codesourcery.com>
19510
19511 [BZ #11174]
19512 * manual/users.texi (seteuid): Consistently use neweuid for
19513 argument name.
19514
16d2c631
JM
195152012-02-19 Joseph Myers <joseph@codesourcery.com>
19516
19517 [BZ #13704]
19518 * manual/nss.texi (Services in the NSS configuration): Correct
19519 list of services in example configuration file.
19520
cd837b09
NB
195212012-02-19 Nick Bowler <nbowler@draconx.ca>
19522
19523 [BZ #11322]
19524 * manual/arith.texi: Remove statements about negative zero
19525 behaving identically to zero.
19526
02c4bbad
JM
195272012-02-18 Joseph Myers <joseph@codesourcery.com>
19528
19529 [BZ #5993]
19530 * manual/install.texi: Do not document upgrading from libc5.
19531
366842e7
JM
195322012-02-18 Joseph Myers <joseph@codesourcery.com>
19533
19534 [BZ #4596]
19535 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19536
dd54084d
DM
195372012-02-18 David S. Miller <davem@davemloft.net>
19538
19539 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19540 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19541 %o7 across the call.
19542 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19543 instead.
19544 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19545 SETUP_PIC_REG_LEAF.
19546 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19547 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19548 * sysdeps/sparc/crtn.S: Likewise.
19549
2bcc53a3
UD
195502012-02-17 Ulrich Drepper <drepper@gmail.com>
19551
19552 * aout/Makefile: Remove.
19553
09c093b5
RK
195542012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19555
19556 [BZ #13058]
19557 * manual/examples/argp-ex1.c (main): Format definition in GNU
19558 style.
19559 * manual/examples/argp-ex2.c (main): Likewise.
19560 * manual/examples/argp-ex3.c (main): Likewise.
19561 * manual/examples/argp-ex4.c (main): Likewise.
19562 * manual/examples/longopt.c (main): Use new-style prototype
19563 definition.
19564 * manual/examples/strncat.c (main): Specify return type and use
19565 (void) for arguments.
19566 * manual/examples/subopt.c (main): Use char **argv argument.
19567
2ee633a2
JM
195682012-02-17 Joseph Myers <joseph@codesourcery.com>
19569
19570 [BZ #5077]
19571 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19572 rounding modes.
19573
0520adde
FB
195742012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19575
19576 [BZ #6907]
19577 * manual/string.texi (strchr): Change when strchrnul is
19578 recommended.
19579
3f4081cd
DGM
195802012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19581
19582 [BZ #174]
19583 * manual/locale.texi (setlocale): Document LOCPATH.
19584
d1b10e78
JM
195852012-02-17 Joseph Myers <joseph@codesourcery.com>
19586
19587 [BZ #10210]
19588 * manual/process.texi (execle): Move @dots{} before last argument.
19589
79c6869c
PB
195902012-02-17 Paul Bolle <pebolle@tiscali.nl>
19591
19592 [BZ #12047]
19593 * manual/charset.texi (Generic Charset Conversion): Fix typo
19594 (LC_TYPE -> LC_CTYPE).
19595
cc6e48bc
NB
195962012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19597
19598 [BZ #5805]
19599 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19600 (scalbnf): Likewise.
19601 (scalbnl): Likewise.
19602 (scalbln): Likewise.
19603 (scalblnf): Likewise.
19604 (scalblnl): Likewise.
19605 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19606 (vwarnx): Likewise.
19607 (verr): Likewise.
19608 (verrx): Likewise.
19609 * manual/filesys.texi (telldir): Use braces around return type.
19610 * manual/llio.texi (mmap): Add space after comma.
19611 (mmap64): Likewise.
19612 * manual/math.texi (jn): Use @var{} on parameter names.
19613 (jnf): Likewise.
19614 (jnl): Likewise.
19615 (yn): Likewise.
19616 (ynf): Likewise.
19617 (ynl): Likewise.
19618 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19619 line.
19620 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19621 "...".
19622 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19623 (sched_get_priority_max): Likewise.
19624 * manual/signal.texi (sigvec): Add space after comma.
19625 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19626 names.
19627 (if_indextoname): Likewise.
19628 (if_freenameindex): Likewise.
19629 (sendto): Use ',' instead of '.' in prototype.
19630 * manual/startup.texi (syscall): Use @dots{} instead of literal
19631 "...".
19632 * manual/stdio.texi (__fpending): Separate initial words of
19633 paragraph from @deftypefun line.
19634 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19635 "...".
19636 (vsyslog): Use @var{} on parameter names.
19637 * manual/terminal.texi (stty): Use @var{} on parameter names.
19638 * manual/users.texi (getutmp): Use @var{} on parameter names.
19639 (getutmpx): Likewise.
19640
5b23062f
JM
196412012-02-17 Joseph Myers <joseph@codesourcery.com>
19642
19643 [BZ #6884]
19644 * manual/stdio.texi (fopen): Fix typos in description of
19645 ",ccs=STRING".
19646
8dee4833
AJ
196472012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19648
19649 [BZ #4026]
19650 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19651 get clock_id definition.
19652
9078ce93
TS
196532012-02-17 Thomas Schwinge <thomas@schwinge.name>
19654
19655 [BZ #4822]
19656 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19657 (madvise): Cast every argument to void on its own.
19658
3835c55f
JM
196592012-02-17 Joseph Myers <joseph@codesourcery.com>
19660
19661 [BZ #9902]
19662 * manual/startup.texi (Exit Status): Fix typo.
19663
35c47e37
JM
196642012-02-17 Joseph Myers <joseph@codesourcery.com>
19665
19666 [BZ #10140]
19667 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19668 * manual/examples/argp-ex2.c: Likewise.
19669 * manual/examples/argp-ex3.c: Likewise.
19670
e3b69ca7
RH
196712012-02-16 Richard Henderson <rth@redhat.com>
19672
19673 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19674 * sysdeps/s390/s390-32/initfini.c: Remove.
19675 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19676 * sysdeps/s390/s390-64/initfini.c: Remove.
19677
df83af67
KK
196782012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19679
19680 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19681 compiler output for sysdeps/generic/initfini.c.
19682 * sysdeps/sh/elf/initfini.c: Remove file.
19683
f63f3380
DM
196842012-02-16 David S. Miller <davem@davemloft.net>
19685
fb59b3a4
DM
19686 [BZ #11494]
19687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19688
f63f3380
DM
19689 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19690 * sysdeps/sparc/crti.S: New file.
19691 * sysdeps/sparc/crtn.S: New file.
19692 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19693 * sysdeps/sparc/sparc64/Makefile: Likewise.
19694
df6a4a4a
MF
196952012-02-15 Mike Frysinger <vapier@gentoo.org>
19696
6dd8f3dc 19697 [BZ #3335]
df6a4a4a
MF
19698 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19699
1cac7236
RM
197002012-02-15 Roland McGrath <roland@hack.frob.com>
19701
d2c736f8
RM
19702 [BZ #4822]
19703 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19704
1cac7236
RM
19705 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19706 (write, read, close): Likewise.
19707 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19708
8e475601
JM
197092012-02-15 Joseph Myers <joseph@codesourcery.com>
19710
19711 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19712 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19713 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19714 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19715 <bits/signalfd.h>.
19716 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19718 bits/signalfd.h.
19719
ed656b40
MP
197202012-02-14 Marek Polacek <polacek@redhat.com>
19721
19722 * sysdeps/x86_64/crti.S: New file.
19723 * sysdeps/x86_64/crtn.S: New file.
19724 * sysdeps/x86_64/elf/initfini.c: Remove file.
19725
2a979d3a
JM
197262012-02-13 Joseph Myers <joseph@codesourcery.com>
19727
19728 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19729 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19730 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19731 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19732 <bits/inotify.h>.
19733 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19734 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19735 bits/inotify.h.
19736
2a418ac3
JM
197372012-02-13 Joseph Myers <joseph@codesourcery.com>
19738
19739 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19740 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19741 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19742 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19743 <bits/eventfd.h>.
19744 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19745 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19746 bits/eventfd.h.
19747
fb779be7
TS
197482012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19749
e19e83c5
RM
19750 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19751 __feraiseexcept instead of feraiseexcept.
7c35ffed 19752
fb779be7
TS
19753 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19754 nanosleep invocations.
19755 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19756 strings, and add error checking for a nanosleep invocations.
19757
59ba27a6
PE
197582012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19759
19760 Replace FSF snail mail address with URLs, as per GNU coding standards.
19761 Most of the snail mail addresses were wrong anyway, and omitting
19762 them makes the source code easier to maintain. Almost all of the
19763 changes are to license notices and to locale LC_IDENTIFICATION
19764 addresses, except for this one:
19765 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19766 not its snail mail address.
19767
57b957eb
RH
197682012-02-09 Richard Henderson <rth@twiddle.net>
19769
af850b1c
RH
19770 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19771 of kernel-features.h.
19772
57b957eb
RH
19773 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19774
6b73181a
MP
197752012-02-08 Marek Polacek <polacek@redhat.com>
19776
19777 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19778 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19779 * sysdeps/gnu/_G_config.h: Likewise.
19780 * sysdeps/generic/_G_config.h: Likewise.
19781
26ecc33a
AS
197822012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19783
6c6dbc63
AS
19784 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19785 tests.
19786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19787
e216c012
AS
19788 * sysdeps/powerpc/powerpc32/crti.S: New file.
19789 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19790 * sysdeps/powerpc/powerpc64/crti.S: New file.
19791 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19792
26ecc33a
AS
19793 * Makeconfig (have-initfini): Don't set.
19794 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19795 * configure.in (nopic_initfini): Don't substitute.
19796 * config.h.in (HAVE_INITFINI): Don't #undef.
19797 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19798 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19799
3add8e13
JM
198002012-02-08 Joseph Myers <joseph@codesourcery.com>
19801
19802 Support crti.S and crtn.S provided directly by architectures.
19803 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19804 [crti.S in sysdirs] (omit-deps): Likewise.
19805 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19806 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19807 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19808 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19809 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19810 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19811 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19812 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19813 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19814 compiler output for sysdeps/generic/initfini.c.
19815 * sysdeps/i386/elf/Makefile: Remove file.
19816 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19817
a22f12b4
MP
198182012-02-07 Marek Polacek <polacek@redhat.com>
19819
19820 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19821 * sysdeps/gnu/_G_config.h: Likewise.
19822 * sysdeps/mach/hurd/_G_config.h: Likewise.
19823
148cf100
MP
198242012-02-07 Marek Polacek <polacek@redhat.com>
19825
19826 * math/Makefile (tests): Add tst-CMPLX2.
19827 * math/tst-CMPLX2.c: New file.
19828
cfdc0dd7
AS
198292012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19830
84ba42c4
AS
19831 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19832
cfdc0dd7
AS
19833 * math/libm-test.inc (jn_test): Add missing L suffix.
19834
622c86f4
MP
198352012-02-06 Marek Polacek <polacek@redhat.com>
19836
19837 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19838 * sysdeps/i386/fpu/e_powf.S: Likewise.
19839 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19840 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19841 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19842 * sysdeps/i386/fpu/e_pow.S: Likewise.
19843 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19844 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19845 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19846 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19847 * sysdeps/i386/fpu/e_log2.S: Likewise.
19848 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19849 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19850 * sysdeps/i386/fpu/e_powl.S: Likewise.
19851 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19852 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19853 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19854 * sysdeps/i386/fpu/e_logl.S: Likewise.
19855 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19856 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19857 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19858 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19859 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19860 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19861 * sysdeps/i386/fpu/e_log.S: Likewise.
19862 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19863 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19864 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19865 * sysdeps/i386/fpu/e_logf.S: Likewise.
19866 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19867 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19868 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19869 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19870 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19871 * sysdeps/i386/fpu/e_log10.S: Likewise.
19872 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19873 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19874 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19875 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19876 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19877 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19878 * sysdeps/i386/asm-syntax.h: Likewise.
19879 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19880 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19881 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19882 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19883 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19884 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19885 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19886 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19887 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19888 * sysdeps/powerpc/sysdep.h: Likewise.
19889 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19890 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19891
d4a54ac6
JM
198922012-02-06 Joseph Myers <joseph@codesourcery.com>
19893
19894 [BZ #411]
19895 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19896
314054ea
JM
198972012-02-06 Joseph Myers <joseph@codesourcery.com>
19898
19899 * sysdeps/i386/sysdep.h: Include <features.h>.
19900 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19901 version.
19902
d8e0ca50
JM
199032012-02-05 Joseph Myers <joseph@codesourcery.com>
19904
19905 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19906 Define.
19907 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19908 LOAD_PIC_REG_STR.
19909
b1da7dd9
JM
199102012-02-03 Joseph Myers <joseph@codesourcery.com>
19911
19912 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19913 (SETUP_PIC_REG): Use GET_PC_THUNK.
19914 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19915 macro.
19916
9a1d9254
JM
199172012-02-03 Joseph Myers <joseph@codesourcery.com>
19918
19919 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19920 for non-PIC compilation.
19921 (SETUP_PIC_REG): Add .p2align directive.
19922 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19923 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19924 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19925 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19926 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19927 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19928 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19929 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19930 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19931 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19932 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19933 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19934 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19935 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19936 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19937 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19938 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19939 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19940 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19941 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19942 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19943 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19944 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19945 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19946 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19947 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19948 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19949 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19950 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19951 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19952 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19953 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19954 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19955 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19956 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19957 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19958 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19959 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19960 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19961 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19962 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19963
65dc3b75
JM
199642012-02-03 Joseph Myers <joseph@codesourcery.com>
19965
19966 * math/tst-CMPLX.c: Include <stdio.h>.
19967
d55bf177
JM
199682012-01-31 Joseph Myers <joseph@codesourcery.com>
19969
19970 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19971 float.
19972 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19973 * sysdeps/sparc/bits/mathdef.h: Likewise.
19974
69db4f8f
MP
199752012-01-31 Marek Polacek <polacek@redhat.com>
19976
19977 * libio/libio.h: Don't define _PARAMS.
19978 * locale/programs/config.h: Don't define PARAMS.
19979 * stdlib/strtol_l.c: Likewise.
19980 (__strtol_l): Remove PARAMS from the prototype.
19981
41b81892
UD
199822012-01-31 Ulrich Drepper <drepper@gmail.com>
19983
3b49edc0
UD
19984 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19985 names. Just use the correct names. Remove unnecessary wrapper
19986 functions.
19987 * malloc/arena.c: Likewise.
19988 * malloc/hooks.c: Likewise.
19989
41b81892
UD
19990 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19991 ARENA_TEST says not to. Simplify test for creation of a new arena.
19992 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19993
27a25b6e
UD
199942012-01-30 Ulrich Drepper <drepper@gmail.com>
19995
19996 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19997 into tail calls.
19998 (update_get_addr): New function.
19999 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20000 GET_ADDR_MODULE parameter.
20001
c8a89e7d
JM
200022012-01-30 Joseph Myers <joseph@codesourcery.com>
20003
20004 * crypt/cert.c: Remove __STDC__ conditionals.
20005 * crypt/crypt-entry.c: Likewise.
20006 * crypt/crypt_util.c: Likewise.
20007 * libio/filedoalloc.c: Likewise.
20008 * libio/fileops.c: Likewise.
20009 * libio/genops.c: Likewise.
20010 * libio/iofclose.c: Likewise.
20011 * libio/iofdopen.c: Likewise.
20012 * libio/iofopen.c: Likewise.
20013 * libio/iofopen64.c: Likewise.
20014 * libio/iogetdelim.c: Likewise.
20015 * libio/iopopen.c: Likewise.
20016 * libio/obprintf.c: Likewise.
20017 * libio/oldfileops.c: Likewise.
20018 * libio/oldiofclose.c: Likewise.
20019 * libio/oldiofdopen.c: Likewise.
20020 * libio/oldiofopen.c: Likewise.
20021 * libio/oldiopopen.c: Likewise.
20022 * libio/wfiledoalloc.c: Likewise.
20023 * libio/wgenops.c: Likewise.
20024 * locale/programs/xmalloc.c: Likewise.
20025 * misc/syslog.c: Likewise.
20026 * stdio-common/xbug.c: Likewise.
20027 * string/memchr.c: Likewise.
20028 * string/memcmp.c: Likewise.
20029 * string/memrchr.c: Likewise.
20030 * string/rawmemchr.c: Likewise.
20031 * sysdeps/posix/getcwd.c: Likewise.
20032 * time/strftime_l.c: Likewise.
20033
3b100462
JM
200342012-01-30 Joseph Myers <joseph@codesourcery.com>
20035
20036 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20037 * config.make.in (config-cflags-sse2avx): Define.
20038 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20039 Fix typo.
20040
607998af
CM
200412012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20042
20043 * scripts/config.guess: Update from upstream config git repository.
20044 * scripts/config.sub: Likewise.
20045
3601428f
CM
200462012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20047
3ac8b282
CM
20048 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20049 (EM_NUM): Update.
20050 (R_TILEPRO_*, R_TILEGX_*): New macros.
20051
e034841e
CM
20052 * scripts/firstversions.awk: Fix bug in version range handling.
20053
540d7568
CM
20054 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20055
3601428f
CM
20056 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20057
463de862
CM
20058 * include/sys/epoll.h: New file.
20059 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20060 libc_hidden_def.
20061
73139a76
UD
200622012-01-28 Ulrich Drepper <drepper@gmail.com>
20063
96bc5b45
UD
20064 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20065 Avoid unnecessary __WORDSIZE == 64 test.
20066 (fmaxf): Use VEX format if possible.
20067 (fmax): Likewise.
20068 (fminf): Likewise.
20069 (fmin): Likewise.
20070
56f6f6a2
UD
20071 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20072 * math/math_private.h: Remove libc_fegetround* and
20073 libc_fesetround*.
20074 * sysdeps/i386/configure.in: Check for -msse2avx.
20075 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20076 also if SSE2AVX is defined.
20077 Remove libc_fegetround* and libc_fesetround*.
20078 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20079 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20080 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20081 of HAS_YMM_USABLE.
20082 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20083 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20084 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20085 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20086 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20087
73139a76
UD
20088 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20089
d73f93a4
AZ
200902012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20091
20092 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20093 size is not set.
20094 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20095
6ee65ed6
UD
200962012-01-27 Ulrich Drepper <drepper@gmail.com>
20097
20098 [BZ #13618]
20099 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20100 relocation.
20101 * Makeconfig (libm): Define.
20102 * elf/Makefile: Add rules to build and run tst-relsort1.
20103 * elf/tst-relsort1.c: New file.
20104 * elf/tst-relsort1mod1.c: New file.
20105 * elf/tst-relsort1mod2.c: New file.
20106
8db21882
JM
201072012-01-27 Joseph Myers <joseph@codesourcery.com>
20108
20109 * math/s_ldexp.c: Remove __STDC__ conditionals.
20110 * math/s_ldexpf.c: Likewise.
20111 * math/s_ldexpl.c: Likewise.
20112 * math/s_nextafter.c: Likewise.
20113 * math/s_nexttowardf.c: Likewise.
20114 * math/s_significand.c: Likewise.
20115 * math/s_significandf.c: Likewise.
20116 * math/s_significandl.c: Likewise.
20117 * math/w_jnl.c: Likewise.
20118 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20119 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20120 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20121 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20122 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20123 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20124 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20125 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20126 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20127 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20128 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20129 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20130 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20131 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20132 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20133 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20134 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20135 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20136 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20137 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20138 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20139 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20140 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20141 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20142 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20143 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20144 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20145 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20146 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20147 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20148 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20149 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20150 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20151 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20152 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20153 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20154 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20155 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20156 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20157 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20158 * sysdeps/ieee754/k_standard.c: Likewise.
20159 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20160 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20161 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20162 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20163 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20164 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20165 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20166 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20167 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20168 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20169 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20170 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20171 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20172 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20173 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20174 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20175 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20176 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20177 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20178 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20179 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20180 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20181 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20182 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20183 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20184 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20185 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20186 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20187 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20188 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20189 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20190 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20191 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20192 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20193 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20194 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20195 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20196 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20197 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20198 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20199 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20200 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20201 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20202 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20203 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20204 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20205 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20206 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20207 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20208 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20209 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20210 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20211 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20212 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20213 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20214 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20215 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20216 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20217 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20218 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20219 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20220 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20221 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20222 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20223 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20224 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20225 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20226 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20227 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20228 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20229 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20230 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20231 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20232 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20233 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20234 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20235 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20236 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20237 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20238 * sysdeps/ieee754/s_matherr.c: Likewise.
20239 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20240 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20241 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20242 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20243
965a54a4
JM
202442012-01-26 Joseph Myers <joseph@codesourcery.com>
20245
20246 * crypt/md5.h: Remove __STDC__ conditionals.
20247 * libio/libioP.h: Likewise.
20248 * locale/programs/config.h: Likewise.
20249 * sysdeps/generic/sysdep.h: Likewise.
20250 * sysdeps/i386/asm-syntax.h: Likewise.
20251 * sysdeps/s390/asm-syntax.h: Likewise.
20252 * sysdeps/unix/sysdep.h: Likewise.
20253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20255
7071ad79
JM
202562012-01-26 Joseph Myers <joseph@codesourcery.com>
20257
20258 * libio/libio.h: Remove __STDC__ conditionals.
20259 * malloc/obstack.h: Likewise.
20260 * math/complex.h: Likewise.
20261 * math/math.h: Likewise.
20262 * sysdeps/generic/_G_config.h: Likewise.
20263 * sysdeps/gnu/_G_config.h: Likewise.
20264 * sysdeps/mach/hurd/_G_config.h: Likewise.
20265 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20266 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20267 * sysdeps/sparc/bits/mathdef.h: Likewise.
20268
afc5ed09
UD
202692012-01-26 Ulrich Drepper <drepper@gmail.com>
20270
20271 [BZ #13583]
20272 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20273 Clean up HAS_* macros.
afc5ed09 20274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20275 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20276 possible.
20277 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20278 HAS_AVX.
20279 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20280 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20281 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20282 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20283 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20284
bdb6de1d
JM
202852012-01-25 Joseph Myers <joseph@codesourcery.com>
20286
20287 * elf/tst-unique3.cc (gets): Remove declaration.
20288 * elf/tst-unique3lib.cc (gets): Likewise.
20289 * elf/tst-unique3lib2.cc (gets): Likewise.
20290 * elf/tst-unique4.cc (gets): Likewise.
20291
b15549e6
UD
202922012-01-24 Ulrich Drepper <drepper@gmail.com>
20293
20294 * include/stdio.h: Add C++ protection. Add gets declarations and
20295 definitions.
20296 * debug/tst-chk1.c: Don't declare gets here.
20297 * stdio-common/tst-gets.c: Likewise.
20298
a037381f
JM
202992012-01-24 Joseph Myers <joseph@codesourcery.com>
20300
20301 * posix/glob: Remove directory.
20302
f1d4aa75
JM
203032012-01-24 Joseph Myers <joseph@codesourcery.com>
20304
20305 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20306
81c0c964
PT
203072012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20308
20309 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20310 of the non-standard EPFNOSUPPORT.
20311
0ea698ae
ST
203122011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20313
20314 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20315 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20316 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20317
d220b117
UD
203182012-01-21 Ulrich Drepper <drepper@gmail.com>
20319
20320 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20321
3e1aa84e
UD
203222012-01-20 Ulrich Drepper <drepper@gmail.com>
20323
20324 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20325 transient errors.
20326 * nscd/grpcache.c (cache_addgr): Likewise.
20327 * nscd/hstcache.c (cache_addhst): Likewise.
20328 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20329 * nscd/pwdcache.c (cache_addpw): Likewise.
20330 * nscd/servicescache.c (cache_addserv): Likewise.
20331
400aa020
UD
203322012-01-16 Ulrich Drepper <drepper@gmail.com>
20333
d77e7869
UD
20334 * malloc/malloc.c: Various cleanups.
20335 * malloc/hooks.c: Likewise.
20336
400aa020
UD
20337 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20338 * stdlib/bug-fmtmsg1.c: New file.
20339
20340 * stdlib/fmtmsg.c (init): Add missing unlock.
20341 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20342
e0a309cf
MP
203432012-01-12 Marek Polacek <polacek@redhat.com>
20344
20345 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20346 and _GNU_SOURCE.
20347
929d11c7
WS
203482012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20349
20350 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20351 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20352 macro to ensure uniqueness of label name.
20353 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20354 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20355
41d0e869
UD
203562012-01-11 Ulrich Drepper <drepper@gmail.com>
20357
0cc5ed3b
UD
20358 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20359
41d0e869
UD
20360 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20361 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20362 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20364
a47a831a
UD
203652012-01-10 Ulrich Drepper <drepper@gmail.com>
20366
daa891c0
UD
20367 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20368
20369 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20370 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20371 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20372
e58ef0f2
UD
20373 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20374
a47a831a 20375 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20376 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20377 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20378 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20379
20380 * math/bits/math-finite.h: Add ldexp support.
20381
a0bfc9c7
MP
203822012-01-10 Marek Polacek <polacek@redhat.com>
20383
20384 * locale/programs/localedef.h (show_archive_content): Add noreturn
20385 attribute.
20386
d6e97a1d
UD
203872012-01-09 Ulrich Drepper <drepper@gmail.com>
20388
20389 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20390
d5835c26
UD
203912012-01-08 Ulrich Drepper <drepper@gmail.com>
20392
e5f484c6
UD
20393 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20394
d5835c26
UD
20395 * io/Makefile (headers): Add bits/poll2.h.
20396
d1f741e9
WS
203972011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20398
20399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20400 typo #include statement.
20401
ec09c1c4
UD
204022012-01-08 Ulrich Drepper <drepper@gmail.com>
20403
20404 * include/sys/cdefs.h: Define __attribute_alloc_size.
20405 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20406 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20407 * elf/pldd.c: Likewise.
20408 * iconv/iconv_charmap.c: Likewise.
20409 * iconv/iconvconfig.c: Likewise.
20410 * iconv/strtab.c: Likewise.
20411 * locale/programs/locale.c: Likewise.
20412 * locale/programs/localedef.h: Likewise.
20413 * locale/programs/simple-hash.c: Likewise.
20414 * nscd/nscd.h: Likewise.
20415 * nss/makedb.c: Likewise.
20416 * sysdeps/generic/ldconfig.h: Likewise.
20417 * locale/programs/localedef.c: Remove xmalloc prototype.
20418 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20419
20b38e03
PP
204202012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20421
20422 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20423 appropriate.
20424
a0da5fe1
UD
204252012-01-08 Ulrich Drepper <drepper@gmail.com>
20426
1d5a644a 20427 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20428 * math/tst-CMPLX.c: New file.
1d5a644a 20429
8784a6db
UD
20430 * math/complex.h (CMPLXL): Fix typo.
20431
d9a216c0
UD
20432 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20433 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20434 GLIBC_2.16.
20435 * debug/tst-chk1.c: Add poll and ppoll tests.
20436 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20437 * include/sys/poll.h: Add hidden proto for ppoll.
20438 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20439 * sysdeps/mach/hurd/ppoll.c: Likewise.
20440 * io/ppoll.c: Likewise.
20441 * debug/poll_chk.c: New file.
20442 * debug/ppoll_chk.c: New file.
20443 * include/bits/poll2.h: New file.
20444 * io/bits/poll2.h: New file.
20445
ac097f5c
UD
20446 [BZ #1350]
20447 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20448
2119dcfa
UD
20449 * configure.in: static is always set to yes. Remove.
20450 * config.make.in: Don't set build-static.
20451 * Makeconfig: Remove use of build-static.
20452 * dlfcn/Makefile: Likewise.
20453 * elf/Makefile: Likewise.
20454 * math/Makefile: Likewise.
20455 * misc/Makefile: Likewise.
20456 * nptl/Makefile: Likewise.
20457 * sysdeps/mach/hurd/Makefile: Likewise.
20458
121766a9
UD
20459 * configure.in: PWD_P is not used anymore.
20460 * config.make.in: Remove PWD_P entry.
20461
51a1d39c 20462 * configure.in: Remove last remnants of RANLIB.
8720d066 20463 No need to check for signed size_t anymore.
215f4bdc
UD
20464 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20465 and IA-64.
3857022a 20466 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20467 * aclocal.m4: Likewise.
20468
d3ed7225
UD
20469 * wcsmbs/mbrtoc16.c: Implement using towc function.
20470 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20471 * wcsmbs/wcsmbsload.c: Likewise.
20472 * iconv/gconv_simple.c: Likewise.
20473 * iconv/gconv_int.h: Likewise.
20474 * iconv/gconv_builtin.h: Likewise.
20475 * iconv/iconv_prog.c: Remove CHAR16 handling.
20476
20477 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20478
20479 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20480
a0da5fe1
UD
20481 * configure.in: Remove --with-elf and --enable-bounded options.
20482 Dont set base_machine for ia64. More non-ELF conditions removed.
20483 Remove testing and setting of leading underscore information.
20484 * config.make.in (build-bounded): Set to no.
20485 * config.h.in: Remove NO_UNDERSCORES entry.
20486 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20487 them.
20488 * csu/start.c: Remove !NO_UNDERSCORE code.
20489 * locale/localeinfo.h: Likewise.
20490 * sysdeps/generic/machine-gmon.h: Likewise.
20491 * sysdeps/generic/sysdep.h: Likewise.
20492 * sysdeps/i386/sysdep.h: Likewise.
20493 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20494 * sysdeps/mach/sysdep.h: Likewise.
20495 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20496 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20497 * sysdeps/sh/sysdep.h: Likewise.
20498 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20499 * sysdeps/unix/i386/sysdep.S: Likewise.
20500 * sysdeps/unix/sparc/start.c: Likewise.
20501 * sysdeps/unix/sparc/sysdep.S: Likewise.
20502 * sysdeps/unix/sparc/sysdep.h: Likewise.
20503 * sysdeps/unix/start.c: Likewise.
20504 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20505 * sysdeps/x86_64/sysdep.h: Likewise.
20506
df78418a
UD
205072012-01-07 Ulrich Drepper <drepper@gmail.com>
20508
a784e502
UD
20509 [BZ #13553]
20510 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20511 for non-gcc.
20512 * argp/argp-fmtstream.h: Use const instead __const.
20513 * argp/argp.h: Likewise.
20514 * assert/assert.h: Likewise.
20515 * bits/fenv.h: Likewise.
20516 * bits/sched.h: Likewise.
20517 * bits/sigset.h: Likewise.
20518 * bits/sigthread.h: Likewise.
20519 * catgets/nl_types.h: Likewise.
20520 * conform/data/pthread.h-data: Likewise.
20521 * crypt/crypt-private.h: Likewise.
20522 * crypt/crypt.h: Likewise.
20523 * crypt/crypt_util.c: Likewise.
20524 * ctype/ctype.h: Likewise.
20525 * debug/execinfo.h: Likewise.
20526 * debug/mbsnrtowcs_chk.c: Likewise.
20527 * debug/mbsrtowcs_chk.c: Likewise.
20528 * debug/wcsnrtombs_chk.c: Likewise.
20529 * debug/wcsrtombs_chk.c: Likewise.
20530 * debug/wcstombs_chk.c: Likewise.
20531 * dirent/dirent.h: Likewise.
20532 * dlfcn/dlfcn.h: Likewise.
20533 * elf/neededtest4.c: Likewise.
20534 * grp/grp.h: Likewise.
20535 * gshadow/gshadow.h: Likewise.
20536 * iconv/gconv.h: Likewise.
20537 * iconv/gconv_int.h: Likewise.
20538 * iconv/gconv_simple.c: Likewise.
20539 * iconv/iconv.h: Likewise.
20540 * iconv/loop.c: Likewise.
20541 * iconv/skeleton.c: Likewise.
20542 * include/aio.h: Likewise.
20543 * include/aliases.h: Likewise.
20544 * include/argz.h: Likewise.
20545 * include/arpa/inet.h: Likewise.
20546 * include/assert.h: Likewise.
20547 * include/dirent.h: Likewise.
20548 * include/dlfcn.h: Likewise.
20549 * include/execinfo.h: Likewise.
20550 * include/fcntl.h: Likewise.
20551 * include/fenv.h: Likewise.
20552 * include/glob.h: Likewise.
20553 * include/grp.h: Likewise.
20554 * include/libintl.h: Likewise.
20555 * include/mntent.h: Likewise.
20556 * include/netdb.h: Likewise.
20557 * include/pwd.h: Likewise.
20558 * include/rpc/netdb.h: Likewise.
20559 * include/sched.h: Likewise.
20560 * include/search.h: Likewise.
20561 * include/shadow.h: Likewise.
20562 * include/signal.h: Likewise.
20563 * include/stdio.h: Likewise.
20564 * include/stdlib.h: Likewise.
20565 * include/string.h: Likewise.
20566 * include/sys/socket.h: Likewise.
20567 * include/sys/stat.h: Likewise.
20568 * include/sys/statfs.h: Likewise.
20569 * include/sys/statvfs.h: Likewise.
20570 * include/sys/syslog.h: Likewise.
20571 * include/sys/time.h: Likewise.
20572 * include/sys/uio.h: Likewise.
20573 * include/time.h: Likewise.
20574 * include/unistd.h: Likewise.
20575 * include/utmp.h: Likewise.
20576 * include/wchar.h: Likewise.
20577 * include/wctype.h: Likewise.
20578 * inet/aliases.h: Likewise.
20579 * inet/arpa/inet.h: Likewise.
20580 * inet/netinet/ether.h: Likewise.
20581 * inet/netinet/in.h: Likewise.
20582 * intl/libintl.h: Likewise.
20583 * io/bits/fcntl2.h: Likewise.
20584 * io/fcntl.h: Likewise.
20585 * io/ftw.h: Likewise.
20586 * io/sys/poll.h: Likewise.
20587 * io/sys/stat.h: Likewise.
20588 * io/sys/statfs.h: Likewise.
20589 * io/sys/statvfs.h: Likewise.
20590 * io/utime.h: Likewise.
20591 * libio/bits/stdio.h: Likewise.
20592 * libio/bits/stdio2.h: Likewise.
20593 * libio/libio.h: Likewise.
20594 * libio/libioP.h: Likewise.
20595 * libio/stdio.h: Likewise.
20596 * locale/lc-ctype.c: Likewise.
20597 * locale/locale.h: Likewise.
20598 * login/utmp.h: Likewise.
20599 * malloc/arena.c: Likewise.
20600 * malloc/malloc.c: Likewise.
20601 * malloc/malloc.h: Likewise.
20602 * malloc/mcheck.c: Likewise.
20603 * malloc/mtrace.c: Likewise.
20604 * math/bits/mathcalls.h: Likewise.
20605 * math/fenv.h: Likewise.
20606 * math/math_private.h: Likewise.
20607 * misc/bits/error.h: Likewise.
20608 * misc/bits/syslog.h: Likewise.
20609 * misc/err.h: Likewise.
20610 * misc/error.h: Likewise.
20611 * misc/fstab.h: Likewise.
20612 * misc/mntent.h: Likewise.
20613 * misc/regexp.h: Likewise.
20614 * misc/search.h: Likewise.
20615 * misc/sgtty.h: Likewise.
20616 * misc/sys/mman.h: Likewise.
20617 * misc/sys/syslog.h: Likewise.
20618 * misc/sys/uio.h: Likewise.
20619 * misc/sys/xattr.h: Likewise.
20620 * misc/ttyent.h: Likewise.
20621 * nis/rpcsvc/ypclnt.h: Likewise.
20622 * nss/nss.h: Likewise.
20623 * posix/bits/unistd.h: Likewise.
20624 * posix/fnmatch.h: Likewise.
20625 * posix/glob.h: Likewise.
20626 * posix/sched.h: Likewise.
20627 * posix/spawn.h: Likewise.
20628 * posix/sys/wait.h: Likewise.
20629 * posix/unistd.h: Likewise.
20630 * posix/wordexp.h: Likewise.
20631 * pwd/pwd.h: Likewise.
20632 * resolv/netdb.h: Likewise.
20633 * resource/sys/resource.h: Likewise.
20634 * rt/aio.h: Likewise.
20635 * rt/bits/mqueue2.h: Likewise.
20636 * rt/mqueue.h: Likewise.
20637 * shadow/shadow.h: Likewise.
20638 * signal/signal.h: Likewise.
20639 * socket/send.c: Likewise.
20640 * socket/sendto.c: Likewise.
20641 * socket/sys/socket.h: Likewise.
20642 * stdio-common/printf.h: Likewise.
20643 * stdlib/bits/stdlib.h: Likewise.
20644 * stdlib/fmtmsg.h: Likewise.
20645 * stdlib/monetary.h: Likewise.
20646 * stdlib/stdlib.h: Likewise.
20647 * stdlib/ucontext.h: Likewise.
20648 * streams/stropts.h: Likewise.
20649 * string/argz.h: Likewise.
20650 * string/bits/string2.h: Likewise.
20651 * string/string.h: Likewise.
20652 * string/strings.h: Likewise.
20653 * sunrpc/rpc/auth.h: Likewise.
20654 * sunrpc/rpc/auth_des.h: Likewise.
20655 * sunrpc/rpc/clnt.h: Likewise.
20656 * sunrpc/rpc/netdb.h: Likewise.
20657 * sunrpc/rpc/pmap_clnt.h: Likewise.
20658 * sunrpc/rpc/xdr.h: Likewise.
20659 * sysdeps/generic/inttypes.h: Likewise.
20660 * sysdeps/generic/net/if.h: Likewise.
20661 * sysdeps/generic/sys/swap.h: Likewise.
20662 * sysdeps/gnu/net/if.h: Likewise.
20663 * sysdeps/gnu/utmpx.h: Likewise.
20664 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20665 * sysdeps/i386/i486/bits/string.h: Likewise.
20666 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20667 * sysdeps/s390/bits/string.h: Likewise.
20668 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20669 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20670 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20671 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20672 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20673 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20674 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20675 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20676 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20677 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20678 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20679 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20680 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20681 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20682 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20683 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20684 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20686 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20687 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20688 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20689 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20690 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20691 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20692 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20693 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20694 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20695 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20696 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20697 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20698 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20699 * sysvipc/sys/ipc.h: Likewise.
20700 * sysvipc/sys/msg.h: Likewise.
20701 * sysvipc/sys/sem.h: Likewise.
20702 * sysvipc/sys/shm.h: Likewise.
20703 * termios/termios.h: Likewise.
20704 * time/sys/time.h: Likewise.
20705 * time/time.h: Likewise.
20706 * wcsmbs/bits/wchar2.h: Likewise.
20707 * wcsmbs/uchar.h: Likewise.
20708 * wcsmbs/wchar.h: Likewise.
20709 * wctype/wctype.h: Likewise.
20710
0269750c
UD
20711 [BZ #13551]
20712 * Makeconfig: Remove all but ELF support including AIX support.
20713 * Makerules: Likewise.
20714 * config.h.in: Likewise.
20715 * config.make.in: Likewise.
20716 * configure: Likewise.
20717 * configure.in: Likewise.
20718 * csu/Makefile: Likewise.
20719 * csu/version.c: Likewise.
20720 * debug/Makefile: Likewise.
20721 * dlfcn/Makefile: Likewise.
20722 * elf/Makefile: Likewise.
20723 * extra-lib.mk: Likewise.
20724 * iconv/Makefile: Likewise.
20725 * include/libc-symbols.h: Likewise.
20726 * include/shlib-compat.h: Likewise.
20727 * resolv/Makefile: Likewise.
20728 * resolv/res_libc.c: Likewise.
20729 * rt/Makefile: Likewise.
20730 * sysdeps/i386/asm-syntax.h: Likewise.
20731 * sysdeps/i386/sysdep.h: Likewise.
20732 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20733 * sysdeps/mach/sysdep.h: Likewise.
20734 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20735 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20736 * sysdeps/s390/asm-syntax.h: Likewise.
20737 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20738 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20739 * sysdeps/sh/sysdep.h: Likewise.
20740 * sysdeps/unix/sparc/sysdep.h: Likewise.
20741 * sysdeps/wordsize-32/divdi3.c: Likewise.
20742 * sysdeps/x86_64/sysdep.h: Likewise.
20743
00bbd29b
UD
20744 * argp/Versions: Remove _argp_unlock_xxx.
20745
20746 [BZ #13559]
20747 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20748 * abilist/libBrokenLocale.abilist: Likewise.
20749 * abilist/libanl.abilist: Likewise.
20750 * abilist/libc.abilist: Likewise.
20751 * abilist/libcrypt.abilist: Likewise.
20752 * abilist/libdl.abilist: Likewise.
20753 * abilist/libm.abilist: Likewise.
20754 * abilist/libnsl.abilist: Likewise.
20755 * abilist/libpthread.abilist: Likewise.
20756 * abilist/libresolv.abilist: Likewise.
20757 * abilist/librt.abilist: Likewise.
20758 * abilist/libthread_db.abilist: Likewise.
20759 * abilist/libutil.abilist: Likewise.
20760 * abilist/libnss_db.abilist: New file.
20761
20762 * scripts/abilist.awk: Add support for indirect functions.
20763
a2693a0e
UD
20764 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20765
3f05895f
UD
20766 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20767
ecb6fb48
UD
20768 * shlib-versions: Remove entries for ports architectures.
20769
664f8cb9
UD
20770 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20771 files in ports.
20772 * elf/stackguard-macros.h: Remove support for IA-64.
20773 * elf/tst-auditmod1.c: Likewise.
20774 * sysdeps/generic/ldsodefs.h: Likewise.
20775
7ae81d88
UD
20776 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20777 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20778 configure files.
20779
bdeba135
UD
20780 [BZ #13552]
20781 * configure.in: Remove --enable-omitfp support.
20782 * FAQ.in: Adjust.
20783 * config.make.in: Likewise.
20784 * Makeconfig: Likewise.
20785 * manual/install.texi: Likewise.
20786
d75a0a62
UD
20787 In case anyone cares, the IA-64 architecture could move to ports.
20788 * sysdeps/ia64/*: Removed.
20789 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20790 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20791
dcc9756b
UD
20792 [BZ #13555]
20793 * configure.in: Remove entries for unsupported architectures.
20794
d3761ebc 20795 [BZ #13533]
9954432e
UD
20796 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20797 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20798 routines.
20799 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20800 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20801 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20802 fall back to using wcrtomb.
20803 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20804 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20805 renaming.
20806 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20807 * wcsmbs/tst-c16c32-1.c: New file.
20808
20809 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20810 local variable.
20811
c3a87236
UD
20812 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20813
28926a1b
UD
20814 * elf/tst-unique3.cc: Add explicit declaration of gets.
20815 * elf/tst-unique3lib.cc: Likewise.
20816 * elf/tst-unique3lib2.cc: Likewise.
20817 * elf/tst-unique4.cc: Likewise.
20818
df78418a
UD
20819 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20820
8ecd6b2a
JM
208212012-01-06 Joseph Myers <joseph@codesourcery.com>
20822
20823 [BZ #13566]
20824 * assert/assert.h (static_assert): Don't define for C++.
20825 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20826 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20827
9f115170
UD
208282012-01-03 Ulrich Drepper <drepper@gmail.com>
20829
5e0d0300
UD
20830 * iconv/loop.c (single loop): Fix assertion in storing of
20831 remaining bytes.
20832
9f115170
UD
20833 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20834
81fb02b0
UD
208352012-01-01 Ulrich Drepper <drepper@gmail.com>
20836
20837 * posix/getconf.c: Update copyright year.
20838 * nss/getent.c: Likewise.
a316c1f6 20839 * nss/makedb.c: Likewise.
81fb02b0
UD
20840 * iconv/iconvconfig.c: Likewise.
20841 * iconv/iconv_prog.c: Likewise.
20842 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20843 * elf/pldd.c: Likewise.
20844 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20845 * catgets/gencat.c: Likewise.
20846 * csu/version.c: Likewise.
20847 * elf/ldd.bash.in: Likewise.
20848 * elf/sprof.c (print_version): Likewise.
20849 * locale/programs/locale.c: Likewise.
20850 * locale/programs/localedef.c: Likewise.
a316c1f6 20851 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20852 * nscd/nscd.c (print_version): Likewise.
20853 * debug/xtrace.sh: Likewise.
20854 * malloc/memusage.sh: Likewise.
20855 * malloc/mtrace.pl: Likewise.
20856 * debug/catchsegv.sh: Likewise.
20857
2ba92745
JJ
208582011-12-30 Jakub Jelinek <jakub@redhat.com>
20859
20860 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20861 pure attribute.
20862
dadebdae
UD
208632011-12-24 Ulrich Drepper <drepper@gmail.com>
20864
d3761ebc 20865 [BZ #13533]
db6af3eb
UD
20866 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20867 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20868 transformations.
20869 * iconv/gconv_int.h: Likewise.
20870 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20871 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20872 from libc for GLIBC_2.16.
20873 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20874 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20875 * wcsmbs/uchar.h: Really define mbstate_t.
20876 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20877 * wcsmbs/c16rtomb.c: New file.
20878 * wcsmbs/mbrtoc16.c: New file.
20879 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20880 for C/POSIX locale.
20881 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20882 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20883
dadebdae
UD
20884 * wcsmbs/wchar.h: Add missing __restrict.
20885
67371b56
UD
208862011-12-23 Ulrich Drepper <drepper@gmail.com>
20887
74033a25
UD
20888 [BZ #13532]
20889 * time/Makefile (routines): Add timespec_get.
20890 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20891 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20892 timespec for ISO C11.
20893 * time/timespec_get.c: New file.
20894 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20895 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20896
380d7e87
UD
20897 [BZ #13531]
20898 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20899 * stdlib/stdlib.h: Declare aligned_alloc.
20900 * Versions.def: Add GLIBC_2.16 for libc.
20901 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20902
4e9e7a35
UD
20903 [BZ 13527]
20904 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20905 ISO C11.
20906
380d7e87 20907 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20908 code.
20909
03a71829
UD
20910 [BZ #13528]
20911 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20912
839e283e
UD
20913 [BZ #13529]
20914 * assert/assert.h (static_assert): Define.
20915
ce5294e2 20916 * version.h: Update for 2.16 development version.
90fa7312 20917
8d44e150 20918 [BZ #13526]
d7809905
UD
20919 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20920 _ISOC11_SOURCE.
20921
c0da14cd
UD
20922 * version.h (RELEASE): Bump for 2.15 release.
20923 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20924
530a3249
MP
20925 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20926 Patch by Marek Polacek <mpolacek@redhat.com>.
20927
67371b56
UD
20928 * bits/byteswap.h: Protect long long constants with __extension__.
20929 * sysdeps/i386/bits/byteswap.h: Likewise.
20930 * sysdeps/ia64/bits/byteswap.h: Likewise.
20931 * sysdeps/s390/bits/byteswap.h: Likewise.
20932 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20933
15db4de1
LD
209342011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20935
20936 [BZ #13540]
bbe315ea
LD
20937 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20938 destination buffer.
15db4de1
LD
20939 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20940
2b2596b1
MP
209412011-12-23 Marek Polacek <polacek@redhat.com>
20942
20943 * elf/dl-addr.c (determine_info): Add inline keyword.
20944 * elf/tst-auditmod4b.c (check_avx): Likewise.
20945 * elf/tst-auditmod6b.c (check_avx): Likewise.
20946 * elf/tst-auditmod6c.c (check_avx): Likewise.
20947 * elf/tst-auditmod7b.c (check_avx): Likewise.
20948
70c6c246
UD
209492011-12-23 Ulrich Drepper <drepper@gmail.com>
20950
20951 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20952 !__SSE_MATH__.
20953
c044cf14
LD
209542011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20955
15db4de1 20956 [BZ #13540]
c044cf14
LD
20957 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20958 processing for last bytes.
20959
6b13d9d9
BH
209602011-08-06 Bruno Haible <bruno@clisp.org>
20961
d455f537
BH
20962 [BZ #13061]
20963 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20964 U+0385, not to U+1FEE.
20965
6b13d9d9
BH
20966 [BZ #13062]
20967 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20968 entry for U+00A5 U+0301.
20969
db910efd
UD
209702011-12-22 Ulrich Drepper <drepper@gmail.com>
20971
27deeafc
UD
20972 [BZ #13166]
20973 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20974 buffer for the output is too small.
20975
aed9d171
UD
20976 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20977 optimization.
20978
db910efd
UD
20979 [BZ #13185]
20980 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20981 SSE flags if possible.
20982
2bd779ae
LD
209832011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20984
e7f9dac3 20985 [BZ #13540]
2bd779ae
LD
20986 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20987 processing for last bytes.
20988
154bfc16
JM
209892011-12-22 Joseph Myers <joseph@codesourcery.com>
20990
20991 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20992 (syscall-list-default-options, syscall-list-default-condition)
20993 (syscall-list-includes): Define.
20994 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20995 list of ABIs and options and #if conditions for each ABI. Do not
20996 handle common syscalls between ABIs specially.
20997 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20998 Remove.
20999 (syscall-list-variants, syscall-list-32bit-options)
21000 (syscall-list-32bit-condition, syscall-list-64bit-options)
21001 (syscall-list-64bit-condition): Define.
21002 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21003 (syscall-list-variants, syscall-list-32bit-options)
21004 (syscall-list-32bit-condition, syscall-list-64bit-options)
21005 (syscall-list-64bit-condition): Define.
21006 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21007 Remove.
21008 (syscall-list-variants, syscall-list-32bit-options)
21009 (syscall-list-32bit-condition, syscall-list-64bit-options)
21010 (syscall-list-64bit-condition): Define.
21011 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21012 Remove.
21013 (syscall-list-variants, syscall-list-32bit-options)
21014 (syscall-list-32bit-condition, syscall-list-64bit-options)
21015 (syscall-list-64bit-condition): Define.
21016
21eaf3a5
UD
210172011-12-22 Ulrich Drepper <drepper@gmail.com>
21018
16c6f992
UD
21019 * locale/iso-639.def: Add brx entry.
21020
41043168
UD
21021 [BZ #13328]
21022 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21023 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21024
21eaf3a5
UD
21025 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21026 __feraiseexcept_renamed.
21027
e3a851a2
UD
210282011-12-21 Ulrich Drepper <drepper@gmail.com>
21029
4920765e
UD
21030 [BZ #13538]
21031 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21032 EPOLLET with unsigned values.
21033 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21034 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21035
e3a851a2
UD
21036 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21037 to large cancellation.
21038 * math/s_cacoshf.c: Likewise.
21039 * math/s_cacoshl.c: Likewise.
21040
b27e24b8
RK
210412011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21042
21043 [BZ #13305]
aebefeee 21044 [BZ #12786]
b27e24b8
RK
21045 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21046 * math/s_cacoshf.c: Likewise.
21047 * math/s_cacoshl.c: Likewise.
21048
ee190f67
UD
210492011-12-21 Ulrich Drepper <drepper@gmail.com>
21050
21051 [BZ #13439]
21052 * iconv/gconv.h: Define __GCONV_SWAP.
21053 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21054 * iconvdata/utf-16.c: Likewise.
21055 * iconvdata/utf-32.c: Likewise.
21056
707f25df
AS
210572011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21058
21059 [BZ #13524]
21060 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21061 numerator after shifting it by one limb.
21062
d2daaa1e
RÁE
210632011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21064
21065 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21066 under [__USE_EXTERN_INLINES].
21067
a4647e72
UD
210682011-12-17 Ulrich Drepper <drepper@gmail.com>
21069
21070 [BZ #13446]
21071 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21072
f0b264f1
AZ
210732011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21074
21075 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21076 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21077 optimized code.
21078 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21079 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21080 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21081 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21082 for strncasecmp/strncasecmp_l compilation.
21083 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21084 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21085
8ef4f244
MP
210862011-12-08 Marek Polacek <mpolacek@redhat.com>
21087
21088 [BZ #13484]
21089 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21090 of __asm__.
21091
97ac2654
UD
210922011-12-17 Ulrich Drepper <drepper@gmail.com>
21093
21094 [BZ #13506]
21095 * time/tzfile.c (__tzfile_read): Check values from file header.
21096
91d2a845
WS
210972011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21098
21099 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21100 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21101 * powerpc/powerpc32/dl-start.S: Likewise.
21102 * powerpc/powerpc32/elf/start.S: Likewise.
21103 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21104 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21105 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21106 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21107 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21108 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21109 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21110 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21111 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21112 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21113 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21114 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21115 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21116 * powerpc/powerpc32/memset.S: Likewise.
21117 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21118 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21119 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21120 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21121 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21122 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21123 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21124 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21125 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21126 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21127 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21128 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21129 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21130
a1267ba1
AZ
211312011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21132
21133 * math/libm-test.inc: Added more nearbyint tests.
21134 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21135 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21136 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21137 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21138
ad8ac1bd
RL
211392011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21140
21141 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21142 FD_CLOEXEC.
21143
1d3e4b61
UD
211442011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21145
21146 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21147 Add wcscpy-ssse3 wcscpy-c.
21148 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21149 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21150 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21151 * sysdeps/x86_64/wcschr.S: New file.
21152 * sysdeps/x86_64/wcsrchr.S: New file.
21153 * string/test-strcmp.c: Remove checking of wcscmp function for
21154 wrong alignments.
21155 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21156 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21157 wcsrchr-sse2 wcsrchr-c.
21158 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21159 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21160 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21161 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21162 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21163 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21164 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21165 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21166 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21167 * wcsmbc/wcschr.c (WCSCHR): New macro.
21168
5b330a2d
UD
211692011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21170
21171 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21172 * wcsmbs/test-wcsrchr.c: New file.
21173 * string/test-strrchr.c: Add wcsrchr support.
21174 (WIDE): New macro.
21175 * wcsmbs/test-wcscpy.c: New file.
21176 * string/test-strcpy.c: Add wcscpy support.
21177 (WIDE): New macro.
26428b7c 21178
f039c043
UD
211792011-12-10 Ulrich Drepper <drepper@gmail.com>
21180
21181 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21182 the inner loop.
21183
850fb039
AS
211842011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21185
21186 [BZ #13472]
21187 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21188
4efbd5cb
UD
211892011-12-04 Ulrich Drepper <drepper@gmail.com>
21190
52ff5dd0 21191 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21192 Minor optimizations.
52ff5dd0 21193
4efbd5cb
UD
21194 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21195 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21196 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21197
8a426e12
UD
211982011-12-03 Ulrich Drepper <drepper@gmail.com>
21199
aff2453d
UD
21200 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21201 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21202 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21203 for gcc to avoid warnings.
21204 * inet/Makefile (tests): Add tst-checks.
21205 * inet/tst-checks.c: New file.
21206
21207 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21208 warning.
21209
21210 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21211 __wmemcmp_sse2.
21212
21213 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21214 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21215
8a426e12
UD
21216 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21217
9bea3473
UD
212182011-12-02 Ulrich Drepper <drepper@gmail.com>
21219
3a965496
UD
21220 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21221 problem.
21222
9bea3473
UD
21223 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21224
f101631b
UD
212252011-11-29 Joseph Myers <joseph@codesourcery.com>
21226
21227 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21228 conditional on GCC version.
21229 (__arch_compare_and_exchange_val_8_acq)
21230 (__arch_compare_and_exchange_val_16_acq)
21231 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21232 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21233 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21234
a98275aa
UD
212352011-12-02 Joseph Myers <joseph@codesourcery.com>
21236
21237 * sysdeps/sh/backtrace.c: New file.
21238
d4cc29a2
AS
212392011-12-02 Andreas Schwab <schwab@redhat.com>
21240
21241 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21242 parenthesis.
21243
6257af2d
AS
212442011-12-01 Andreas Schwab <schwab@redhat.com>
21245
21246 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21247 falling back to utime.
21248
b5f44c1a
AS
212492011-11-30 Andreas Schwab <schwab@redhat.com>
21250
21251 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21252 expectations for float.
21253
f3a6cc0a
AS
212542011-11-29 Andreas Schwab <schwab@redhat.com>
21255
21256 * locale/weight.h (findidx): Add parameter len.
21257 * locale/weightwc.h (findidx): Likewise.
21258 * posix/fnmatch_loop.c (FCT): Adjust caller.
21259 * posix/regcomp.c (build_equiv_class): Likewise.
21260 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21261 * posix/regexec.c (check_node_accept_bytes): Likewise.
21262 * string/strcoll_l.c (STRCOLL): Likewise.
21263 * string/strxfrm_l.c (STRXFRM): Likewise.
21264
9d65ea3a
UD
212652011-11-17 Ulrich Drepper <drepper@gmail.com>
21266
21267 * Makefile.in: Remove CVSOPT handling.
21268 * configure.in: Remove use of AC_REVISION.
21269 * iconvdata/Makefile (distribute): No need to filter out CVS.
21270 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21271 handling.
21272
5583a086
AS
212732011-11-16 Andreas Schwab <schwab@redhat.com>
21274
21275 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21276 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21277 [USE_AS_STRNCASECMP_L]: Likewise.
21278 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21279 NO_TLS_DIRECT_SEG_REFS.
21280 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21281 Fix argument offsets for non-PIC.
21282 [USE_AS_STRNCASECMP_L]: Likewise.
21283 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21284 NO_TLS_DIRECT_SEG_REFS.
21285
d62a8200
UD
212862011-11-15 Ulrich Drepper <drepper@gmail.com>
21287
9d65ea3a 21288 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21289 O_CLOEXEC.
21290 * locale/loadlocale.c (_nl_load_locale): Likewise.
21291
09f93bd3
AS
212922011-11-15 Andreas Schwab <schwab@redhat.com>
21293
446514f9
AS
21294 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21295 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21296 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21297 (SYSCALL_GETTIME): Set errno on error.
21298
09f93bd3
AS
21299 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21300 count references to noai6ai_cached.
21301
312be3f9
UD
213022011-11-15 Ulrich Drepper <drepper@gmail.com>
21303
21304 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21305
21306 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21307 FD_CLOEXEC for /proc/self/maps.
21308
21309 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21310 FD_CLOEXEC for /proc/meminfo.
21311
21312 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21313 gai.conf.
21314
21315 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21316 FD_CLOEXEC for given file.
21317
21318 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21319
21320 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21321 FD_CLOEXEC for /etc/hosts.
21322 (_gethtent): Likewise.
21323
21324 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21325
21326 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21327 cancellation and set FD_CLOEXEC for /etc/netgroup.
21328
21329 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21330 reading /etc/publickey.
21331
21332 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21333 allow cancellation when reading /etc/group.
21334
21335 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21336 cancellation.
21337 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21338
21339 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21340 when using data file.
21341
21342 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21343
21344 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21345 (write_nis_obj): Use "c" and "e" in fopen.
21346
21347 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21348
21349 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21350
21351 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21352
21353 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21354
21355 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21356 locale.alias.
21357
21358 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21359
21360 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21361
21362 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21363
21364 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21365 file parsing and set FD_CLOEXEC.
21366
82af0fa8
UD
213672011-11-14 Ulrich Drepper <drepper@gmail.com>
21368
21369 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21370
a5fb313c
AS
213712011-11-14 Andreas Schwab <schwab@redhat.com>
21372
21373 * malloc/arena.c (arena_get2): Don't call reused_arena when
21374 _int_new_arena failed.
21375
6abf3465
UD
213762011-11-14 Ulrich Drepper <drepper@gmail.com>
21377
21378 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21379 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21380 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21381 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21382 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21383 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21384 to compile strcasecmp and strncasecmp.
21385 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21386 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21387
21388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21389
76e3966e
UD
213902011-11-13 Ulrich Drepper <drepper@gmail.com>
21391
21392 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21393 locale-defines.sym to gen-as-const-headers.
21394 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21395 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21396 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21397 to compile strcasecmp and strncasecmp.
21398 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21399 strcasecmp_l and strncasecmp_l.
21400 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21401 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21402 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21403 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21404 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21405 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21406 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21407 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21408 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21409 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21410 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21411
ab26144e
UD
214122011-11-12 Ulrich Drepper <drepper@gmail.com>
21413
7edb22ef
UD
21414 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21415 result of SYSDEP_GETTIME_CPU to retval.
21416 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21417 parameter list to macro. Remove trailing semicolon. Adjust users.
21418
9694fc44
UD
21419 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21420 variable.
21421
8ad89ef8
UD
21422 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21423 mantissa words.
21424 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21425
0c822ef9
UD
21426 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21427 from unused variable.
21428
874e0564
UD
21429 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21430 DWARF definitions.
21431 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21432 for assembling.
21433
3a2edc79
UD
21434 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21435 over namespaces.
21436
f3c2577f
UD
21437 * sunrpc/rpc_prot.c (rejected): Fix case value.
21438
294ce126
UD
21439 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21440 unsigned long long int to avoid warnings in shift.
21441
5e2b63c6
UD
21442 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21443 of use of trans.
21444 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21445 variable tmp.
21446
e7f4b08e
UD
21447 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21448 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21449 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21450
ab26144e
UD
21451 * nis/nis_table.c (nis_list): Use variable of correct type for
21452 result of __follow_path call.
21453
8a6d5255
AZ
214542011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21455
21456 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21457 of math functions ceil, trunc, floor, round, and sqrt, when
21458 avaliable on the platform.
21459 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21460 name clash.
21461 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21462 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21463 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21464
aaddc98c
MP
214652011-10-30 Marek Polacek <mpolacek@redhat.com>
21466
21467 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21468 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21469
95b7042b
RM
214702011-11-11 Roland McGrath <roland@hack.frob.com>
21471
21472 * include/unistd.h: Fix __readlink return type.
21473 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21474
57769839
UD
214752011-11-11 Ulrich Drepper <drepper@gmail.com>
21476
21477 * stdlib/ucontext.h: Undo last change for makecontext.
21478
edc5984d
AS
214792011-11-11 Andreas Schwab <schwab@redhat.com>
21480
98591e58
AS
21481 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21482
edc5984d
AS
21483 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21484 * setjmp/setjmp.h: Mark functions as non-leaf.
21485 * setjmp/bits/setjmp2.h: Likewise.
21486 * stdlib/ucontext.h: Likewise.
21487
77cdc054
AS
214882011-11-10 Andreas Schwab <schwab@redhat.com>
21489
21490 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21491 (reused_arena): Don't check arena limit.
21492 (arena_get2): Atomically check arena limit.
21493
fe72eebd
UD
214942011-11-08 Ulrich Drepper <drepper@gmail.com>
21495
5f078c32
UD
21496 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21497 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21498
fe72eebd
UD
21499 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21500 instructions.
21501
ae1bc2fa
AS
215022011-11-07 Andreas Schwab <schwab@redhat.com>
21503
7583a88d
AS
21504 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21505 handler when locking.
21506
ae1bc2fa
AS
21507 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21508 Fix size of allocated buffer.
21509
10fb0bfa
AS
215102011-11-04 Andreas Schwab <schwab@redhat.com>
21511
998832a4
AS
21512 [BZ #10103]
21513 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21514 declarations for long double functions.
21515 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21516
10fb0bfa
AS
21517 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21518
3d7ba52b
AS
215192011-11-03 Andreas Schwab <schwab@redhat.com>
21520
a9ae54a1
AS
21521 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21522 installed.
21523
3d7ba52b
AS
21524 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21525 is disabled.
21526
bc8db248
ST
215272011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21528
21529 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21530
45b96dd6
AS
215312011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21532
647776f6
AS
21533 * include/alloca.h (stackinfo_alloca_round): Define.
21534 (extend_alloca): Use it.
21535 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21536 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21537 here.
21538
d91a8b93
AS
21539 * scripts/check-local-headers.sh: Ignore libaudit.h.
21540
45b96dd6
AS
21541 * nscd/Makefile (extra-objs): Make recursively expanded.
21542
432d41ce
UD
215432011-11-01 Ulrich Drepper <drepper@gmail.com>
21544
34372fc6
UD
21545 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21546 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21547
fadb59f8
UD
21548 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21549 * posix/tst-rfc3484-2.c: Likewise.
21550 * posix/tst-rfc3484-3.c: Likewise.
21551
78239589
UD
21552 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21553 process_vm_writev.
21554 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21555 process_vm_writev.
21556 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21557 process_vm_writev from libc using GLIBC_2.15 version.
21558
432d41ce
UD
21559 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21560
02f9c6cf
PP
215612011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21562
21563 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21564 stack usage.
21565
3a2c0242
UD
215662011-10-31 Ulrich Drepper <drepper@gmail.com>
21567
f4ec4833
UD
21568 [BZ #13367]
21569 * nss/getent.c (initgroups_keys): Show error message in case no group
21570 names are given.
21571
3a2c0242
UD
21572 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21573 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21574 __bump_nl_timestamp.
21575 * nscd/connections (nscd_init): When host database is served open
21576 netlink socket and request notification about configuration changes.
21577 (main_loop_poll): Track netlink file descriptor and bump timestamp
21578 in case data becomes available.
21579 (main_loop_epoll): Likewise.
21580 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21581 (database_pers_head): Add extra_data fileds.
21582 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21583 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21584 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21585 Adjust caller.
21586 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21587 in6ai data, call __free_in6ai.
21588 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21589 Add -DHAVE_NETLINK.
21590 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21591 interface information. Reuse previous data if netlink timestamp
21592 is not changed.
21593 (__bump_nl_timestamp): New function.
21594 (__free_in6ai): New function.
21595
636064eb
UD
215962011-10-30 Ulrich Drepper <drepper@gmail.com>
21597
21598 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21599 close_not_cancel_no_status here.
21600 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21601
9beb2334
UD
216022011-10-29 Ulrich Drepper <drepper@gmail.com>
21603
6ef76f3b
UD
21604 [BZ #13276]
21605 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21606 return value.
21607
0ffc4f3e 21608 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21609 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21610 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21611
cb95113e
UD
216122011-07-03 Andreas Jaeger <aj@suse.de>
21613
21614 [BZ #10709]
21615 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21616 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21617 * math/libm-test.inc (sin_test): Add test case.
21618
a1b560ff
UD
216192011-10-29 Ulrich Drepper <drepper@gmail.com>
21620
c9aaface
UD
21621 [BZ #13337]
21622 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21623 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21624
d272e7f1
UD
21625 * elf/chroot_canon.c (chroot_canon): Cleanups.
21626
1bc33071
UD
21627 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21628
1760874d
TJ
21629 [BZ #13335]
21630 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21631 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21632
51d91b18
UD
21633 * string/test-strchr.c: Make usable for strchrnul testing.
21634 * string/test-strchrnul.c: New file.
21635 * string/Makefile (strop-tests): Add strchrnul.
21636
a1b560ff 21637 * po/it.po: Update from translation team.
b611fb81 21638 * po/es.po: Likewise.
a1b560ff 21639
a5b81e1f
UD
216402011-10-28 Ulrich Drepper <drepper@gmail.com>
21641
fd52bc6d
UD
21642 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21643 the three constants needed as parameters. Drop the others.
21644 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21645 __m128i_strloadu_tolower.
52e4b9eb
UD
21646 Create and initialize variable zero and use it in all the places
21647 where _mm_setzero_si128 was used.
fd52bc6d 21648
a5b81e1f
UD
21649 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21650 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21651 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21652 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21653 anymore.
21654 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21655 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21656 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21657 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21658 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21659 __mpranred, __mptan.
21660 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21661 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21662 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21663 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21664 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21665 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21666 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21667 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21668 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21669
b4343346
AS
216702011-10-28 Andreas Schwab <schwab@redhat.com>
21671
0c92d8a8
AS
21672 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21673 redefine if SHARED.
21674 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21675
b4343346
AS
21676 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21677 wide char related routines to wcsmbs subdir.
21678
3871f58f
AS
216792011-10-27 Andreas Schwab <schwab@redhat.com>
21680
21681 [BZ #13344]
21682 * misc/sys/cdefs.h (__THROWNL): Define.
21683 * posix/unistd.h: Use __THREADNL instead of __THREAD
21684 for memory synchronization functions.
21685
94d44d9f
RM
216862011-10-26 Roland McGrath <roland@hack.frob.com>
21687
21b64b15 21688 [BZ #13349]
94d44d9f
RM
21689 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21690 doesn't exist.
21691 * manual/stdio.texi (Obstack Streams): Node removed.
21692
f6ce9294
AS
216932011-10-26 Andreas Schwab <schwab@redhat.com>
21694
80479147
AS
21695 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21696 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21697 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21698
f6ce9294
AS
21699 * math/math_private.h (math_force_eval): Allow non-addressable
21700 arguments.
21701 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21702
618280a1
UD
217032011-10-25 Ulrich Drepper <drepper@gmail.com>
21704
e0016b11
UD
21705 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21706 file is not needed.
21707
21708 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21709 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21710 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21711 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21712 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21713 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21714 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21715 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21716 Add AVX variants.
21717 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21718 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21719 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21720 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21721 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21722 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21723 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21724 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21725 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21726 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21727 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21728 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21729 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21730 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21731 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21732 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21733 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21734 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21735 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21736
21737 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21738 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21739
618280a1
UD
21740 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21741 place. Use VEX encoding when compiling for AVX.
21742
37822576
AS
217432011-10-25 Andreas Schwab <schwab@redhat.com>
21744
1f1e1947
AS
21745 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21746 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21747
37822576
AS
21748 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21749
31ea014d
UD
217502011-10-25 Ulrich Drepper <drepper@gmail.com>
21751
d7826aa1 21752 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21753 useless if() expression.
d7826aa1
UD
21754 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21755 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21756 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21757 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21758 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21759 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21760 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21761 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21762 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21763 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21764 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21765 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21766 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21767 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21768 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21769 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21770 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21771 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21772 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21773
31ea014d
UD
21774 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21775
16437fec
AS
217762011-10-25 Andreas Schwab <schwab@redhat.com>
21777
21778 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21779 condition.
21780 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21781
31d3cc00
UD
217822011-10-25 Ulrich Drepper <drepper@gmail.com>
21783
21784 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21785 .text section. Avoid duplicate constants.
21786 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21787 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21788 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21790 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21791 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21792 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21793 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21794 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21795 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21796 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21797 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21798 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21799 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21800 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21801 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21802 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21803 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21804 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21805 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21806 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21807 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21808 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21809 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21810 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21811 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21812 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21813 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21814 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21815 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21816 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21817 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21818 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21819 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21820 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21821 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21822 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21823 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21824 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21825 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21826 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21827 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21828 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21829 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21830 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21831
58985aa9
UD
218322011-10-24 Ulrich Drepper <drepper@gmail.com>
21833
202c9deb
UD
21834 * sysdeps/x86_64/dla.h: Move to ...
21835 * sysdeps/x86_64/fpu/dla.h: ...here.
21836 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21837 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21838
af968f62
UD
21839 * config.make.in: Add have-mfma4 entry.
21840 * configure.in: Substitute libc_cv_cc_fma4.
21841 * math/Makefile (dbl-only-routines): Add sincostab.
21842 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21843 Use __sincostab not sincos.
21844 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21845 name is a macro.
21846 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21848 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21850 using __copysign.
21851 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21852 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21853 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21854 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21855 and __inv.
21856 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21857 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21858 __copysign.
21859 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21860 define aliases when function name is a macro.
21861 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21862 sysdeps/ieee754/dbl-64/sincos.tbl.
21863 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21864 fma4-enabled routines.
21865 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21866 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21867 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21868 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21869 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21870 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21871 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21872 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21874 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21875 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21876 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21877 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21878 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21879 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21880 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21881 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21882 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21883 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21884 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21885 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21886 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21887 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21888 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21889 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21890 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21891 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21892 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21893 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21894 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21895
58985aa9
UD
21896 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21897 rename.
21898 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21899 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21904 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21905 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21906
a201fbcf
AS
219072011-10-24 Andreas Schwab <schwab@redhat.com>
21908
21909 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21910
fc2ee42a
LD
219112011-10-23 Ulrich Drepper <drepper@gmail.com>
21912
bb3129bd
UD
21913 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21914
0275fff8
UD
21915 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21916 prediction.
21917 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21918
2fa2ae85
UD
21919 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21920 Remove unused variable magic_bits.
21921 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21922
fc2ee42a
LD
21923 * string/strnlen.c: Define and use STRNLEN macro.
21924 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21925 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21926 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21927 * wcsmbs/wcslen.c: Define and use WCSLEN.
21928 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21929 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21930 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21931 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21932 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21933 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21934 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21935
ce7dd29f
LD
219362011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21937
21938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21939 strnlen-sse2-no-bsf.
21940 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21941 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21942 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21943 Add strnlen support.
21944 (USE_AS_STRNLEN): New macro.
21945 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21946 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21947 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21948 * sysdeps/x86_64/wcslen.S: New file.
21949
979c70a3
MZ
219502011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21951
21952 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21953 XMM-moves are used for copying on small sizes.
21954
2d09f82f
LD
219552011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21956
21957 * wcsmbs/Makefile (strop-tests): Add wcschr.
21958 * wcsmbs/test-wcschr.c: New file.
21959 * string/test-strchr.c: Update.
21960 Add wcschr support.
21961 (WIDE): New macro.
21962
619fccca
LD
219632011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21964
2d09f82f 21965 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
21966 * wcsmbs/test-wcslen.c: New file.
21967 * string/test-strlen.c: Update.
21968 Add wcslen support.
21969 (WIDE): New macro.
21970
09f699ea
UD
219712011-10-23 Ulrich Drepper <drepper@gmail.com>
21972
21973 * po/it.po: Update from translation team.
21974
95584d3b
LD
219752011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21976
21977 * sysdeps/x86_64/wcscmp.S: Update.
21978 Fix wrong comparison semantics.
21979 wcscmp shall use signed comparison not unsigned.
21980 Don't use substraction to avoid overflow bug.
21981 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21982 * wcsmbc/wcscmp.c: Likewise.
21983 * string/test-strcmp.c: Likewise.
21984 Add new tests to check cases with negative values.
21985
c8b3296b
UD
219862011-10-23 Ulrich Drepper <drepper@gmail.com>
21987
21988 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21989 * sysdeps/x86_64/dla.h: ...here. New file.
21990 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21991 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21992 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21993 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21994 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21995 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21996 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21997 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21998 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21999
246ad57a
AS
220002011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22001
22002 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22003 __ynl_finite aliases.
22004
a1a87169
UD
220052011-10-22 Ulrich Drepper <drepper@gmail.com>
22006
0d355eb7
UD
22007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22008
a1a87169
UD
22009 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22010 define DLA_FMA.
22011 [DLA_FMA] (EMULV): Use DLA_FMA.
22012 [DLA_FMA] (MUL12): Use EMULV.
22013 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22014 that are not needed.
22015 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22016 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22017 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22018 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22019 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22020 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22021 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22022
ee2aafe0
AS
220232011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22024
22025 * math/s_nan.c: Undef __nan.
22026 * math/s_nanf.c: Undef __nanf.
22027 * math/s_nanl.c: Undef __nanl.
22028 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22029 "math_private.h".
22030
bc62c2fb
UD
220312011-10-22 Ulrich Drepper <drepper@gmail.com>
22032
77425c63
UD
22033 * math/s_catan.c: Add branch predictions.
22034 * math/s_catanf.c: Likewise.
22035 * math/s_catanh.c: Likewise.
22036 * math/s_catanhf.c: Likewise.
22037 * math/s_catanhl.c: Likewise.
22038 * math/s_catanl.c: Likewise.
22039 * math/s_cexp.c: Likewise.
22040 * math/s_cexpf.c: Likewise.
22041 * math/s_cexpl.c: Likewise.
22042 * math/s_clog.c: Likewise.
22043 * math/s_clog10.c: Likewise.
22044 * math/s_clog10f.c: Likewise.
22045 * math/s_clog10l.c: Likewise.
22046 * math/s_clogf.c: Likewise.
22047 * math/s_clogl.c: Likewise.
22048 * math/s_csqrt.c: Likewise.
22049 * math/s_csqrtf.c: Likewise.
22050 * math/s_csqrtl.c: Likewise.
22051 * math/s_ctanf.c: Likewise.
22052 * math/s_ctanh.c: Likewise.
22053 * math/s_ctanhf.c: Likewise.
22054 * math/s_ctanhl.c: Likewise.
22055 * math/s_ctanl.c: Likewise.
22056
bc62c2fb
UD
22057 * math/math_private.h: Define __nan, __nanf, __nanl.
22058 * math/s_cacosh.c: Include <math_private.h>.
22059 * math/s_cacoshl.c: Likewise.
22060 * math/s_casinh.c: Likewise.
22061 * math/s_casinhf.c: Likewise.
22062 * math/s_casinhl.c: Likewise.
22063 * math/s_ccos.c: Rely entire on ccosh.
22064 * math/s_ccosf.c: Rely entire on ccoshf.
22065 * math/s_ccosl.c: Rely entirely on ccoshl.
22066 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22067 Remove tests for FE_INVALID.
22068 * math/s_ccoshf.c: Likewise.
22069 * math/s_ccoshl.c: Likewise.
22070 * math/s_csin.c: Likewise.
22071 * math/s_csinf.c: Likewise.
22072 * math/s_csinh.c Likewise.
22073 * math/s_csinhf.c: Likewise.
22074 * math/s_csinhl.c: Likewise.
22075 * math/s_csinl.c: Likewise.
22076 * math/s_ctan.c: Likewise.
22077 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22078 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22079 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22080
8ec250a4
UD
220812011-10-21 Ulrich Drepper <drepper@gmail.com>
22082
c196fed8
UD
22083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22084 compilation problems.
22085
8ec250a4
UD
22086 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22087 __builtin_expect.
22088
8d4f46c6
UD
220892011-10-20 Ulrich Drepper <drepper@gmail.com>
22090
ed72b654
UD
22091 * sysdeps/i386/configure.in: Test for -mfma4 option.
22092 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22093 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22094 COMMON_CPUID_INDEX_80000001.
22095 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22096 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22097 use it if FMA3 is not supported.
22098 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22099
8d4f46c6
UD
22100 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22101 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22102
d45c60c2
AS
221032011-10-20 Andreas Schwab <schwab@redhat.com>
22104
22105 [BZ #12892]
22106 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22107 it would create a cycle with a link time dependency.
22108
d9a4d2ab
UD
221092011-10-19 Ulrich Drepper <drepper@gmail.com>
22110
855d1560
UD
22111 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22112 instruction.
22113 * string/Makefile (strop-tests): Add rawmemchr.
22114 * string/test-rawmemchr.c: New file.
22115
d9a4d2ab
UD
22116 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22117 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22118 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22119 when compiling str{,n}casecmp and when AVX is available. Hook up
22120 new optimized code in initializers.
22121
8f3b1ffe
AS
221222011-10-19 Andreas Schwab <schwab@redhat.com>
22123
22124 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22125 __feraiseexcept instead of feraiseexcept.
22126
d38f1dba
UD
221272011-10-18 Ulrich Drepper <drepper@gmail.com>
22128
d9a8d0ab
UD
22129 * math/math_private.h: Define defaults for libc_fetestexcept and
22130 libc_feupdateenv.
22131 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22132 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22133 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22134 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22135 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22136 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22137 libc_fetestexcept and libc_feupdateenv.
22138
4855e3dd
UD
22139 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22140 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22141 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22142 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22143 libc_feholdexcept_setround.
22144
581d30e3
UD
22145 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22146 Add s_nearbyint-c and s_nearbyintf-c.
22147 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22148 nearbyintf inlines.
22149 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22150 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22151 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22152 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22153
d38f1dba
UD
22154 * math/math_private.h: Define defaults for libc_fegetround,
22155 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22156 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22157 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22158 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22159 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22160 standard functions.
22161 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22162 Remove comments and hacks for old compiler versions.
22163 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22164 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22165 libc_feholdexceptl.
22166
caa6c9d8
AS
221672011-10-18 Andreas Schwab <schwab@redhat.com>
22168
22169 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22170 (__feraiseexcept_renamed): Add __NTH.
22171 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22172 namespace violations.
22173
97c066e6
UD
221742011-10-17 Ulrich Drepper <drepper@gmail.com>
22175
99ce7b04
UD
22176 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22177
1004d182
UD
22178 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22179
228a984d
UD
22180 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22181 recently added interfaces.
22182 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22183
c8553a6a
UD
22184 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22185 about macro parameter expansion.
22186
ed22dcf6
UD
22187 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22188 __NO_MATH_INLINES is defined. Cleanups.
22189
22190 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22191 and __floorf is target has SSE4.1.
22192 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22193 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22194 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22195 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22196
b171c137
UD
22197 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22198 name.
22199 (floorf): Likewise.
22200
97c066e6
UD
22201 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22202
629f62ef
AS
222032011-10-17 Andreas Schwab <schwab@redhat.com>
22204
49a43d80
AS
22205 * misc/sys/cdefs.h: Fix last change.
22206
629f62ef
AS
22207 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22208 database lookup.
22209
e453f6cd
UD
222102011-10-16 Ulrich Drepper <drepper@gmail.com>
22211
aa78043a
UD
22212 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22213
ad0f5cad
UD
22214 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22215 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22216 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22217 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22218 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22219 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22220 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22221 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22222 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22223 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22224 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22225 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22226 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22227 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22228 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22229 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22230 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22231 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22232 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22233 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22234 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22235 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22236
22237 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22238 ceil, ceilf, floor, floorf.
22239
22240 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22241 Perform IRELATIVE relocations last.
22242
e453f6cd
UD
22243 * elf/do-rel.h: Add another parameter nrelative, replacing the
22244 local variable with the same name. Change name of the function
22245 to end in Rel or Rela (uppercase).
22246 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22247 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22248 elf_dynamic_do_##reloc function.
22249
fd5bdc09
UD
222502011-10-15 Ulrich Drepper <drepper@gmail.com>
22251
79b195b5
UD
22252 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22253 is sufficient, at least on modern CPUs.
22254
d4a28569
UD
22255 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22256
b61099b5
UD
22257 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22258 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22259
bcf01e6d
UD
22260 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22261 __expl_finite.
22262 * math/bits/math-finite.h: Add entries for exp.
22263 * math/e_expl.c: Add __*_finite alias.
22264 * sysdeps/i386/fpu/e_exp.S: Likewise.
22265 * sysdeps/i386/fpu/e_expf.S: Likewise.
22266 * sysdeps/i386/fpu/e_expl.c: Likewise.
22267 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22268 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22269 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22270 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22271 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22272 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22273 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22274
ba1a0d59
UD
22275 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22276 is sufficient, at least on modern CPUs.
22277
fd5bdc09
UD
22278 * ctype/ctype-info.c (__ctype_init): Define.
22279 * include/ctype.h (__ctype_init): Declare.
22280 (__ctype_b_loc): The variable is always initialized.
22281 (__ctype_toupper_loc): Likewise.
22282 (__ctype_tolower_loc): Likewise.
22283 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22284 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22285
7872cfb0
AS
222862011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22287
b468825a
AS
22288 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22289
7872cfb0
AS
22290 * configure.in: Also look in $cxxmachine/include for C++ system
22291 headers.
22292
be13f7bf
LD
222932011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22294
22295 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22296 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22297 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22298 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22299 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22300 (USE_AS_WMEMCMP): New macro.
22301 Fixing indents.
22302 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22303 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22304 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22305 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22307 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22308 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22309 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22310 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22311 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22312 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22313 (USE_AS_WMEMCMP): New macro.
22314 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22315 * sysdeps/string/test-memcmp.c: Update.
22316 Fix simple_wmemcmp.
22317 Add new tests.
22318 * wcsmbs/wmemcmp.c: Update.
22319 (WMEMCMP): New macro.
22320 Fix overflow bug.
22321
556a2007
AJ
223222011-10-12 Andreas Jaeger <aj@suse.de>
22323
22324 [BZ #13268]
22325 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22326
538faaa7
UD
223272011-10-15 Ulrich Drepper <drepper@gmail.com>
22328
ab6737ff
UD
22329 * libio/iofwide.c (do_length): Avoid warning.
22330
538faaa7
UD
22331 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22332
396a21b1
UD
223332011-10-14 Ulrich Drepper <drepper@gmail.com>
22334
cdf2901f
UD
22335 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22336
38ad40ce
UD
22337 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22338 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22339 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22340 * sysdeps/i386/i686/fpu/e_log.S: New file.
22341 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22342 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22343
396a21b1
UD
22344 * ctype/ctype.h: Add support for inlined isXXX functions when
22345 compiling C++ code.
22346
6b1f68c9
AS
223472011-10-14 Andreas Schwab <schwab@redhat.com>
22348
349290c0
AS
22349 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22350
6b1f68c9
AS
22351 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22352
f2282d42
RM
223532011-10-13 Roland McGrath <roland@hack.frob.com>
22354
22355 [BZ #13291]
22356 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22357
5298ffa8
AS
223582011-10-13 Andreas Schwab <schwab@redhat.com>
22359
714fad23
AS
22360 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22361 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22362 feraiseexcept.
22363
81dcc7fb
AS
22364 * sysdeps/x86_64/memrchr.S: Check for zero size.
22365
5298ffa8
AS
22366 * string/stratcliff.c: Add memrchr tests.
22367
951fbcec
LD
223682011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22369
22370 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22371 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22372 rawmemchr-sse2 rawmemchr-sse2-bsf.
22373 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22374 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22375 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22376 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22377 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22378 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22379 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22380 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22381 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22382 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22383 * string/memrchr.c (MEMRCHR): New macro.
22384
0ac5ae23
UD
223852011-10-12 Ulrich Drepper <drepper@gmail.com>
22386
22387 Add integration with gcc's -ffinite-math-only and optimize wrapper
22388 functions in libm.
22389 * Versions.def: Define GLIBC_2.15 version for libm.
22390 * math/Makefile (headers): Add bits/math-finite.h.
22391 * math/bits/math-finite.h: New file.
22392 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22393 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22394 * math/e_acoshl.c: Add __*_finite alias.
22395 * math/e_acosl.c: Likewise.
22396 * math/e_asinl.c: Likewise.
22397 * math/e_atan2l.c: Likewise.
22398 * math/e_atanhl.c: Likewise.
22399 * math/e_coshl.c: Likewise.
22400 * math/e_exp10.c: Likewise.
22401 * math/e_exp10f.c: Likewise.
22402 * math/e_exp10l.c: Likewise.
22403 * math/e_exp2l.c: Likewise.
22404 * math/e_fmodl.c: Likewise.
22405 * math/e_gammal_r.c: Likewise.
22406 * math/e_hypotl.c: Likewise.
22407 * math/e_j0l.c: Likewise.
22408 * math/e_j1l.c: Likewise.
22409 * math/e_jnl.c: Likewise.
22410 * math/e_lgammal_r.c: Likewise.
22411 * math/e_log10l.c: Likewise.
22412 * math/e_log2l.c: Likewise.
22413 * math/e_logl.c: Likewise.
22414 * math/e_powl.c: Likewise.
22415 * math/e_sinhl.c: Likewise.
22416 * math/e_sqrtl.c: Likewise.
22417 * math/e_scalb.c: Completely rewritten and optimized.
22418 * math/e_scalbf.c: Likewise.
22419 * math/e_scalbl.c: Likewise.
22420 * math/w_acos.c: Likewise.
22421 * math/w_acosf.c: Likewise.
22422 * math/w_acosl.c: Likewise.
22423 * math/w_acosh.c: Likewise.
22424 * math/w_acoshf.c: Likewise.
22425 * math/w_acoshl.c: Likewise.
22426 * math/w_asin.c: Likewise.
22427 * math/w_asinf.c: Likewise.
22428 * math/w_asinl.c: Likewise.
22429 * math/w_atan2.c: Likewise.
22430 * math/w_atan2f.c: Likewise.
22431 * math/w_atan2l.c: Likewise.
22432 * math/w_atanh.c: Likewise.
22433 * math/w_atanhf.c: Likewise.
22434 * math/w_atanhl.c: Likewise.
22435 * math/w_exp10.c: Likewise.
22436 * math/w_exp10f.c: Likewise.
22437 * math/w_exp10l.c: Likewise.
22438 * math/w_fmod.c: Likewise.
22439 * math/w_fmodf.c: Likewise.
22440 * math/w_fmodl.c: Likewise.
22441 * math/w_j0.c: Likewise.
22442 * math/w_j0f.c: Likewise.
22443 * math/w_j0l.c: Likewise.
22444 * math/w_j1.c: Likewise.
22445 * math/w_j1f.c: Likewise.
22446 * math/w_j1l.c: Likewise.
22447 * math/w_jn.c: Likewise.
22448 * math/w_jnf.c: Likewise.
22449 * math/w_log.c: Likewise.
22450 * math/w_logf.c: Likewise.
22451 * math/w_logl.c: Likewise.
22452 * math/w_log10.c: Likewise.
22453 * math/w_log10f.c: Likewise.
22454 * math/w_log10l.c: Likewise.
22455 * math/w_log2.c: Likewise.
22456 * math/w_log2f.c: Likewise.
22457 * math/w_log2l.c: Likewise.
22458 * math/w_pow.c: Likewise.
22459 * math/w_powf.c: Likewise.
22460 * math/w_powl.c: Likewise.
22461 * math/w_remainder.c: Likewise.
22462 * math/w_remainderf.c: Likewise.
22463 * math/w_remainderl.c: Likewise.
22464 * math/w_scalb.c: Likewise.
22465 * math/w_scalbf.c: Likewise.
22466 * math/w_scalbl.c: Likewise.
22467 * math/w_sqrt.c: Likewise.
22468 * math/w_sqrtf.c: Likewise.
22469 * math/w_sqrtl.c: Likewise.
22470 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22471 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22472 used.
22473 * math/math_private.h: Declare __kernel_standard_f.
22474 * math/w_cosh.c: Remove cruft and optimize a bit.
22475 * math/w_coshf.c: Likewise.
22476 * math/w_coshl.c: Likewise.
22477 * math/w_exp2.c: Likewise.
22478 * math/w_exp2f.c: Likewise.
22479 * math/w_exp2l.c: Likewise.
22480 * math/w_hypot.c: Likewise.
22481 * math/w_hypotf.c: Likewise.
22482 * math/w_hypotl.c: Likewise.
22483 * math/w_lgamma.c: Likewise.
22484 * math/w_lgamma_r.c: Likewise.
22485 * math/w_lgammaf.c: Likewise.
22486 * math/w_lgammaf_r.c: Likewise.
22487 * math/w_lgammal.c: Likewise.
22488 * math/w_lgammal_r.c: Likewise.
22489 * math/w_sinh.c: Likewise.
22490 * math/w_sinhf.c: Likewise.
22491 * math/w_sinhl.c: Likewise.
22492 * math/w_tgamma.c: Likewise.
22493 * math/w_tgammaf.c: Likewise.
22494 * math/w_tgammal.c: Likewise.
22495 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22496 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22497 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22498 Minor optimizations. Pretty printing. Remove cruft.
22499 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22500 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22501 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22502 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22503 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22504 * sysdeps/i386/fpu/e_asin.S: Likewise.
22505 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22506 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22507 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22508 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22509 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22510 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22511 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22512 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22513 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22514 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22515 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22516 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22517 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22518 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22519 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22520 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22521 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22522 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22523 * sysdeps/i386/fpu/e_log.S: Likewise.
22524 * sysdeps/i386/fpu/e_log10.S: Likewise.
22525 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22526 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22527 * sysdeps/i386/fpu/e_log2.S: Likewise.
22528 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22529 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22530 * sysdeps/i386/fpu/e_logf.S: Likewise.
22531 * sysdeps/i386/fpu/e_logl.S: Likewise.
22532 * sysdeps/i386/fpu/e_pow.S: Likewise.
22533 * sysdeps/i386/fpu/e_powf.S: Likewise.
22534 * sysdeps/i386/fpu/e_powl.S: Likewise.
22535 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22536 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22537 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22538 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22539 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22540 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22541 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22542 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22543 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22544 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22545 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22546 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22547 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22548 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22549 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22550 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22551 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22552 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22553 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22554 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22555 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22556 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22557 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22558 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22559 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22560 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22561 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22562 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22563 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22564 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22565 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22566 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22567 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22568 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22569 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22570 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22571 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22572 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22573 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22574 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22575 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22576 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22577 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22578 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22579 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22580 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22581 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22582 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22583 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22584 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22585 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22586 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22587 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22588 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22589 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22590 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22591 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22592 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22593 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22594 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22595 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22596 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22597 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22598 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22599 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22600 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22601 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22602 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22603 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22604 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22605 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22606 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22607 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22608 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22609 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22610 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22611 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22612 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22613 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22614 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22615 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22616 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22617 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22618 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22619 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22621 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22622 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22623 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22624 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22625 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22626 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22627 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22628 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22629 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22630 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22631 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22632 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22633 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22634 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22635 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22636 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22637 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22638 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22639 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22640 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22641 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22642 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22643 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22644 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22645 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22646 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22647 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22648 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22649 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22650 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22651 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22652 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22653 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22654 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22655 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22656 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22657 (__isnanf): Likewise.
22658 (__isinf_ns): Likewise.
22659 (__isinf_nsf): Likewise.
22660 (__finite): Likewise.
22661 (__finitef): Likewise.
22662 (__ieee754_sqrt): Define as macro.
22663 (__ieee754_sqrtf): Define as macro.
22664 (__ieee754_sqrtl): Define as macro.
22665 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22666 inlined copy.
22667 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22668 __FINITE_MATH_ONLY__ consistent.
22669 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22670
12cc2fcd
AS
226712011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22672
a843a204
AS
22673 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22674 of rawmemchr.
22675
12cc2fcd
AS
22676 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22677
c853acd5
UD
226782011-10-09 Ulrich Drepper <drepper@gmail.com>
22679
22680 * po/ja.po: Update from translation team.
22681
c658d255
RM
226822011-10-08 Roland McGrath <roland@hack.frob.com>
22683
110946e4
RM
22684 * locale/programs/locarchive.c (prepare_address_space): New function.
22685 (create_archive, enlarge_archive, open_archive): Use it.
22686
50604220
RM
22687 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22688 inside [SHARED], where it is used.
22689
c658d255
RM
22690 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22691
22692 * nss/getent.c (netgroup_keys): Remove unused variable.
22693 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22694
6a621eb7
UD
226952011-10-08 Ulrich Drepper <drepper@gmail.com>
22696
7edb55ce
UD
22697 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22698 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22699 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22700 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22701 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22702 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22703 * math/Makefile (libm-calls): Add s_isinf_ns.
22704 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22705 * math/multc3.c: Likewise.
22706 * math/s_casin.c: Likewise.
22707 * math/s_casinf.c: Likewise.
22708 * math/s_casinl.c: Likewise.
22709 * math/s_ccos.c: Likewise.
22710 * math/s_ccosf.c: Likewise.
22711 * math/s_ccosl.c: Likewise.
22712 * math/s_ctan.c: Likewise.
22713 * math/s_ctanf.c: Likewise.
22714 * math/s_ctanh.c: Likewise.
22715 * math/s_ctanhf.c: Likewise.
22716 * math/s_ctanhl.c: Likewise.
22717 * math/s_ctanl.c: Likewise.
22718 * math/w_fmod.c: Likewise.
22719 * math/w_fmodf.c: Likewise.
22720 * math/w_fmodl.c: Likewise.
22721 * math/w_remainder.c: Likewise.
22722 * math/w_remainderf.c: Likewise.
22723 * math/w_remainderl.c: Likewise.
22724 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22725 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22726 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22728 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22729 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22730 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22731 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22732
187da0ae
UD
22733 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22734 of the number.
22735 * stdio-common/printf_fphex.c: Likewise.
22736 * stdio-common/printf_size.c: Likewise.
22737
9277c064
UD
22738 * math/e_exp10.c: Include math_private.h using <...> not "...".
22739 * math/e_exp10f.c: Likewise.
22740 * math/e_exp10l.c: Likewise.
22741 * math/e_exp2l.c: Likewise.
22742 * math/e_j0l.c: Likewise.
22743 * math/e_j1l.c: Likewise.
22744 * math/e_jnl.c: Likewise.
22745 * math/e_lgammal_r.c: Likewise.
22746 * math/e_rem_pio2l.c: Likewise.
22747 * math/e_scalb.c: Likewise.
22748 * math/e_scalbf.c: Likewise.
22749 * math/e_scalbl.c: Likewise.
22750 * math/k_cosl.c: Likewise.
22751 * math/k_sinl.c: Likewise.
22752 * math/k_tanl.c: Likewise.
22753 * math/s_cacoshf.c: Likewise.
22754 * math/s_catan.c: Likewise.
22755 * math/s_catanf.c: Likewise.
22756 * math/s_catanh.c: Likewise.
22757 * math/s_catanhf.c: Likewise.
22758 * math/s_catanhl.c: Likewise.
22759 * math/s_catanl.c: Likewise.
22760 * math/s_ccosh.c: Likewise.
22761 * math/s_ccoshf.c: Likewise.
22762 * math/s_ccoshl.c: Likewise.
22763 * math/s_cexp.c: Likewise.
22764 * math/s_cexpf.c: Likewise.
22765 * math/s_cexpl.c: Likewise.
22766 * math/s_clog.c: Likewise.
22767 * math/s_clog10.c: Likewise.
22768 * math/s_clog10f.c: Likewise.
22769 * math/s_clog10l.c: Likewise.
22770 * math/s_clogf.c: Likewise.
22771 * math/s_clogl.c: Likewise.
22772 * math/s_csin.c: Likewise.
22773 * math/s_csinf.c: Likewise.
22774 * math/s_csinh.c: Likewise.
22775 * math/s_csinhf.c: Likewise.
22776 * math/s_csinhl.c: Likewise.
22777 * math/s_csinl.c: Likewise.
22778 * math/s_csqrt.c: Likewise.
22779 * math/s_csqrtf.c: Likewise.
22780 * math/s_csqrtl.c: Likewise.
22781 * math/s_ctan.c: Likewise.
22782 * math/s_ctanf.c: Likewise.
22783 * math/s_ctanh.c: Likewise.
22784 * math/s_ctanhf.c: Likewise.
22785 * math/s_ctanhl.c: Likewise.
22786 * math/s_ctanl.c: Likewise.
22787 * math/s_ldexp.c: Likewise.
22788 * math/s_ldexpf.c: Likewise.
22789 * math/s_ldexpl.c: Likewise.
22790 * math/s_significand.c: Likewise.
22791 * math/s_significandf.c: Likewise.
22792 * math/s_significandl.c: Likewise.
22793 * math/w_acos.c: Likewise.
22794 * math/w_acosf.c: Likewise.
22795 * math/w_acosh.c: Likewise.
22796 * math/w_acoshf.c: Likewise.
22797 * math/w_acoshl.c: Likewise.
22798 * math/w_acosl.c: Likewise.
22799 * math/w_asin.c: Likewise.
22800 * math/w_asinf.c: Likewise.
22801 * math/w_asinl.c: Likewise.
22802 * math/w_atan2.c: Likewise.
22803 * math/w_atan2f.c: Likewise.
22804 * math/w_atan2l.c: Likewise.
22805 * math/w_atanh.c: Likewise.
22806 * math/w_atanhf.c: Likewise.
22807 * math/w_atanhl.c: Likewise.
22808 * math/w_cosh.c: Likewise.
22809 * math/w_coshf.c: Likewise.
22810 * math/w_coshl.c: Likewise.
22811 * math/w_dremf.c: Likewise.
22812 * math/w_exp10.c: Likewise.
22813 * math/w_exp10f.c: Likewise.
22814 * math/w_exp10l.c: Likewise.
22815 * math/w_exp2.c: Likewise.
22816 * math/w_exp2f.c: Likewise.
22817 * math/w_fmod.c: Likewise.
22818 * math/w_fmodf.c: Likewise.
22819 * math/w_fmodl.c: Likewise.
22820 * math/w_hypot.c: Likewise.
22821 * math/w_hypotf.c: Likewise.
22822 * math/w_hypotl.c: Likewise.
22823 * math/w_j0.c: Likewise.
22824 * math/w_j0f.c: Likewise.
22825 * math/w_j0l.c: Likewise.
22826 * math/w_j1.c: Likewise.
22827 * math/w_j1f.c: Likewise.
22828 * math/w_j1l.c: Likewise.
22829 * math/w_jn.c: Likewise.
22830 * math/w_jnf.c: Likewise.
22831 * math/w_jnl.c: Likewise.
22832 * math/w_lgamma.c: Likewise.
22833 * math/w_lgamma_r.c: Likewise.
22834 * math/w_lgammaf.c: Likewise.
22835 * math/w_lgammaf_r.c: Likewise.
22836 * math/w_lgammal.c: Likewise.
22837 * math/w_lgammal_r.c: Likewise.
22838 * math/w_log.c: Likewise.
22839 * math/w_log10.c: Likewise.
22840 * math/w_log10f.c: Likewise.
22841 * math/w_log10l.c: Likewise.
22842 * math/w_log2.c: Likewise.
22843 * math/w_log2f.c: Likewise.
22844 * math/w_log2l.c: Likewise.
22845 * math/w_logf.c: Likewise.
22846 * math/w_logl.c: Likewise.
22847 * math/w_pow.c: Likewise.
22848 * math/w_powf.c: Likewise.
22849 * math/w_powl.c: Likewise.
22850 * math/w_remainder.c: Likewise.
22851 * math/w_remainderf.c: Likewise.
22852 * math/w_remainderl.c: Likewise.
22853 * math/w_scalb.c: Likewise.
22854 * math/w_scalbf.c: Likewise.
22855 * math/w_scalbl.c: Likewise.
22856 * math/w_sinh.c: Likewise.
22857 * math/w_sinhf.c: Likewise.
22858 * math/w_sinhl.c: Likewise.
22859 * math/w_sqrt.c: Likewise.
22860 * math/w_sqrtf.c: Likewise.
22861 * math/w_sqrtl.c: Likewise.
22862 * math/w_tgamma.c: Likewise.
22863 * math/w_tgammaf.c: Likewise.
22864 * math/w_tgammal.c: Likewise.
22865
6a621eb7
UD
22866 * po/ja.po: Update from translation team.
22867
bf582445
AJ
228682011-09-29 Andreas Jaeger <aj@suse.de>
22869
f9efbf3a
AJ
22870 [BZ #13179]
22871 * sunrpc/netname.c (netname2host): Fix logic.
22872
bf582445
AJ
22873 [BZ #6779]
22874 [BZ #6783]
22875 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22876 correctly.
22877 * math/w_remainder.c (__remainder): Likewise.
22878 * math/w_remainderf.c (__remainderf): Likewise.
22879 * math/libm-test.inc (remainder_test): Add test cases.
22880
48693bea
AK
228812011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22882
22883 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22884 sdiv_qrnnd.
22885
42622229
LD
228862011-10-07 Ulrich Drepper <drepper@gmail.com>
22887
22888 * string/test-memcmp.c: Avoid unncessary #defines.
22889 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22890
093ecf92
LD
228912011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22892
22893 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22894 Use new sse2 version for core i3 - i7 as it's faster
22895 than sse42 version.
22896 (bit_Prefer_PMINUB_for_stringop): New.
22897 * sysdeps/x86_64/rawmemchr.S: Update.
22898 Replace with faster SSE2 version.
22899 * sysdeps/x86_64/memrchr.S: New file.
22900 * sysdeps/x86_64/memchr.S: Update.
22901 Replace with faster SSE2 version.
22902
fde56e5c
MP
229032011-09-12 Marek Polacek <mpolacek@redhat.com>
22904
22905 * elf/dl-load.c (lose): Add cast to avoid warning.
22906
21fd49a9
UD
229072011-10-07 Ulrich Drepper <drepper@gmail.com>
22908
5a06e643
UD
22909 * po/ca.po: Update from translation team.
22910
684ae515
UD
22911 * inet/getnetgrent_r.c: Hook up nscd.
22912 * nscd/Makefile (routines): Add nscd_netgroup.
22913 (nscd-modules): Add netgroupcache.
22914 (CFLAGS-netgroupcache.c): Define.
22915 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22916 (cache_search): Add const to second parameter.
22917 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22918 INNETGR.
22919 (dbs): Add netgrdb entry.
22920 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22921 (verify_persistent_db): Handle netgrdb.
22922 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22923 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22924 GETFDNETGR.
22925 (netgroup_response_header): Define.
22926 (innetgroup_response_header): Define.
22927 (datahead): Add netgroup_response_header and innetgroup_response_header
22928 elements.
22929 * nscd/nscd.conf: Add entries for netgroup cache.
22930 * nscd/nscd.h (dbtype): Add netgrdb.
22931 (_PATH_NSCD_NETGROUP_DB): Define.
22932 (netgroup_iov_disabled): Declare.
22933 (xmalloc, xcalloc, xrealloc): Move declarations here.
22934 (cache_search): Adjust prototype.
22935 Add netgroup-related prototypes.
22936 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22937 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22938 (__nscd_innetgr): Declare.
22939 * nscd/selinux.c (perms): Use access_vector_t as element type and
22940 add netgroup-related initializers.
22941 * nscd/netgroupcache.c: New file.
22942 * nscd/nscd_netgroup.c: New file.
22943 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22944 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22945 For four parameters use innetgr.
22946 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22947 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22948 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22949 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22950
21fd49a9
UD
22951 * nscd/connections.c (register_traced_file): Don't register file
22952 for disabled databases.
22953
054c0457
UD
229542011-10-06 Ulrich Drepper <drepper@gmail.com>
22955
32b63198
UD
22956 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22957
054c0457
UD
22958 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22959 from tree and freeing node.
22960
64031225
JO
229612011-09-25 Jiri Olsa <jolsa@redhat.com>
22962
22963 * nss/nsswitch.c (__nss_database_lookup): Handle
22964 nss_parse_service_list out of memory case.
22965
0490345c
JO
229662011-09-15 Jiri Olsa <jolsa@redhat.com>
22967
22968 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22969 out of memory case.
22970
3a62d00d
AS
229712011-10-04 Andreas Schwab <schwab@redhat.com>
22972
22973 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22974 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22975 pass it down.
22976 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22977 elf_machine_rela, elf_machine_lazy_rel.
22978 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22979 (ELF_DYNAMIC_DO_REL): Likewise.
22980 (ELF_DYNAMIC_DO_RELA): Likewise.
22981 (ELF_DYNAMIC_RELOCATE): Likewise.
22982 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22983 to ELF_DYNAMIC_DO_REL.
22984 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22985 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22986 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22987 elf_machine_rela.
22988 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22989 skip_ifunc, don't call ifunc function if non-zero.
22990 (elf_machine_rela): Likewise.
22991 (elf_machine_lazy_rel): Likewise.
22992 (elf_machine_lazy_rela): Likewise.
22993 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22994 (elf_machine_lazy_rel): Likewise.
22995 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22996 Likewise.
22997 (elf_machine_lazy_rel): Likewise.
22998 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22999 Likewise.
23000 (elf_machine_lazy_rel): Likewise.
23001 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23002 (elf_machine_lazy_rel): Likewise.
23003 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23004 (elf_machine_lazy_rel): Likewise.
23005 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23006 (elf_machine_lazy_rel): Likewise.
23007 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23008 (elf_machine_lazy_rel): Likewise.
23009 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23010 (elf_machine_lazy_rel): Likewise.
23011 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23012 (elf_machine_lazy_rel): Likewise.
23013
68577918
UD
230142011-09-28 Ulrich Drepper <drepper@gmail.com>
23015
23016 * nss/nss_files/files-init.c (_nss_files_init): Use static
23017 initialization for all the *_traced_file variables.
23018
68822d74
AS
230192011-09-28 Andreas Schwab <schwab@redhat.com>
23020
23021 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23022
2056100b
RM
230232011-09-27 Roland McGrath <roland@hack.frob.com>
23024
23025 [BZ #13226]
23026 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23027
32c76b63
AS
230282011-09-27 Andreas Schwab <schwab@redhat.com>
23029
23030 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23031 Reread the line before reparsing it.
23032
bf972c9d
AS
230332011-09-26 Andreas Schwab <schwab@redhat.com>
23034
23035 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23036
e057a1b5
JM
230372011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23038 Maxim Kuvyrkov <maxim@codesourcery.com>
23039 Joseph Myers <joseph@codesourcery.com>
23040
23041 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23042 if needed for __stack_chk_guard.
23043
bc7e1c36
RM
230442011-09-19 Roland McGrath <roland@hack.frob.com>
23045
ecb1482f
RM
23046 * sysdeps/posix/spawni.c (script_execute): Always define it.
23047 It will be optimized away if unused.
23048 (maybe_script_execute): New function.
23049 (__spawni): Call it.
23050
bc7e1c36
RM
23051 * Makerules: Don't include tls.make.
23052 (config-tls): Always set to thread.
23053 * tls.make.c: File removed.
23054
1c3b002b
MF
230552011-09-19 Mike Frysinger <vapier@gentoo.org>
23056
23057 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23058 * config.make.in (CPPFLAGS-config): New substituted variable.
23059
2840865d
UD
230602011-09-15 Ulrich Drepper <drepper@gmail.com>
23061
88738eb6
UD
23062 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23063
cbf645a6 23064 [BZ #13192]
2840865d
UD
23065 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23066 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23067
b402e91a
RM
230682011-09-15 Roland McGrath <roland@hack.frob.com>
23069
23070 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23071 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23072 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23073 (CALL_FAIL): Likewise.
23074 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23075 (CALL_FAIL): Macro removed.
23076 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23077
4c1a1f71
UD
230782011-09-15 Ulrich Drepper <drepper@gmail.com>
23079
23080 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23081 for __FINITE_MATH_ONLY__ == 1.
23082
edc121be
AS
230832011-09-15 Andreas Schwab <schwab@redhat.com>
23084
23085 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23086 __ieee754_sqrt instead of sqrt.
23087 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23088 __ieee754_sqrtf instead of sqrtf.
23089 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23090 __floorf instead of floorf.
23091 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23092 __floorf, __truncf instead of floorf, truncf.
23093
cd205654
UD
230942011-09-14 Ulrich Drepper <drepper@gmail.com>
23095
ee4d0315
UD
23096 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23097
cd205654
UD
23098 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23099 __extern_always_inline.
23100 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23101 32-bit.
23102
48b67d71
AS
231032011-09-14 Andreas Schwab <schwab@redhat.com>
23104
23105 * elf/rtld.c (dl_main): Also relocate in dependency order when
23106 doing symbol dependency testing.
23107
1ae12c75
AS
231082011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23109
23110 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23111 Always define `refsym'.
23112
995a80df
AS
231132011-09-13 Andreas Schwab <schwab@redhat.com>
23114
e529793b
AS
23115 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23116 (__FD_ELT): Renamed from __FDELT.
23117 * misc/bits/select2.h (__FD_ELT): Likewise.
23118 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23119 __FD_MASK instead of __FDELT, __FDMASK.
23120 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23121 Likewise.
23122 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23123 Likewise.
23124
52d4fef8
AS
23125 * elf/Makefile (gen-ldd): Fix pattern.
23126
995a80df
AS
23127 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23128 (init_tls): Likewise.
23129
8682f8b0
UD
231302011-09-12 Ulrich Drepper <drepper@gmail.com>
23131
23132 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23133
de82006d
AS
231342011-09-12 Andreas Schwab <schwab@redhat.com>
23135
a7c8e6a1
AS
23136 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23137 `struct cmsghdr *' instead of `void *'.
23138 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23139 Likewise.
23140
0f31fe77
AS
231412011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23142
23143 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23144 if non-absolute.
23145 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23146 ldd_rewrite_script.
0f31fe77 23147
32b4c839
UD
231482011-09-11 Ulrich Drepper <drepper@gmail.com>
23149
83cd1420
UD
23150 * configure.in: Remove --with-tls option.
23151 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23152 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23153 out in case it is missing.
23154 * sysdeps/ia64/elf/configure.in: Likewise.
23155 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23156 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23157 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23158 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23159 * sysdeps/sh/elf/configure.in: Likewise.
23160 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23161 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23162 * sysdeps/x86_64/elf/configure.in: Likewise.
23163 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23164 * sysdeps/mach/hurd/tls.h: Likewise.
23165
633f745d
UD
23166 [BZ #13067]
23167 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23168
f318beb8
UD
23169 [BZ #13090]
23170 * configure.in: Fix use of AC_INIT.
23171
32b4c839
UD
23172 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23173
3ce1f295
UD
231742011-09-10 Ulrich Drepper <drepper@gmail.com>
23175
bb016596
UD
23176 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23177 __set_errno.
8e58439c
UD
23178 * malloc/hooks.c: Likewise.
23179
aebae053 23180 [BZ #11929]
02d46fc4
UD
23181 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23182 variables statically.
23183 (narenas): Initialize.
23184 (list_lock): Initialize.
bb016596
UD
23185 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23186 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23187 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23188 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23189 Add initializers to main_arena and mp_.
23190 (malloc_state): Remove pagesize member. Change all users to use
23191 GLRO(dl_pagesize).
23192
23193 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23194 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23195 is always initialized.
23196
22a89187
UD
23197 * malloc/malloc.c: Removed unused configurations and dead code.
23198 * malloc/arena.c: Likewise.
23199 * malloc/hooks.c: Likewise.
02d46fc4 23200 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23201
d063d164
UD
23202 * include/tls.h: Removed. USE___THREAD must always be defined.
23203 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23204 * elf/dl-libc.c: Likewise.
23205 * elf/dl-tsd.c: Likewise.
23206 * include/errno.h: Likewise.
23207 * include/netdb.h: Likewise.
23208 * include/resolv.h: Likewise.
23209 * inet/herrno-loc.c: Likewise.
23210 * inet/herrno.c: Likewise.
23211 * malloc/arena.c: Likewise.
23212 * malloc/hooks.c: Likewise.
23213 * malloc/malloc.c: Likewise.
23214 * resolv/res-state.c: Likewise.
23215 * resolv/res_libc.c: Likewise.
23216 * sysdeps/i386/dl-machine.h: Likewise.
23217 * sysdeps/ia64/dl-machine.h: Likewise.
23218 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23219 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23220 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23221 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23222 * sysdeps/sh/dl-machine.h: Likewise.
23223 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23224 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23225 * sysdeps/unix/i386/sysdep.S: Likewise.
23226 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23227 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23228 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23229 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23230 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23231 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23232 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23233 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23234 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23236 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23237 * sysdeps/x86_64/dl-machine.h: Likewise.
23238 * tls.make.c: Likewise.
23239
3ce1f295
UD
23240 * configure.in: Remove --with-__thread option. Make tests for
23241 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23242 tls_model attribute fail if no support is available. Remove
23243 USE_IN_LIBIO.
23244 * Makeconfig: Adjust for dropped configure option. All features are
23245 now mandatory.
23246 * Makerules: Likewise.
23247 * Versions.def: Likewise.
23248 * argp/argp-fmtstream.c: Likewise.
23249 * argp/argp-fmtstream.h: Likewise.
23250 * argp/argp-help.c: Likewise.
23251 * assert/assert.c: Likewise.
23252 * config.h.in: Likewise.
23253 * config.make.in: Likewise.
23254 * configure: Likewise.
23255 * configure.in: Likewise.
23256 * csu/Versions: Likewise.
23257 * csu/init.c: Likewise.
23258 * elf/tst-audit2.c: Likewise.
23259 * elf/tst-tls10.c: Likewise.
23260 * elf/tst-tls10.h: Likewise.
23261 * elf/tst-tls11.c: Likewise.
23262 * elf/tst-tls12.c: Likewise.
23263 * elf/tst-tls14.c: Likewise.
23264 * elf/tst-tlsmod11.c: Likewise.
23265 * elf/tst-tlsmod12.c: Likewise.
23266 * elf/tst-tlsmod13.c: Likewise.
23267 * elf/tst-tlsmod13a.c: Likewise.
23268 * elf/tst-tlsmod14a.c: Likewise.
23269 * elf/tst-tlsmod15b.c: Likewise.
23270 * elf/tst-tlsmod16a.c: Likewise.
23271 * elf/tst-tlsmod16b.c: Likewise.
23272 * elf/tst-tlsmod7.c: Likewise.
23273 * elf/tst-tlsmod8.c: Likewise.
23274 * elf/tst-tlsmod9.c: Likewise.
23275 * gmon/gmon.c: Likewise.
23276 * grp/fgetgrent_r.c: Likewise.
23277 * grp/putgrent.c: Likewise.
23278 * hurd/fopenport.c: Likewise.
23279 * include/libc-symbols.h: Likewise.
23280 * include/tls.h: Likewise.
23281 * intl/gettextP.h: Likewise.
23282 * intl/loadinfo.h: Likewise.
23283 * locale/global-locale.c: Likewise.
23284 * locale/localeinfo.h: Likewise.
23285 * mach/devstream.c: Likewise.
23286 * malloc/arena.c: Likewise.
23287 * malloc/set-freeres.c: Likewise.
23288 * misc/err.c: Likewise.
23289 * misc/getttyent.c: Likewise.
23290 * misc/mntent_r.c: Likewise.
23291 * posix/getopt.c: Likewise.
23292 * posix/wordexp.c: Likewise.
23293 * pwd/fgetpwent_r.c: Likewise.
23294 * resolv/Versions: Likewise.
23295 * resolv/res_hconf.c: Likewise.
23296 * shadow/fgetspent_r.c: Likewise.
23297 * shadow/putspent.c: Likewise.
23298 * stdio-common/printf_fphex.c: Likewise.
23299 * stdio-common/tmpfile.c: Likewise.
23300 * stdlib/abort.c: Likewise.
23301 * stdlib/fmtmsg.c: Likewise.
23302 * sunrpc/auth_unix.c: Likewise.
23303 * sunrpc/clnt_perr.c: Likewise.
23304 * sunrpc/clnt_tcp.c: Likewise.
23305 * sunrpc/clnt_udp.c: Likewise.
23306 * sunrpc/clnt_unix.c: Likewise.
23307 * sunrpc/openchild.c: Likewise.
23308 * sunrpc/svc_simple.c: Likewise.
23309 * sunrpc/svc_tcp.c: Likewise.
23310 * sunrpc/svc_udp.c: Likewise.
23311 * sunrpc/svc_unix.c: Likewise.
23312 * sunrpc/xdr.c: Likewise.
23313 * sunrpc/xdr_array.c: Likewise.
23314 * sunrpc/xdr_rec.c: Likewise.
23315 * sunrpc/xdr_ref.c: Likewise.
23316 * sunrpc/xdr_stdio.c: Likewise.
23317
1248c1c4
PB
233182011-09-09 Ulrich Drepper <drepper@gmail.com>
23319
23320 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23321
233222011-07-03 Andreas Jaeger <aj@suse.de>
23323
23324 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23325 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23326 regenerate with gen-libm-tests.pl.
23327
233282010-05-12 Petr Baudis <pasky@suse.cz>
23329
23330 [BZ #11589]
23331 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23332 around j0() zero points by switching to j1().
23333 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23334 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23335 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23336 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23337
f22e1074
UD
233382011-09-09 Ulrich Drepper <drepper@gmail.com>
23339
f19009c1
UD
23340 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23341 instead of 0.
23342 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23343 instead of 0.
f19009c1
UD
23344 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23345 Patch in part by Pavel Roskin <proski@gnu.org>.
23346
3f8cc204
UD
23347 [BZ #13138]
23348 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23349 realloc.
23350 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23351 Free memory block if necessary.
23352
f22e1074
UD
23353 [BZ #12847]
23354 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23355 be NULL. Don't lock in this case.
23356
0a2349f9
RM
233572011-09-09 Roland McGrath <roland@hack.frob.com>
23358
23359 * elf/elf.h (ELFOSABI_GNU): New macro.
23360 (ELFOSABI_LINUX): Define to that.
23361
f3cdd467
DZ
233622011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23363
23364 * string/strncat.c (strncat): Undef the symbol in case it has been
23365 defined in bits/string.h.
23366
74718d13
UD
233672011-09-09 Ulrich Drepper <drepper@gmail.com>
23368
633e9e0f
UD
23369 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23370
0a2349f9 23371 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23372 link map.
23373
f9924780
AJ
233742011-08-17 Andreas Jaeger <aj@suse.de>
23375
23376 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23377
7f5517aa
PP
233782011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23379 Ian Lance Taylor <iant@google.com>
23380
23381 * math/libm-test.inc (lround_test): New testcase.
23382 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23383
762011fe
UD
233842011-09-08 Ulrich Drepper <drepper@gmail.com>
23385
92963737
UD
23386 * Makefile: Remove support for automatic cvs check-ins.
23387 * Makerules: Likewise.
23388 * config.make.in: Likewise.
23389 * configure.in: Likewise.
23390 * intl/Makefile: Likewise.
23391 * locale/Makefile: Likewise.
23392 * po/Makefile: Likewise.
23393 * posix/Makefile: Likewise.
23394 * sysdeps/gnu/Makefile: Likewise.
23395 * sysdeps/mach/hurd/Makefile: Likewise.
23396 * sysdeps/sparc/sparc32/Makefile: Likewise.
23397
b0727fd8
JS
23398 [BZ #13118]
23399 * posix/Makefile (bug-regex32-ENV): Define.
23400 Patch by John Stanley <jpsinthemix@verizon.net>.
23401
a0f33f99
UD
23402 * misc/Makefile (headers): Add bits/select2.h.
23403 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23404 * misc/bits/select2.h: New file.
23405 * include/bits/select2.h: New file.
23406 * debug/Makefile (routines): Add fdelt_chk.
23407 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23408 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23409 FD_ISSET.
23410 * debug/fdelt_chk.c: New file.
23411
762011fe
UD
23412 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23413 * wcsmbs/test-wmemcmp.c: Likewise.
23414 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23415 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23416
234172011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23418
23419 * string/Makefile (strop-tests): Add memcmp.
23420 * string/test-wmemcmp.c: New file.
23421 * string/test-memcmp.c: Add wmemcmp support.
23422
7f513ec8
RM
234232011-09-08 Roland McGrath <roland@hack.frob.com>
23424
0442afb4
RM
23425 [BZ #13153]
23426 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23427 2011-07-19 change.
23428
7f513ec8
RM
23429 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23430 garbage value in a __mach_port_mod_refs call in the cases of the
23431 task-self and thread-self ports.
23432
a12b2239
ST
234332011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23434
23435 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23436
610f9ab4
AS
234372011-09-08 Andreas Schwab <schwab@redhat.com>
23438
7f513ec8 23439 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23440
48882a1a
LD
234412011-09-07 Ulrich Drepper <drepper@gmail.com>
23442
b49865be
UD
23443 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23444
fdc86bc9
UD
23445 * elf/dl-libc.c (dlerror_run): Pass back error code from
23446 dl_catch_error.
23447
c966526a
UD
23448 [BZ #13123]
23449 * elf/dl-load.c (lose): Free l_origin if it is valid.
23450
48882a1a
LD
23451 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23452 names.
23453 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23454 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23455 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23456 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23457 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23458 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23459
77a2a8b4
AZ
234602011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23461
23462 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23463 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23464 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23465 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23466 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23467 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23468 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23469 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23470 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23471 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23472
24f579d8
AM
234732011-08-15 Alan Modra <amodra@gmail.com>
23474
23475 [BZ #13092]
23476 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23477 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23478 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23479 ppc_mcount to static-only-routines.
23480 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23481 __mcount_internal.
23482 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23483 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23484
3d4837df
UD
234852011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23486
23487 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23488 for finite and infinity parameters.
23489
22700377
WS
234902011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23491
23492 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23493 and add nop instructions for throughput optimization.
23494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23495
5025581e
WS
234962011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23497
23498 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23499 aligned copy for power7 with vector-scalar instructions.
23500 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23501
08a300c9
L
235022011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23503
23504 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23505 AVX check.
23506
59178ef9
AS
235072011-09-07 Andreas Schwab <schwab@redhat.com>
23508
23509 [BZ #13144]
23510 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23511 last change.
23512
e38ba7ab
UD
235132011-09-07 Ulrich Drepper <drepper@gmail.com>
23514
23515 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23516 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23517 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23518 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23519 clock_gettime.
23520
d53a73ac
UD
235212011-09-06 Ulrich Drepper <drepper@gmail.com>
23522
fc8bffcc
UD
23523 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23524 Forgot to demangle the pointer.
23525
ceaa0c5d
UD
23526 * sysdeps/i386/sysdep.h: Define atom_text_section.
23527 * sysdeps/x86_64/sysdep.h: Likewise.
23528 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23529 section with atom_text_section.
23530 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23531 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23532 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23533 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23534 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23535
a77d3c17
UD
23536 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23537 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23538 already be defined. Change to take two parameters and don't assign
23539 result to variable. Adjust all users.
23540 Define INTERNAL_GETTIME if not already defined.
23541 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23542 call.
23543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23544 HAVE_CLOCK_GETTIME_VSYSCALL.
23545 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23546
d53a73ac
UD
23547 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23548 gettimeofday vsyscall, just use time.
23549
a8f84144
AS
235502011-09-06 Andreas Schwab <schwab@redhat.com>
23551
23552 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23553 <errno.h>.
23554
ef606249
UD
235552011-09-06 Ulrich Drepper <drepper@gmail.com>
23556
23557 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23558 syscall on x86-64.
23559 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23560 syscall.
23561 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23562 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23563 syscall if possible.
23564
6585cb60
UD
235652011-09-05 Ulrich Drepper <drepper@gmail.com>
23566
23567 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23568 e_ident. Don't pass to find_mapsXX.
23569 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23570
a5f524e4
LD
235712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23572
23573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23574 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23575 * sysdeps/x86_64/multiarch/strchr.S: Update.
23576 Check bit_slow_BSF bit.
23577 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23578 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23579 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23580
554881ef
UD
235812011-09-05 Ulrich Drepper <drepper@gmail.com>
23582
d96de963
UD
23583 [BZ #13134]
23584 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23585 before glibc 2.15.
23586 (tryshell): Define.
23587 (__spawni): Change last parameter to be flag. Test
23588 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23589 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23590 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23591 * posix/spawni.c: Likewise.
23592 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23593 * posix/spawnp.c: Likewise. Change normal version to use
23594 SPAWN_XFLAGS_USE_PATH.
23595 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23596 SPAWN_XFLAGS_TRY_SHELL.
23597
d48e5868
UD
23598 [BZ #13150]
23599 * posix/glob.h: Remove gcc 1.x support.
23600
554881ef
UD
23601 [BZ #13068]
23602 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23603
693fb948
LD
236042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23605
23606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23607 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23608 strrchr-sse2-bsf
23609 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23610 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23611 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23612 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23613 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23614 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23615
1b48c537
UD
236162011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23617
49d42c37
UD
23618 * sysdeps/x86_64/wcscmp.S: New file.
23619
1b48c537
UD
23620 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23621 wcscmp-c wcscmp-sse2
23622 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23623 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23624 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23625 * wcsmbs/wcscmp.c: Allow renaming.
23626
15c95c5d
DM
236272011-09-05 David S. Miller <davem@davemloft.net>
23628
23629 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23630 stack slot, rather than the struct return pointer slot.
23631 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23632 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23634 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23635
2f0ad8f3
UD
236362011-09-05 Ulrich Drepper <drepper@gmail.com>
23637
d88ae418
UD
23638 * po/ja.po: Update from translation team.
23639
2f0ad8f3
UD
23640 [BZ #13144]
23641 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23642 kernel in 64-bit binaries.
23643
5f4318d1
DM
236442011-09-01 David S. Miller <davem@davemloft.net>
23645
23646 * elf/elf.h (HWCAP_SPARC_*): Move to..
23647 * sysdeps/sparc/sysdep.h: this new file and add new values.
23648 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23649 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23650 _DL_HWCAP_COUNT to 24.
23651 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23652 entries.
23653 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23654 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23655 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23656 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23657 instead of magic constants.
23658 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23659
3ba57516
DM
236602011-08-31 David S. Miller <davem@davemloft.net>
23661
23662 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23663 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23664 Reimplement to do errno handling inline.
23665 (SYSCALL_ERROR_HANDLER): New macro.
23666 (__SYSCALL_STRING): Do not do errno handling in asm.
23667 (__CLONE_SYSCALL_STRING): Delete.
23668 (__INTERNAL_SYSCALL_STRING): Delete.
23669 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23670 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23671 (PSEUDO): Reimplement to do errno handling inline.
23672 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23673 (SYSCALL_ERROR_HANDLER): New macro.
23674 (__SYSCALL_STRING): Do not do errno handling in asm.
23675 (__CLONE_SYSCALL_STRING): Delete.
23676 (__INTERNAL_SYSCALL_STRING): Delete.
23677 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23678 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23679 i386.
23680 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23681 (inline_syscall*): Add 'err' argument.
23682 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23683 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23684 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23685 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23686
23687 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23688 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23689
2bc17433
AS
236902011-08-30 Andreas Schwab <schwab@redhat.com>
23691
23692 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23693
fbeb5f4d
JO
236942011-08-29 Jiri Olsa <jolsa@redhat.com>
23695
23696 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23697 directive.
23698
ad69cc26
DM
236992011-08-24 David S. Miller <davem@davemloft.net>
23700
23701 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23702
39dd69df
AS
237032011-08-24 Andreas Schwab <schwab@redhat.com>
23704
23705 * elf/Makefile: Add rules to build and run unload8 test.
23706 * elf/unload8.c: New file.
23707 * elf/unload8mod1.c: New file.
23708 * elf/unload8mod1x.c: New file.
23709 * elf/unload8mod2.c: New file.
23710 * elf/unload8mod3.c: New file.
23711
23712 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23713 it wasn't used.
23714
2c0b250a
DM
237152011-08-23 David S. Miller <davem@davemloft.net>
23716
23717 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23718 subtract stack bias.
23719 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23720 %sp not %fp in calculations.
23721 (_JMPBUF_UNWINDS_ADJ): Likewise.
23722
22044b48
DM
23723 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23724 (aio_suspend): Call it to force an exception region around the
23725 AIO_MISC_WAIT() invocation.
23726
2cae4995
AS
237272011-08-23 Andreas Schwab <schwab@redhat.com>
23728
23729 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23730 backslash.
23731
873a772e
AJ
237322011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23733
23734 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23735 protection macro.
23736 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23737 and <dl-machine.h>.
23738 (Elf64_FuncDesc): Remove.
23739
25ad0df1
DM
237402011-08-22 David S. Miller <davem@davemloft.net>
23741
23742 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23743 sigaltstack check, add missing cfi directives.
23744 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23745 missing cfi directives, and sigaltstack handling.
23746
e888bcbe
AS
237472011-08-16 Andreas Schwab <schwab@redhat.com>
23748
23749 [BZ #11724]
23750 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23751 object is seen twice.
23752 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23753
23754 * elf/Makefile (distribute): Add tst-initorder2.c.
23755 (tests): Add tst-initorder2.
23756 (modules-names): Add tst-initorder2a tst-initorder2b
23757 tst-initorder2c tst-initorder2d. Add rules to build them.
23758 ($(objpfx)tst-initorder2.out): New rule.
23759 * elf/tst-initorder2.c: New file.
23760 * elf/tst-initorder2.exp: New file.
23761
87162f46
AS
237622011-08-22 Andreas Schwab <schwab@redhat.com>
23763
70538b7f
AS
23764 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23765
f55ffe58
AS
23766 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23767 dependencies back to end of function.
23768
87162f46
AS
23769 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23770 $(elfobjdir)/ld.so.
23771
91b392a4
UD
237722011-08-21 Ulrich Drepper <drepper@gmail.com>
23773
23774 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23775 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23776 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23777 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23778 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23779 of __vdso_gettimeofday.
23780 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23781 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23782 attribute_hidden.
23783 (_libc_vdso_platform_setup): Remove initialization of
23784 __vdso_gettimeofday and __vdso_time.
23785
5c43483f
UD
237862011-08-20 Ulrich Drepper <drepper@gmail.com>
23787
775a77e7
UD
23788 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23789 and fgetc_unlocked.
23790 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23791 getc_unlocked.
89f447ed 23792
49c74ba9
UD
23793 * elf/dl-open.c (add_to_global): Report additions to the global scope
23794 for LD_DEBUG=scopes.
23795 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23796 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23797
5c43483f
UD
23798 [BZ #13114]
23799 * stdio-common/Makefile (tests): Add bug24.
23800 * stdio-common/bug24.c: New file.
23801
a101b025
AJ
238022011-08-19 Andreas Jaeger <aj@suse.de>
23803
23804 [BZ #13114]
23805 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23806 non-existant file when using close-on-exec mode.
23807
c88f1766
UD
238082011-08-20 Ulrich Drepper <drepper@gmail.com>
23809
0276a718
UD
23810 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23811 the very first instruction.
23812
c88f1766
UD
23813 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23814 the CFI state in the end.
23815 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23816 inclusion of dl-trampoline.h.
23817 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23818
51ccffa0
AS
238192011-08-19 Andreas Schwab <schwab@redhat.com>
23820
94d7165f
AS
23821 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23822 expectations for long double.
23823
51ccffa0
AS
23824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23825 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23826
fd708658 238272011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23828
23829 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23830 artificual limit depends upon the system page size.
23831
44f0a71e
UD
238322011-08-17 Ulrich Drepper <drepper@gmail.com>
23833
23834 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23835 * resolv/Makefile: Define CFLAGS-libresolv.
23836
8de79a24
AS
238372011-08-17 Andreas Schwab <schwab@redhat.com>
23838
23839 * nss/makedb.c (compute_tables): Make variables used in nested
23840 function static.
23841
27724598
UD
238422011-08-17 Ulrich Drepper <drepper@gmail.com>
23843
c5305d88
UD
23844 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23845 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23846 if buffer was too small.
23847
27724598
UD
23848 * elf/pldd.c (main): Attach to all threads in the process.
23849 Rewrite /proc handling to use *at functions.
23850
076fe015
UD
238512011-08-16 Ulrich Drepper <drepper@gmail.com>
23852
174baab3
UD
23853 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23854 specifies first scope to show.
23855 (dl_open_worker): Update callers. Move printing scope of new
23856 object to before the relocation.
44f0a71e 23857 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23858 * sysdeps/generic/ldsodefs.h: Update declaration.
23859
076fe015
UD
23860 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23861 string for the scope number.
23862
a60df2c3
UD
238632011-08-14 Ulrich Drepper <drepper@gmail.com>
23864
23865 * nscd/servicescache.c (cache_addserv): Make sure written is always
23866 initialized.
23867
5e4287d1
RM
238682011-08-14 Roland McGrath <roland@hack.frob.com>
23869
85ae0589
RM
23870 * sysdeps/i386/i486/bits/atomic.h
23871 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23872 statement expression, so as to suppress "set but not used" warning.
23873 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23874
69f63097
RM
23875 * string/strncat.c (STRNCAT): Use prototype definition.
23876
675456ef
RM
23877 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23878 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23879 -Iprograms here.
23880 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23881 (localedef-modules): Add localedef.
23882 (locale-modules): Add locale.
23883
5e4287d1
RM
23884 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23885 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23886 to avoid a warning.
23887
9c96ff23
DM
238882011-08-14 David S. Miller <davem@davemloft.net>
23889
23890 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23891 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23892
f9ddf089
UD
238932011-08-13 Ulrich Drepper <drepper@gmail.com>
23894
44f0a71e 23895 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23896 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23897 * elf/rtld.c (dl_main): Set l_name of vDSO.
23898 Call _dl_show_scope when DL_DEBUG_SCOPES.
23899 (process_dl_debug): Recognize scopes flag and also set it for all.
23900 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23901 Declare _dl_show_scope.
23902
1dc27704
UD
23903 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23904 (do_dlopen): Pass caller_dlopen to dl_open.
23905 (__libc_dlopen_mode): Initialize caller_dlopen.
23906
f9ddf089
UD
23907 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23908 of libc. Make tolower call locale-independent. Optimize a bit by
23909 using isdigit instead of isalnum.
23910 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23911
9ac533d3
UD
239122011-08-12 Ulrich Drepper <drepper@gmail.com>
23913
23914 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23915 was a dependency or dynamically loaded.
23916
89edf2e9
UD
239172011-08-11 Ulrich Drepper <drepper@gmail.com>
23918
8e999d29
UD
23919 * intl/l10nflist.c: Allow architecture-specific pop function.
23920 * sysdeps/x86_64/l10nflist.c: New file.
23921
89edf2e9
UD
23922 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23923 classification.
23924
14d96785
AS
239252011-08-10 Andreas Schwab <schwab@redhat.com>
23926
23927 * include/dirent.h: Add libc_hidden_proto for scandirat and
23928 scandirat64. Don't declare __scandirat64.
23929 * dirent/scandirat.c: Add libc_hidden_def.
23930 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23931 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23932
6761ac04
DM
239332011-08-10 David S. Miller <davem@davemloft.net>
23934
23935 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23936 enum.
23937 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23938 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23939 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23940
c55fbd1e
UD
239412011-08-09 Ulrich Drepper <drepper@gmail.com>
23942
23943 * Versions.def [libc]: Add GLIBC_2.15.
23944 * dirent/Makefile (routines): Add scandirat and scandirat64.
23945 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23946 GLIBC_2.15.
23947 * dirent/dirent.h: Declare scandirat and scandirat64.
23948 * dirent/scandirat.c: New file.
23949 * dirent/scandirat64.c: New file.
23950 * sysdeps/wordsize-64/scandirat.c: New file.
23951 * sysdeps/wordsize-64/scandirat64.c: New file.
23952 * dirent/opendir.c: Define opendirat.
23953 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23954 using scandirat.
23955 * dirent/scandir64.c: Adjust for scandir.c change.
23956 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23957 __scandirat64, and __scandir_cancel_handler.
23958 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23959 additional parameter and use openat instead of open (outside of ld.so).
23960 Add new __opendir as wrapper around __opendirat.
23961 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23962 here without requiring old scandirat implementation.
23963
879165f2
UD
239642011-08-08 Ulrich Drepper <drepper@gmail.com>
23965
23966 * dirent/scandir.c (cancel_handler): Renamed to
23967 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23968 defined. Adjust users.
23969 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23970 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23971
cb7e923b
UD
239722011-08-04 Ulrich Drepper <drepper@gmail.com>
23973
16292edd
UD
23974 * string/test-string.h (IMPL): Use __STRING to expand name and then
23975 stringify it.
23976
cb7e923b
UD
23977 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23978 of cleanups.
23979
cff82933
LD
239802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23981
23982 * string/Makefile: Update.
23983 (strop-tests): Append strncat.
23984 * string/test-wcscmp.c: New file.
23985 New comprehensive test for wcscmp.
23986 * string/test-strcmp.c: Update.
23987 (WIDE): New define.
23988
9be9bfcc
AS
239892011-07-22 Andreas Schwab <schwab@redhat.com>
23990
23991 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23992 line.
23993
2e96f1c7
AS
239942011-07-26 Andreas Schwab <schwab@redhat.com>
23995
23996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23997 encoding to ACE if AI_IDN.
23998
85188888
JJ
239992011-08-01 Jakub Jelinek <jakub@redhat.com>
24000
24001 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24002 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24003
5fa16e9b
LD
240042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24005
24006 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24007 Fix overflow bug in strncat.
24008 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24009
24010 * string/test-strncat.c: Update.
24011 Add new tests for checking overflow bugs.
24012
240132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24014
24015 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24016 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24017 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24018 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24019 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24020 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24021 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24022 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24023 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24024
24025 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24026 (USE_AS_STRCAT): Define.
24027 Add strcat and strncat support.
24028 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24029
8c1a459f
AS
240302011-07-25 Andreas Schwab <schwab@redhat.com>
24031
24032 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24033 __n bigger than INT_MAX+1.
24034 (__strncmp_g): Likewise.
24035
bba33c28
UD
240362011-07-23 Ulrich Drepper <drepper@gmail.com>
24037
798be72d
UD
24038 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24039 * libio/stido.h: Likewise.
24040
8accd4dc
UD
24041 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24042 (AF_NFC): Define.
24043 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24044 (AF_NFC): Define.
24045
cbff0d96
UD
24046 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24047 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24048 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24049 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24050 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24051
9191c04a
UD
24052 [BZ #13021]
24053 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24054 installed.
24055
bba33c28
UD
24056 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24057 typo.
24058 (_dl_x86_64_save_sse): Likewise.
24059
90f139dd
UD
240602011-07-22 Ulrich Drepper <drepper@gmail.com>
24061
1aae088a
UD
24062 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24063 OSXSAVE.
24064 (_dl_x86_64_save_sse): Likewise.
24065
8e2045f5
UD
24066 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24067
90f139dd
UD
24068 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24069
1d002f25
AS
240702011-07-21 Andreas Schwab <schwab@redhat.com>
24071
24072 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24073 change.
24074 (_dl_x86_64_save_sse): Use correct AVX check.
24075
21137f89
UD
240762011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24077
24078 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24079 bug in strncpy/strncat.
24080 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24081
a65c0b7a
UD
240822011-07-21 Ulrich Drepper <drepper@gmail.com>
24083
24084 * string/tester.c (test_strcat): Add tests for different alignments
24085 of source and destination.
24086 (test_strncat): Likewise.
24087
6986b98a
UD
240882011-07-20 Ulrich Drepper <drepper@gmail.com>
24089
90bb2039
UD
24090 [BZ #12852]
24091 * posix/glob.c (glob): Check passed in values before using them in
24092 expressions to avoid some overflows.
24093 (glob_in_dir): Likewise.
24094
5644ef54
UD
24095 [BZ #13007]
24096 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24097 check for AVX enablement so that we don't crash with old kernels and
24098 new hardware.
24099 * elf/tst-audit4.c: Add same checks here.
24100 * elf/tst-audit6.c: Likewise.
24101
24102 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24103
bfc9dc9b
AS
241042011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24105
24106 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24107
702e64bb
UD
241082011-07-20 Ulrich Drepper <drepper@gmail.com>
24109
24110 * po/cs.po: Update from translation team.
24111 * po/bg.po: Likewise.
24112
295e904f
MP
241132011-07-12 Marek Polacek <mpolacek@redhat.com>
24114
24115 * misc/sys/cdefs.h: Add support for const attribute.
24116 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24117 to gnu_dev_{major,minor,makedev} functions.
24118
3ff94596
MP
241192011-07-20 Marek Polacek <mpolacek@redhat.com>
24120
24121 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24122
28b59fca
AS
241232011-07-20 Andreas Schwab <schwab@redhat.com>
24124
24125 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24126 strlen results.
24127
19df733e
AK
241282011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24129
24130 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24131 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24132 register in order to avoid conflicts with the soft frame pointer
24133 being held in r11 when necessary.
24134 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24135 (INTERNAL_VSYSCALL_NCS): Likewise.
24136
c8835729
MP
241372011-07-14 Marek Polacek <mpolacek@redhat.com>
24138
24139 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24140 * elf/dl-fini.c (_dl_fini): Adjust caller.
24141 * elf/dl-close.c (_dl_close_worker): Likewise.
24142 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24143
b902330c
MP
241442011-07-15 Marek Polacek <mpolacek@redhat.com>
24145
8991e135
MP
24146 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24147 "aux_cache->nlibs < 0".
24148
b902330c
MP
24149 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24150 in the reload-count case.
24151
99710781
LD
241522011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24153
24154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24155 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24156 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24157 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24158 * sysdeps/x86_64/multiarch/strcat.S: New file.
24159 * sysdeps/x86_64/multiarch/strncat.S: New file.
24160 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24161 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24162 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24163 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24164 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24165 (USE_AS_STRCAT): Define.
24166 Add strcat and strncat support.
24167 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24168 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24169 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24170 * string/strncat.c: Update.
24171 (USE_AS_STRNCAT): Define.
24172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24173 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24174 and i7.
24175 * sysdeps/x86_64/multiarch/init-arch.h
24176 (bit_Prefer_PMINUB_for_stringop): New.
24177 (index_Prefer_PMINUB_for_stringop): Likewise.
24178 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24179 bit_Prefer_PMINUB_for_stringop.
24180
7dc6bd90
UD
241812011-07-19 Ulrich Drepper <drepper@gmail.com>
24182
24183 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24184 buffer64.
24185 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24186 of casting of buffer.
24187 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24188 buffer32 and buffer64.
24189 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24190 writes instead of casting of buffer.
24191 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24192 buffer32.
24193 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24194 casting of buffer.
24195
e0e72284
AS
241962011-07-19 Andreas Schwab <schwab@redhat.com>
24197
24198 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24199
feb1eb0b
UD
242002011-07-19 Ulrich Drepper <drepper@gmail.com>
24201
24202 * nscd/nscd.c (termination_handler): Don't do anything for a database
24203 if it has not yet been initialized.
24204
298711ff
UD
242052011-07-18 Ulrich Drepper <drepper@gmail.com>
24206
24207 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24208
242092011-07-15 Marek Polacek <mpolacek@redhat.com>
24210
24211 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24212
f9d68389
UD
242132011-07-18 Ulrich Drepper <drepper@gmail.com>
24214
24215 * po/nl.po: Update from translation team.
24216 * po/sv.po: Likewise.
24217
db290cf5
RM
242182011-07-16 Roland McGrath <roland@hack.frob.com>
24219
24220 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24221 now disallowed by GCC.
5c550700 24222
fd5e21c7
RM
24223 * configure.in (use-default-link): Default to yes if a test -shared
24224 link meets our qualifications.
24225 * configure: Regenerated.
24226
5c550700
RM
24227 * config.make.in (output-format): New variable.
24228 * configure.in: Check for ld --print-output-format support.
24229 * configure: Regenerated.
24230 * Makerules ($(common-objpfx)format.lds)
24231 [$(output-format) != unknown]: Just use $(output-format),
24232 instead of the linker-script munging.
24233
9fa2c032
RM
242342011-07-14 Roland McGrath <roland@hack.frob.com>
24235
a6928d51
RM
24236 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24237 of $(common-objpfx)shlib.lds.
24238 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24239
661607b3
RM
24240 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24241 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24242
9fa2c032
RM
24243 * configure.in (-z relro check): Adjust test code to add a large
24244 writable data section after it.
24245 * configure: Regenerated.
24246
defe9061
RM
242472011-07-11 Roland McGrath <roland@hack.frob.com>
24248
24249 * configure.in (-z relro check): Fix test code to make the variable
24250 truly const.
24251 * configure: Regenerated.
24252
319b9ad4
UD
242532011-07-11 Ulrich Drepper <drepper@gmail.com>
24254
24255 * nscd/nscd.h (struct traced_file): Define.
24256 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24257 elements. Add traced_files.
24258 (inotify_fd): Declare.
24259 (register_traced_file): Declare.
24260 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24261 (inotify_fd): Export.
24262 (resolv_conf_descr): Remove.
24263 (nscd_init): Move inotify descriptor creation to main.
24264 Don't register files for notification here.
24265 (register_traced_file): New function.
24266 (invalidate_cache): Don't use reset_res to determine whether to call
24267 res_init, go through the list of registered files.
24268 (main_loop_poll): The inotify descriptors are now stored in the
24269 structures for the traced files.
24270 (main_loop_epoll): Likewise
24271 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24272 to __nss_disable_nscd.
24273 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24274 for a database anymore. Check the records for all the registered
24275 files instead.
24276 * nss/Makefile (libnss_files-routines): Add files-init.
24277 (libnss_db-routines): Add db-init.
24278 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24279 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24280 * nss/nss_db/db-init.c: New file.
24281 * nss/nss_files/files-init.c: New file.
24282 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24283 __nss_lookup_function.
24284 (__nss_lookup_function): Call nss_load_library.
24285 (nss_load_all_libraries): New function.
24286 (__nss_disable_nscd): Take parameter with callback function for files
24287 to register. Set is_nscd. Load all the DSOs for the NSS modules
24288 used for the cached services.
24289 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24290 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24291 options for features to all the files in nscd.
24292
24293 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24294
23bee3e8
RM
242952011-07-10 Roland McGrath <roland@hack.frob.com>
24296
24297 * csu/elf-init.c (__libc_csu_init): Comment typo.
24298
46a5b7f0
UD
242992011-07-09 Ulrich Drepper <drepper@gmail.com>
24300
24301 * po/pl.po: Update from translation team.
24302 * po/ja.po: Likewise.
24303 * po/ru.po: Likewise.
24304 * po/ko.po: Likewise.
24305 * po/fr.po: Likewise.
24306
d30cf5bb
RM
243072011-07-09 Roland McGrath <roland@hack.frob.com>
24308
113ddea4
RM
24309 * configure.in (.ctors/.dtors header and trailer check):
24310 Use an empirical test on a built program.
24311 * configure: Regenerated.
24312
574920b4
RM
24313 * configure.in (-z relro check): Use an empirical test on a built DSO.
24314 Detect, but do not require, on ia64.
24315 * configure: Regenerated.
24316
d30cf5bb
RM
24317 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24318 Update tests that use readelf to use $READELF instead.
24319 * configure: Regenerated.
24320
8538fdb3
UD
243212011-07-08 Ulrich Drepper <drepper@gmail.com>
24322
24323 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24324 if the result is not used.
24325
04d08991
AJ
243262011-07-05 Andreas Jaeger <aj@suse.de>
24327
24328 [BZ#9696]
24329 * stdlib/tst-strtod.c: Add testcase.
24330
de283087
AD
243312011-07-07 Ulrich Drepper <drepper@gmail.com>
24332
4e5f31c8 24333 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24334 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24335 The latter has a higher limit. Take additional parameter to pass to
24336 the new function.
24337 (__pathconf): Pass file to __statfs_link_max.
24338 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24339 __statfs_link_max.
24340 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24341 __statfs_link_max.
24342
de283087
AD
24343 [BZ #12868]
24344 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24345 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24346 Handle Lustre.
24347 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24348 (__statfs_filesize_max): Likewise.
24349 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24350
c75fa153
AJ
243512011-07-05 Andreas Jaeger <aj@suse.de>
24352
24353 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24354
1a544854
UD
243552011-07-06 Marek Polacek <mpolacek@redhat.com>
24356
24357 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24358 `status' variable.
24359 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24360 Likewise.
24361
6f0eec67
UD
243622011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24363
24364 * Makefile (strop-tests): Add strncat.
24365 * string/test-strncat.c: New file.
24366
aae30307
UD
243672011-06-30 Marek Polacek <mpolacek@redhat.com>
24368
24369 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24370
c0cfb5eb
UD
243712011-06-21 Andreas Jaeger <aj@suse.de>
24372
24373 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24374 Copy rule from iconvdata/Makefile.
24375
01636b21
UD
243762011-07-06 Ulrich Drepper <drepper@gmail.com>
24377
24378 [BZ #12922]
24379 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24380 but no long options are defined, just return 'W'.
24381
9895c8bc
UD
243822011-06-22 Marek Polacek <mpolacek@redhat.com>
24383
24384 [BZ #9696]
24385 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24386
5d4cf042
UD
243872011-07-06 Ulrich Drepper <drepper@gmail.com>
24388
24389 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24390 netgroups to read.
960e5535 24391 (innetgr): Likewise.
5d4cf042 24392
751eb97e
RM
243932011-07-05 Roland McGrath <roland@hack.frob.com>
24394
24395 * config.make.in (install_root): Default to $(DESTDIR).
24396
f15f1e45
UD
243972011-07-05 Ulrich Drepper <drepper@gmail.com>
24398
24399 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24400
4e34ac6a
RM
244012011-07-02 Roland McGrath <roland@hack.frob.com>
24402
5e9b6af4
RM
24403 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24404
84f9ea0f
RM
24405 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24406 containing directory rather than embedding absolute directory names.
24407
ea5ee9f7
RM
24408 * scripts/check-local-headers.sh: Rewritten using awk.
24409 Match by word, not by line. Print error messages for matches.
24410 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24411
1b74661a
RM
24412 * Makerules [shlib-lds-flags empty]:
24413 ($(common-objpfx)libc_pic.opts): New target.
24414 ($(common-objpfx)libc_pic.os.clean): New target.
24415 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24416
24417 * config.make.in (OBJCOPY): New variable.
24418 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24419 * configure: Regenerated.
24420
f781ef40
RM
24421 * config.make.in (use-default-link): New variable.
24422 * configure.in (use_default_link): Grok --with-default-link to set it.
24423 * configure: Regenerated.
24424 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24425 (shlib-lds, shlib-lds-flags): Define to empty.
24426
2d4fa81e
RM
24427 * Makerules (shlib-lds): New variable.
24428 (shlib-lds-flags): New variable.
24429 (build-shlib, build-moduile, build-module-asneeded): Use it.
24430 ($(common-objpfx)libc.so): Use $(shlib-lds).
24431 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24432 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24433
31fffa6b
RM
24434 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24435 DT_FLAGS/DT_FLAGS_1 with zero flags.
24436
4e34ac6a
RM
24437 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24438 linker script munging.
24439
fcfc776b
UD
244402011-07-02 Ulrich Drepper <drepper@gmail.com>
24441
24442 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24443 as 128-bit value.
24444 * crypt/sha512.c (sha512_process_block): Perform total addition using
24445 128-bit if possible.
24446 (__sha512_finish_ctx): Likewise.
24447 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24448 as 64-bit value.
24449 * crypt/sha256.c (SWAP64): Define.
24450 (sha256_process_block): Perform total addition using 64-bit if
24451 possible.
24452 (__sha256_finish_ctx): Likewise.
24453
99231d9a
UD
244542011-07-01 Ulrich Drepper <drepper@gmail.com>
24455
24456 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24457 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24458 * nscd/hstcache.c (cache_addhst): Likewise.
24459 * nscd/grpcache.c (cache_addgr): Likewise.
24460 * nscd/aicache.c (addhstaiX): Likewise
24461 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24462
445b4a53
TK
244632011-07-01 Thorsten Kukuk <kukuk@suse.de>
24464
24465 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24466 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24467 * nscd/hstcache.c (cache_addhst): Likewise.
24468 * nscd/grpcache.c (cache_addgr): Likewise.
24469 * nscd/aicache.c (addhstaiX): Likewise
24470
6d4d8e8e
AS
244712011-07-01 Andreas Schwab <schwab@redhat.com>
24472
24473 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24474 domain only when needed.
24475
89f654c5
AS
244762011-06-30 Andreas Schwab <schwab@redhat.com>
24477
24478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24479 is always restored.
24480
cf3b23ff
UD
244812011-06-29 Ulrich Drepper <drepper@gmail.com>
24482
24483 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24484 are re-adding the entry.
24485 * nscd/servicescache.c (cache_addserv): Likewise.
24486
751626f9
AJ
244872011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24488
24489 * sysdeps/generic/dl-irel.h: fix protection against multiple
24490 inclusions.
24491 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24492
9113ea1f
UD
244932011-06-28 Ulrich Drepper <drepper@gmail.com>
24494
5c0b8d90
UD
24495 [BZ #12935]
24496 * malloc/memusage.sh: Fix quoting in message.
24497 * debug/xtrace.sh: Likewise.
24498
9113ea1f
UD
24499 * configure.in: Remove support for --experimental-malloc option, make
24500 it the default.
24501 * config.make.in: Likewise.
24502 * malloc/Makefile: Likewise.
24503
a4172181
AS
245042011-06-27 Andreas Schwab <schwab@redhat.com>
24505
24506 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24507 two-byte characters.
24508
78a7eee7
RM
245092011-06-27 Roland McGrath <roland@hack.frob.com>
24510
62bede13
RM
24511 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24512 AC_CACHE_CHECK invocation.
24513 * configure: Regenerated.
24514
78a7eee7
RM
24515 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24516
5ce33a62
UD
245172011-06-27 Ulrich Drepper <drepper@gmail.com>
24518
034807a9
UD
24519 [BZ #12350]
24520 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24521 bit from old_res_options.
24522
4902da17
UD
24523 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24524
5ce33a62
UD
24525 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24526 value type for setfct.
24527
c2344f56
L
245282011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24529
24530 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24531 __gettimeofday instead of gettimeofday.
24532
68468076
UD
245332011-06-26 Ulrich Drepper <drepper@gmail.com>
24534
24535 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24536
acb0d739
L
245372011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24538
24539 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24540
24541 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24542 info.
24543
8912479f
L
245442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24545
24546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24547 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24548 strcpy-sse2-unaligned strncpy-sse2-unaligned
24549 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24550 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24551 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24552 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24553 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24554 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24555 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24556 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24557 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24558 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24559 (STRCPY): Support SSE2 and SSSE3 versions.
24560
d5495a11
UD
245612011-06-24 Ulrich Drepper <drepper@gmail.com>
24562
24563 [BZ #12874]
24564 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24565 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24566 kernels which artificially limit size of requests.
24567
0b1cbaae
L
245682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24569
24570 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24571 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24572 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24573 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24574 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24575 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24576 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24577 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24578 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24579 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24580 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24581 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24582 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24583 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24584 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24586 Enable unaligned load optimization for Intel Core i3, i5 and i7
24587 processors.
24588 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24589 Define.
24590 (index_Fast_Unaligned_Load): Define.
24591 (HAS_FAST_UNALIGNED_LOAD): Define.
24592
07f494a0
MP
245932011-06-23 Marek Polacek <mpolacek@redhat.com>
24594
24595 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24596
fa3fc0fe
UD
245972011-06-22 Ulrich Drepper <drepper@gmail.com>
24598
24599 [BZ #12907]
24600 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24601 until it is clear that the information is realy needed.
24602 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24603
e12df166
AS
246042011-06-22 Andreas Schwab <schwab@redhat.com>
24605
24606 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24607
852eb34d
UD
246082011-06-22 Ulrich Drepper <drepper@gmail.com>
24609
84e2a551
UD
24610 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24611 /sys/devices/system/cpu/online if it is usable.
24612
852eb34d
UD
24613 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24614 reading the information from the /proc filesystem to once a second.
24615
6e502e19
UD
246162011-06-21 Andreas Jaeger <aj@suse.de>
24617
24618 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24619 NULL after inclusion of kernel headers.
24620
75d39ff2
UD
246212011-06-21 Ulrich Drepper <drepper@gmail.com>
24622
51f9aa6a
UD
24623 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24624 calls to internal_setent.
24625
c0244a9d
UD
24626 [BZ #12885]
24627 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24628 addresses using gethostbyname4_r ignore IPv4 addresses.
24629
c5e3c2ae
UD
24630 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24631 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24632
75d39ff2
UD
24633 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24634
42675c6f
DM
246352011-06-20 David S. Miller <davem@davemloft.net>
24636
24637 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24638 inclusions.
24639 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24640
24641 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24642 (elf_irel): Use it.
24643 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24644 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24645 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24646 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24647 * sysdeps/x86_64/dl-irel.h: Likewise.
24648
24649 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24650 * elf/dl-sym.c: Likewise.
24651
57912a71
UD
246522011-06-15 Ulrich Drepper <drepper@gmail.com>
24653
24654 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24655 need to dereference resplen2.
24656
ee22793d
AS
246572011-06-14 Andreas Schwab <schwab@redhat.com>
24658
24659 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24660
a9e836b0
UD
246612011-06-15 Ulrich Drepper <drepper@gmail.com>
24662
77fb9117
UD
24663 * Makeconfig: Define vardbdir and inst_vardbdir.
24664 * nss/Makefile: Add rules to install db-Makefile.
24665
40c1b22c
UD
24666 * nss/nss_db/db-XXX.c: Cleanup.
24667
9f2da732
UD
24668 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24669 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24670 GLIBC_PRIVATE.
24671 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24672 * nss/makedb.c: Implement -g option to specify that value strings
24673 are generated and should not be added to table iterated over for
24674 get*ent calls.
24675 * nss/nss_db/db-initgroups.c: New file.
24676
82e9a1f7
UD
24677 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24678 interface.
24679
c41af17e
UD
24680 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24681 (internal_getgrouplist): Adjust to name change.
24682 Update use_initgroups_entry if this is not the first call.
24683 * nss/databases.def: Add initgroups entry.
24684
a9e836b0
UD
24685 * nss/makedb.c (compute_tables): Check result of multiple hash table
24686 sizes to minimize maximum chain length.
24687
2666d441
UD
246882011-06-14 Ulrich Drepper <drepper@gmail.com>
24689
24690 * Versions.def: Add entry for libnss_db.
24691 * shlib-versions: Likewise.
24692 * nss/Makefile: Add rules to build libnss_db.
24693 * nss/Versions: Add libnss_db information. Organize libnss_files
24694 entries better.
24695 * nss/db-Makefile: Add gshadow support. Change rules for the new
24696 makedb progra. Some minor improvements to generate smaller files.
24697 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24698 here from...
24699 * nss/makedb.c: ...here.
24700 Improve database format to be smaller and require less memory at
24701 runtime.
24702 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24703 db anymore.
24704 * nss/nss_db/db-netgrp.c: Likewise.
24705 * nss/nss_db/db-open.c: Likewise.
24706 * nss/nss_files/flies-XXX.x: Adjust comments.
24707 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24708 * nss/nss_files/files-grp.c: Likewise.
24709 * nss/nss_files/files-hosts.c: Likewise.
24710 * nss/nss_files/files-network.c: Likewise.
24711 * nss/nss_files/files-proto.c: Likewise.
24712 * nss/nss_files/files-pwd.c: Likewise.
24713 * nss/nss_files/files-rpc.c: Likewise.
24714 * nss/nss_files/files-service.c: Likewise.
24715 * nss/nss_files/files-sgrp.c: Likewise.
24716 * nss/nss_files/files-spwd.c: Likewise.
24717 * nss/nss_db/db-alias.c: Removed.
24718 * nss/nss_db/dummy-db.h: Removed.
24719
9ee76b5a
UD
247202011-06-02 Ulrich Drepper <drepper@gmail.com>
24721
24722 * nss/makedb.c: Rewritten to not use database library.
24723 * nss/Makefile: Update to build new makedb program.
24724
c71ca1f8
AJ
247252011-06-14 Andreas Jaeger <aj@suse.de>
24726
24727 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24728 memset declaration.
24729
3154bfb8
UD
247302011-06-10 Andreas Schwab <schwab@redhat.com>
24731
24732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24733 tmpbuf.
24734
b350afab
RM
247352011-06-10 Roland McGrath <roland@hack.frob.com>
24736
decd4e50
RM
24737 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24738 * elf/Makefile ($(objpfx)ld.so): Likewise.
24739
5615eaf2
RM
24740 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24741 Don't list ld.so twice in dependencies.
24742
24743 * posix/bug-regex31.c: Include <stdlib.h>.
24744
24745 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24746
24747 * nis/nss_compat/compat-spwd.c
24748 (getspent_next_nss_netgr): Remove unused variable.
24749 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24750
24751 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24752 nonmembers" output to use the right array.
24753
24754 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24755
24756 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24757
24758 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24759 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24760 * catgets/gencat.c (read_input_file): Likewise.
24761 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24762
24763 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24764 variable definition inside #if's controlling its use.
24765
24766 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24767
24768 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24769
24770 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24771
24772 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24773 unreachable code.
24774
24775 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24776
b68e08db
RM
24777 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24778 * configure: Regenerated.
24779
b350afab
RM
24780 * Makerules: Revert last change.
24781 * elf/Makefile: Likewise.
24782
28368601
RM
247832011-06-09 Roland McGrath <roland@hack.frob.com>
24784
24785 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24786 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24787 (reloc-link): Likewise.
24788
11988f8f
UD
247892011-06-09 Ulrich Drepper <drepper@gmail.com>
24790
24791 * elf/Makefile: Add rules to build pldd.
24792 * elf/pldd.c: New file.
24793 * elf/pldd-xx.c: New file.
24794
e80fab37
UD
247952011-06-07 Ulrich Drepper <drepper@gmail.com>
24796
24797 * version.h: Update for 2.15 development version.
24798
9b849836
DM
247992011-06-07 David S. Miller <davem@davemloft.net>
24800
24801 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24802 ifuncs.
24803 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24804 elf_machine_lazy_rel): Likewise.
24805 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24806 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24807 elf_machine_lazy_rel): Likewise.
24808 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24809 dl_hwcap via passed in argument.
24810 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24811 Likewise.
24812
5a31b283
AK
248132011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24814
24815 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24816
069e52f8
RM
248172011-06-06 Roland McGrath <roland@hack.frob.com>
24818
24819 [BZ #12849]
24820 * manual/fdl-1.1.texi: New file, verbatim from:
24821 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24822 * manual/lgpl-2.1.texi: New file, verbatim from:
24823 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24824 * manual/Makefile (licenses): New variable, list those new file names.
24825 (texis): Use it.
24826 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24827
24828 * manual/fdl.texi: File removed.
24829 * manual/lesser.texi: File removed.
24830 * manual/libc.texinfo (Copying, Documentation License):
24831 Use new @include file names, put @appendix directive before @include.
24832
f16846a5
JJ
248332011-06-04 Jakub Jelinek <jakub@redhat.com>
24834
24835 [BZ #12841]
24836 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24837 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24838 (mq_open): Add __NTH.
24839
3d29045b
L
248402011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24841
24842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24843 Assume Intel Core i3/i5/i7 processor if AVX is available.
24844
8c297311
UD
248452011-05-31 Ulrich Drepper <drepper@gmail.com>
24846
24847 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24848 typo.
24849
c8fc0c91
UD
248502011-05-31 Andreas Schwab <schwab@redhat.com>
24851
24852 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24853 memory. Use alloca_account. Fix memory leak when retrying.
24854
5b27a807
UD
248552011-05-31 Ulrich Drepper <drepper@gmail.com>
24856
356f8bc6
UD
24857 * version.h (RELEASE): Bump for 2.14 release.
24858 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24859
5b27a807
UD
24860 * config.make.in (RANLIB): Remove entry.
24861
01f16ab0
UD
248622011-05-30 Ulrich Drepper <drepper@gmail.com>
24863
41fce8bd
UD
24864 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24865 (libc.pot): Work around missing support for .ksh extension in xgettext.
24866
4769ae77
UD
24867 [BZ #12684]
24868 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24869 if both request failed.
24870 (send_dg): In case of server errors clear resplen or *resplen2.
24871
6b1e7d19
UD
24872 [BZ #12454]
24873 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24874 when there are multiple maps.
24875 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24876 (_dl_fini): Remove test here.
24877
01f16ab0
UD
24878 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24879
b1ebd700
UD
248802011-05-29 Ulrich Drepper <drepper@gmail.com>
24881
7ae22829
UD
24882 [BZ #12350]
24883 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24884 bit from old_res_options.
24885 (gaih_inet): Likewise.
24886
553149f6 24887 [BZ #11099]
18a84741 24888 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24889 as signed.
24890
652ffab1
UD
24891 * resolv/res_init.c (res_setoptions): Make the code more compact.
24892
16985fd0
UD
24893 [BZ #11558]
24894 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24895 set RES_USEVC.
24896
0464f746
UD
24897 [BZ #11634]
24898 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24899
7d17596c
UD
24900 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24901
cf6bbbd7
UD
24902 [BZ #11781]
24903 * malloc/malloc.h: Declare malloc hook variables as volatile.
24904
13f1ab36
UD
24905 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24906 in last patch.
24907
b1ebd700
UD
24908 [BZ #11799]
24909 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24910 raise in the comment.
80e2212d
UD
24911 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24912 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24913 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24914
ce67228d
UD
249152011-05-28 Ulrich Drepper <drepper@gmail.com>
24916
8887a920
UD
24917 [BZ #12811]
24918 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24919 grow the buffers more if it already has to be sufficient.
24920 (build_wcs_upper_buffer): Likewise.
24921 * posix/regexec.c (check_matching): Likewise.
24922 (clean_state_log_if_needed): Likewise.
24923 (extend_buffers): Don't enlarge buffers beyond size of the input
24924 buffer.
24925 Patches mostly by Emil Wojak <emil@wojak.eu>.
24926 * posix/bug-regex32.c: New file.
24927 * posix/Makefile (tests): Add bug-regex32.
24928
4f031072
UD
24929 * locale/findlocale.c (_nl_find_locale): Return right away if
24930 _nl_explode_name failed.
24931 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24932
d0478f0c
UD
24933 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24934
de81b246
UD
24935 * debug/xtrace.sh: Unify messages.
24936 * malloc/memusage.sh: Likewise.
24937
c738465a
UD
24938 [BZ #12813]
24939 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24940 time symbol from vDSO. Substitute with vsyscall if not available.
24941 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24942 __vdso_time.
24943
f1f929d7
UD
24944 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24945 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24946 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24947 Add sendmmsg and internal_sendmmsg.
24948 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24949 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24950 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24951
ce67228d
UD
24952 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24953 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24954 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24955
e57420c6
UD
249562011-05-27 Ulrich Drepper <drepper@gmail.com>
24957
a8509ca5
UD
24958 [BZ #12813]
24959 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24960 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24961 available.
24962 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24963 __vdso_getcpu.
24964
e57420c6
UD
24965 [BZ #12814]
24966 * iconvdata/Makefile (tests): Add bug-iconv9.
24967 * iconvdata/bug-iconv9.c: New file.
24968
4d07db15
AS
249692011-05-27 Andreas Schwab <schwab@redhat.com>
24970
24971 [BZ #12814]
24972 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24973
ea486f69
JJ
249742011-05-25 Jakub Jelinek <jakub@redhat.com>
24975
24976 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24977 (struct user_regs_struct): Change intcs field back to cs.
24978
6f038433
UD
249792011-05-25 Ulrich Drepper <drepper@gmail.com>
24980
24981 * po/ja.po: Update from translation team.
24982
67f86a25
UD
249832011-05-23 Ulrich Drepper <drepper@gmail.com>
24984
24985 [BZ #12795]
24986 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24987 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24988
def7fbd6
AS
249892011-05-20 Andreas Schwab <schwab@redhat.com>
24990
24991 * stdlib/longlong.h: Update from GCC.
24992
f50ef8f1
AS
249932011-05-23 Andreas Schwab <schwab@redhat.com>
24994
24995 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24996 parameter name.
24997 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24998 Add parameter name.
24999 (__sysconf): Pass it down.
25000
de7ce8f1
UD
250012011-05-22 Ulrich Drepper <drepper@gmail.com>
25002
f2962a71
UD
25003 [BZ #12671]
25004 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25005 some situations.
25006 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25007 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25008 add in in __libc_use_alloca calls. Adjust callers.
25009 (glob): Use malloc in some situations.
25010
de7ce8f1
UD
25011 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25012 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25013 pltexit.
25014
aec84f53
UD
250152011-05-21 Ulrich Drepper <drepper@gmail.com>
25016
05bb4a68
UD
25017 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25018 and CLOCK_BOOTTIME_ALARM.
25019
7ea72f99
UD
25020 [BZ #12782]
25021 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25022 is returned.
25023
7e4afad5
UD
25024 * string/_strerror.c (__strerror_r): Print negative errors as signed
25025 numbers.
25026
8e211fec
UD
25027 [BZ #12777]
25028 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25029 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25030 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25031
f7d82dc9
UD
25032 * configure.in: Fix typo in redirection and correct removal of test
25033 files in two cases.
25034
cc9e536d
UD
25035 [BZ #12788]
25036 * locale/setlocale.c (new_composite_name): Fix test to check for
25037 identical name of all categories.
25038
aec84f53
UD
25039 [BZ #12792]
25040 * libio/filedoalloc.c (local_isatty): New function.
25041 (_IO_file_doallocate): Use local_isatty.
25042 * stdio-common/perror.c (perror): In case a new stream is used
25043 forward the stream error.
25044 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25045 error flag.
25046
78e64fdc
RT
250472011-05-20 Ulrich Drepper <drepper@gmail.com>
25048
34a9094f
UD
25049 [BZ #11869]
25050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25051 alloca.
25052 * include/alloca.h (extend_alloca_account): Define.
25053
78e64fdc
RT
25054 [BZ #11857]
25055 * posix/regex.h: Fix comments with documentation of user-accessible
25056 fields after compilation and describe correct free'ing of pattern
25057 after re_compile_pattern.
25058 Patch by Reuben Thomas <rrt@sc3d.org>.
25059
457bddfc
RA
250602011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25061
25062 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25063 and -mno-altivec to prevent the compiler from using Altivec and/or
25064 VSX instructions when the corresponding registers are not available.
25065
a4527b51
AS
250662011-05-19 Andreas Schwab <schwab@redhat.com>
25067
25068 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25069
ed690b2f
UD
250702011-05-19 Ulrich Drepper <drepper@gmail.com>
25071
25072 * libio/freopen.c (freopen): Use __dup2, not dup2.
25073 * libio/freopen64.c (freopen64): Likewise.
25074
8db73634
L
250752011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25076
25077 [BZ #12775]
25078 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25079 * math/Makefile (tests): Add test-powl.
25080 (CFLAGS-test-powl.c): Define.
25081 * math/test-powl.c: New file.
25082
0a197a9d
L
250832011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25084
25085 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25086
ee30c380
UD
250872011-05-17 Ulrich Drepper <drepper@gmail.com>
25088
25089 [BZ #11837]
25090 * iconvdata/gb18030.c: Update to GB18020-2005.
25091
6ce75379
UD
250922011-05-16 Ulrich Drepper <drepper@gmail.com>
25093
a4b89fd8
AR
25094 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25095 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25096 Patch by Aharon Robbins <arnold@skeeve.com>.
25097
ea389b12
UD
25098 [BZ #11892]
25099 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25100 on the stack.
25101
68a3f91f
UD
25102 [BZ #11895]
25103 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25104 through underflows.
25105
15cc7dd1
UD
25106 [BZ #12766]
25107 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25108 point to strings before performing equality test for error_one_per_line
25109 mode.
25110
f3799213
UD
25111 [BZ #11697]
25112 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25113
d79a9c94
UD
25114 [BZ #11820]
25115 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25116 (struct user_fpregs_struct): Avoid __uint*_t types.
25117
56e5eb46
UD
25118 [BZ #6420]
25119 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25120 symbol info. Use it instead of calling _dl_addr locally.
25121 (lock_and_info): New function.
25122 (tr_freehook): Call lock_and_info and pass symbol info as additional
25123 parameter to tr_where.
25124 (tr_mallochook): Likewise.
25125 (tr_reallochook): Likewise.
25126 (tr_memalignhook): Likewise.
25127
6ce75379
UD
25128 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25129 used and couldn't be at all thread-safe.
25130
f8a3b5bf
UD
251312011-05-15 Ulrich Drepper <drepper@gmail.com>
25132
94b7cc37
UD
25133 * libio/freopen.c (freopen): Don't close old file descriptor
25134 before the new one is opened. Instead dup the new file descriptor
25135 to the old one after the new stream is created.
25136 * libio/freopen64.c (freopen64): Likewise.
25137 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25138 * libio/fileops.c (_IO_new_file_close_it): Handle new
25139 _IO_FLAGS2_NOCLOSE flag.
25140 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25141 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25142 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25143 _IO_FLAGS2_NOCLOSE flag.
25144 * include/unistd.h: Add hidden_proto for dup3.
25145 Define __have_dup3.
25146 * io/dup3.c: Define hidden symbol.
25147 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25148
bd25564e
UD
25149 [BZ #7101]
25150 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25151 when an incomplete long option is used.
25152 * posix/tst-getopt_long1.c: New file.
25153 * posix/Makefile (tests): Add tst-getopt_long1.
25154
c84cfef4
UD
25155 [BZ #10138]
25156 * scripts/config.guess: Update from autoconf-2.68.
25157 * scripts/config.sub: Likewise.
25158
3b85df27
UD
25159 [BZ #10157]
25160 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25161 tests into ...
25162 (has_cpuclock): ...this. New function.
25163 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25164 macro here based on has_cpuclock code.
25165
15a856b1
UD
25166 [BZ #10149]
25167 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25168 First byte (not low byte) is now always NUL.
25169 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25170
05f399e6
UD
25171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25172 Use non-cancelable interfaces.
25173
10a52685 25174 [BZ #9809]
94ecc67d
UD
25175 * locale/iso-639.def: Add entry for Sorani.
25176
f8a3b5bf
UD
25177 [BZ #11901]
25178 * include/stdlib.h: Move include protection to the right place.
25179 Define abort_msg_s. Declare __abort_msg with it.
25180 * stdlib/abort.c (__abort_msg): Adjust type.
25181 * assert/assert.c (__assert_fail_base): New function. Majority
25182 of code from __assert_fail. Allocate memory for __abort_msg with
25183 mmap.
25184 (__assert_fail): Now call __assert_fail_base.
25185 * assert/assert-perr.c: Remove bulk of implementation. Use
25186 __assert_fail_base.
25187 * include/assert.hL Declare __assert_fail_base.
25188 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25189 mmap.
25190 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25191
1af4e298
UD
251922011-05-14 Ulrich Drepper <drepper@gmail.com>
25193
f8a3b5bf 25194 [BZ #11952]
d26dfc60
MG
25195 [BZ #12453]
25196 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25197 until all modules are registered in the DTV.
25198 * elf/Makefile: Add rules to build and run tst-tls19.
25199 * elf/tst-tls19.c: New file.
25200 * elf/tst-tls19mod1.c: New file.
25201 * elf/tst-tls19mod2.c: New file.
25202 * elf/tst-tls19mod3.c: New file.
25203 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25204
2fc54d6f
UD
25205 [BZ #12083]
25206 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25207 correctly.
25208
98d76b46
UD
25209 [BZ #12601]
25210 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25211 two-byte sequence errors.
25212 * iconvdata/Makefile (tests): Add bug-iconv8.
25213 * iconvdata/bug-iconv8.c: New file.
25214
da3c19ef
UD
25215 [BZ #12626]
25216 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25217 buf2 definition.
25218
ca408c15
UD
25219 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25220
d6f67f7d
UD
25221 [BZ #12432]
25222 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25223 (dummy_getcfa): New function.
25224 (init): Get _Unwind_GetCFA address, use dummy if not found.
25225 (backtrace_helper): In recursion check, also check whether CFA changes.
25226 (__backtrace): Completely initialize arg.
25227
1af4e298 25228 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25229 storing incomplete byte sequence in state object. Avoid testing for
25230 guaranteed too small input if we know there is enough data available.
1af4e298 25231
da62f81b
AS
252322011-05-11 Andreas Schwab <schwab@redhat.com>
25233
25234 * Makeconfig (+link-pie): Indent.
25235 * Rules (binaries-pie): Define if $(have-fpie) and
25236 $(build-shared).
25237 (binaries-shared): Also filter out $(binaries-pie).
25238 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25239 * nscd/Makefile (others-pie): Add nscd.
25240 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25241 ($(objpfx)nscd): Remove command override.
25242 * login/Makefile (others-pie): Add pt_chown.
25243 ($(objpfx)pt_chown): Remove command override.
25244 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25245 remove command overrides.
25246
fcabc0f8
UD
252472011-05-13 Ulrich Drepper <drepper@gmail.com>
25248
20030ae6
UD
25249 * libio/tst_putwc.c: Fix error messages.
25250
fcabc0f8
UD
25251 [BZ #12724]
25252 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25253 currently writing and seek to current position when not.
25254 * libio/Makefile (tests): Add bug-fclose1.
25255 * libio/bug-fclose1.c: New file.
25256
320a5dc0
PB
252572011-05-12 Ulrich Drepper <drepper@gmail.com>
25258
25259 [BZ #12511]
25260 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25261 don't set DF_1_NODELETE here.
25262 (do_lookup_x): When entering new entry test for copy relocation
25263 and if necessary set DF_1_NODELETE flag.
25264 * elf/tst-unique4.cc: New file.
25265 * elf/tst-unique4.h: New file.
25266 * elf/tst-unique4lib.cc: New file.
25267 * elf/Makefile: Add rules to build and run tst-unique4.
25268 Patch by Piotr Bury <pbury@goahead.com>.
25269
22836f52
UD
252702011-05-11 Ulrich Drepper <drepper@gmail.com>
25271
f574184a
UD
25272 [BZ #12052]
25273 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25274
e1fb097f
UD
25275 [BZ #12625]
25276 * misc/mntent_r.c (addmntent): Flush the stream after the output
25277
22836f52
UD
25278 [BZ #12393]
25279 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25280 (is_trusted_path_normalize): Skip initial colon. Append slash
25281 to empty buffer. Duplicate is_trusted_path code but allow
25282 constructed patch to be prefix.
25283 (is_dst): Allow $ORIGIN followed by /.
25284 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25285 Correct testing of result of is_trusted_path_normalize
25286 (decompose_rpath): Fix warning.
25287
7b3b0b2a
UD
252882011-05-10 Ulrich Drepper <drepper@gmail.com>
25289
25290 [BZ #11257]
25291 * grp/initgroups.c (internal_getgrouplist): When we found the service
25292 list through the initgroups entry in nsswitch.conf do not always
25293 continue on a successful lookup. Don't always use the
eac80ce2 25294 __nss_group_database value if it is set.
7b3b0b2a
UD
25295 * nss/nsswitch.conf (initgroups): Change action for successful db
25296 lookup to continue for compatibility.
25297
2a81eaa5
UD
252982011-05-09 Ulrich Drepper <drepper@gmail.com>
25299
be97a69e
UD
25300 [BZ #11532]
25301 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25302 and CP774 modules.
25303 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25304 and CP774 modules.
25305 * iconvdata/tst-tables.sh: Likewise.
25306 * iconvdata/cp770.c: New file.
25307 * iconvdata/cp771.c: New file.
25308 * iconvdata/cp772.c: New file.
25309 * iconvdata/cp773.c: New file.
25310 * iconvdata/cp774.c: New file.
25311 * iconvdata/testdata/CP770: New file.
25312 * iconvdata/testdata/CP770..UTF8: New file.
25313 * iconvdata/testdata/CP771: New file.
25314 * iconvdata/testdata/CP771..UTF8: New file.
25315 * iconvdata/testdata/CP772: New file.
25316 * iconvdata/testdata/CP772..UTF8: New file.
25317 * iconvdata/testdata/CP773: New file.
25318 * iconvdata/testdata/CP773..UTF8: New file.
25319 * iconvdata/testdata/CP774: New file.
25320 * iconvdata/testdata/CP774..UTF8: New file.
25321
25322 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25323 END CHARMAP line.
25324 * iconvdata/gen-8bit-gap.sh: Likewise.
25325 * iconvdata/gen-8bit.sh: Likewise.
25326
c1e9e399
UD
25327 * locale/iso-639.def: Add ary entry.
25328
24c55fb3 25329 [BZ #11258]
96b4b1b0
UD
25330 * locale/C-translit.h.in: Add U20A1 transliteration.
25331
bdc2f971
KB
25332 [BZ #12178]
25333 * locale/iso-639.def: Add wae entry.
25334 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25335
2952b117
UD
25336 [BZ #12545]
25337 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25338 for n.
25339
2a81eaa5
UD
25340 [BZ #12711]
25341 * locale/C-translit.h.in: Add entry for U20B9.
25342 Patch by pravin.d.s@gmail.com.
25343
28377d1b
UD
253442011-05-08 Ulrich Drepper <drepper@gmail.com>
25345
7fb90fb8
UD
25346 [BZ #12713]
25347 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25348 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25349 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25350 in rtld. Use *stat64.
7fb90fb8 25351 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25352 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25353 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25354 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25355 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25356 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25357 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25358 __fstatat64 macros.
7fb90fb8
UD
25359 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25360 * dirent/rewinddir.c: Add libc_hidden_def.
25361 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25362 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25363
28377d1b
UD
25364 * include/dirent.h (__alloc_dir): Add flags parameter.
25365 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25366 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25367 __alloc_dir.
25368 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25369 from fdopendir if O_CLOEXEC is already set.
25370
66bdbaa4
AM
253712011-03-15 Alan Modra <amodra@gmail.com>
25372
25373 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25374 l_tls_firstbyte_offset non-zero. Save padding offset in
25375 l_tls_firstbyte_offset for later use.
25376 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25377 freeing static tls block.
25378
95721191
JN
253792011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25380
25381 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25382 where #ifdef was intended. The intent is to prevent ARG_MAX from
25383 being defined by the kernel headers.
25384
f87dfb1f
UD
253852011-05-07 Ulrich Drepper <drepper@gmail.com>
25386
25387 [BZ #12734]
25388 * resolv/resolv.h: Define RES_NOTLDQUERY.
25389 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25390 no-tld-query and set RES_NOTLDQUERY.
25391 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25392 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25393 modern BIND to search name as TLD unless forbidden.
25394
47c3cd7a
UD
253952011-05-07 Petr Baudis <pasky@suse.cz>
25396 Ulrich Drepper <drepper@gmail.com>
25397
25398 [BZ #12393]
25399 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25400 (is_trusted_path): ...to here.
c1e9ea35 25401 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25402 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25403 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25404
8a35c912
PP
254052011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25406
25407 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25408 __BEGIN/__END_DECLS.
25409
acd41f47
UD
254102011-05-06 Ulrich Drepper <drepper@gmail.com>
25411
25412 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25413 NSS_STATUS_NOTFOUND if no record was found.
25414
597df647
AS
254152011-05-05 Andreas Schwab <schwab@redhat.com>
25416
25417 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25418 (headers-not-in-tirpc): Remove rpc/netdb.h
25419 * resolv/netdb.h: Revert last change.
25420
b9af1301
PP
254212011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25422
25423 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25424 circular dependency between libgcc.a and libc.a.
25425
4e34d5f5
AS
254262011-05-05 Andreas Schwab <schwab@redhat.com>
25427
25428 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25429 * nis/Makefile: Don't install rpcsvc/*.
25430 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25431 instead of <rpc/types.h>.
25432 (MAXHOSTNAMELEN): Define.
25433
00ee369c
AS
254342011-05-03 Andreas Schwab <schwab@redhat.com>
25435
25436 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25437
0b592a30
MB
254382011-04-28 Maciej Babinski <mbabinski@google.com>
25439
25440 [BZ #12714]
25441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25442 gethostbyname4_r when IPv6 results are possible.
25443
6e04cbbe
UD
254442011-05-02 Ulrich Drepper <drepper@gmail.com>
25445
25446 [BZ #12723]
25447 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25448 _PC_PIPE_BUF handling.
25449
e4ecafe0
BH
254502011-04-30 Bruno Haible <bruno@clisp.org>
25451
25452 [BZ #12717]
25453 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25454 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25455 to 'int'.
25456 * inet/getnameinfo.c (getnameinfo): Likewise.
25457
125ee683
UD
254582011-04-29 Ulrich Drepper <drepper@gmail.com>
25459
25460 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25461 to groups setting in database lookup.
25462 * nss/nsswitch.conf: Add initgroups entry.
25463
b722481a
EB
254642011-04-22 Ulrich Drepper <drepper@gmail.com>
25465
25466 [BZ #12685]
25467 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25468 mode string.
25469 Patch by Eric Blake <eblake@redhat.com>.
25470
4df46dbd
L
254712011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25472
25473 * sunrpc/Makefile (need-export-routines): Add svc_run.
25474 (routines): Remove svc_run.
25475 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25476 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25477 * sunrpc/svc_run.c (svc_run): Likewise.
25478 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25479
e84142d2
UD
254802011-04-21 Ulrich Drepper <drepper@gmail.com>
25481
25482 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25483 problem in reallocation in last patch.
25484
877175d8
UD
254852011-04-20 Ulrich Drepper <drepper@gmail.com>
25486
25487 * sunrpc/Makefile: Move inclusion of Rules.
25488
ab8eed78
UD
254892011-04-19 Ulrich Drepper <drepper@gmail.com>
25490
25491 * nss/nss_files/files-initgroups.c: New file.
25492 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25493 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25494 _nss_files_initgroups_dyn.
25495
e3d8f584
RS
254962011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25497
25498 * elf/elf.h (R_ARM_IRELATIVE): Define.
25499
af190f45
UD
255002011-04-19 Ulrich Drepper <drepper@gmail.com>
25501
25502 * po/ru.po: Update from translation team.
25503
53cf59ef
UD
255042011-04-17 Ulrich Drepper <drepper@gmail.com>
25505
25506 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25507 dependencies.
25508
4c559bcd
MF
255092011-02-06 Mike Frysinger <vapier@gentoo.org>
25510
25511 [BZ #12653]
25512 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25513 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25514 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25515 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25516 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25517
4420675c
AS
255182011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25519
25520 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25521 differing bytes.
25522 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25523 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25524 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25525
75ea32ab
UD
255262011-04-17 Ulrich Drepper <drepper@gmail.com>
25527
25528 [BZ #12420]
25529 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25530 storing it.
25531 * stdlib/bug-getcontext.c: New file.
25532 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25533
27390476
AK
255342011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25535
25536 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25537 instructions into .machine "z9-109".
25538 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25539 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25540
10442705
AK
255412011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25542
25543 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25544 between environment variables and auxiliary vector.
25545
7b57bfe5
UD
255462011-04-16 Ulrich Drepper <drepper@gmail.com>
25547
25548 * Makefile: Add rules to build linkobj/libc.so.
25549 * include/libc-symbols.h: Define libc_hidden_nolink.
25550 * include/rpc/auth.h: Mark functions which are to be hidden.
25551 * include/rpc/auth_des.h: Likewise.
25552 * include/rpc/auth_unix.h: Likewise.
25553 * include/rpc/clnt.h: Likewise.
25554 * include/rpc/des_crypt.h: Likewise.
25555 * include/rpc/key_prot.h: Likewise.
25556 * include/rpc/pmap_clnt.h: Likewise.
25557 * include/rpc/pmap_prot.h: Likewise.
25558 * include/rpc/pmap_rmt.h: Likewise.
25559 * include/rpc/rpc_msg.h: Likewise.
25560 * include/rpc/svc.h: Likewise.
25561 * include/rpc/svc_auth.h: Likewise.
25562 * include/rpc/xdr.h: Likewise.
25563 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25564 * nss/Makefile: Likewise.
25565 * sunrpc/Makefile: Don't install headers. Build library with normal
25566 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25567 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25568 for the compat linking library. Remove use of INTDEF/INTUSE.
25569 * sunrpc/auth_none.c: Likewise.
25570 * sunrpc/auth_unix.c: Likewise.
25571 * sunrpc/authdes_prot.c: Likewise.
25572 * sunrpc/authuxprot.c: Likewise.
25573 * sunrpc/clnt_gen.c: Likewise.
25574 * sunrpc/clnt_perr.c: Likewise.
25575 * sunrpc/clnt_raw.c: Likewise.
25576 * sunrpc/clnt_simp.c: Likewise.
25577 * sunrpc/clnt_tcp.c: Likewise.
25578 * sunrpc/clnt_udp.c: Likewise.
25579 * sunrpc/clnt_unix.c: Likewise.
25580 * sunrpc/des_crypt.c: Likewise.
25581 * sunrpc/des_soft.c: Likewise.
25582 * sunrpc/get_myaddr.c: Likewise.
25583 * sunrpc/key_call.c: Likewise.
25584 * sunrpc/key_prot.c: Likewise.
25585 * sunrpc/netname.c: Likewise.
25586 * sunrpc/pm_getmaps.c: Likewise.
25587 * sunrpc/pm_getport.c: Likewise.
25588 * sunrpc/pmap_clnt.c: Likewise.
25589 * sunrpc/pmap_prot.c: Likewise.
25590 * sunrpc/pmap_prot2.c: Likewise.
25591 * sunrpc/pmap_rmt.c: Likewise.
25592 * sunrpc/publickey.c: Likewise.
25593 * sunrpc/rpc_cmsg.c: Likewise.
25594 * sunrpc/rpc_common.c: Likewise.
25595 * sunrpc/rpc_dtable.c: Likewise.
25596 * sunrpc/rpc_prot.c: Likewise.
25597 * sunrpc/rpc_thread.c: Likewise.
25598 * sunrpc/rtime.c: Likewise.
25599 * sunrpc/svc.c: Likewise.
25600 * sunrpc/svc_auth.c: Likewise.
25601 * sunrpc/svc_authux.c: Likewise.
25602 * sunrpc/svc_raw.c: Likewise.
25603 * sunrpc/svc_run.c: Likewise.
25604 * sunrpc/svc_simple.c: Likewise.
25605 * sunrpc/svc_tcp.c: Likewise.
25606 * sunrpc/svc_udp.c: Likewise.
25607 * sunrpc/svc_unix.c: Likewise.
25608 * sunrpc/svcauth_des.c: Likewise.
25609 * sunrpc/xcrypt.c: Likewise.
25610 * sunrpc/xdr.c: Likewise.
25611 * sunrpc/xdr_array.c: Likewise.
25612 * sunrpc/xdr_float.c: Likewise.
25613 * sunrpc/xdr_intXX_t.c: Likewise.
25614 * sunrpc/xdr_mem.c: Likewise.
25615 * sunrpc/xdr_rec.c: Likewise.
25616 * sunrpc/xdr_ref.c: Likewise.
25617 * sunrpc/xdr_sizeof.c: Likewise.
25618 * sunrpc/xdr_stdio.c: Likewise.
25619
e6c61494
UD
256202011-04-10 Ulrich Drepper <drepper@gmail.com>
25621
25622 [BZ #12650]
25623 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25624 * sysdeps/ia64/dl-tls.h: Likewise.
25625 * sysdeps/powerpc/dl-tls.h: Likewise.
25626 * sysdeps/s390/dl-tls.h: Likewise.
25627 * sysdeps/sh/dl-tls.h: Likewise.
25628 * sysdeps/sparc/dl-tls.h: Likewise.
25629 * sysdeps/x86_64/dl-tls.h: Likewise.
25630 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25631
34fe483e
AS
256322011-03-14 Andreas Schwab <schwab@redhat.com>
25633
25634 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25635 rpath element also skip the following colon.
25636 (expand_dynamic_string_token): Add is_path parameter and pass
25637 down to DL_DST_REQUIRED and _dl_dst_substitute.
25638 (decompose_rpath): Call expand_dynamic_string_token with
25639 non-zero is_path. Ignore empty rpaths.
25640 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25641 with zero is_path.
25642
f12a32e6
AS
256432011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25644
25645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25646 Make cancelable.
25647
38a7d692
UD
256482011-04-09 Ulrich Drepper <drepper@gmail.com>
25649
25650 [BZ #12655]
25651 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25652 Patch by Filipe David Manana <fdmanana@apache.org>.
25653
e451d22b
AS
256542011-04-07 Andreas Schwab <schwab@redhat.com>
25655
25656 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25657 Maintain aligned stack.
25658 (CHECK_RSP): Remove unused macro.
25659
dedc7c7b
UD
256602011-04-03 Ulrich Drepper <drepper@gmail.com>
25661
25662 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25663 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25664
94521213
UD
256652011-04-02 Ulrich Drepper <drepper@gmail.com>
25666
25667 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25668
8cb700c0 25669 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25670
0354e355
L
256712011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25672
25673 [BZ #12518]
25674 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25675 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25676 * sysdeps/x86_64/memmove.c: New file.
25677 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25678 (memcpy): Renamed to ...
25679 (__new_memcpy): This.
25680 (memcpy): Provide GLIBC_2_14 memcpy.
25681 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25682 (memcpy): Provide GLIBC_2_2_5 memcpy.
25683
8593482f
UD
256842011-04-01 Ulrich Drepper <drepper@gmail.com>
25685
25686 [BZ #12631]
25687 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25688
81a5726b
AS
256892011-03-30 Andreas Schwab <schwab@redhat.com>
25690
25691 * misc/syncfs.c: New file.
25692 * misc/Makefile (routines): Add syncfs.
25693 * posix/unistd.h: Declare syncfs.
25694 * sysdeps/unix/syscalls.list: Add syncfs.
25695
00e5419f
AS
256962011-04-01 Andreas Schwab <schwab@redhat.com>
25697
25698 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25699 open_by_handle_at.
25700 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25701 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25702 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25703 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25705 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25706 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25707
748876bf
UD
257082011-04-01 Ulrich Drepper <drepper@gmail.com>
25709
658e451d
UD
25710 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25711 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25712 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25713 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25714 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25715 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25716 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25717
748876bf
UD
25718 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25719 sync_file_range.c with -fexceptions.
25720 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25721 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25722 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25723 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25724 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25725 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25726 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25727 sync_file_range as cancellation point
25728 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25729 now a wrapper around __call_sync_file_range with cancellation handling.
25730 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25731 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25732 function name to __call_sync_file_range.
25733 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25734 Add call_sync_file_range.
748876bf 25735
6e63d5e1
AS
257362011-04-01 Andreas Schwab <schwab@redhat.com>
25737
25738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25739 bits/timex.h.
6e63d5e1 25740
46998f74
UD
257412011-04-01 Ulrich Drepper <drepper@gmail.com>
25742
4c1423ed
UD
25743 * iconv/iconv.h: Fix typo in comment.
25744 * io/fcntl.h: Likewise.
25745 * libio/stdio.h: Likewise.
25746 * posix/spawn.h: Likewise.
25747 * posix/unistd.h: Likewise.
25748 * stdlib/stdlib.h: Likewise.
25749 * time/time.h: Likewise.
25750 * wcsmbs/wchar.h: Likewise.
25751
158648c0
UD
25752 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25753 open_by_handle): Add.
25754 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25755 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25756 Augment a few comments.
25757 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25759 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25761 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25762 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25763 open_by_handle.
25764
46998f74
UD
25765 * io/fcntl.h (AT_EMPTY_PATH): Define.
25766
83fe108b
UD
257672011-03-30 Ulrich Drepper <drepper@gmail.com>
25768
25769 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25770 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25771 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25772 to...
25773 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25774 * Versions.def: Add GLIBC_2.14.
25775 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25776 Export.
83fe108b 25777
bb242059
UD
257782011-03-22 Ulrich Drepper <drepper@gmail.com>
25779
25780 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25781 round counter.
25782 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25783
c97a1282
L
257842011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25785
25786 [BZ #12597]
25787 * string/test-strncmp.c (do_page_test): New function.
25788 (check2): Likewise.
25789 (test_main): Call check2.
25790 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25791
2a115601
UD
257922011-03-20 Ulrich Drepper <drepper@gmail.com>
25793
25794 [BZ #12587]
25795 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25796 Handle cache information in CPU leaf 4.
25797 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25798
8126d904
UD
257992011-03-18 Ulrich Drepper <drepper@gmail.com>
25800
042c49c6 25801 [BZ #12583]
8126d904
UD
25802 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25803 character representation.
25804 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25805
ccfe366e
RA
258062011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25807
25808 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25809 END(__isnan) to END(__isnanf) to match function entry point/label
25810 EALIGN(__isnanf,...).
25811
c6e13027
JJ
258122011-03-10 Jakub Jelinek <jakub@redhat.com>
25813
25814 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25815
33f85a3f
UD
258162011-03-10 Ulrich Drepper <drepper@gmail.com>
25817
028478fa
UD
25818 [BZ #12510]
25819 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25820 copy from the symbol referenced in the relocation to initialize the
25821 used variable.
25822 Patch by Piotr Bury <pbury@goahead.com>.
25823 * elf/Makefile: Add rules to build and tst-unique3.
25824 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25825 * elf/tst-unique3.cc: New file.
25826 * elf/tst-unique3.h: New file.
25827 * elf/tst-unique3lib.cc: New file.
25828 * elf/tst-unique3lib2.cc: New file.
25829
33f85a3f
UD
25830 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25831
03592fc7
MF
258322011-03-10 Mike Frysinger <vapier@gentoo.org>
25833
25834 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25835 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25836 to _start.
03592fc7 25837
6a5ee102
UD
258382011-03-06 Ulrich Drepper <drepper@gmail.com>
25839
25840 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25841 to-be-loaded object along a path to loader is ld.so.
25842
7e4ba49c
HJ
258432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25844 Ulrich Drepper <drepper@gmail.com>
25845
25846 * sysdeps/x86_64/memset.S: After aligning destination, code
25847 branches to different locations depending on the value of
25848 misalignment, when multiarch is enabled. Fix this.
25849
258502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25851
25852 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25853 Set _x86_64_preferred_memory_instruction for AMD processsors.
25854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25855 Set bit_Prefer_SSE_for_memop for AMD processors.
25856
13a804de
UD
258572011-03-04 Ulrich Drepper <drepper@gmail.com>
25858
25859 * libio/fmemopen.c (fmemopen): Optimize a bit.
25860
9d25c392
AS
258612011-03-03 Andreas Schwab <schwab@redhat.com>
25862
25863 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25864
a5543c6a
RM
258652011-03-03 Roland McGrath <roland@redhat.com>
25866
25867 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25868
012d35f7
DM
258692011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25870
7e4ba49c 25871 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25872 __bzero_ultra1 instead of __memset_ultra1.
25873
4bff6e01
AS
258742011-02-23 Andreas Schwab <schwab@redhat.com>
25875 Ulrich Drepper <drepper@gmail.com>
25876
25877 [BZ #12509]
25878 * include/link.h (struct link_map): Add l_orig_initfini.
25879 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25880 returning unsuccessfully.
25881 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25882 close of a file loaded at startup, restore the original l_initfini
25883 list.
25884 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25885 list, store the pointer.
25886 * elf/Makefile ($(objpfx)noload-mem): New rule.
25887 (noload-ENV): Define.
25888 (tests): Add $(objpfx)noload-mem.
25889 * elf/noload.c: Include <memcheck.h>.
25890 (main): Call mtrace. Close all opened handles.
25891
f2092faf
AS
258922011-02-17 Andreas Schwab <schwab@redhat.com>
25893
25894 [BZ #12454]
25895 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25896 dependencies are missing.
25897
6c8a2e88
ST
258982011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25899
f2092faf 25900 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25901 Hurd needs munmap.
25902 * sysdeps/mach/hurd/ifreq.h: New file.
25903
84a42118
PB
259042011-01-27 Petr Baudis <pasky@suse.cz>
25905 Ulrich Drepper <drepper@gmail.com>
25906
071f805e 25907 [BZ 12445]#
84a42118
PB
25908 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25909 to extend_alloca().
25910 * stdio-common/bug23.c: New file.
25911 * stdio-common/Makefile (tests): Add bug23.
25912
e23fe25b
AS
259132010-09-28 Andreas Schwab <schwab@redhat.com>
25914 Ulrich Drepper <drepper@gmail.com>
25915
25916 [BZ #12489]
25917 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25918 before performing relro protection. At old place add assertion
25919 to make sure nothing changed.
25920
d3f02e10
NS
259212011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25922 Glauber de Oliveira Costa <glommer@gmail.com>
25923
25924 * elf/elf.h: Add new ARM TLS relocs.
25925
d55fd7a5
RA
259262011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25927
25928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25929 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25930 cast from r3.
25931 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25932 'tests' variable.
25933 * sysdeps/wordsize-64/tst-writev.c: New file.
25934
2206397e
RA
259352011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25936
25937 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25938 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25939 insns in _dl_start to prevent a TOC reference before relocs are
25940 resolved.
25941
e9433893
UD
259422011-02-15 Ulrich Drepper <drepper@gmail.com>
25943
25944 [BZ #12469]
25945 * Makeconfig: Remove RANLIB definition.
25946 * Makerules: Don't use RANLIB.
25947 * aclocal.m4: Remove ranlib test.
25948 * configure.in: No need to check for ranlib.
25949 * elf/rtld-Rules: Don't use RANLIB.
25950
f75286c6
ST
259512011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25952
8e31c82d
ST
25953 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25954 protection macro.
25955 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25956 inclusion protection macro.
25957
f75286c6
ST
25958 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25959 SIGRTMIN and SIGRTMAX and print information in that case only when
25960 SIGRTMIN is defined.
25961
c1d0e639
JJ
259622011-02-11 Jakub Jelinek <jakub@redhat.com>
25963
25964 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25965 arginfo fn returning -1.
25966
25967 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25968 and thousands string is zero terminated.
25969
edf9294e
AS
259702011-02-03 Andreas Schwab <schwab@redhat.com>
25971
25972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25973 sysdeps/unix/sysv/linux/bits/socket.h.
25974
2b7e92df
ST
259752011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25976
edf9294e
AS
25977 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25978 (__CPU_COUNT): Remove old macros.
25979 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25980 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25981 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
25982 (__sched_cpualloc, __sched_cpufree): Add declarations.
25983
a4c7ea7b
UD
259842011-02-05 Ulrich Drepper <drepper@gmail.com>
25985
25986 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25987 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25988 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25989 (readdhstai): Return value of addhstaiX call.
25990 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25991 (addgrbyX): Return value returned by cache_addgr.
25992 (readdgrbyname): Return value returned by addgrbyX.
25993 (readdgrbygid): Likewise.
25994 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25995 (addpwbyX): Return value returned by cache_addpw.
25996 (readdpwbyname): Return value returned by addhstbyX.
25997 (readdpwbyuid): Likewise.
25998 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25999 (addservbyX): Return value returned by cache_addserv.
26000 (readdservbyname): Return value returned by addservbyX:
26001 (readdservbyport): Likewise.
26002 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26003 (addhstbyX): Return value returned by cache_addhst.
26004 (readdhstbyname): Return value returned by addhstbyX.
26005 (readdhstbyaddr): Likewise.
26006 (readdhstbynamev6): Likewise.
26007 (readdhstbyaddrv6): Likewise.
26008 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26009 (readdinitgroups): Return value returned by addinitgroupsX.
26010 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26011 (prune_cache): Keep track of timeout value of re-added entries.
26012 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26013 * nscd/nscd.h: Adjust prototypes of readd* functions.
26014
a0bf67cc
RM
260152011-02-04 Roland McGrath <roland@redhat.com>
26016
26017 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26018 (nis_stats): Likewise.
26019 * nis/nis_modify.c (nis_modify): Likewise.
26020 * nis/nis_remove.c (nis_remove): Likewise.
26021 * nis/nis_add.c (nis_add): Likewise.
26022
26023 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26024
26025 * posix/fnmatch_loop.c: Add some consts.
26026
26027 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26028
435b95eb
L
260292011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26030
26031 [BZ #12460]
26032 * config.make.in (config-cflags-novzeroupper): Define.
26033 * configure.in: Substitute libc_cv_cc_novzeroupper.
26034 * elf/Makefile (AVX-CFLAGS): Define.
26035 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26036 (CFLAGS-tst-auditmod4a.c): Likewise.
26037 (CFLAGS-tst-auditmod4b.c): Likewise.
26038 (CFLAGS-tst-auditmod6b.c): Likewise.
26039 (CFLAGS-tst-auditmod6c.c): Likewise.
26040 (CFLAGS-tst-auditmod7b.c): Likewise.
26041 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26042
8517b15e
UD
260432011-02-02 Ulrich Drepper <drepper@gmail.com>
26044
26045 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26046 function to the callback.
26047 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26048
10a656fe
AS
260492011-02-02 Andreas Schwab <schwab@redhat.com>
26050
26051 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26052 of errno.
26053
968dad0a
UD
260542011-01-19 Ulrich Drepper <drepper@gmail.com>
26055
9f94d2ea 26056 [BZ #11724]
968dad0a
UD
26057 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26058 of constructors.
26059 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26060 of destructors.
26061 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26062
26063 [BZ #11724]
26064 * elf/Makefile: Add rules to build and run new test.
26065 * elf/tst-initorder.c: New file.
26066 * elf/tst-initorder.exp: New file.
26067 * elf/tst-initordera1.c: New file.
26068 * elf/tst-initordera2.c: New file.
26069 * elf/tst-initordera3.c: New file.
26070 * elf/tst-initordera4.c: New file.
26071 * elf/tst-initorderb1.c: New file.
26072 * elf/tst-initorderb2.c: New file.
26073 * elf/tst-order-a1.c: New file.
26074 * elf/tst-order-a2.c: New file.
26075 * elf/tst-order-a3.c: New file.
26076 * elf/tst-order-a4.c: New file.
26077 * elf/tst-order-b1.c: New file.
26078 * elf/tst-order-b2.c: New file.
26079 * elf/tst-order-main.c: New file.
26080 New test case by George Gensure <werkt0@gmail.com>.
26081
86e92359
UD
260822010-10-01 Andreas Schwab <schwab@redhat.com>
26083
26084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26085 decoding ACE if AI_CANONIDN.
26086
5d5732b0
UD
260872011-01-18 Ulrich Drepper <drepper@gmail.com>
26088
26089 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26090
a77e8cbc
UD
260912011-01-17 Ulrich Drepper <drepper@gmail.com>
26092
6392473f
UD
26093 * version.h (RELEASE): Bump for 2.13 release.
26094 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26095
620a0529
UD
26096 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26097
18ba70a5
UD
26098 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26099 MADV_NOHUGEPAGE.
32465c3e
UD
26100 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26101 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26102 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26103 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26104 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26105 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26106
c0dafcf1
UD
26107 * posix/getconf.c: Update copyright year.
26108 * catgets/gencat.c: Likewise.
26109 * csu/version.c: Likewise.
26110 * debug/catchsegv.sh: Likewise.
26111 * debug/xtrace.sh: Likewise.
26112 * elf/ldconfig.c: Likewise.
26113 * elf/ldd.bash.in: Likewise.
26114 * elf/sprof.c (print_version): Likewise.
26115 * iconv/iconv_prog.c: Likewise.
26116 * iconv/iconvconfig.c: Likewise.
26117 * locale/programs/locale.c: Likewise.
26118 * locale/programs/localedef.c: Likewise.
26119 * malloc/memusage.sh: Likewise.
26120 * malloc/mtrace.pl: Likewise.
26121 * nscd/nscd.c (print_version): Likewise.
26122 * nss/getent.c: Likewise.
26123
a77e8cbc
UD
26124 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26125 PF_CAIF, and PF_ALG.
26126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26127
77e8bddf
AS
261282011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26129
1f20b93a
AS
26130 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26131 (modules-names): Use them.
26132 (ifunc-test-modules, ifunc-pie-tests): Define.
26133 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26134 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26135 (test-extras): Likewise.
26136 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26137 $(compile-command.c).
26138 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26139 (all-built-dso): Define.
26140 (check-textrel.out, check-execstack.out): Depend on it.
26141
77e8bddf
AS
26142 * configure.in: Don't override --enable-multi-arch.
26143
bc425b33
UD
261442011-01-15 Ulrich Drepper <drepper@gmail.com>
26145
26146 [BZ #6812]
26147 * nscd/hstcache.c (tryagain): Define.
26148 (cache_addhst): Return tryagain not notfound for temporary errors.
26149 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26150 failed.
26151
794c3ad3
UD
261522011-01-14 Ulrich Drepper <drepper@gmail.com>
26153
70181fdd
UD
26154 [BZ #10563]
26155 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26156 to make the syscall.
26157 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26158
794c3ad3
UD
26159 [BZ #12378]
26160 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26161 and fall back to matching as normal character if the string ends before
26162 the matching ']' is found. This is what POSIX requires.
26163 * posix/testfnm.c: Adjust test result.
26164 * posix/globtest.sh: Adjust test result. Add new test.
26165 * posix/tst-fnmatch.input: Likewise.
26166 * posix/tst-fnmatch2.c: Add new test.
26167
68dc9497
AS
261682010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26169
26170 * elf/Makefile (check-execstack): Revert last change. Depend on
26171 check-execstack.h.
26172 (check-execstack.h): New target.
26173 (generated): Add check-execstack.h.
26174 * elf/check-execstack.c: Include "check-execstack.h".
26175 (main): Revert last change.
26176 (handle_file): Return zero if GNU_STACK is absent and
26177 DEFAULT_STACK_PERMS doesn't include PF_X.
26178
451f001b
UD
261792011-01-13 Ulrich Drepper <drepper@gmail.com>
26180
cfa28e56
UD
26181 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26182 in child fails because the descriptor is already closed.
8cf8ce17
UD
26183 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26184 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26185 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26186
1086d70d
UD
26187 [BZ #12397]
26188 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26189 syscall.
26190
451f001b
UD
26191 [BZ #10484]
26192 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26193 temporary buffer used to handle multi lookups locally.
a85b5cb4 26194 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26195
08769175
UD
261962011-01-12 Ulrich Drepper <drepper@gmail.com>
26197
26198 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26199 loader is ld.so.
26200
5e49c52e
UD
262012011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26202
26203 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26204 alignment for SSE2.
26205
60522a5f
UD
262062011-01-12 Ulrich Drepper <drepper@gmail.com>
26207
26208 [BZ #12394]
26209 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26210 characters. When rounding increased number of integer digits recompute
26211 number of groups.
26212 * stdio-common/tst-grouping.c: New file.
26213 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26214
f257bbd7
UD
262152011-01-09 Ulrich Drepper <drepper@gmail.com>
26216
26217 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26218 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26219
26220 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26221 void.
26222 * bits/select.h: Likewise.
26223
fa9c15cb
UD
262242011-01-08 Ulrich Drepper <drepper@gmail.com>
26225
26226 * po/ja.po: Update from translation team.
26227
16c2895f
DM
262282011-01-04 David S. Miller <davem@sunset.davemloft.net>
26229
26230 [BZ #11155]
26231 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26232 implementation just like for lxstat, fxstatat, et al.
26233
2543fef2
JM
262342010-12-27 Jim Meyering <meyering@redhat.com>
26235
26236 [BZ #12348]
26237 * posix/regexec.c (build_trtable): Return failure indication upon
26238 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26239
98727dbe
UD
262402010-12-25 Ulrich Drepper <drepper@gmail.com>
26241
5bd6dc5c
UD
26242 [BZ #12201]
26243 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26244 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26245 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26246 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26247
97983464
UD
26248 [BZ #12207]
26249 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26250
98727dbe
UD
26251 [BZ #12204]
26252 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26253 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26254
4a531bb0
L
262552010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26256
26257 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26258 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26259 script has SORT_BY_INIT_PRIORITY.
26260 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26261 NO_CTORS_DTORS_SECTIONS is defined.
26262 * elf/soinit.c: Likewise.
26263 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26264 NO_CTORS_DTORS_SECTIONS is defined.
26265 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26266 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26267 * sysdeps/sh/init-first.c: Likewise.
26268 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26269
07eb4b71
UD
262702010-12-24 Ulrich Drepper <drepper@gmail.com>
26271
26272 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26273 always use the slow path.
26274
30950a5f
RA
262752010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26276
26277 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26278 similar rule which adds the sysdep directories to the header search in
26279 order to pick up the correct platform stackinfo.h.
26280 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26281 perform test if it is, otherwise return successfully without testing.
26282 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26283 DEFAULT_STACK_PERMS define in stackinfo.h.
26284 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26285 defined in stackinfo.h.
26286 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26287 DEFAULT_STACK_PERMS defined in stackinfo.h.
26288 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26289 * sysdeps/ia64/stackinfo.h: Likewise.
26290 * sysdeps/s390/stackinfo.h: Likewise.
26291 * sysdeps/sh/stackinfo.h: Likewise.
26292 * sysdeps/sparc/stackinfo.h: Likewise.
26293 * sysdeps/x86_64/stackinfo.h: Likewise.
26294 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26295 PF_X for powerpc64. Retain PF_X for powerpc32.
26296
db753e2c
UD
262972010-12-19 Ulrich Drepper <drepper@gmail.com>
26298
14b697f7
UD
26299 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26300 accurately.
db753e2c
UD
26301 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26302 GETDENTS_64BIT_ALIGNED.
26303
28300719
UD
263042010-12-14 Ulrich Drepper <dreper@gmail.com>
26305
14b697f7 26306 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26307
4f197237
AS
263082010-12-10 Andreas Schwab <schwab@redhat.com>
26309
dbb0472f
AS
26310 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26311 _GNU_SOURCE.
26312
4f197237
AS
26313 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26314 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26315 Remove __restrict.
26316 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26317 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26318
fb88ac72
UD
263192010-12-09 Ulrich Drepper <drepper@gmail.com>
26320
26321 [BZ #11655]
26322 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26323 are initialized.
26324
42acbb92
JJ
263252010-12-09 Jakub Jelinek <jakub@redhat.com>
26326
26327 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26328
c038d98d
UD
263292010-12-03 Ulrich Drepper <drepper@gmail.com>
26330
26331 * po/it.po: Update from translation team.
26332
3a4a2499
L
263332010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26334
26335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26336 unused codes.
26337
1e24cf6e
UD
263382010-11-30 Ulrich Drepper <drepper@gmail.com>
26339
26340 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26341
a7690819
AS
263422010-11-24 Andreas Schwab <schwab@redhat.com>
26343
26344 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26345 specially.
26346 (gaih_getanswer_slice): Likewise.
26347
3bf8d1b1
JJ
263482010-10-20 Jakub Jelinek <jakub@redhat.com>
26349
26350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26351
6db52fbb
PB
263522010-05-31 Petr Baudis <pasky@suse.cz>
26353
26354 [BZ #11149]
26355 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26356 silently even in the chroot mode.
26357
eaca7569
UD
263582010-11-22 Ulrich Drepper <drepper@gmail.com>
26359
26360 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26361 last patch a bit. Pretty printing
26362
3056dcdb
UD
263632010-05-31 Petr Baudis <pasky@suse.cz>
26364
26365 [BZ #10085]
26366 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26367 initialization of skip_initgroups_dyn.
26368
cf7c9078
UD
263692010-11-19 Ulrich Drepper <drepper@gmail.com>
26370
26371 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26372 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26373
a1fb5e3e
UD
263742010-11-16 Ulrich Drepper <drepper@gmail.com>
26375
26376 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26377
3540d66b
AS
263782010-11-11 Andreas Schwab <schwab@redhat.com>
26379
26380 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26381 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26382 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26383 ($(objpfx)tst-fnmatch-mem): New rule.
26384 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26385 * posix/tst-fnmatch.c (main): Call mtrace.
26386
13b69574
L
263872010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26388
26389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26390 Support Intel processor model 6 and model 0x2c.
26391
da93d214
LM
263922010-11-10 Luis Machado <luisgpm@br.ibm.com>
26393
26394 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26395 signed comparison.
26396
8ca52c6e
L
263972010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26398
26399 [BZ #12205]
26400 * string/test-strncasecmp.c (check_result): New function.
26401 (do_one_test): Use it.
26402 (check1): New function.
26403 (test_main): Use it.
26404 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26405 Support strcasecmp and strncasecmp.
26406
69da074d
UD
264072010-11-08 Ulrich Drepper <drepper@gmail.com>
26408
26409 [BZ #12194]
26410 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26411 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26412
ff02d528
L
264132010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26414
26415 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26416 IFUNC support.
26417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26418 memset-x86-64.
26419 * sysdeps/x86_64/multiarch/bzero.S: New file.
26420 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26421 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26422 * sysdeps/x86_64/multiarch/memset.S: New file.
26423 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26425 Set bit_Prefer_SSE_for_memop for Intel processors.
26426 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26427 Define.
26428 (index_Prefer_SSE_for_memop): Define.
26429 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26430
344d0b54
LM
264312010-11-04 Luis Machado <luisgpm@br.ibm.com>
26432
26433 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26434 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26435
c0dde15b
UD
264362010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26437
26438 [BZ #12191]
26439 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26440 (__x86_64_raw_data_cache_size_half): Likewise.
26441 (__x86_64_raw_shared_cache_size): Likewise.
26442 (__x86_64_raw_shared_cache_size_half): Likewise.
26443
26444 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26445 (__x86_64_raw_data_cache_size_half): Likewise.
26446 (__x86_64_raw_shared_cache_size): Likewise.
26447 (__x86_64_raw_shared_cache_size_half): Likewise.
26448 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26449 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26450 and __x86_64_raw_shared_cache_size_half. Round
26451 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26452 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26453 to multiple of 256 bytes.
26454
0e516e0e
MS
264552010-11-03 Ulrich Drepper <drepper@gmail.com>
26456
26457 [BZ #12167]
26458 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26459 of inacessible symlinks. Verify result of symlink before returning it.
26460 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26461 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26462
0e012e87
ER
264632010-10-28 Erich Ritz <erichritz@gmail.com>
26464
26465 * math/math.h (isinf): Fix typo in comment.
26466
de0ff7bc
UD
264672010-11-01 Ulrich Drepper <drepper@gmail.com>
26468
26469 * po/da.po: Update from translation team.
26470
fa41c84d
UD
264712010-10-26 Ulrich Drepper <drepper@gmail.com>
26472
26473 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26474 is added to the list.
26475
f0967738
AK
264762010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26477 Ulrich Drepper <drepper@gmail.com>
26478
26479 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26480 the global list here. Move code to...
26481 (_dl_add_to_namespace_list): ...here. New function.
26482 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26483 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26484 * elf/dl-load.c (lose): Don't remove the element from the list.
26485 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26486 (_dl_map_object): Likewise.
26487
264882010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26489
26490 [BZ #12159]
26491 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26492 into all bytes of SSE register.
26493 Patch by Richard Li <richardpku@gmail.com>.
26494
f0967738 264952010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26496
26497 [BZ #12140]
26498 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26499 perturbing.
26500
d0b9e94f
MB
265012010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26502
26503 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26504 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26505 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26506 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26508 submachine.
26509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26510
8e9f92e9
AS
265112010-10-22 Andreas Schwab <schwab@redhat.com>
26512
26513 * include/dlfcn.h (__RTLD_SECURE): Define.
26514 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26515 mode & __RTLD_SECURE instead.
26516 (open_path): Rename preloaded parameter to secure.
26517 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26518 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26519 * elf/dl-deps.c (openaux): Likewise.
26520 * elf/rtld.c (struct map_args): Remove is_preloaded.
26521 (map_doit): Don't use it.
26522 (dl_main): Likewise.
26523 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26524 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26525
bc96fbda
AS
265262010-09-09 Andreas Schwab <schwab@redhat.com>
26527
26528 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26529 (sysd-rules-targets): Remove duplicates.
26530 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26531 rtld-%.$o dependency.
26532
22cd1c9b
AS
265332010-10-18 Andreas Schwab <schwab@redhat.com>
26534
26535 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26536 _dl_map_object do it.
26537
18edac48
UD
265382010-10-19 Ulrich Drepper <drepper@gmail.com>
26539
26540 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26541 fast fma builtins, define the macros in the C99 standard.
26542 (FP_FAST_FMAF): Likewise.
26543 (FP_FAST_FMAL): Likewise.
26544 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26545
26546 * bits/mathdef.h: Update copyright year.
26547 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26548
d2050124
MM
265492010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26550
26551 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26552 builtins, define the macros in the C99 standard.
26553 (FP_FAST_FMAF): Likewise.
26554 (FP_FAST_FMAL): Likewise.
26555 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26556 multiply/add.
26557 (FP_FAST_FMAF): Likewise.
26558
475facd1
JJ
265592010-10-15 Jakub Jelinek <jakub@redhat.com>
26560
26561 [BZ #3268]
26562 * math/libm-test.inc (fma_test): Some new testcases.
26563 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26564 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26565 y and infinite z. Do multiplication by C already in long double.
26566 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26568 y and infinite z. Do bitwise or of inexact bit into u.d.
26569 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26570 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26571 * sysdeps/i386/fpu/s_fma.S: Removed.
26572 * sysdeps/i386/fpu/s_fmal.S: Removed.
26573
7c08a05c
JJ
265742010-10-16 Jakub Jelinek <jakub@redhat.com>
26575
26576 [BZ #3268]
26577 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26578 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26579 computation is not scheduled after fetestexcept. Fix value
26580 of minimum denormal long double.
26581
f3f7372d
JJ
265822010-10-14 Jakub Jelinek <jakub@redhat.com>
26583
26584 [BZ #3268]
26585 * math/libm-test.inc (fma_test): Add some more tests.
26586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26587 correctly.
26588
14d43591
AS
265892010-10-15 Andreas Schwab <schwab@redhat.com>
26590
26591 * scripts/data/localplt-s390-linux-gnu.data: New file.
26592 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26593
5e908464
JJ
265942010-10-13 Jakub Jelinek <jakub@redhat.com>
26595
26596 [BZ #3268]
26597 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26598 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26599 instead of dbl-64.
26600 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26601 inlines.
26602 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26604 if one of x and y is very large and the other is subnormal.
26605 * sysdeps/s390/fpu/s_fmaf.c: New file.
26606 * sysdeps/s390/fpu/s_fma.c: New file.
26607 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26608 * sysdeps/powerpc/fpu/s_fma.S: New file.
26609 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26610 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26611 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26612
266132010-10-12 Jakub Jelinek <jakub@redhat.com>
26614
26615 [BZ #3268]
26616 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26617 fma tests.
26618 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26619 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26620 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26621 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26622 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26623 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26624 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26625
b833d51f
UD
266262010-10-12 Ulrich Drepper <drepper@redhat.com>
26627
26628 [BZ #12078]
26629 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26630 * posix/bug-regex31.input: Add test case.
26631
1751705d
UD
266322010-10-11 Ulrich Drepper <drepper@gmail.com>
26633
e9b9cbf5
UD
26634 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26635 * posix/bug-regex31.input: New file.
26636
26637 [BZ #12078]
26638 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26639 (parse_sub_exp): Fix last change, use postorder.
26640
ef06edbe
UD
26641 * posix/bug-regex31.c: New file.
26642 * posix/Makefile: Add rules to build and run bug-regex31.
26643
a129c80d
UD
26644 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26645
26646 [BZ #12078]
26647 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26648
b76b818e
UD
26649 [BZ #12108]
26650 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26651 to have entries in sys_siglist.
26652
1751705d
UD
26653 [BZ #12093]
26654 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26655 be NULL.
26656
9ff8d36f
JJ
266572010-10-07 Jakub Jelinek <jakub@redhat.com>
26658
26659 [BZ #3268]
26660 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26661 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26662 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26663 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26664 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26665 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26666 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26667 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26668 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26669 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26670 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26671 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26672 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26673 * math/ftestexcept.c (fetestexcept): Likewise.
26674 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26675 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26676 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26677 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26678 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26679 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26680 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26681
af325969
UD
266822010-10-11 Ulrich Drepper <drepper@gmail.com>
26683
c579b202 26684 [BZ #12107]
af325969
UD
26685 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26686 newline.
26687
67a67b95
UD
266882010-10-06 Ulrich Drepper <drepper@gmail.com>
26689
26690 * string/bug-strstr1.c: New file.
26691 * string/Makefile: Add rules to build and run bug-strstr1.
26692
5fb308bc
EB
266932010-10-05 Eric Blake <eblake@redhat.com>
26694
26695 [BZ #12092]
26696 * string/str-two-way.h (two_way_long_needle): Always clear memory
26697 when skipping input due to the shift table.
26698
45db99c7
UD
266992010-10-03 Ulrich Drepper <drepper@gmail.com>
26700
3b111893
UD
26701 [BZ #12005]
26702 * malloc/mcheck.c: Handle large requests.
26703
45db99c7
UD
26704 [BZ #12077]
26705 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26706 for strncmp and strncasecmp.
26707 * string/stratcliff.c: Add tests for strcmp and strncmp.
26708 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26709
cf7a1eb8
NI
267102010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26711
26712 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26713 __set_fpscr.
26714
6484ba5e
AJ
267152010-09-30 Andreas Jaeger <aj@suse.de>
26716
26717 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26718 (CGROUP_SUPER_MAGIC): Define.
26719 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26720 Handle btrfs and cgroup file systems.
26721 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26722 Likewise.
26723
91c42559
LM
267242010-09-27 Luis Machado <luisgpm@br.ibm.com>
26725
26726 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26727 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26728
87a97932
AK
267292010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26730
26731 [BZ #12067]
26732 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26733 trying to locate the ELF header.
26734
c21cc9bc
AS
267352010-09-27 Andreas Schwab <schwab@redhat.com>
26736
26737 [BZ #11611]
26738 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26739 Mask out sign-bit copies when constructing f_fsid.
26740
315970f6
PB
267412010-09-24 Petr Baudis <pasky@suse.cz>
26742
26743 * debug/stack_chk_fail_local.c: Add missing licence exception.
26744 * debug/warning-nop.c: Likewise.
26745
1ac7a2c7
JM
267462010-09-15 Joseph Myers <joseph@codesourcery.com>
26747
26748 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26749 implementing getdents64 using getdents syscall, set d_type if
26750 __ASSUME_GETDENTS32_D_TYPE.
26751
56801c50
AS
267522010-09-16 Andreas Schwab <schwab@redhat.com>
26753
26754 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26755 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26756
dda51327
UD
267572010-09-21 Ulrich Drepper <drepper@redhat.com>
26758
26759 [BZ #12037]
26760 * posix/unistd.h: Undo change of feature selection for ftruncate from
26761 2010-01-11.
26762
8ffcee4a
UD
267632010-09-20 Ulrich Drepper <drepper@redhat.com>
26764
a545ecd9 26765 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26766 detection.
26767
e24f0a8b
AS
267682010-09-20 Andreas Schwab <schwab@redhat.com>
26769
26770 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26771 fanotify_mark.
26772 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26773
7291c56f
AS
267742010-09-14 Andreas Schwab <schwab@redhat.com>
26775
26776 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26777 variables after CHECK_SP call.
26778 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26779
bc5fb037
AS
267802010-09-13 Andreas Schwab <schwab@redhat.com>
26781 Ulrich Drepper <drepper@redhat.com>
26782
26783 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26784 re-relocationg ld.so.
26785 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26786 _dl_init_paths call.
26787 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26788 here anymore.
26789
e66e7419
UD
267902010-09-14 Ulrich Drepper <drepper@redhat.com>
26791
26792 * resolv/res_init.c (__res_vinit): Count the default server we added.
26793
c044aa75
CLT
267942010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26795 Ulrich Drepper <drepper@redhat.com>
26796
26797 [BZ #11968]
26798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26799 (____longjmp_chk): Use %ebx for saving value across system call.
26800 Add unwind info.
26801
32cf4069
AS
268022010-09-06 Andreas Schwab <schwab@redhat.com>
26803
26804 * manual/Makefile: Don't mix pattern rules with normal rules.
26805
817328ee
AS
268062010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26807
26808 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26809 operation.
26810 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26811 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26812 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26813 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26814 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26815 Likewise.
26816
29fddf61
UD
268172010-09-04 Ulrich Drepper <drepper@redhat.com>
26818
26819 [BZ #11979]
26820 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26821 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26822
0959ffc9
UD
268232010-09-02 Ulrich Drepper <drepper@redhat.com>
26824
26825 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26826 * sysdeps/x86_64/addmul_1.S: Likewise.
26827 * sysdeps/x86_64/lshift.S: Likewise.
26828 * sysdeps/x86_64/mul_1.S: Likewise.
26829 * sysdeps/x86_64/rshift.S: Likewise.
26830 * sysdeps/x86_64/sub_n.S: Likewise.
26831 * sysdeps/x86_64/submul_1.S: Likewise.
26832
ece29840
ST
268332010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26834
0959ffc9
UD
26835 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26836 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26837 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26838 * bits/sched.h [__need_schedparam]
ece29840 26839 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26840 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26841 (__defined_schedparam): Define to 1.
ece29840
ST
26842 (__sched_param): New structure, identical to sched_param.
26843 (__need_schedparam): Undefine.
26844
e53a31fe
MF
268452010-08-31 Mike Frysinger <vapier@gentoo.org>
26846
fdc0c10d
MF
26847 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26848 (epoll_create1): Declare.
26849
e53a31fe
MF
26850 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26851
a726d796
AS
268522010-08-31 Andreas Schwab <schwab@redhat.com>
26853
26854 [BZ #7066]
26855 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26856 shifting retval into place.
26857
2f3e3dc7
UD
268582010-09-01 Ulrich Drepper <drepper@redhat.com>
26859
f2933da9
UD
26860 * nis/rpcsvc/nis.h: Update copyright notice.
26861 * nis/rpcsvc/nis.x: Likewise.
26862 * nis/rpcsvc/nis_callback.h: Likewise.
26863 * nis/rpcsvc/nis_callback.x: Likewise.
26864 * nis/rpcsvc/nis_object.x: Likewise.
26865 * nis/rpcsvc/nis_tags.h: Likewise.
26866 * nis/rpcsvc/yp.h: Likewise.
26867 * nis/rpcsvc/yp.x: Likewise.
26868 * nis/rpcsvc/ypupd.h: Likewise.
26869 * nis/yp_xdr.c: Likewise.
26870 * nis/ypupdate_xdr.c: Likewise.
26871
2f3e3dc7
UD
26872 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26873 mainly the body of pmap_getport. Add parameters to specify timeouts.
26874 (pmap_getport): Use __libc_rpc_getport.
26875 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26876 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26877 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26878
f3dcc2f9
AS
268792010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26880
26881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26882 fanotify_mark.
26883
6d34eb5b
RM
268842010-08-27 Roland McGrath <roland@redhat.com>
26885
26886 * sysdeps/i386/i686/multiarch/Makefile
26887 (CFLAGS-varshift.c): New variable.
26888
9ea3de11
UD
268892010-08-27 Ulrich Drepper <drepper@redhat.com>
26890
c96d23fc
UD
26891 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26892 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26893
9ea3de11
UD
26894 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26895
26896 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26897
623aac7f
L
268982010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26899
26900 * sysdeps/x86_64/strlen.S: Unroll the loop.
26901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26902 strlen-sse2 strlen-sse2-bsf.
26903 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26904 __strlen_no_bsf if bit_Slow_BSF is set.
26905 (__strlen_sse42): Removed.
26906 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26907 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26908
8b2b7715
RM
269092010-08-25 Roland McGrath <roland@redhat.com>
26910
26911 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26912 * sysdeps/x86_64/multiarch/varshift.c: New file.
26913 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26914 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26915 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26916 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26917
e73015f2
L
269182010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26919
26920 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26921 strlen-sse2 strlen-sse2-bsf.
26922 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26923 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26924 (__strlen_sse2): Removed.
26925 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26926 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26928 bit_Slow_BSF for Atom.
26929 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26930 (index_Slow_BSF): Define.
26931 (HAS_SLOW_BSF): Define.
26932
df24a73e
UD
269332010-08-25 Ulrich Drepper <drepper@redhat.com>
26934
26935 [BZ #10851]
26936 * resolv/res_init.c (__res_vinit): When no server address at all
26937 is given default to loopback.
26938
f2ac4868
RM
269392010-08-24 Roland McGrath <roland@redhat.com>
26940
09055553
RM
26941 * configure.in: Remove config-name.h generation.
26942 * configure: Regenerated.
26943 * config-name.in: File removed.
26944 * scripts/config-uname.sh: New file.
26945 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26946 ($(objdir)config-name.h): New target.
26947
f2ac4868
RM
26948 * sunrpc/rpc_parse.h: Avoid nested comment.
26949
73f27d5e
RH
269502010-08-24 Richard Henderson <rth@redhat.com>
26951 Ulrich Drepper <drepper@redhat.com>
26952 H.J. Lu <hongjiu.lu@intel.com>
26953
26954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26955 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26956 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26957 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26958 _mm_alignr_epi8 with _mm_loadu_si128.
26959 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26960 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26961 (__m128i_shift_right): Removed.
26962 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26963 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26964 * sysdeps/x86_64/multiarch/varshift.h: New file.
26965 * sysdeps/x86_64/multiarch/varshift.S: New file.
26966
84b9230c
MF
269672010-08-21 Mike Frysinger <vapier@gentoo.org>
26968
26969 * configure.in: Move assembler checks to before sysdep dir checking.
26970
9bbd0ddc
PB
269712010-08-20 Petr Baudis <pasky@suse.cz>
26972
26973 * LICENSES: Sync the sunrpc license.
26974
9da4bb31
UD
269752010-08-19 Ulrich Drepper <drepper@redhat.com>
26976
a7ab6ec8
UD
26977 * sunrpc/auth_des.c: Update copyright notice once again.
26978 * sunrpc/auth_none.c: Likewise.
26979 * sunrpc/auth_unix.c: Likewise.
26980 * sunrpc/authdes_prot.c: Likewise.
26981 * sunrpc/authuxprot.c: Likewise.
26982 * sunrpc/bindrsvprt.c: Likewise.
26983 * sunrpc/clnt_gen.c: Likewise.
26984 * sunrpc/clnt_perr.c: Likewise.
26985 * sunrpc/clnt_raw.c: Likewise.
26986 * sunrpc/clnt_simp.c: Likewise.
26987 * sunrpc/clnt_tcp.c: Likewise.
26988 * sunrpc/clnt_udp.c: Likewise.
26989 * sunrpc/clnt_unix.c: Likewise.
26990 * sunrpc/des_crypt.c: Likewise.
26991 * sunrpc/des_soft.c: Likewise.
26992 * sunrpc/get_myaddr.c: Likewise.
26993 * sunrpc/getrpcport.c: Likewise.
26994 * sunrpc/key_call.c: Likewise.
26995 * sunrpc/key_prot.c: Likewise.
26996 * sunrpc/openchild.c: Likewise.
26997 * sunrpc/pm_getmaps.c: Likewise.
26998 * sunrpc/pm_getport.c: Likewise.
26999 * sunrpc/pmap_clnt.c: Likewise.
27000 * sunrpc/pmap_prot.c: Likewise.
27001 * sunrpc/pmap_prot2.c: Likewise.
27002 * sunrpc/pmap_rmt.c: Likewise.
27003 * sunrpc/rpc/auth.h: Likewise.
27004 * sunrpc/rpc/auth_unix.h: Likewise.
27005 * sunrpc/rpc/clnt.h: Likewise.
27006 * sunrpc/rpc/des_crypt.h: Likewise.
27007 * sunrpc/rpc/key_prot.h: Likewise.
27008 * sunrpc/rpc/netdb.h: Likewise.
27009 * sunrpc/rpc/pmap_clnt.h: Likewise.
27010 * sunrpc/rpc/pmap_prot.h: Likewise.
27011 * sunrpc/rpc/pmap_rmt.h: Likewise.
27012 * sunrpc/rpc/rpc.h: Likewise.
27013 * sunrpc/rpc/rpc_des.h: Likewise.
27014 * sunrpc/rpc/rpc_msg.h: Likewise.
27015 * sunrpc/rpc/svc.h: Likewise.
27016 * sunrpc/rpc/svc_auth.h: Likewise.
27017 * sunrpc/rpc/types.h: Likewise.
27018 * sunrpc/rpc/xdr.h: Likewise.
27019 * sunrpc/rpc_clntout.c: Likewise.
27020 * sunrpc/rpc_cmsg.c: Likewise.
27021 * sunrpc/rpc_common.c: Likewise.
27022 * sunrpc/rpc_cout.c: Likewise.
27023 * sunrpc/rpc_dtable.c: Likewise.
27024 * sunrpc/rpc_hout.c: Likewise.
27025 * sunrpc/rpc_main.c: Likewise.
27026 * sunrpc/rpc_parse.c: Likewise.
27027 * sunrpc/rpc_parse.h: Likewise.
27028 * sunrpc/rpc_prot.c: Likewise.
27029 * sunrpc/rpc_sample.c: Likewise.
27030 * sunrpc/rpc_scan.c: Likewise.
27031 * sunrpc/rpc_scan.h: Likewise.
27032 * sunrpc/rpc_svcout.c: Likewise.
27033 * sunrpc/rpc_tblout.c: Likewise.
27034 * sunrpc/rpc_util.c: Likewise.
27035 * sunrpc/rpc_util.h: Likewise.
27036 * sunrpc/rpcinfo.c: Likewise.
27037 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27038 * sunrpc/rpcsvc/key_prot.x: Likewise.
27039 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27040 * sunrpc/rpcsvc/mount.x: Likewise.
27041 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27042 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27043 * sunrpc/rpcsvc/rex.x: Likewise.
27044 * sunrpc/rpcsvc/rstat.x: Likewise.
27045 * sunrpc/rpcsvc/rusers.x: Likewise.
27046 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27047 * sunrpc/rpcsvc/spray.x: Likewise.
27048 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27049 * sunrpc/rtime.c: Likewise.
27050 * sunrpc/svc.c: Likewise.
27051 * sunrpc/svc_auth.c: Likewise.
27052 * sunrpc/svc_authux.c: Likewise.
27053 * sunrpc/svc_raw.c: Likewise.
27054 * sunrpc/svc_run.c: Likewise.
27055 * sunrpc/svc_simple.c: Likewise.
27056 * sunrpc/svc_tcp.c: Likewise.
27057 * sunrpc/svc_udp.c: Likewise.
27058 * sunrpc/svc_unix.c: Likewise.
27059 * sunrpc/svcauth_des.c: Likewise.
27060 * sunrpc/xcrypt.c: Likewise.
27061 * sunrpc/xdr.c: Likewise.
27062 * sunrpc/xdr_array.c: Likewise.
27063 * sunrpc/xdr_float.c: Likewise.
27064 * sunrpc/xdr_mem.c: Likewise.
27065 * sunrpc/xdr_rec.c: Likewise.
27066 * sunrpc/xdr_ref.c: Likewise.
27067 * sunrpc/xdr_sizeof.c: Likewise.
27068 * sunrpc/xdr_stdio.c: Likewise.
27069
9da4bb31
UD
27070 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27071 handling.
27072
bdaa77bc
AS
270732010-08-19 Andreas Schwab <schwab@redhat.com>
27074
27075 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27076
fe2f79db
LM
270772010-08-19 Luis Machado <luisgpm@br.ibm.com>
27078
27079 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27080 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27081 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27082 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27083 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27084 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27085 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27086 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27087 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27088 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27089 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27090 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27091 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27092 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27093
b9b42ee0
AB
270942010-07-26 Anton Blanchard <anton@samba.org>
27095
27096 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27097 * malloc/arena.c (heap_trim): Likewise.
27098
1c06ba31
UD
270992010-08-16 Ulrich Drepper <drepper@redhat.com>
27100
27101 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27102 here. Not...
27103 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27104 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27105
f8392f40
L
271062010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27107
27108 * sysdeps/i386/elf/Makefile: New file.
27109
3162f12e
AS
271102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27111
27112 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27113 from fanotify_init.
27114 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27115 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27116
28c90b2c
UD
271172010-08-15 Ulrich Drepper <drepper@redhat.com>
27118
27119 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27120 of strncasecmp_l.
1feccb6c 27121 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27122
ca6bb004
UD
271232010-08-14 Ulrich Drepper <drepper@redhat.com>
27124
e9f82e0d
UD
27125 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27126 strncase_l-nonascii.
27127 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27128 Add strncase_l-ssse3.
27129 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27130 * sysdeps/x86_64/strcmp.S: Likewise.
27131 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27132 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27133 * sysdeps/x86_64/strncase.S: New file.
27134 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27135 * sysdeps/x86_64/strncase_l.S: New file.
27136 * string/Makefile (strop-tests): Add strncasecmp.
27137 * string/test-strncasecmp.c: New file.
27138
27139 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27140 warning.
27141
ca6bb004
UD
27142 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27143 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27144
052fa7b3
AS
271452010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27146
27147 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27148
962dba78
UD
271492010-08-12 Ulrich Drepper <drepper@redhat.com>
27150
27151 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27152 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27153 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27154
bebff237
AM
271552010-05-01 Alan Modra <amodra@gmail.com>
27156
27157 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27158 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27159 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27160 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27161 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27162 tidying. Don't tail-call __sigjmp_save for static lib.
27163 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27164 save location.
27165 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27166 (CALL_MCOUNT): Add eh info, and nop after bl.
27167 (TAIL_CALL_SYSCALL_ERROR): New macro.
27168 (PSEUDO_RET): Use it.
27169 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27170 Correct save location of integer regs and cr.
27171 (_dl_profile_resolve): Correct cr save location. Delete nops
27172 after bl when SHARED. Reduce cfi size a little by better
27173 placement of cfi directives.
27174 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27175 make a stack frame. Instead use parm save area as a temp.
27176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27177 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27179 Don't make a stack frame for parent, use parm save area.
27180 Increase child stack frame to 112 bytes. Don't save unused reg,
27181 and adjust reg usage. Set up cfi on error recovery and
27182 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27184 (__makecontext): Add dummy nop after jump to exit.
27185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27186 Use correct parm save area and cr save, reduce stack frame.
27187 Correct cfi for possible PSEUDO_RET frame setup.
27188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27189 Branch to local label emitted by PSEUDO_RET rather than
27190 __syscall_error.
27191
02637374
AS
271922010-08-12 Andreas Schwab <schwab@redhat.com>
27193
27194 [BZ #11904]
27195 * locale/programs/locale.c (print_assignment): New function.
27196 (show_locale_vars): Use it.
27197
c3e2f19b
UD
271982010-08-11 Ulrich Drepper <drepper@redhat.com>
27199
3cdaa6ad
UD
27200 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27201 field.
27202 (struct statfs64): Likewise.
27203 (_STATFS_F_FLAGS): Define.
27204 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27205 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27206 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27207 (ST_VALID): Define locally.
27208 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27209 __statvfs_getflags, use the provided value.
27210 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27211 __ASSUME_STATFS_F_FLAGS.
27212
754f7da3
UD
27213 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27214
10b3bedc
UD
27215 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27216 Add sys/fanotify.h.
27217 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27218 fanotify_mask for GLIBC_2.13.
27219 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27220 fanotify_init and fanotify_mark.
27221 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27222 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27223
c08fb0d7
UD
27224 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27225 Add prlimit.
27226 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27227 prlimit64 for GLIBC_2.13.
27228 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27229 prlimit64.
27230 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27231 syscall.
27232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27233 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27234 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27235 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27236 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27237 add prlimit alias.
27238 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27239
15bac72b
UD
27240 [BZ #11903]
27241 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27242 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27243
c3e2f19b
UD
27244 * nss/Makefile: Add rules to build and run tst-nss-test1.
27245 * shlib-versions: Add entry for libnss_test1.
27246 * nss/nss_test1.c: New file.
27247 * nss/tst-nss-test1.c: New file.
27248
27249 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27250 (__nss_configure_lookup): Set appropriate entry in
27251 __nss_configure_lookup to true.
27252 * nss/nsswitch.h: Define enum with indeces of databases in
27253 databases and __nss_database_custom arrays. Declare
27254 __nss_database_custom.
27255 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27256 to avoid using nscd when custom rules are installed.
27257 * nss/getXXbyYY_r.c: Likewise.
27258 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27259
27260 * nss/nss_files/files-parse.c: Whitespace fixes.
27261
f15ce4d8
UD
272622010-08-09 Ulrich Drepper <drepper@redhat.com>
27263
27264 [BZ #11883]
27265 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27266 * posix/fnmatch_loop.c: Likewise.
27267
d22e4cc9
AK
272682010-07-17 Andi Kleen <ak@linux.intel.com>
27269
27270 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27271 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27272 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27273 * Versions.def [GLIBC_2.13]: Add.
27274
805bc17d
UD
272752010-08-06 Ulrich Drepper <drepper@redhat.com>
27276
27277 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27278 Also fail if tpwd after pwuid call is NULL.
27279
5a42321d
ST
272802010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27281
27282 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27283 when converting to ms.
27284
fd3ebeda
ST
272852010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27286
27287 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27288 EOPNOTSUPP errors with ENOTTY.
27289 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27290 EOPNOTSUPP errors with ENOTTY.
27291
73507d3a
UD
272922010-07-31 Ulrich Drepper <drepper@redhat.com>
27293
27294 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27295 Add strcasecmp_l-ssse3.
27296 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27297 strcasecmp.
27298 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27299 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27300 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27301
fe36dd02
UD
273022010-07-30 Ulrich Drepper <drepper@redhat.com>
27303
66f6765a
UD
27304 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27305
42e08a54
UD
27306 * string/Makefile (strop-tests): Add strcasecmp.
27307 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27308 strcasecmp_l-nonascii.
27309 (gen-as-const-headers): Add locale-defines.sym.
27310 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27311 * sysdeps/x86_64/strcasecmp.S: New file.
27312 * sysdeps/x86_64/strcasecmp_l.S: New file.
27313 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27314 * sysdeps/x86_64/locale-defines.sym: New file.
27315 * string/test-strcasecmp.c: New file.
27316
fe36dd02
UD
27317 * string/test-strcasestr.c: Test both ends of the range of characters.
27318 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27319
48cbc0d6
RM
273202010-07-29 Roland McGrath <roland@redhat.com>
27321
76e6d6bc 27322 [BZ #11856]
48cbc0d6
RM
27323 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27324
880113d9
UD
273252010-07-27 Ulrich Drepper <drepper@redhat.com>
27326
27327 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27328 for ld.so.
27329
deb9cabb
AS
273302010-07-27 Andreas Schwab <schwab@redhat.com>
27331
27332 * manual/memory.texi (Malloc Tunable Parameters): Document
27333 M_PERTURB.
27334
1c7570ff
RM
273352010-07-26 Roland McGrath <roland@redhat.com>
27336
27337 [BZ #11840]
27338 * configure.in (-fgnu89-inline check): Set and substitute
27339 gnu89_inline, not libc_cv_gnu89_inline.
27340 * configure: Regenerated.
27341 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27342
24fb0f88
UD
273432010-07-26 Ulrich Drepper <drepper@redhat.com>
27344
27345 * string/test-strnlen.c: New file.
27346 * string/Makefile (strop-tests): Add strnlen.
27347 * string/tester.c (test_strnlen): Add a few more test cases.
27348 * string/tst-strlen.c: Better error reporting.
27349
27350 * sysdeps/x86_64/strnlen.S: New file.
27351
8e96b93a
UD
273522010-07-24 Ulrich Drepper <drepper@redhat.com>
27353
27354 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27355 lower-latency instructions.
27356
dbc676d4
UD
273572010-07-23 Ulrich Drepper <drepper@redhat.com>
27358
27359 * string/test-strcasestr.c: New file.
27360 * string/test-strstr.c: New file.
27361 * string/Makefile (strop-tests): Add strstr and strcasestr.
27362 * string/str-two-way.h: Don't undefine MAX.
27363 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27364
f6a31e0e
AS
273652010-07-21 Andreas Schwab <schwab@redhat.com>
27366
27367 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27368 strcasestr-nonascii.
27369 (CFLAGS-strcasestr-nonascii.c): Define.
27370 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27371 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27372 Remove unused attribute.
27373
5dbc3b6c
RM
273742010-07-20 Roland McGrath <roland@redhat.com>
27375
27376 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27377 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27378 ld.so.cache was broken. With it, there is no way to disable dsocaps
27379 like LD_HWCAP_MASK can disable hwcaps.
27380
23d101d8
EPM
273812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27382
27383 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27384
cc9f2e47
UD
273852010-07-16 Ulrich Drepper <drepper@redhat.com>
27386
27387 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27388 call in strcasestr.
27389 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27390 __strcasestr_sse42_nonascii.
27391 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27392 strcasestr-nonascii.c.
27393 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27394
77c1b069
LM
273952010-06-15 Luis Machado <luisgpm@br.ibm.com>
27396
27397 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27398 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27399 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27400 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27401
440566c3
UD
274022010-07-09 Ulrich Drepper <drepper@redhat.com>
27403
27404 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27405 fcntl.
27406
5be9d05d
AS
274072010-07-06 Andreas Schwab <schwab@redhat.com>
27408
c30b7ee2 27409 [BZ #11577]
5be9d05d
AS
27410 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27411 dl_signal_cerror.
27412
8a492a67
UD
274132010-07-06 Ulrich Drepper <drepper@redhat.com>
27414
27415 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27416 _PC_PIPE_BUF using F_GETPIPE_SZ.
27417
713df3d5
RM
274182010-07-05 Roland McGrath <roland@redhat.com>
27419
27420 * manual/arith.texi (Rounding Functions): Fix rint description
27421 implicit in round description.
27422
702e8f14
UD
274232010-07-02 Ulrich Drepper <drepper@redhat.com>
27424
27425 * elf/Makefile: Fix linking for a few tests to make recent linker
27426 happy.
27427
52ed8be9
AS
274282010-06-30 Andreas Schwab <schwab@redhat.com>
27429
27430 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27431 $(common-objpfx)libc_nonshared.a.
27432
f47c9a11
LM
274332010-06-21 Luis Machado <luisgpm@br.ibm.com>
27434
27435 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27436 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27437 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27438 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27439 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27440 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27441 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27442 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27457 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27458 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27459 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27460 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27461 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27462 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27463 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27464 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27465 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27466 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27467 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27468 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27483
6fb8cbcb
L
274842010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27485
27486 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27487 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27488 * string/memmove.c (memmove): Renamed to ...
27489 (MEMMOVE): ...this. Default to memmove.
27490 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27491 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27492 (END_CHK): Define.
27493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27494 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27495 mempcpy-ssse3-back memmove-ssse3-back.
27496 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27497 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27498 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27499 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27500 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27501 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27502 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27503 * sysdeps/x86_64/multiarch/memmove.c: New file.
27504 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27505 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27506 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27507 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27508 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27509 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27510 Define.
27511 (index_Fast_Copy_Backward): Define.
27512 (HAS_ARCH_FEATURE): Define.
27513 (HAS_FAST_REP_STRING): Define.
27514 (HAS_FAST_COPY_BACKWARD): Define.
27515
4e733bac 275162010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27517
27518 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27519 Restore proper fallback handling.
27520
63c4ed22
UD
275212010-06-19 Ulrich Drepper <drepper@redhat.com>
27522
ac2b484c
UD
27523 [BZ #11701]
27524 * posix/group_member.c (__group_member): Correct checking loop.
27525
63c4ed22
UD
27526 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27527 OOM in getpwuid_r correctly. Return error number when the caller
27528 should return, otherwise -1.
27529 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27530 call returning > 0 value.
27531 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27532
765ade4b
AS
275332010-06-07 Andreas Schwab <schwab@redhat.com>
27534
27535 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27536 libc_nonshared.a from targets in modules-names.
27537
80da2e09
KS
275382010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27539
27540 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27541 requires it.
27542
158db122
LM
275432010-06-10 Luis Machado <luisgpm@br.ibm.com>
27544
27545 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27546 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27547 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27548 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27549
caa78cf8
AS
275502010-06-02 Andreas Schwab <schwab@redhat.com>
27551
27552 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27553
b2ef2c01
UD
275542010-06-14 Ulrich Drepper <drepper@redhat.com>
27555
27556 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27557 and F_GETPIPE_SZ.
27558 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27559 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27562 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27563 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27564
fbd643b6
RM
275652010-06-14 Roland McGrath <roland@redhat.com>
27566
27567 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27568
f32f2869
JJ
275692010-06-07 Jakub Jelinek <jakub@redhat.com>
27570
27571 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27572 __REDIRECT followed by __THROW.
27573 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27574 * posix/getopt.h (getopt): Likewise.
27575
2a50c078
EPM
275762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27577
27578 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27579 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27580 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27581 in AT_FLAGS.
27582 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27583 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27584
eb5ad2eb
LM
275852010-05-28 Luis Machado <luisgpm@br.ibm.com>
27586
27587 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27588
3c88fe1e
L
275892010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27590
27591 [BZ #11640]
27592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27593 Properly check family and model.
27594
d2f73151
TY
275952010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27596
27597 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27598
ebd2e13d
LM
275992010-05-24 Luis Machado <luisgpm@br.ibm.com>
27600
27601 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27602
b32b8b45
UD
276032010-05-21 Ulrich Drepper <drepper@redhat.com>
27604
27605 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27606 symbol reference.
27607
9acbe24d
AS
276082010-05-19 Andreas Schwab <schwab@redhat.com>
27609
27610 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27611 symbol reference.
27612
f0ccf6ea
AS
276132010-05-21 Andreas Schwab <schwab@redhat.com>
27614
3d04ff3a
AS
27615 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27616 and internal_recvmmsg.
27617 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27618 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27619 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27620 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27621
f0ccf6ea
AS
27622 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27623 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27624 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27625
5b08ac57
AS
276262010-05-20 Andreas Schwab <schwab@redhat.com>
27627
27628 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27629
4828935d
LM
276302010-05-17 Luis Machado <luisgpm@br.ibm.com>
27631
27632 POWER7 optimizations.
27633 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27634 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27635
373d545e
UD
276362010-05-19 Ulrich Drepper <drepper@redhat.com>
27637
27638 * version.h: Update for 2.13 development version.
27639
21a2b1ae
AS
276402010-05-12 Andrew Stubbs <ams@codesourcery.com>
27641
27642 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27643 exceptions. Return 0.
27644
3f7dcb2b
RM
276452010-05-07 Roland McGrath <roland@redhat.com>
27646
27647 * elf/ldconfig.c (main): Add a const.
27648
5f24d53a 276492010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27650
a160f8d8
UD
27651 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27652 (args_options): Add no-idn option.
27653 (ahosts_keys_int): Add idn_flags to ai_flags.
27654 (parse_option): Handle 'i' option to clear idn_flags.
27655
5f24d53a
UD
27656 * malloc/malloc.c (_int_free): Possible race in the most recently
27657 added check. Only act on the data if no current modification
27658 happened.
265bb1ce
UD
27659
27660See ChangeLog.17 for earlier changes.