]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[BZ #14686, #15336] Fix standard compliance. Don't use hard-coded qNaN values.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
bf0f50df
TS
12013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2
a1cbf437
TS
3 [BZ #14686, #15336]
4 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6 Instead, use input NaN values or generate a qNaN by arithmetic
7 operation. Also fix bugs to comply with the standard.
8 * math/libm-test.inc (remainder_test): Add more tests.
9
8b43a0c9
TS
10 [BZ #15335, #15342]
11 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
13 input NaN values or generate a qNaN by arithmetic operation.
14
d91da4ce
TS
15 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16 unreachable code.
17
bf0f50df
TS
18 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19 definitions.
20
05e166c8
JM
212013-04-03 Joseph Myers <joseph@codesourcery.com>
22
23 [BZ #14478]
24 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25 underflowed result.
26 * math/s_cexpf.c (__cexpf): Likewise.
27 * math/s_cexpl.c (__cexpl): Likewise.
28 * math/libm-test.inc (cexp_test): Add more tests.
29
1cef1b19
AS
302013-04-03 Andreas Schwab <schwab@suse.de>
31
32 [BZ #15330]
33 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34 order arrays from heap if bigger than alloca cutoff.
35
74d87055
TS
362013-04-03 Thomas Schwinge <thomas@codesourcery.com>
37
38 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
39 (SNAN_TESTS_double): Refer to GCC PR56831.
40 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
41 GCC PR56828.
42
d755bba4
SP
432013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
44
90d5d5bb
SP
45 * Rules (bench): Move bench.out after the run is complete.
46
73e0cd5d
SP
47 * Rules (bench): Echo currently running benchmark.
48
64aabd4b
SP
49 * benchtests/Makefile (bench): Add atan and slowatan.
50 * benchtests/atan-inputs: New file.
51 * benchtests/slowatan-inputs: New file.
52 * benchtests/slowatan.c: New file.
53
c871eccd
SP
54 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
55 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
56 its value.
57
d755bba4
SP
58 [BZ #15305]
59 * sysdeps/unix/sysv/linux/kernel-features.h
60 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
61 __ASSUME_XFS_RESTRICTED_CHOWN.
62 * sysdeps/unix/sysv/linux/pathconf.c
63 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
64 Save and restore errno.
65
52ce4860
JM
662013-04-02 Joseph Myers <joseph@codesourcery.com>
67
68 [BZ #15327]
69 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
70 arguments using __kernel_casinh.
71 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
72 arguments using __kernel_casinhf.
73 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
74 arguments using __kernel_casinhl.
75 * math/libm-test.inc (cacosh_test): Add more tests.
76 * sysdeps/i386/fpu/libm-test-ulps: Update.
77 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78
81f311c2
SP
792013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
80
e7906a47
SP
81 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
82 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
83
92e3664b
SP
84 * bench/Makefile (bench): Add sin and slowsin.
85 * benchtests/sin-inputs: New file.
86 * benchtests/slowsin-inputs: New file.
87 * benchtests/slowsin.c: New file.
88
81f311c2
SP
89 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
90 (bench): Add slowexp and slowpow.
91 (exp-ITER): Increase iterations.
92 (pow-ITER): Likewise.
93 * benchtests/exp-inputs: Change input.
94 * benchtests/pow-inputs: Likewise.
95 * benchtests/slowexp-inputs: New file.
96 * benchtests/slowexp.c: New file.
97 * benchtests/slowpow-inputs: New file.
98 * benchtests/slowpow.c: New file.
99
ab0f1aa9
AZ
1002013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
101
102 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
103 instructions.
104 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
105 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
106 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
107 * benchtests/Makefile: Add rint benchtest.
108 * benchtests/rint-inputs: Input for rint benchtest.
109
57267616
TS
1102013-04-02 Thomas Schwinge <thomas@codesourcery.com>
111
112 * Versions.def (libm): Add GLIBC_2.18.
113 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
114 hidden libm prototypes.
115 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
116 * math/Makefile (libm-calls): Add s_issignaling.
117 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
118 __issignalingf, __issignalingl. Adjust all libm.abilist files.
119 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
120 declaration.
121 * math/math.h [__USE_GNU] (issignaling): New macro.
122 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
123 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
124 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
125 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
126 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
127 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
128 * manual/arith.texi (issignaling): New section.
129 * manual/libm-err-tab.pl (@all_functions): Update comment.
130 * math/gen-libm-test.pl (parse_args): Apply special handling for
131 issignaling.
132 * math/libm-test.inc (print_float, issignaling_test): New
133 functions.
134 (check_float_internal): Add issignaling checks.
135 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
136 default definition.
137 * sysdeps/powerpc/math-tests.h: New file.
138 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
139 tests.
140 * math/test-snan.c (TEST_FUNC): Likewise.
141
6142896d
DM
1422013-03-30 David S. Miller <davem@davemloft.net>
143
144 * po/de.po: Update from translation team.
145
ccc8cadf
JM
1462013-03-30 Joseph Myers <joseph@codesourcery.com>
147
148 [BZ #10357]
149 * math/k_casinh.c (__kernel_casinh): Handle arguments with
150 imaginary part less than 1.0 and real part less than 0.5
151 specially.
152 * math/k_casinhf.c (__kernel_casinhf): Likewise.
153 * math/k_casinhl.c (__kernel_casinhl): Likewise.
154 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
155 (cacos_test): Add more tests.
156 (casin_test): Likewise.
157 (casinh_test): Likewise.
158 * sysdeps/i386/fpu/libm-test-ulps: Update.
159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
160
0f6a8d4b
SP
1612013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
162
0d1029de
SP
163 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
164 ONE with its value.
165
c2d94018
SP
166 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
167 (__pow_mp): Replace ONE and MONE with their values.
168 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
169 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
170 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
171 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
172 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
173 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
174
27ec37f1
SP
175 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
176
a64d7e0e
SP
177 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
178 (__pow_mp): Replace ZERO and MZERO with their values.
179 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
180 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
181 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
182 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
183 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
184 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
185 (__sqr): Likewise.
186
d26dd3eb
SP
187 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
188
0f6a8d4b
SP
189 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
190
e57b0c61
RM
1912013-03-28 Roland McGrath <roland@hack.frob.com>
192
193 * include/stdlib.h [!SHARED] (__call_tls_dtors):
194 Declare with __attribute__ ((weak)).
195 * stdlib/exit.c (__libc_atexit) [!SHARED]:
196 Call __call_tls_dtors only if it's not NULL.
197
356b3480
RM
1982013-03-28 Roland McGrath <roland@hack.frob.com>
199
288f7d79
RM
200 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
201 didn't do it already, then set _dl_phdr and _dl_phnum based on the
202 magic __ehdr_start linker symbol if it's defined.
203 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
204 them up here if it was already done.
205
dc0a0263
RM
206 * elf/dl-support.c (_dl_phdr): Make pointer to const.
207 (_dl_aux_init): Use const in cast when setting it.
208 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
209 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
210 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
211
3d3436ae
RM
212 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
213 Declare them here.
214 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
215 * csu/libc-tls.c: Nor here.
216 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
217
356b3480
RM
218 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
219 (__libc_message): Never call vsyslog.
220
b0f1246a
AM
2212013-03-28 Alan Modra <amodra@gmail.com>
222
223 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
224 Define as empty.
225 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
226 Likewise.
227
fbbe2b9a
AZ
2282013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
229
230 [BZ #15214]
231 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
232 underflow.
233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
234
1728ab37
SP
2352013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
236
7a86be6e
SP
237 [BZ #15304]
238 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
239 Don't add gid passed as argument.
240
1728ab37
SP
241 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
242
3a7182a1
JM
2432013-03-27 Joseph Myers <joseph@codesourcery.com>
244
245 [BZ #15307]
246 * math/k_casinh.c (__kernel_casinh): Handle arguments with
247 imaginary part between 1.0 and 1.5 and real part less than 0.5
248 specially.
249 * math/k_casinhf.c (__kernel_casinhf): Likewise.
250 * math/k_casinhl.c (__kernel_casinhl): Likewise.
251 * math/libm-test.inc (cacos_test): Add more tests.
252 (casin_test): Likewise.
253 (casinh_test): Likewise.
254 * sysdeps/i386/fpu/libm-test-ulps: Update.
255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
256
6f2e90e7
SP
2572013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
258
5739f705
SP
259 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
260 constants.
261 (norm): Likewise.
262 (denorm): Likewise.
263 (__dbl_mp): Likewise.
264 (add_magnitudes): Likewise.
265 (sub_magnitudes): Likewise.
266 (__add): Likewise.
267 (__sub): Likewise.
268 (__mul): Likewise.
269 (__sqr): Likewise.
270 (__inv): Likewise.
271 (__dvd): Likewise.
272
e375e83d
SP
273 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
274 commented code.
275 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
276 (__dubcos): Likewise.
277 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
278 (__ieee754_acos): Likewise.
279 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
280 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
281 (__exp1): Likewise.
282 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
283 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
284 (log1): Likewise.
285 (my_log2): Likewise.
286 (checkint): Likewise.
287 * sysdeps/ieee754/dbl-64/e_remainder.c
288 (__ieee754_remainder): Likewise.
289 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
290 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
291 (bsloww): Likewise.
292 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
293
6f2e90e7
SP
294 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
295 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
296 MANTISSA_STORE_T to store computations on mantissa. Use
297 macros for rounding and division.
298 (denorm): Likewise.
299 (__dbl_mp): Likewise.
300 (add_magnitudes): Likewise.
301 (sub_magnitudes): Likewise.
302 (__mul): Likewise.
303 (__sqr): Likewise.
304 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
305 powers of two in terms of TWOPOW macro.
306 (mp_no): Make type of mantissa as MANTISSA_T.
307 [!RADIXI]: Define RADIXI.
308 [!TWO52]: Define TWO52.
309 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
310
fce14d4e
AZ
3112013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
312
313 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
314 llroundl symbol when building for PPC32.
315
9ad027fb
MW
3162013-03-24 Mark H Weaver <mhw@netris.org>
317
318 * manual/arith.texi (Normalization Functions): Fix prototypes for
319 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
320
e42a38dd
AZ
3212013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
322
323 [BZ #13889]
324 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
325 high value to check if expl overflow.
326 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
327 to check for underflow and overflow.
328 * math/libm-test.inc: Add exp test.
329
2e0fb521
DL
3302013-03-21 Dmitry V. Levin <ldv@altlinux.org>
331
332 [BZ #11120]
333 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
334 with NOT_IN_libc.
335
b5784d95
AZ
3362013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
337
338 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
339 symbol.
340
5aa4a1a1
TS
3412013-03-21 Thomas Schwinge <thomas@codesourcery.com>
342
bdef0be7
TS
343 * math/gen-libm-test.pl (parse_args, special_functions): Properly
344 wrap blocks consisting of several statements.
345
5aa4a1a1
TS
346 * sysdeps/generic/math-tests.h: New file.
347 * sysdeps/i386/fpu/math-tests.h: Likewise.
348 * math/test-snan.c: Include it.
349 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
350
98c48fe5
JM
3512013-03-21 Joseph Myers <joseph@codesourcery.com>
352
353 [BZ #15285]
354 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
355 (__ieee754_j0l): Do not improve calculations using cos of twice
356 input for inputs above LDBL_MAX / 2.0L.
357 (__ieee754_y0l): Likewise.
358 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
359 (__ieee754_j1l): Do not improve calculations using cos of twice
360 input for inputs above LDBL_MAX / 2.0L.
361 (__ieee754_y1l): Likewise.
362 * math/libm-test.inc (j0_test): Add another test.
363 (j1_test): Likewise.
364 (y0_test): Likewise.
365 (y1_test): Likewise.
366 * sysdeps/i386/fpu/libm-test-ulps: Update.
367
3775a8bc
SP
3682013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
369
370 * Rules ($(objpfx)bench-%.c): Include code from a C source
371 file.
372
0a1b2ae6
JM
3732013-03-21 Joseph Myers <joseph@codesourcery.com>
374
375 [BZ #15287]
376 * math/k_casinh.c (__kernel_casinh): Handle arguments with
377 imaginary part 1.0 and real part less than 0.5 specially.
378 * math/k_casinhf.c (__kernel_casinhf): Likewise.
379 * math/k_casinhl.c (__kernel_casinhl): Likewise.
380 * math/libm-test.inc (cacos_test): Add more tests.
381 (casin_test): Likewise.
382 (casinh_test): Likewise.
383 * sysdeps/i386/fpu/libm-test-ulps: Update.
384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
385
b33d4ce4
SP
3862013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
387
388 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
389 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
390
bef0b507
JM
3912013-03-20 Joseph Myers <joseph@codesourcery.com>
392
393 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
394 * config.make.in (config-cflags-sse4): Remove variable.
395 (config-cflags-avx): Likewise.
396 (config-cflags-sse2avx): Likewise.
397 (config-cflags-novzeroupper): Likewise.
398 (config-asflags-i686): Likewise.
399 (have-mfma4): Likewise.
400 (have-as-vis3): Likewise.
401 (MIG): Likewise.
402 * configure.in (MIG): Do not AC_SUBST.
403 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
404 (libc_cv_cc_sse4): Do not AC_SUBST.
405 (libc_cv_cc_avx): Likewise.
406 (libc_cv_cc_sse2avx): Likewise.
407 (libc_cv_cc_novzeroupper): Likewise.
408 (libc_cv_cc_fma4): Likewise.
409 (libc_cv_as_i686): Likewise.
410 (libc_cv_sparc_as_vis3): Likewise.
411 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
412 LIBC_CONFIG_VAR.
413 (config-asflags-i686): Likewise.
414 (config-cflags-avx): Likewise.
415 (config-cflags-sse2avx): Likewise.
416 (have-mfma4): Likewise.
417 (config-cflags-novzeroupper): Likewise.
418 * sysdeps/mach/configure.in (MIG): Likewise.
419 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
420 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
421 LIBC_CONFIG_VAR.
422 (config-cflags-avx): Likewise.
423 (config-cflags-sse2avx): Likewise.
424 (have-mfma4): Likewise.
425 (config-cflags-novzeroupper): Likewise.
426 * configure: Regenerated.
427 * sysdeps/i386/configure: Likewise.
428 * sysdeps/mach/configure: Likewise.
429 * sysdeps/sparc/configure: Likewise.
430 * sysdeps/x86_64/configure: Likewise.
431
912cc4b3
RM
4322013-03-20 Roland McGrath <roland@hack.frob.com>
433
434 [BZ #14812]
435 * locale/programs/localedef.c (options): Put N_ translation marker
436 on argument names, not just descriptions.
437
04eed2b0
MS
4382013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
439
440 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
441
a065ceff
OB
4422013-03-20 Ondřej Bílka <neleai@seznam.cz>
443
9bb2a810 444 [BZ #14176]
a065ceff
OB
445 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
446
a600e5ce
RM
4472013-03-19 Roland McGrath <roland@hack.frob.com>
448
449 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
450 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
451 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
452 [!BEFORE_ABORT] (before_abort): New function.
453 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
454 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
455 (writev_for_fatal): New function.
456 (WRITEV_FOR_FATAL): New macro; call that.
457 (backtrace_and_maps): New function.
458 (BEFORE_ABORT): New macro; call that.
459 (struct str_list): Type removed.
460 (__libc_message, __libc_fatal): Functions removed.
461 Include <sysdeps/posix/libc_fatal.c> instead.
462
6b18bea6
JM
4632013-03-19 Joseph Myers <joseph@codesourcery.com>
464
465 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
466 constants.
467 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
468 double constants.
469
aaa8cb4b
AS
4702013-03-19 Andreas Schwab <schwab@suse.de>
471
44673770
AS
472 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
473 * sysdeps/gnu/configure: Regenerate.
474
aaa8cb4b
AS
475 * configure.in: Substitute libc_cv_rtlddir.
476 * configure: Regenerate.
477 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
478 * Makeconfig (rtlddir, inst_rtlddir): New variables.
479 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
480 * elf/Makefile (install-others, CFLAGS-interp.c)
481 (ldso_install, common-ldd-rewrite): Likewise.
482 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
483 $(inst_slibdir)/$(rtld-installed-name).
484 * scripts/rellns-sh: Add -p option.
485 * Makerules (make-shlib-link): Use rellns-sh to get relative name
486 for source.
487
d3cfc668
SP
4882013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
489
490 * manual/nptl.texi: Renamed to ...
491 * manual/threads.texi: ... this.
492 * manual/Makefile (chapters): Update.
493
0e2b9cdd
RM
4942013-03-18 Roland McGrath <roland@hack.frob.com>
495
496 [BZ #14812]
497 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
498 on argument names, not just descriptions.
0e2b9cdd
RM
499 * malloc/memusagestat.c (options): Likewise.
500 * nss/getent.c (options): Likewise.
63270c24
RM
501
5022013-03-18 Benno Schulenberg <bensberg@justemail.net>
503
504 [BZ #14812]
505 * iconv/iconv_prog.c (options): Put N_ translation marker
506 on argument names, not just descriptions.
507 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 508
b2e1393c
OB
5092013-03-18 Ondrej Bilka <neleai@seznam.cz>
510
511 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
512 implementation which is faster on all x86_64 architectures.
513 Tested on AMD, Intel Nehalem, SNB, IVB.
514 * sysdeps/x86_64/strnlen.S: Likewise.
515
516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
517 Remove all multiarch strlen and strnlen versions.
518 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
519 Remove strlen and strnlen related parts.
520
521 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
522 Inline strlen part.
523 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
524
525 * sysdeps/x86_64/multiarch/strlen.S: Remove.
526 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
527 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
528 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
529 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
530 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
531
ec4ff04d
CD
5322013-03-17 Carlos O'Donell <carlos@redhat.com>
533
534 * manual/memory.texi (Malloc Tunable Parameters):
535 Sort parameters alphabetically. Add comments for missing entries.
536
cd18e90a
DM
5372013-03-17 David S. Miller <davem@davemloft.net>
538
539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
540
2a185d32
JM
5412013-03-16 Joseph Myers <joseph@codesourcery.com>
542
d2f9799e
JM
543 [BZ #15283]
544 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
545 for arguments at most half maximum finite value.
546 * math/libm-test.inc (j0_test): Add more tests.
547 (j1_test): Likewise.
548 (y0_test): Likewise.
549 (y1_test): Likewise.
550 * sysdeps/i386/fpu/libm-test-ulps: Update.
551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
552
2a185d32
JM
553 [BZ #14155]
554 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
555 1 / x and functions P and Q for arguments above 0x1p256L.
556 (__ieee754_y0l): Likewise.
557 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
558 (__ieee754_y1l): Likewise.
559 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
560 (j1_test): Likewise.
561 (y0_test): Likewise.
562 (y1_test): Likewise.
563
6cbec759
TS
5642013-03-16 Thomas Schwinge <thomas@codesourcery.com>
565
566 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
567 variable.
568
bc16e260
RM
5692013-03-15 Roland McGrath <roland@hack.frob.com>
570
aefc9b8c
RM
571 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
572 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
573 zero since it's initialized to EXEC_PAGESIZE.
574
bc16e260
RM
575 * sysdeps/unix/sysv/linux/ldsodefs.h
576 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
577 * sysdeps/generic/ldsodefs.h: ... here.
578
a57da955
TS
5792013-03-15 Thomas Schwinge <thomas@codesourcery.com>
580
af00a34d
TS
581 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
582
495ded2c
TS
583 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
584 math/test-snan.c.
585 * math/test-snan.c: Renamed from
586 sysdeps/powerpc/fpu/test-powerpc-snan.c.
587 * math/Makefile (tests): Add test-snan.
588 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
589 test-powerpc-snan.
590
777b0332
TS
591 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
592 SUFFIX. Initialize qNaN_var with __builtin_nan family of
593 functions.
594 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
595 __builtin_nan family of functions.
596 * math/libm-test.inc (initialize): Initialize qnan_value with
597 __builtin_nan family of functions.
598 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
599 Remove variables.
600 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
601 Remove functions.
602 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
603 storage class. Initialize qNaN_var and sNaN_var with
604 __builtin_nan and __builtin_nans families of functions,
605 respectively.
606
64d063b8
TS
607 * math/libm-test.inc (acosh_test): Also test with qNaN input.
608 (sqrt_test): Remove duplicate test with qNaN input.
609 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
610 (round_test, signbit_test, significand_test): Note missing +/-Inf
611 as well as qNaN tests.
612
67e971f1
TS
613 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
614 qNaN_var. Fix a few strings, too.
615 * math/libm-test.inc (nan_value): Rename to qnan_value.
616 * math/gen-libm-test.pl (%beautify): Adjust to that.
617 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
618 * math/test-misc.c (main): Likewise.
619 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
620 to __qnan_bytes, and __qnan_union, respectively.
621 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
622 Likewise.
623 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
624 and lqnanval, respectively.
625 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
626 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
627 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
628 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
629
64487e12
TS
630 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
631 * math/test-misc.c (main) [__x86_64__]: Enable test for long
632 doubles.
633
e015e27b
TS
634 * math/test-misc.c (main): Fix copy'n'pastos.
635 * misc/tst-efgcvt.c (special): Likewise.
636
a57da955
TS
637 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
638 Remove declarations.
639
1e380345
SP
6402013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
641
642 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
643 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
644 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
645 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
646
ef26eece
AZ
6472013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
648
649 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
650 macro to return vdso values correctly in IFUNC implementations.
651 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
652 Optimization by using IFUNC.
653
8cfdb7e0
SP
6542013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
655 Richard Henderson <rth@redhat.com>
656 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
657
658 * Makefile.in (bench): New target.
659 * NEWS: Mention the benchmark framework.
660 * Rules (bench): Likewise.
661 (binaries-bench): Generate binaries for functions to
662 benchmark.
663 * benchtests/Makefile: New makefile for benchmark tests.
664 * benchtests/bench-skeleton.c: New skeleton file for benchmark
665 programs.
666 * benchtests/exp-inputs: New input file for EXP function.
667 * benchtests/pow-inputs: New input file for POW function.
668 * scripts/bench.pl: New script to generate source files for
669 benchmark programs.
670
bcda9880
SP
6712013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
672
d22ca8cd
SP
673 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
674 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
675 computations on mantissa. Use macros for rounding and
676 division.
677 (denorm): Likewise.
678 (__dbl_mp): Likewise.
679 (add_magnitudes): Likewise.
680 (sub_magnitudes): Likewise.
681 (__mul): Likewise.
682 (__sqr): Likewise.
683 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
684 powers of two in terms of TWOPOW macro.
685 (mp_no): Make type of mantissa as MANTISSA_T.
686 [!RADIXI]: Define RADIXI.
687 [!TWO52]: Define TWO52.
688 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
689
bcda9880
SP
690 * manual/nptl.texi (cindex): Modify threads to pthreads.
691
06d5adfb
JM
6922013-03-15 Joseph Myers <joseph@codesourcery.com>
693
694 * sysdeps/x86_64/preconfigure: Regenerated.
695
41c7328e
JM
6962013-03-14 Joseph Myers <joseph@codesourcery.com>
697
698 [BZ #14155]
699 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
700 0x1p28 and above.
701 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
702 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
703 0x1p28 and above.
704 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
705 * math/libm-test.inc (j0_test): Do not allow one spurious
706 underflow exception.
707 (y1_test): Likewise.
708
e25cfa60
SP
7092013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
710
0409959c
SP
711 * manual/Makefile (chapters): Add nptl.
712 * manual/debug.texi (Debugging Support): Add link to Threads
713 chapter.
714 * manual/nptl.texi: New file.
715
e25cfa60
SP
716 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
717
58a1335e
PB
7182013-03-14 Petr Baudis <pasky@ucw.cz>
719
720 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
721 for non-NULL pointer before the memory validity test. Pointed
722 out by Holger Brunck <holger.brunck@keymile.com>.
723
9dc7c64f
AS
7242013-03-13 Andreas Schwab <schwab@suse.de>
725
726 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
727 instead of .os.
728
54206aa6
JM
7292013-03-13 Joseph Myers <joseph@codesourcery.com>
730
731 * timezone/zic.c: Update from tzcode 2013b.
732
e98cdb38
CD
7332013-03-12 Carlos O'Donell <carlos@redhat.com>
734
735 * manual/install.texi (Configuring and compiling):
736 Mention i686 and i586.
737 * INSTALL: Regenerate.
738
9967e003
RM
7392013-03-12 Roland McGrath <roland@hack.frob.com>
740
741 * sysdeps/init_array/elf-init.c: New file.
742 * csu/elf-init.c
743 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
744 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
745
746 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
747 __gmon_start__ as global, but as static with a .preinit_array pointer.
748 * sysdeps/init_array/gmon-start.c: New file. Use that.
749 * sysdeps/init_array/crti.S: New file, empty except for comments.
750 * sysdeps/init_array/crtn.S: Likewise.
751
e6b5a293 7522013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
753
754 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
755 definining bcopy.
80f844c9
OB
756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
757 Remove Prefer_SSE_for_memop.
758 * sysdeps/x86_64/multiarch/init-arch.h: Remove
759 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
760 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
762 memset-x86-64.
80f844c9 763 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 764 Remove bzero, memset ifunc support.
80f844c9
OB
765 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
766 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
767 * sysdeps/x86_64/multiarch/memset.S: Likewise.
768 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
769
fb6b0fcb
AS
7702013-03-11 Andreas Schwab <schwab@suse.de>
771
772 [BZ #15234]
773 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
774 by SHLIB_COMPAT.
775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
776 (GLIBC_2.16): Remove pthread_atfork.
777
3e6bd4b1
PP
7782013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
779
780 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
781 (ptestcases.h): Likewise.
782
222d7f00
RM
7832013-03-08 Roland McGrath <roland@hack.frob.com>
784
785 * Makeconfig ($(common-objpfx)config.status): Depend on
786 sysdeps/*/preconfigure{,.in} too.
787
1ba4f030
JM
7882013-03-08 Joseph Myers <joseph@codesourcery.com>
789
a222d91a
JM
790 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
791 (__free_hook): Use void * instead of __malloc_ptr_t.
792 (__malloc_hook): Likewise.
793 (__realloc_hook): Likewise.
794 (__memalign_hook): Likewise.
795 (__after_morecore_hook): Likewise.
796 * malloc/arena.c (save_malloc_hook): Likewise.
797 (save_free_hook): Likewise.
798 * malloc/hooks.c (malloc_hook_ini): Likewise.
799 (realloc_hook_ini): Likewise.
800 (memalign_hook_ini): Likewise.
801 * malloc/malloc.c (malloc_hook_ini): Likewise.
802 (realloc_hook_ini): Likewise.
803 (memalign_hook_ini): Likewise.
804 (__free_hook): Likewise.
805 (__malloc_hook): Likewise.
806 (__realloc_hook): Likewise.
807 (__memalign_hook): Likewise.
808 (__libc_malloc): Likewise.
809 (__libc_free): Likewise.
810 (__libc_realloc): Likewise.
811 (__libc_memalign): Likewise.
812 (__libc_valloc): Likewise.
813 (__libc_pvalloc): Likewise.
814 (__libc_calloc): Likewise.
815 (__posix_memalign): Likewise.
816 * malloc/morecore.c (__sbrk): Likewise.
817 (__default_morecore): Likewise.
818
5cc45e10
JM
819 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
820
dd54b864
JM
821 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
822 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
823 __malloc_ptrdiff_t.
824
1ba4f030
JM
825 * malloc/malloc.h (__malloc_size_t): Remove macro.
826 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
827 __malloc_size_t.
828 (old_memalign_hook): Likewise.
829 (old_realloc_hook): Likewise.
830 (struct hdr): Likewise.
831 (flood): Likewise.
832 (mallochook): Likewise.
833 (memalignhook): Likewise.
834 (reallochook): Likewise.
835 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
836 (tr_old_realloc_hook): Likewise.
837 (tr_old_memalign_hook): Likewise.
838 (tr_mallochook): Likewise.
839 (tr_reallochook): Likewise.
840 (tr_memalignhook): Likewise.
841
edf66e57
AZ
8422013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
843
844 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
845 default_ldbl_pack and using as default implementation.
846 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
847 implementation.
848 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
849 redundant definition.
850 (ldbl_insert_mantissa): Likewise.
851 (ldbl_canonicalize): Likewise.
852 (ldbl_nearbyint): Likewise.
853 (ldbl_pack): Rename to ldbl_pack_ppc.
854 (ldbl_unpack): Rename to ldbl_unpack_ppc.
855 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
856 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
857
6d9145d8
SP
8582013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
859
860 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
861 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
862 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
863 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
865 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
866 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
867 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
868
4dd4e157
AJ
8692013-03-07 Andreas Jaeger <aj@suse.de>
870
871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
872 bits/mman-linux.h.
873
adbb8027
SP
8742013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
875
ce544b5b
SP
876 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
877 Include mpa.h and declare __MPEXP.
878 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
879 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
880 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
881 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
882 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
883 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
884 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
885
4cc149fd
SP
886 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
887 (__slowpow): Use long double EXPL and LOGL functions to
888 compute POW.
889 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
890 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
891 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
892 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
893 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
894 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
895
e6ebd4a7
SP
896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
897 intermediate variable to calculate exponent.
898 (__sqr): Likewise.
899 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
900 Likewise.
901 (__sqr): Likewise.
902
82a9811d
SP
903 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
904 [!NO__SQR]: Define __sqr.
905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
906 and NO__SQR. Remove all code except __mul and __sqr. Include
907 sysdeps/ieee754/dbl-64/mpa.c.
908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
909
adbb8027
SP
910 [BZ #12723]
911 * posix/Makefile (tests): Add tst-pathconf.
912 * posix/tst-pathconf.c: New test case.
913 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
914 _PC_PIPE_BUF.
915 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
916
39120df9
PF
9172013-03-06 Patsy Franklin <pfrankli@redhat.com>
918
919 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
920
67525cb8
AJ
9212013-03-06 Andreas Jaeger <aj@suse.de>
922
664a9ce4
AJ
923 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
924 definition via __MAP_ANONYMOUS.
925
8e39047d
AJ
926 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
927 it's not part of Linux headers.
928
67525cb8
AJ
929 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
930 (MAP_HUGE_MASK): Define.
931
932 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
933 Define.
934 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
935 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
936 Define.
937 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
938 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
939 Define.
940 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
941 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
942 Define.
943 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
944
945 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
946 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
947 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
948 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
949 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
950 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
951
952 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
953 Handle f2fs.
954
955 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
956 Handle f2fs and efivarfs.
957
958 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
959 f2fs.
960
961 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
962 (EFIVARFS_MAGIC): Add.
963 (F2FS_LINK_MAX): Add.
964
e1b42695
PP
9652013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
966
967 * stdio-common/vfprintf.c: Replace __builtin_expect with
968 __glibc_unlikely.
969
2d67d91a
JM
9702013-03-06 Joseph Myers <joseph@codesourcery.com>
971
972 [BZ #13550]
973 * sysdeps/generic/bp-sym.h: Remove file.
974 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
975 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
976 <bp-sym.h> and <bp-asm.h>.
977 (__longjmp): Don't use BP_SYM.
978 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
979 and <bp-asm.h>.
980 (memcpy): Don't use BP_SYM.
981 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
982 <bp-sym.h> and <bp-asm.h>.
983 (memcpy): Don't use BP_SYM.
984 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
985 <bp-asm.h>.
986 (memcpy): Don't use BP_SYM.
987 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
988 <bp-asm.h>.
989 (memset): Don't use BP_SYM.
990 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
991 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
992 (__bzero): Don't use BP_SYM.
993 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
994 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
995 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
996 <bp-sym.h> and <bp-asm.h>.
997 (memcmp): Don't use BP_SYM. Remove comment about bounded
998 pointers.
999 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1000 <bp-sym.h> and <bp-asm.h>.
1001 (memcpy): Don't use BP_SYM.
1002 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1003 <bp-sym.h> and <bp-asm.h>.
1004 (memset): Don't use BP_SYM.
1005 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1006 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1007 (__bzero): Don't use BP_SYM.
1008 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1009 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1010 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1011 <bp-sym.h> and <bp-asm.h>.
1012 (strncmp): Don't use BP_SYM. Remove comment about bounded
1013 pointers.
1014 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1015 <bp-sym.h> and <bp-asm.h>.
1016 (memcpy): Don't use BP_SYM.
1017 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1018 <bp-sym.h> and <bp-asm.h>.
1019 (memset): Don't use BP_SYM.
1020 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1021 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1022 (__bzero): Don't use BP_SYM.
1023 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1024 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1025 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1026 <bp-sym.h> and <bp-asm.h>.
1027 (__memchr): Don't use BP_SYM.
1028 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1029 <bp-sym.h> and <bp-asm.h>.
1030 (memcmp): Don't use BP_SYM. Remove comment about bounded
1031 pointers.
1032 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1033 <bp-sym.h> and <bp-asm.h>.
1034 (memcpy): Don't use BP_SYM.
1035 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1036 <bp-sym.h> and <bp-asm.h>.
1037 (__mempcpy): Don't use BP_SYM.
1038 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1039 <bp-sym.h> and <bp-asm.h>.
1040 (__memrchr): Don't use BP_SYM.
1041 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1042 <bp-sym.h> and <bp-asm.h>.
1043 (memset): Don't use BP_SYM.
1044 (__bzero): Likewise.
1045 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1046 <bp-sym.h> and <bp-asm.h>.
1047 (__rawmemchr): Don't use BP_SYM.
1048 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1049 <bp-sym.h> and <bp-asm.h>.
1050 (__STRCMP): Don't use BP_SYM.
1051 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1052 <bp-sym.h> and <bp-asm.h>.
1053 (strchr): Don't use BP_SYM.
1054 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1055 <bp-sym.h> and <bp-asm.h>.
1056 (__strchrnul): Don't use BP_SYM.
1057 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1058 <bp-sym.h> and <bp-asm.h>.
1059 (strlen): Don't use BP_SYM.
1060 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1061 <bp-sym.h> and <bp-asm.h>.
1062 (strncmp): Don't use BP_SYM. Remove comment about bounded
1063 pointers.
1064 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1065 <bp-sym.h> and <bp-asm.h>.
1066 (__strnlen): Don't use BP_SYM.
1067 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1068 <bp-sym.h> and <bp-asm.h>.
1069 (__GI__setjmp): Don't use BP_SYM.
1070 (_setjmp): Likewise.
1071 (__sigsetjmp): Likewise.
1072 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1073 (L(start_addresses)): Don't use BP_SYM.
1074 (_start): Likewise.
1075 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1076 <bp-asm.h>.
1077 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1078 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1079 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1080 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1081 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1082 <bp-asm.h>.
1083 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1084 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1085 about bounded pointers.
1086 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1087 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1088 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1089 <bp-asm.h>.
1090 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1091 about bounded pointers. Remove GKM FIXME comments.
1092 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1093 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1094 <bp-asm.h>.
1095 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1096 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1097 Remove GKM FIXME comments.
1098 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1099 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1100 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1101 <bp-asm.h>.
1102 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1103 about bounded pointers. Remove GKM FIXME comment.
1104 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1105 and <bp-asm.h>.
1106 (strncmp): Don't use BP_SYM. Remove comment about bounded
1107 pointers.
1108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1109 <bp-sym.h> and <bp-asm.h>.
1110 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1112 <bp-sym.h> and <bp-asm.h>.
1113 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1114 comment.
1115
cdcf361f
PP
11162013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1117
1118 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1119 call free(NULL).
1120
3c4a2b15
DM
11212013-03-05 David S. Miller <davem@davemloft.net>
1122
1123 * po/es.po: Update from translation team.
1124
cdcf361f 11252013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1126
1127 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1128 <bits/mman-linux.h>.
1129 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1130 is fine.
1131 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1132 <bits/mman-linux.h> to end of file.
1133 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1134 is fine.
1135 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1136 <bits/mman-linux.h> to end of file.
1137 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1138 is fine.
1139 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1140 <bits/mman-linux.h> to end of file.
1141
1142 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1143 (MCL_CURRENT, MCL_FUTURE): Define here.
1144
5f67c04f
AK
11452013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1146
8a4473cc 1147 [BZ #15232]
5f67c04f
AK
1148 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1149 attribute_hidden.
1150 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1151
c3e94a95
AK
11522013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1153
1154 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1155 fourth parameter needed for rt_sigprocmask syscall.
1156 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1157 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1158 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1159 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1160 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1161 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1162
cfb6382a
JM
11632013-03-04 Joseph Myers <joseph@codesourcery.com>
1164
1165 [BZ #13550]
1166 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1167 comment about bounded pointers.
1168 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1169 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1170
539d8e01
AJ
11712013-03-04 Andreas Jaeger <aj@suse.de>
1172
1173 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1174 common definitions.
1175
1176 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1177 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1178 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1179 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1180 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1181 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1182
2e167a70 11832013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1184
1185 [BZ #15055]
1186 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1187 __ieee754_sqrl instead of __sqrl.
1188
68508633
JM
11892013-03-01 Joseph Myers <joseph@codesourcery.com>
1190
1191 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1192 * sysdeps/powerpc/fpu_control.h: ... here.
1193 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1194 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1195 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1196 * sysdeps/powerpc/bits/mathinline.h: ... here.
1197
7775448e
RM
11982013-03-01 Roland McGrath <roland@hack.frob.com>
1199
1200 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1201 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1202 to just [NEED_DL_SYSINFO_DSO].
1203 * elf/dl-support.c: Likewise.
1204 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1205 * elf/rtld.c (dl_main): Likewise.
1206 * elf/setup-vdso.h (setup_vdso): Likewise.
1207 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1208 * sysdeps/unix/sysv/linux/dl-sysdep.c
1209 (_dl_discover_osversion): Likewise.
1210
4e9b5995
CD
12112013-03-01 Carlos O'Donell <carlos@redhat.com>
1212
1213 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1214 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1215
e23872c8
SP
12162013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1217
e5c74c63
SP
1218 * NEWS: Mention libm performance improvements and non-x86 PI
1219 futex support.
1220
e23872c8
SP
1221 * csu/libc-start.c (__pthread_initialize_minimal): Change
1222 function arguments.
1223 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1224
b5510883
JM
12252013-02-28 Joseph Myers <joseph@codesourcery.com>
1226
1227 [BZ #13550]
1228 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1229 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1230 <bp-sym.h> and <bp-asm.h>.
1231 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1232 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1233 and <bp-asm.h>.
1234 (memcpy): Don't use BP_SYM.
1235 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1236 <bp-asm.h>.
1237 (__mpn_add_n): Don't use BP_SYM.
1238 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1239 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1240 and <bp-asm.h>.
1241 (__mpn_addmul_1): Don't use BP_SYM.
1242 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1243 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1244 <bp-sym.h>.
1245 (_setjmp): Don't use BP_SYM.
1246 (__novmx_setjmp): Likewise.
1247 (__GI__setjmp): Likewise.
1248 (__vmx_setjmp): Likewise.
1249 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1250 <bp-sym.h>.
1251 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1252 (__bzero): Don't use BP_SYM.
1253 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1254 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1255 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1256 <bp-sym.h> and <bp-asm.h>.
1257 (memcpy): Don't use BP_SYM.
1258 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1259 <bp-sym.h> and <bp-asm.h>.
1260 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1261 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1262 <bp-sym.h> and <bp-asm.h>.
1263 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1264 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1265 <bp-asm.h>.
1266 (__mpn_lshift): Don't use BP_SYM.
1267 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1268 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1269 <bp-asm.h>.
1270 (memset): Don't use BP_SYM.
1271 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1272 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1273 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1274 <bp-asm.h>.
1275 (__mpn_mul_1): Don't use BP_SYM.
1276 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1277 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1278 <bp-sym.h> and <bp-asm.h>.
1279 (memcmp): Don't use BP_SYM.
1280 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1281 <bp-sym.h> and <bp-asm.h>.
1282 (memcpy): Don't use BP_SYM.
1283 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1284 <bp-sym.h> and <bp-asm.h>.
1285 (memset): Don't use BP_SYM.
1286 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1287 <bp-sym.h> and <bp-asm.h>.
1288 (strncmp): Don't use BP_SYM.
1289 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1290 <bp-sym.h> and <bp-asm.h>.
1291 (memcpy): Don't use BP_SYM.
1292 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1293 <bp-sym.h> and <bp-asm.h>.
1294 (memset): Don't use BP_SYM.
1295 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1296 <bp-sym.h> and <bp-asm.h>.
1297 (__memchr): Don't use BP_SYM.
1298 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1299 <bp-sym.h> and <bp-asm.h>.
1300 (memcmp): Don't use BP_SYM.
1301 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1302 <bp-sym.h> and <bp-asm.h>.
1303 (memcpy): Don't use BP_SYM.
1304 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1305 <bp-sym.h> and <bp-asm.h>.
1306 (__mempcpy): Don't use BP_SYM.
1307 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1308 <bp-sym.h> and <bp-asm.h>.
1309 (__memrchr): Don't use BP_SYM.
1310 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1311 <bp-sym.h> and <bp-asm.h>.
1312 (memset): Don't use BP_SYM.
1313 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1314 <bp-sym.h> and <bp-asm.h>.
1315 (__rawmemchr): Don't use BP_SYM.
1316 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1317 <bp-sym.h> and <bp-asm.h>.
1318 (__STRCMP): Don't use BP_SYM.
1319 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1320 <bp-sym.h> and <bp-asm.h>.
1321 (strchr): Don't use BP_SYM.
1322 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1323 <bp-sym.h> and <bp-asm.h>.
1324 (__strchrnul): Don't use BP_SYM.
1325 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1326 <bp-sym.h> and <bp-asm.h>.
1327 (strlen): Don't use BP_SYM.
1328 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1329 <bp-sym.h> and <bp-asm.h>.
1330 (strncmp): Don't use BP_SYM.
1331 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1332 <bp-sym.h> and <bp-asm.h>.
1333 (__strnlen): Don't use BP_SYM.
1334 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1335 <bp-asm.h>.
1336 (__mpn_rshift): Don't use BP_SYM.
1337 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1338 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1339 <bp-sym.h> and <bp-asm.h>.
1340 (__sigsetjmp): Don't use BP_SYM.
1341 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1342 (L(start_addresses)): Don't use BP_SYM.
1343 (_start): Likewise.
1344 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1345 <bp-asm.h>.
1346 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1347 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1348 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1349 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1350 <bp-asm.h>.
1351 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1352 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1353 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1354 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1355 <bp-asm.h>.
1356 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1357 comments.
1358 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1359 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1360 <bp-asm.h>.
1361 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1362 FIXME comments.
1363 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1364 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1365 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1366 <bp-asm.h>.
1367 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1368 comment.
1369 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1370 and <bp-asm.h>.
1371 (strncmp): Don't use BP_SYM,
1372 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1373 <bp-asm.h>.
1374 (__mpn_sub_n): Don't use BP_SYM.
1375 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1376 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1377 and <bp-asm.h>.
1378 (__mpn_submul_1): Don't use BP_SYM.
1379 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1381 <bp-sym.h> and <bp-asm.h>.
1382 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1384 <bp-sym.h> and <bp-asm.h>.
1385 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1386 comment.
1387
8d19fe64
SP
13882013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1389
1390 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1391 Use ZK to minimize writes to Z.
1392 (sub_magnitudes): Simplify code a bit.
1393 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1394 Use ZK to minimize writes to Z.
1395 (sub_magnitudes): Simplify code a bit.
1396
85bd816a
RM
13972013-02-27 Roland McGrath <roland@hack.frob.com>
1398
1399 * csu/gmon-start.c: Add special exception to license text.
1400
b5977bf2
RH
14012013-02-27 Richard Henderson <rth@redhat.com>
1402
1403 * scripts/config.guess: Update from config.git.
1404 * scripts/config.sub: Likewise.
1405
11d6e2f2
SP
14062013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1407
09c14ed2
SP
1408 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1409
a688864e
SP
1410 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1411
6295157a
SP
1412 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1413
b8de2202
SP
1414 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1415
11d6e2f2
SP
1416 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1417
7e80ddb8
RM
14182013-02-26 Roland McGrath <roland@hack.frob.com>
1419
1420 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1421 [$(build-shared = yes].
7e80ddb8 1422
7da6d9ed
SP
14232013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1424
45f05884
SP
1425 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1426 (__mul): Reduce iterations for calculating mantissa.
1427
2236d359
SP
1428 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1429 MPTWO.
1430 (__mpranred): Likewise.
1431
7da6d9ed
SP
1432 [BZ #15160]
1433 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1434 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1435
b7688c42
PE
14362013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1437
1438 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1439 Define __attribute__.
1440
53a5c423
SP
14412013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1442
1443 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1444 unused.
1445 * posix/regex_internal.h (__attribute): Remove.
1446 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1447 (re_string_context_at): Likewise.
1448 (bitset_not): Use __attribute__ and mark function as possibly
1449 unused.
1450 (bitset_merge): Likewise.
1451 (bitset_mask): Likewise.
1452 (re_string_char_size_at): Likewise.
1453 (re_string_wchar_at): Likewise.
1454 (re_string_elem_size_at): Likewise.
1455
60f5a8b5
SP
14562013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1457
2a983a2e
SP
1458 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1459 code.
1460 (cc32): Likewise.
1461
e69804d1
SP
1462 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1463 (__acr): Likewise.
1464 (__cpy): Likewise.
1465 (norm): Likewise.
1466 (denorm): Likewise.
1467 (__dbl_mp): Likewise.
1468 (add_magnitudes): Likewise.
1469 (sub_magnitudes): Likewise.
1470 (__mul): Likewise.
1471 (__inv): Likewise.
1472
2f22a1e8
SP
1473 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1474 style.
1475
8930ddc7
SP
1476 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1477 style.
1478
dc60cb11
SP
1479 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1480 code.
1481
60f5a8b5
SP
1482 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1483 up changes with default code.
1484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1485 Likewise.
1486
b4d1fd33
AM
14872013-02-24 Allan McRae <allan@archlinux.org>
1488
faf6f8bc
AM
1489 * manual/socket.texi (The Internet Namespace): Order menu items
1490 to match that in the file.
1491
b4d1fd33
AM
1492 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1493 node listing of the info page menu.
1494
2366713d
JM
14952013-02-21 Joseph Myers <joseph@codesourcery.com>
1496
1497 [BZ #13550]
1498 * sysdeps/i386/bp-asm.h: Remove file.
1499 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1500 (PARMS): Do not use macros from bp-asm.h.
1501 (S1): Likewise.
1502 (S2): Likewise.
1503 (SIZE): Likewise.
1504 (__mpn_add_n): Do not use BP_SYM
1505 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1506 "bp-asm.h".
1507 (PARMS): Do not use macros from bp-asm.h.
1508 (S1): Likewise.
1509 (SIZE): Likewise.
1510 (__mpn_addmul_1): Do not use BP_SYM
1511 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1512 "bp-asm.h".
1513 (PARMS): Do not use macros from bp-asm.h.
1514 (SIGMSK): Likewise.
1515 (_setjmp): Likewise. Do not use BP_SYM.
1516 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1517 "bp-asm.h".
1518 (PARMS): Do not use macros from bp-asm.h.
1519 (SIGMSK): Likewise.
1520 (setjmp): Likewise. Do not use BP_SYM.
1521 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1522 "bp-asm.h".
1523 (PARMS): Do not use macros from bp-asm.h.
1524 (__frexp): Do not use BP_SYM.
1525 (frexp): Likewise.
1526 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1527 "bp-asm.h".
1528 (PARMS): Do not use macros from bp-asm.h.
1529 (__frexpf): Do not use BP_SYM.
1530 (frexpf): Likewise.
1531 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1532 "bp-asm.h".
1533 (PARMS): Do not use macros from bp-asm.h.
1534 (__frexpl): Do not use BP_SYM.
1535 (frexpl): Likewise.
1536 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1537 "bp-asm.h".
1538 (PARMS): Do not use macros from bp-asm.h.
1539 (__remquo): Do not use BP_SYM.
1540 (remquo): Likewise.
1541 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1542 "bp-asm.h".
1543 (PARMS): Do not use macros from bp-asm.h.
1544 (__remquof): Do not use BP_SYM.
1545 (remquof): Likewise.
1546 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1547 "bp-asm.h".
1548 (PARMS): Do not use macros from bp-asm.h.
1549 (__remquol): Do not use BP_SYM.
1550 (remquol): Likewise.
1551 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1552 "bp-asm.h".
1553 (PARMS): Do not use macros from bp-asm.h.
1554 (DEST): Likewise.
1555 (SRC): Likewise.
1556 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1557 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1558 "bp-asm.h".
1559 (PARMS): Do not use macros from bp-asm.h.
1560 (strlen): Do not use BP_SYM.
1561 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1562 "bp-asm.h".
1563 (PARMS): Do not use macros from bp-asm.h.
1564 (S1): Likewise.
1565 (S2): Likewise.
1566 (SIZE): Likewise.
1567 (__mpn_add_n): Do not use BP_SYM.
1568 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1569 "bp-asm.h".
1570 (PARMS): Do not use macros from bp-asm.h.
1571 (S1): Likewise.
1572 (SIZE): Likewise.
1573 (__mpn_addmul_1): Do not use BP_SYM.
1574 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1575 weak_alias.
1576 (bzero): Likewise.
1577 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1578 "bp-asm.h".
1579 (PARMS): Do not use macros from bp-asm.h.
1580 (S): Likewise.
1581 (SIZE): Likewise.
1582 (__mpn_lshift): Do not use BP_SYM.
1583 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1584 "bp-asm.h".
1585 (PARMS): Do not use macros from bp-asm.h.
1586 (DEST): Likewise.
1587 (SRC): Likewise.
1588 (LEN): Likewise.
1589 (memcpy): Likewise. Do not use BP_SYM.
1590 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1591 libc_hidden_def and weak_alias.
1592 (mempcpy): Do not use BP_SYM in weak_alias.
1593 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1594 "bp-asm.h".
1595 (PARMS): Do not use macros from bp-asm.h.
1596 (DEST): Likewise.
1597 (LEN): Likewise.
1598 [!BZERO_P] (CHR): Likewise.
1599 (memset): Likewise. Do not use BP_SYM.
1600 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1601 "bp-asm.h".
1602 (PARMS): Do not use macros from bp-asm.h.
1603 (S1): Likewise.
1604 (SIZE): Likewise.
1605 (__mpn_mul_1): Do not use BP_SYM.
1606 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1607 "bp-asm.h".
1608 (PARMS): Do not use macros from bp-asm.h.
1609 (S): Likewise.
1610 (SIZE): Likewise.
1611 (__mpn_rshift): Do not use BP_SYM.
1612 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1613 "bp-asm.h".
1614 (PARMS): Do not use macros from bp-asm.h.
1615 (STR): Likewise.
1616 (CHR): Likewise.
1617 (strchr): Likewise. Do not use BP_SYM.
1618 (index): Do not use BP_SYM in weak_alias.
1619 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1620 "bp-asm.h".
1621 (PARMS): Do not use macros from bp-asm.h.
1622 (DEST): Likewise.
1623 (SRC): Likewise.
1624 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1625 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1626 "bp-asm.h".
1627 (PARMS): Do not use macros from bp-asm.h.
1628 (strlen): Do not use BP_SYM.
1629 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1630 "bp-asm.h".
1631 (PARMS): Do not use macros from bp-asm.h.
1632 (S1): Likewise.
1633 (S2): Likewise.
1634 (SIZE): Likewise.
1635 (__mpn_sub_n): Do not use BP_SYM.
1636 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1637 "bp-asm.h".
1638 (PARMS): Do not use macros from bp-asm.h.
1639 (S1): Likewise.
1640 (SIZE): Likewise.
1641 (__mpn_submul_1): Do not use BP_SYM.
1642 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1643 "bp-asm.h".
1644 (PARMS): Do not use macros from bp-asm.h.
1645 (S1): Likewise.
1646 (S2): Likewise.
1647 (SIZE): Likewise.
1648 (__mpn_add_n): Do not use BP_SYM.
1649 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1650 weak_alias.
1651 (bzero): Likewise.
1652 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1653 "bp-asm.h".
1654 (PARMS): Do not use macros from bp-asm.h.
1655 (BLK2): Likewise.
1656 (LEN): Likewise.
1657 (memcmp): Do not use BP_SYM.
1658 (bcmp): Do not use BP_SYM in weak_alias.
1659 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1660 "bp-asm.h".
1661 (PARMS): Do not use macros from bp-asm.h.
1662 (DEST): Likewise.
1663 (SRC): Likewise.
1664 (LEN): Likewise.
1665 (memcpy): Likewise. Do not use BP_SYM.
1666 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1667 "bp-asm.h".
1668 (PARMS): Do not use macros from bp-asm.h.
1669 (DEST): Likewise.
1670 (SRC): Likewise.
1671 (LEN): Likewise.
1672 (memmove): Likewise. Do not use BP_SYM.
1673 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1674 "bp-asm.h".
1675 (PARMS): Do not use macros from bp-asm.h.
1676 (DEST): Likewise.
1677 (SRC): Likewise.
1678 (LEN): Likewise.
1679 (__mempcpy): Likewise. Do not use BP_SYM.
1680 (mempcpy): Do not use BP_SYM in weak_alias.
1681 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1682 "bp-asm.h".
1683 (PARMS): Do not use macros from bp-asm.h.
1684 (DEST): Likewise.
1685 (LEN): Likewise.
1686 [!BZERO_P] (CHR): Likewise.
1687 (memset): Likewise. Do not use BP_SYM.
1688 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1689 "bp-asm.h".
1690 (PARMS): Do not use macros from bp-asm.h.
1691 (STR2): Likewise.
1692 (strcmp): Do not use BP_SYM.
1693 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1694 "bp-asm.h".
1695 (PARMS): Do not use macros from bp-asm.h.
1696 (STR): Likewise.
1697 (DELIM): Likewise.
1698 [USE_AS_STRTOK_R] (SAVE): Likewise.
1699 (FUNCTION): Likewise. Do not use BP_SYM.
1700 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1701 aliases.
1702 (strtok_r): Likewise.
1703 (__GI___strtok_r): Likewise.
1704 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1705 (PARMS): Do not use macros from bp-asm.h.
1706 (S): Likewise.
1707 (SIZE): Likewise.
1708 (__mpn_lshift): Do not use BP_SYM.
1709 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1710 (PARMS): Do not use macros from bp-asm.h.
1711 (STR): Likewise.
1712 (CHR): Likewise.
1713 (__memchr): Do not use BP_SYM.
1714 (memchr): Do not use BP_SYM in weak_alias.
1715 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1716 (PARMS): Do not use macros from bp-asm.h.
1717 (BLK2): Likewise.
1718 (LEN): Likewise.
1719 (memcmp): Do not use BP_SYM.
1720 (bcmp): Do not use BP_SYM in weak_alias.
1721 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1722 (PARMS): Do not use macros from bp-asm.h.
1723 (S1): Likewise.
1724 (SIZE): Likewise.
1725 (__mpn_mul_1): Do not use BP_SYM.
1726 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1727 "bp-asm.h".
1728 (PARMS): Do not use macros from bp-asm.h.
1729 (STR): Likewise.
1730 (CHR): Likewise.
1731 (__rawmemchr): Do not use BP_SYM.
1732 (rawmemchr): Do not use BP_SYM in weak_alias.
1733 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1734 (PARMS): Do not use macros from bp-asm.h.
1735 (S): Likewise.
1736 (SIZE): Likewise.
1737 (__mpn_rshift): Do not use BP_SYM.
1738 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1739 (PARMS): Do not use macros from bp-asm.h.
1740 (SIGMSK): Likewise.
1741 (__sigsetjmp): Likewise. Do not use BP_SYM.
1742 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1743 (_start): Do not use BP_SYM.
1744 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1745 (PARMS): Do not use macros from bp-asm.h.
1746 (DEST): Likewise.
1747 (SRC): Likewise.
1748 (__stpcpy): Likewise. Do not use BP_SYM.
1749 (stpcpy): Do not use BP_SYM in weak_alias.
1750 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1751 "bp-asm.h".
1752 (PARMS): Do not use macros from bp-asm.h.
1753 (DEST): Likewise.
1754 (SRC): Likewise.
1755 (LEN): Likewise.
1756 (__stpncpy): Likewise. Do not use BP_SYM.
1757 (stpncpy): Do not use BP_SYM in weak_alias.
1758 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1759 (PARMS): Do not use macros from bp-asm.h.
1760 (STR): Likewise.
1761 (CHR): Likewise.
1762 (strchr): Likewise. Do not use BP_SYM.
1763 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1764 "bp-asm.h".
1765 (PARMS): Do not use macros from bp-asm.h.
1766 (STR): Likewise.
1767 (CHR): Likewise.
1768 (__strchrnul): Likewise. Do not use BP_SYM.
1769 (strchrnul): Do not use BP_SYM in weak_alias.
1770 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1771 "bp-asm.h".
1772 (PARMS): Do not use macros from bp-asm.h.
1773 (STOP): Likewise.
1774 (strcspn): Do not use BP_SYM.
1775 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1776 "bp-asm.h".
1777 (PARMS): Do not use macros from bp-asm.h.
1778 (STR): Likewise.
1779 (STOP): Likewise.
1780 (strpbrk): Likewise. Do not use BP_SYM.
1781 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1782 "bp-asm.h".
1783 (PARMS): Do not use macros from bp-asm.h.
1784 (STR): Likewise.
1785 (CHR): Likewise.
1786 (strrchr): Likewise. Do not use BP_SYM.
1787 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1788 (PARMS): Do not use macros from bp-asm.h.
1789 (SKIP): Likewise.
1790 (strspn): Do not use BP_SYM.
1791 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1792 (PARMS): Do not use macros from bp-asm.h.
1793 (STR): Likewise.
1794 (DELIM): Likewise.
1795 (SAVE): Likewise.
1796 (FUNCTION): Likewise. Do not use BP_SYM.
1797 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1798 aliases.
1799 (strtok_r): Likewise.
1800 (__GI___strtok_r): Likewise.
1801 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1802 (PARMS): Do not use macros from bp-asm.h.
1803 (S1): Likewise.
1804 (S2): Likewise.
1805 (SIZE): Likewise.
1806 (__mpn_sub_n): Do not use BP_SYM.
1807 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1808 "bp-asm.h".
1809 (PARMS): Do not use macros from bp-asm.h.
1810 (S1): Likewise.
1811 (SIZE): Likewise.
1812 (__mpn_submul_1): Do not use BP_SYM.
1813 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1814 <bp-sym.h>.
1815 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1816 and <bp-asm.h>.
1817 (PARMS): Do not use macros from bp-asm.h.
1818 (FLAGS): Likewise.
1819 (PTID): Likewise.
1820 (TLS): Likewise.
1821 (CTID): Likewise.
1822 (__clone): Do not use BP_SYM.
1823 (clone): Do not use BP_SYM in weak_alias.
1824 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1825 and <bp-asm.h>.
1826 (PARMS): Do not use macros from bp-asm.h.
1827 (LEN): Likewise.
1828 (__mmap64): Do not use BP_SYM.
1829 (mmap64): Do not use BP_SYM in weak_alias.
1830 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1831 <bp-sym.h> and <bp-asm.h>.
1832 (PARMS): Do not use macros from bp-asm.h.
1833 (__posix_fadvise64_l64): Do not use BP_SYM.
1834 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1835 (PARMS): Do not use macros from bp-asm.h.
1836 (NSOPS): Likewise.
1837 (semtimedop): Do not use BP_SYM.
1838 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1839 and <bp-asm.h>.
1840
582a3cff
AM
18412013-02-21 Allan McRae <allan@archlinux.org>
1842
1843 * manual/message.texi (Charset conversion in gettext):
1844 Move @end statement to beginning of line.
1845
bab8a695
SP
18462013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1847
80945231
SP
1848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1849 static.
1850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1851 Likewise.
1852
bab8a695
SP
1853 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1854 (denorm): Likewise.
1855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1857
e21d7aa7
AK
18582013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1859
1860 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1861 tail-call to the resolved function if pltexit isn't needed.
1862
4c7a4263
SP
18632013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1864
1865 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1866 or Y being zero as being unlikely.
1867 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1868 Likewise.
1869
41f49342
CD
18702013-02-20 Carlos O'Donell <carlos@redhat.com>
1871
1872 * manual/nss.texi (System Databases and Name Service Switch):
1873 Remove frobnicate @pxref.
1874
50022a93
TS
18752013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1876
1877 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1878 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1879
08cbd996
PM
18802013-02-20 Petr Machata <pmachata@redhat.com>
1881
1882 * elf/elf.h (R_ARM_TARGET1): New macro.
1883 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1884 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1885 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1886 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1887 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1888 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1889 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1890 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1891 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1892 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1893 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1894 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1895 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1896 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1897 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1898 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1899 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1900 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1901 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1902 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1903 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1904 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1905 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1906 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1907 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1908 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1909 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1910 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1911 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1912 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1913 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1914 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1915 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1916 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1917 (R_ARM_THM_GOT_BREL12): Likewise.
1918 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1919 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1920 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1921 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1922 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1923 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1924 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1925 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1926 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1927
c7b275d6
TS
19282013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1929
1930 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1931 __attribute_used__ to __attribute__ ((unused)).
1932
20cd7fb3
SP
19332013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1934
1935 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1936 powerpc mpa.c.
1937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1938 comment formatting.
1939 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1940
92945b52
JM
19412013-02-19 Joseph Myers <joseph@codesourcery.com>
1942
1943 [BZ #13550]
1944 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1945 Remove macro.
1946 (ENTER): Remove both macro definitions.
1947 (LEAVE): Likewise.
1948 (CHECK_BOUNDS_LOW): Likewise.
1949 (CHECK_BOUNDS_HIGH): Likewise.
1950 (CHECK_BOUNDS_BOTH): Likewise.
1951 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1952 (RETURN_BOUNDED_POINTER): Likewise.
1953 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1954 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1955 (POP_ERRNO_LOCATION_RETURN): Likewise.
1956 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1957 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1958 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1959 macros.
1960 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1961 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1962 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1963 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1964 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1965 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1966 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1967 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1968 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1969 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1970 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1971 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1972 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1973 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1974 removed macros.
1975 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1976 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1977 macros.
1978 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1979 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1980 * sysdeps/i386/i586/memset.S (memset): Likewise.
1981 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1982 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1983 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1984 macros.
1985 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1986 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1987 Change uses of L(2) to L(out).
1988 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1989 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1990 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1991 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1992 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1993 removed macros.
1994 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1995 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1996 macros.
1997 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1998 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1999 (RETURN): Do not use macro LEAVE.
2000 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2001 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2002 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2003 * sysdeps/i386/i686/memset.S (memset): Likewise.
2004 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2005 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2006 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2007 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2008 Likewise.
2009 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2010 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2011 L(1_2) and L(1_3) into L(1).
2012 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2013 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2014 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2015 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2016 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2017 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2018 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2019 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2020 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2021 macros.
2022 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2023 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2024 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2025 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2026 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2027 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2028 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2029 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2030 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2031 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2032 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2033 * sysdeps/i386/strspn.S (strspn): Likewise.
2034 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2035 conditional code.
2036 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2037 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2038 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2039 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2040 L(1_3) into L(1_1).
2041 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2042 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2043 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2044 macros.
2045 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2046
2389741a
JJ
20472013-02-19 Jakub Jelinek <jakub@redhat.com>
2048
2049 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2050 macro.
2051
2016b3cd
SP
20522013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2053
e4f22324
SP
2054 * math/atest-exp.c (exp_mpn): Remove ROUND.
2055 * math/atest-exp2.c (exp_mpn): Likewise.
2056 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2057
2016b3cd
SP
2058 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2059 * stdlib/tst-tls-atexit-lib.c: Likewise.
2060 * stdlib/tst-tls-atexit.c: Likewise.
2061
4be9b544
MF
20622013-02-18 Mike Frysinger <vapier@gentoo.org>
2063
2064 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2065 and __attribute_alloc_size__.
2066
2f62b9ee
MF
20672013-02-18 Mike Frysinger <vapier@gentoo.org>
2068
2069 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2070 __attribute_alloc_size__.
2071 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2072 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2073
6ff444c4
MF
20742013-02-18 Mike Frysinger <vapier@gentoo.org>
2075
2076 * include/programs/xmalloc.h: New file.
2077 * catgets/gencat.c: Include it.
2078 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2079 * elf/pldd.c: Likewise.
2080 * iconv/iconv_charmap.c: Likewise.
2081 * iconv/iconvconfig.c: Likewise.
2082 * iconv/strtab.c: Likewise.
2083 * locale/programs/locale.c: Likewise.
2084 * locale/programs/localedef.h: Likewise.
2085 * locale/programs/simple-hash.c: Likewise.
2086 * nscd/nscd.h: Likewise.
2087 * nss/makedb.c: Likewise.
2088 * sysdeps/generic/ldconfig.h: Likewise.
2089
be179c8a
SP
20902013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2091
ba384f6e
SP
2092 * Versions.def: Add GLIBC_2.18.
2093 * include/link.h (struct link_map): New member l_tls_dtor_count.
2094 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2095 (__call_tls_dtors): Likewise.
2096 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2097 __cxa_thread_atexit_impl.
2098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2099 Likewise.
2100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2101 Likewise.
2102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2103 Likewise.
2104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2105 Likewise.
2106 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2108 Likewise.
2109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2110 Likewise.
2111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2113 Likewise.
2114 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2115 (tests): Add test case tst-tls-atexit.
2116 (modules-names): Add shared library for tst-tls-atexit.
2117 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2118 (GLIBC_PRIVATE): Add __call_tls_dtors.
2119 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2120 for libstdc++.
2121 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2122 * stdlib/tst-tls-atexit.c: New test case.
2123 * stdlib/tst-tls-atexit-lib.c: New test case.
2124
ffaa74cf 2125 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2126
be179c8a
SP
2127 * elf/Versions (ld): Add _dl_find_dso_for_object.
2128 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2129 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2130 (dl_open_worker): Use _dl_find_dso_for_object.
2131 * elf/dl-sym.c (do_sym): Likewise.
2132 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2133
f78b5caa
AK
21342013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2135
2136 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2137 Syntactic changes only.
2138 (_dl_runtime_profile): Do a tail-call to the resolved function.
2139
29691210
JM
21402013-02-17 Joseph Myers <joseph@codesourcery.com>
2141
2142 [BZ #13550]
2143 * sysdeps/x86_64/bp-asm.h: Remove file.
2144 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2145 <bp-sym.h> and <bp-asm.h>.
2146 (__clone): Do not use BP_SYM.
2147 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2148 <bp-sym.h> and <bp-asm.h>.
2149 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2150 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2151 "bp-asm.h".
2152 (_setjmp): Do not use BP_SYM.
2153 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2154 "bp-asm.h".
2155 (setjmp): Do not use BP_SYM.
2156 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2157 libc_hidden_def.
2158 (mempcpy): Do not use BP_SYM in weak_alias.
2159 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2160 "bp-asm.h".
2161 (strchr): Do not use BP_SYM.
2162 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2163 "bp-asm.h".
2164 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2165 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2166 (_start): Do not use BP_SYM.
2167 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2168 "bp-asm.h".
2169 (strcat): Do not use BP_SYM.
2170 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2171 "bp-asm.h".
2172 (STRCMP): Do not use BP_SYM.
2173 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2174 "bp-asm.h".
2175 (STRCPY): Do not use BP_SYM.
2176 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2177 "bp-asm.h".
2178 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2179 "bp-asm.h".
2180 (FUNCTION): Do not use BP_SYM.
2181 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2182 weak_alias.
2183 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2184
f238fd19
AJ
21852013-02-17 Andreas Jaeger <aj@suse.de>
2186
2187 * time/Versions: Sort entries.
2188 * string/Versions: Likewise.
2189 * resolv/Versions: Likewise.
2190 * posix/Versions: Likewise.
2191 * iconv/Versions: Likewise.
2192 * elf/Versions: Likewise.
2193 * wcsmbs/Versions: Likewise.
2194
bd07f23c 21952013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2196
22af19f9
SP
2197 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2198 loop termination condition.
2199
4709fe76
SP
2200 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2201 variable to calculate EZ.
2202 (__sqr): Likewise.
2d0e0f29
SP
2203
2204 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2205 the lower precision input.
2206
daaa7713
JM
22072013-02-15 Joseph Myers <joseph@codesourcery.com>
2208
2209 [BZ #13550]
2210 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2211 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2212 (run-via-rtld-prefix): Do not handle %-bp tests.
2213 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2214 (all-object-suffixes): Remove .ob.
2215 (bppfx): Remove variable.
2216 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2217 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2218 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2219 [$(build-bounded) = yes] (libtype.ob): Likewise.
2220 * Makerules (elide-routines.ob): Remove variable.
2221 (do-tests-clean): Do not handle *-bp.out.
2222 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2223 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2224 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2225 (tests): Do not include $(tests-bp.out).
2226 (xtests): Do not include $(xtests-bp.out).
2227 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2228 [$(build-bounded) = yes] ($(addprefix
2229 $(objpfx),$(binaries-bounded))): Remove rule.
2230 ($(objpfx)%-bp.out): Remove rule.
2231 * config.make.in (build-bounded): Remove variable.
2232 * crypt/Makefile [$(build-bounded) = yes]
2233 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2234 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2235 append to variable.
2236 [$(build-bounded) = yes] (install-lib): Likewise.
2237 [$(build-bounded) = yes] (generated): Likewise.
2238 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2239 Remove rule.
2240 * intl/Makefile [$(build-bounded) = yes]
2241 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2242 * math/Makefile [$(build-bounded) = yes]
2243 ($(tests:%=$(objpfx)%-bp): Likewise.
2244 * misc/Makefile [$(build-bounded) = yes]
2245 ($(objpfx)tst-tsearch-bp): Likewise.
2246 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2247 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2248 Remove dependency.
2249 * string/Makefile (o-objects.ob): Remove variable.
2250 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2251 (CFLAGS-.ob): Remove variable.
2252 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2253 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2254 both definitions of variable.
2255 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2256 (ASFLAGS-.ob): Remove variable.
2257
e97ed6dd
JM
22582013-02-14 Joseph Myers <joseph@codesourcery.com>
2259
2bdd4ca6
JM
2260 [BZ #13550]
2261 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2262 Remove __BOUNDED_POINTERS__ from condition.
2263 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2264 * string/bits/string2.h [!__NO_STRING_INLINES &&
2265 !__BOUNDED_POINTERS__]: Likewise.
2266 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2267 Likewise.
2268 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2269 Remove conditional code.
2270 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2271 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2272 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2273 condition.
2274
e97ed6dd
JM
2275 [BZ #13550]
2276 * csu/libc-start.c: Do not include <bp-sym.h>.
2277 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2278 * elf/dl-open.c: Do not include <bp-sym.h>.
2279 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2280 * math/fegetenv.c: Do not include <bp-sym.h>.
2281 (fegetenv): Do not use BP_SYM in versioned symbols.
2282 * nptl/sysdeps/pthread/bits/libc-lockP.h
2283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2284 <bp-sym.h>.
2285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2286 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2288 (__pthread_mutex_destroy): Likewise.
2289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2290 (__pthread_mutex_lock): Likewise.
2291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2292 (__pthread_mutex_trylock): Likewise.
2293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2294 (__pthread_mutex_unlock): Likewise.
2295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2296 (__pthread_mutexattr_init): Likewise.
2297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2298 (__pthread_mutexattr_destroy): Likewise.
2299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2300 (__pthread_mutexattr_settype): Likewise.
2301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2302 (__pthread_rwlock_init): Likewise.
2303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2304 (__pthread_rwlock_destroy): Likewise.
2305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2306 (__pthread_rwlock_rdlock): Likewise.
2307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2308 (__pthread_rwlock_tryrdlock): Likewise.
2309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2310 (__pthread_rwlock_wrlock): Likewise.
2311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2312 (__pthread_rwlock_trywrlock): Likewise.
2313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2314 (__pthread_rwlock_unlock): Likewise.
2315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2316 (__pthread_key_create): Likewise.
2317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2318 (__pthread_setspecific): Likewise.
2319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2320 (__pthread_getspecific): Likewise.
2321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2322 Likewise.
2323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2324 (_pthread_cleanup_push_defer): Likewise.
2325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2326 (_pthread_cleanup_pop_restore): Likewise.
2327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2328 (pthread_setcancelstate): Likewise.
2329 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2330 <bp-sym.h>.
2331 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2332 (memchr): Do not use BP_SYM in weak_alias.
2333 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2334 (fegetenv): Do not use BP_SYM in versioned symbols.
2335 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2336 (fesetenv): Do not use BP_SYM in versioned symbols.
2337 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2338 (feupdateenv): Do not use BP_SYM in versioned symbols.
2339 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2340 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2341 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2342 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2343 (open64): Do not use BP_SYM in weak_alias.
2344 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2345 (fegetenv): Do not use BP_SYM in versioned symbols.
2346 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2347 (fesetenv): Do not use BP_SYM in versioned symbols.
2348 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2349 (feupdateenv): Do not use BP_SYM in versioned symbols.
2350 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2351 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2352 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2353 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2354 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2355 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2356 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2357 <bp-sym.h>.
2358 (__libc_start_main): Do not use BP_SYM.
2359
d6752ccd
SP
23602013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2361
cb57ce60
SP
2362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2363 redundant return line.
2364 (norm): Likewise.
2365 (denorm): Likewise.
2366 (dbl_mp): Likewise.
2367 (sub_magnitudes): Likewise.
2368 (__add): Likewise.
2369 (__sub): Likewise.
2370 (__mul): Likewise.
2371 (__inv): Likewise.
2372 (__dvd): Likewise.
2373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2374 (norm): Likewise.
2375 (denorm): Likewise.
2376 (dbl_mp): Likewise.
2377 (sub_magnitudes): Likewise.
2378 (__add): Likewise.
2379 (__sub): Likewise.
2380 (__mul): Likewise.
2381 (__inv): Likewise.
2382 (__dvd): Likewise.
2383
f414520d
SP
2384 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2385 instead of __mul.
2386 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2387 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2388 (cc32): Likewise.
2389
d6752ccd
SP
2390 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2391 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2392 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2393 of __mul for squares.
2394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2395 function
2396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2397 Likewise.
2398 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2399 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2400
70d9946a
JM
24012013-02-13 Joseph Myers <joseph@codesourcery.com>
2402
2403 [BZ #13550]
2404 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2405 code.
2406 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2407 prototype or function definition. Rename ubp_* variables and
2408 parameters. Remove argv definitions conditional on
2409 [__BOUNDED_POINTERS__].
2410 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2411 * elf/dl-runtime.c (_dl_fixup): Likewise.
2412 * include/set-hooks.h (RUN_HOOK): Likewise.
2413 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2414 definition.
2415 * string/strcpy.c (strcpy): Do not use __unbounded.
2416 * sysdeps/generic/frame.h (struct layout): Likewise.
2417 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2418 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2419 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2420 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2421 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2422 (__backtrace): Likewise.
2423 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2424 use __ptrvalue.
2425 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2426 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2427 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2428 Likewise.
2429 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2430 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2431 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2432 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2433 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2434 Do not use __unbounded.
2435 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2436 Rename __unboundedrlimits parameter to rlimits in prototype.
2437 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2438 Do not use __unbounded.
2439 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2440 not use __ptrvalue.
2441 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2442 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2443 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2444 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2445 __ptrvalue or __unbounded.
2446 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2447 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2448 use __unbounded.
2449 (__new_msgctl): Do not use __ptrvalue.
2450 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2451 __unbounded.
2452 (__libc_msgrcv): Do not use __ptrvalue.
2453 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2454 startup_info): Do not use __unbounded.
2455 (__libc_start_main): Likewise. Rename ubp_* variables and
2456 parameters. Remove argv definitions conditional on
2457 [__BOUNDED_POINTERS__].
2458 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2459 __ptrvalue.
2460 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2461 use __unbounded.
2462 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2463 or __ptrvalue.
2464 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2465 use __unbounded.
2466 (__new_shmctl): Do not use __ptrvalue.
2467 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2468 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2469 Likewise.
2470 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2471 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2472 (__libc_sigaction): Likewise.
2473 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2474 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2475 Likewise.
2476 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2477
cc7834d6
OB
24782013-02-13 Ondřej Bílka <neleai@seznam.cz>
2479
ffb1ec7b 2480 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2481
2482 * string/mempcpy.c: Implement by calling memcpy.
2483
bdf02814
SP
24842013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2485
c2af38aa
SP
2486 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2487
4e92d59e
SP
2488 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2489 evaluation.
2490
909279a5
SP
2491 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2492 values in the mantissa.
2493
bdf02814
SP
2494 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2495 minimize writes to Z.
2496 (sub_magnitudes): Simplify code a bit.
2497
cd525923
RM
24982013-02-12 Roland McGrath <roland@hack.frob.com>
2499
2500 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2501 from the message. The linker prefixes all warnings with that already.
2502
7e2f0d2d
AS
25032013-02-12 Andreas Schwab <schwab@suse.de>
2504
a445af0b
AS
2505 [BZ #15078]
2506 * posix/regexec.c (extend_buffers): Add parameter min_len.
2507 (check_matching): Pass minimum needed length.
2508 (clean_state_log_if_needed): Likewise.
2509 (get_subexp): Likewise.
2510 * posix/Makefile (tests): Add bug-regex34.
2511 (bug-regex34-ENV): Define.
2512 * posix/bug-regex34.c: New file.
2513
7e2f0d2d
AS
2514 [BZ #11561]
2515 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2516 elements compare against the byte sequence of it, not its name.
2517 * posix/Makefile (tests): Add bug-regex35.
2518 (bug-regex35-ENV): Define.
2519 * posix/bug-regex35.c: New file.
2520
a175b684
TV
25212013-02-11 Tom de Vries <tom@codesourcery.com>
2522
2523 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2524 comment.
2525 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2526 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2527 (CHECK_EOL): Add undef.
2528
310998fe 25292013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2530
2531 * bits/stdlib-bsearch.h: New file.
2532 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2533 * stdlib/stdlib.h: Likewise.
41eda41d 2534
8ded91fb
RM
25352013-02-11 Roland McGrath <roland@hack.frob.com>
2536
2537 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2538 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2539 declaration.
2540 * manual/search.texi (Array Search Function): Add missing const in
2541 lfind prototype.
2542 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2543 declaration to use rlim_t.
2544 (Basic Scheduling Functions): Remove erroneous const from
2545 sched_getparam prototype. Remove erroneous * from
2546 sched_get_priority_max and sched_get_priority_min prototypes.
2547 (Resource Usage): Fix summary @comment on vtimes to refer to
2548 sys/vtimes.h rather than vtimes.h.
2549 Add missing *s in vtimes prototype.
2550 (Limits on Resources): Fix ulimit prototype to return long int.
2551 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2552 prototypes to use long int rather than double.
2553 (BSD Random): Fix initstate and setstate to use char *, not void *.
2554 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2555 prototype to make second argument 'struct aiocb64 *const[]'.
2556 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2557 (Status of AIO Operations): Remove erroneous const in aio_return and
2558 aio_return64 prototypes.
2559 (Synchronizing I/O): Fix sync prototype to return void.
2560 * manual/startup.texi (Suboptions): Remove an erroneous const in
2561 getsubopt prototype.
2562 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2563 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2564 use size_t rather than int.
2565 (Scanning All Users): Likewise for getpwent_r.
2566 (Setting Groups): Add missing const to setgroups prototype.
2567 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2568 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2569 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2570 'const void *' rather than 'const char *'.
2571 (Host Address Functions): Likewise for inet_ntop.
2572 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2573 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2574 ssize_t for return value.
2575 (Sending Data): Likewise for send, sendto, sendmsg.
2576 (Socket Option Functions): Add a missing const in setsockopt prototype.
2577 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2578 use wchar_t for the argument.
2579 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2580 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2581 take no arguments.
2582 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2583 double/float/long double for second argument.
2584 Fix return types of significand, significandf, significandl.
2585 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2586 argument in fchmod prototype.
2587 (File Owner): Use uid_t and gid_t in fchown prototype.
2588 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2589 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2590 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2591 use 'const struct dirent **' as argument types to CMP function pointer
2592 argument.
2593 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2594 (File Times): Fix summary magic @comment for struct utimbuf and utime
2595 to refer to utime.h, not time.h.
2596 * manual/string.texi (Argz Functions): Add missing const in
2597 argz_extract and argz_next prototypes.
2598 (Finding Tokens in a String): Likewise for basename.
2599 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2600 (Copying and Concatenation): Fix typo in wmemmove prototype.
2601 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2602 (Signal Stack): Remove erroneous const in sigstack prototype.
2603 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2604 prototype.
2605 (Simple Calendar Time): Likewise for stime.
2606 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2607 prototype.
2608 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2609 say sys/sysctl.h instead.
2610 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2611 and vsyslog prototypes.
2612
fe77fe6d
TV
26132013-02-11 Tom de Vries <tom@codesourcery.com>
2614
2615 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2616 Remove.
2617
3a09b620
RM
26182013-02-11 Roland McGrath <roland@hack.frob.com>
2619
2620 * misc/sys/mman.h: Fix typo in mremap comment.
2621
550a0b89
RM
26222013-02-08 Roland McGrath <roland@hack.frob.com>
2623
2624 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2625 the '\0' terminator.
2626
a2da1673
JM
26272013-02-08 Joseph Myers <joseph@codesourcery.com>
2628
2629 [BZ #13550]
2630 * debug/segfault.c: Don't include <bp-checks.h>.
2631 * sysdeps/generic/bp-checks.h: Remove file.
2632 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2633 (__GETDENTS): Don't use CHECK_N.
2634 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2635 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2636 (__getgroups): Don't use CHECK_N.
2637 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2638 (setgroups): Don't use CHECK_N.
2639 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2640 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2641 (__libc_msgrcv): Don't use CHECK_N.
2642 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2643 (__libc_msgsnd): Don't use CHECK_N.
2644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2645 <bp-checks.h>.
2646 (__libc_pread): Don't use CHECK_N.
2647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2648 include <bp-checks.h>.
2649 (__libc_pread64): Don't use CHECK_N.
2650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2651 include <bp-checks.h>.
2652 (__libc_pwrite): Don't use CHECK_N.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2654 include <bp-checks.h>.
2655 (__libc_pwrite64): Don't use CHECK_N.
2656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2657 <bp-checks.h>.
2658 (__libc_pread): Don't use CHECK_N.
2659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2660 include <bp-checks.h>.
2661 (__libc_pread64): Don't use CHECK_N.
2662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2663 include <bp-checks.h>.
2664 (__libc_pwrite): Don't use CHECK_N.
2665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2666 include <bp-checks.h>.
2667 (__libc_pwrite64): Don't use CHECK_N.
2668 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2669 (do_pread): Don't use CHECK_N.
2670 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2671 (do_pread64): Don't use CHECK_N.
2672 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2673 (do_pwrite): Don't use CHECK_N.
2674 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2675 (do_pwrite64): Don't use CHECK_N.
2676 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2677 (__libc_readv): Don't use CHECK_N.
2678 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2679 (semop): Don't use CHECK_N.
2680 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2681 <bp-checks.h>.
2682 (semtimedop): Don't use CHECK_N.
2683 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2684 (__libc_pread): Don't use CHECK_N.
2685 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2686 <bp-checks.h>.
2687 (__libc_pread64): Don't use CHECK_N.
2688 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2689 <bp-checks.h>.
2690 (__libc_pwrite): Don't use CHECK_N.
2691 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2692 <bp-checks.h>.
2693 (__libc_pwrite64): Don't use CHECK_N.
2694 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2695 <bp-checks.h>.
2696 (__libc_msgrcv): Don't use CHECK_N.
2697 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2698 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2699 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2700 (__libc_writev): Don't use CHECK_N.
2701
b84660a8
RM
27022013-02-08 Roland McGrath <roland@hack.frob.com>
2703
7f3e75f8
RM
2704 * string/strcpy.c: Removed unused variable.
2705
b84660a8
RM
2706 * Makeconfig (+sysdep-includes): Define with := rather than =.
2707 Use an existing include/ subdir of each sysdeps dir before it.
2708
471514d3
CD
27092013-02-08 Carlos O'Donell <carlos@redhat.com>
2710
2711 * nscd/connection.c (register_traced_file): Comment function.
2712 [HAVE_INOTIFY] (union __inev): Define.
2713 [HAVE_INOTIFY] (inotify_check_files): New function.
2714 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2715 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2716 clear_db_cache.
2717 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2718
b2d3c3be
CD
27192013-02-08 Carlos O'Donell <carlos@redhat.com>
2720
2721 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2722 loaded if not already and that a failure is permanent.
2723
b39949d2
CD
27242013-02-08 Carlos O'Donell <carlos@redhat.com>
2725
ddacd1db 2726 [BZ #15006]
b39949d2
CD
2727 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2728 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2729
b2c9eff4
JM
27302013-02-08 Joseph Myers <joseph@codesourcery.com>
2731
f3aae3f3
JM
2732 [BZ #13550]
2733 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2734 (CHECK_1_NULL_OK): Likewise.
2735 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2736 (__fxstat): Do not use CHECK_1.
2737 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2738 <bp-checks.h>.
2739 (___fxstat64): Do not use CHECK_1.
2740 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2741 <bp-checks.h>.
2742 (__fxstatat): Do not use CHECK_1.
2743 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2744 <bp-checks.h>.
2745 (__fxstatat64): Do not use CHECK_1.
2746 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2747 <bp-checks.h>.
2748 (__fxstat): Do not use CHECK_1.
2749 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2750 <bp-checks.h>.
2751 (__fxstatat): Do not use CHECK_1.
2752 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2753 <bp-checks.h>.
2754 (__getresgid): Do not use CHECK_1.
2755 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2756 <bp-checks.h>.
2757 (__getresuid): Do not use CHECK_1.
2758 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2759 <bp-checks.h>.
2760 (__lxstat): Do not use CHECK_1.
2761 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2762 <bp-checks.h>.
2763 (__old_msgctl): Do not use CHECK_1.
2764 (__new_msgctl): Likewise.
2765 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2766 <bp-checks.h>.
2767 (__new_setrlimit): Do not use CHECK_1.
2768 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2769 <bp-checks.h>.
2770 (__old_shmctl): Do not use CHECK_1.
2771 (__new_shmctl): Likewise.
2772 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2773 <bp-checks.h>.
2774 (__xstat): Do not use CHECK_1.
2775 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2776 (__lxstat): Do not use CHECK_1.
2777 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2778 <bp-checks.h>.
2779 (___lxstat64): Do not use CHECK_1.
2780 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2781 (__old_msgctl): Do not use CHECK_1.
2782 (__new_msgctl): Likewise.
2783 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2784 <bp-checks.h>.
2785 (__gettimeofday): Do not use CHECK_1.
2786 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2787 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2788 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2789 <bp-checks.h>.
2790 (__gettimeofday): Do not use CHECK_1.
2791 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2792 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2793 (__new_shmctl): Do not use CHECK_1.
2794 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2795 <bp-checks.h>.
2796 (do_sigtimedwait): Do not use CHECK_1.
2797 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2798 <bp-checks.h>.
2799 (do_sigwaitinfo): Do not use CHECK_1.
2800 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2801 <bp-checks.h>.
2802 (msgctl): Do not use CHECK_1.
2803 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2804 <bp-checks.h>.
2805 (shmctl): Do not use CHECK_1.
2806 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2807 (ustat): Do not use CHECK_1.
2808 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2809 <bp-checks.h>.
2810 (__fxstat): Do not use CHECK_1.
2811 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2812 <bp-checks.h>.
2813 (__fxstatat): Do not use CHECK_1.
2814 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2815 <bp-checks.h>.
2816 (__lxstat): Do not use CHECK_1.
2817 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2818 <bp-checks.h>.
2819 (__xstat): Do not use CHECK_1.
2820 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2821 (__xstat): Do not use CHECK_1.
2822 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2823 (___xstat64): Do not use CHECK_1.
2824
b2c9eff4
JM
2825 [BZ #13550]
2826 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2827 definitions.
2828 (CHECK_BOUNDS_HIGH): Likewise.
2829 * string/strcpy.c: Do not include <bp-checks.h>.
2830 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2831
f1d70dad
RM
28322013-02-07 Roland McGrath <roland@hack.frob.com>
2833
2834 * nscd/nscd-client.h (__nscd_drop_map_ref):
2835 Add __attribute__ ((unused)).
2836 * nis/nss-nisplus.h (niserr2nss): Likewise.
2837
2838 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2839 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2840
2841 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2842 Remove inline keyword.
2843 * include/rounding-mode.h (round_away): Likewise.
2844 * libio/wfileops.c (adjust_wide_data): Likewise.
2845 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2846 (__m128i_strloadu_tolower): Likewise.
2847 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2848 (__m128i_strloadu_tolower): Likewise.
2849 * time/mktime.c (ydhms_diff): Likewise.
2850 * locale/elem-hash.h (elem_hash): Likewise.
2851 * locale/setlocale.c (setdata): Likewise.
2852 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2853 (re_string_wchar_at): Likewise.
2854 (bitset_not, bitset_merge, bitset_mask): Likewise.
2855 [!(__GNUC__ > 3)] (inline): Remove macro.
2856 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2857 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2858 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2859 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2860 * string/memcmp.c (memcmp_bytes): Likewise.
2861 * locale/programs/locarchive.c (compute_hashval): Likewise.
2862 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2863 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2864 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2865 * nss/getent.c (print_rpc, print_protocols): Likewise.
2866 (print_passwd, print_group, print_aliases): Likewise.
2867 * nis/nss-nisplus.h (niserr2nss): Likewise.
2868 * nscd/connections.c (restart_p): Likewise.
2869 Change return type to bool.
2870
eab55bfb
RM
28712013-02-05 Roland McGrath <roland@hack.frob.com>
2872
7bd642f5
RM
2873 * Makeconfig (all-Depend-files): Add existing
2874 $(sorted-subdirs:=/Depend) files.
2875 (all-subdirs): Remove nss.
2876 * sysdeps/unix/inet/Subdirs: Add it here instead.
2877 * hesiod/Depend: New file.
2878
573c29b2
RM
2879 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2880 instead of calling alloca.
2881
b2e25af0
RM
2882 * io/lseek.c (__lseek): Rename to __libc_lseek.
2883 Define __lseek as an alias.
2884
eab55bfb
RM
2885 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2886
9a0d1941
CD
28872013-02-04 Carlos O'Donell <carlos@redhat.com>
2888
2889 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2890 else clause and remove check for non-standard endianness.
2891
b83bbec4
DM
28922013-02-04 David S. Miller <davem@davemloft.net>
2893
2894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2895
6277fdab
JM
28962013-02-04 Joseph Myers <joseph@codesourcery.com>
2897
2898 [BZ #13550]
2899 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2900 (__ubp_memchr): Remove prototype.
2901 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2902 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2903 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2904 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2905 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2906 Remove alias.
2907 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2908 (__ubp_memchr): Likewise.
2909 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2910 (__ubp_memchr): Likewise.
2911 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2912 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2913 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2914 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2915 CHECK_STRING.
2916 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2917 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2918 (__getcwd): Do not use CHECK_STRING.
2919 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2920 <bp-checks.h>.
2921 (__real_chown): Do not use CHECK_STRING.
2922 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2923 <bp-checks.h>.
2924 (fchownat): Do not use CHECK_STRING.
2925 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2926 CHECK_STRING.
2927 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2928 <bp-checks.h>.
2929 (__lchown): Do not use CHECK_STRING.
2930 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2931 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2932 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2933 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2935 include <bp-checks.h>.
2936 (truncate64): Do not use CHECK_STRING.
2937 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2938 <bp-checks.h>.
2939 (__real_chown): Do not use CHECK_STRING.
2940 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2941 <bp-checks.h>.
2942 (__lchown): Do not use CHECK_STRING.
2943 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2944 <bp-checks.h>.
2945 (__chown): Do not use CHECK_STRING.
2946 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2947 <bp-checks.h>.
2948 (truncate64): Do not use CHECK_STRING.
2949 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2950 Likewise.
2951 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2952 (__xmknod): Do not use CHECK_STRING.
2953 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2954 <bp-checks.h>.
2955 (__xmknodat): Do not use CHECK_STRING.
2956 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2957 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2958
903ae060
AS
29592013-02-04 Andreas Schwab <schwab@suse.de>
2960
2961 [BZ #14142]
2962 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2963 * include/netdb.h: Likewise for h_errno.
2964 * elf/tst-stackguard1.c: Include <tls.h>.
2965
542f9466
JK
29662013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2967
2968 * elf/link.h (struct link_map): Extend the l_addr comment.
2969 * include/link.h (struct link_map): Likewise.
2970
e782a927
JM
29712013-02-01 Joseph Myers <joseph@codesourcery.com>
2972
2973 [BZ #13550]
2974 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2975 (BOUNDED_1): Remove macro.
2976 * debug/backtrace.c: Don't include <bp-checks.h>.
2977 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2978 (__backtrace): Likewise.
2979 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2980 <bp-checks.h>.
2981 (__backtrace): Don't use BOUNDED_1.
2982 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2983 <bp-checks.h>.
2984 (__backtrace): Don't use BOUNDED_1.
2985 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2986 (__backtrace): Don't use BOUNDED_1.
2987 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2988 (shmat): Don't use BOUNDED_N.
2989
8cf28c5e
JM
29902013-01-31 Joseph Myers <joseph@codesourcery.com>
2991
3a7ac8a0
JM
2992 [BZ #13550]
2993 * sysdeps/generic/bp-start.h: Remove file.
2994 * csu/libc-start.c: Don't include <bp-start.h>.
2995 (LIBC_START_MAIN): Set up __environ directly instead of using
2996 INIT_ARGV_and_ENVIRON.
2997 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2998 <bp-start.h>.
2999
f3499f95
JM
3000 [BZ #13550]
3001 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3002 definitions.
3003 (CHECK_FCNTL): Likewise.
3004 (CHECK_N_PAGES): Likewise.
3005
32a45bea
JM
3006 [BZ #13550]
3007 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3008 definitions.
3009 (CHECK_SIGSET_NULL_OK): Likewise.
3010 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3011 <bp-checks.h>.
3012 (sigpending): Don't use CHECK_SIGSET.
3013 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3014 <bp-checks.h>.
3015 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3016 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3017 <bp-checks.h>.
3018 (do_sigsuspend): Don't use CHECK_SIGSET.
3019 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3020 use CHECK_SIGSET.
3021 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3022 (do_sigwait): Don't use CHECK_SIGSET.
3023 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3024 use CHECK_SIGSET.
3025 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3026 include <bp-checks.h>.
3027 (sigpending): Don't use CHECK_SIGSET.
3028 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3029 include <bp-checks.h>.
3030 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3031 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3032 <bp-checks.h>.
3033 (sigpending): Don't use CHECK_SIGSET.
3034 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3035 <bp-checks.h>.
3036 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3037
2e8a5c8c
JM
3038 [BZ #13550]
3039 * sysdeps/generic/bp-semctl.h: Remove file.
3040 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3041 <bp-checks.h> and <bp-semctl.h>.
3042 (__old_semctl): Don't use CHECK_SEMCTL.
3043 (__new_semctl): Likewise.
3044 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3045 and <bp-semctl.h>.
3046 (__old_semctl): Don't use CHECK_SEMCTL.
3047 (__new_semctl): Likewise.
3048 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3049 <bp-checks.h> and <bp-semctl.h>.
3050 (__old_semctl): Don't use CHECK_SEMCTL.
3051 (__new_semctl): Likewise.
3052 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3053 <bp-checks.h> and <bp-semctl.h>.
3054 (semctl): Don't use CHECK_SEMCTL.
3055
c2d54929
JM
3056 [BZ #13550]
3057 * Makerules (elide-bp-thunks): Remove variable.
3058 (elide-routines.oS): Don't use $(elide-bp-thunks).
3059 (elide-routines.os): Likewise.
3060 (elide-routines.o): Likewise.
3061 (elide-routines.op): Likewise.
3062 (elide-routines.og): Likewise.
3063 (objects): Don't use $(bp-thunks).
3064 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3065 include.
3066 (common-generated): Do not add s-proto-bp.d.
3067 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3068 (int): Likewise.
3069 (typ): Likewise.
3070 Do not generate makefile rules for bounded-pointer thunks.
3071 * sysdeps/generic/bp-thunks.h: Remove file.
3072 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3073 * sysdeps/unix/s-proto-bp.S: Likewise.
3074
8cf28c5e
JM
3075 [BZ #15062]
3076 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3077 parts of result separately when argument is not close to line from
3078 -i to i and one part of argument is small.
3079 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3080 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3081 * math/libm-test.inc (cacos_test): Add more tests.
3082 (casin_test): Likewise.
3083 (casinh_test): Likewise.
3084 * sysdeps/i386/fpu/libm-test-ulps: Update.
3085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3086
c4e33b8d
DM
30872013-01-31 David S. Miller <davem@davemloft.net>
3088
3089 * po/de.po: Update from translation team.
3090
3b60b421
MK
30912013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3092
3093 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3094
bb931195
TS
30952013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3096
b5a5da23
TS
3097 * configure.in (_AC_PROG_CC_C89): New definition.
3098 * configure: Regenerate.
3099
bb931195
TS
3100 * configure.in (AC_PROG_CPP): New definition.
3101 * configure: Regenerate.
3102
8c53a12c
JM
31032013-01-23 Joseph Myers <joseph@codesourcery.com>
3104
3105 * debug/tst-backtrace.h: New file.
3106 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3107 (ret): Remove variable.
3108 (x): Likewise.
3109 (FAIL): Remove macro.
3110 (NO_INLINE): Likewise.
3111 (fn1): Use match function instead of strstr.
3112 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3113 (ret): Remove variable.
3114 (x): Likewise.
3115 (FAIL): Remove macro.
3116 (NO_INLINE): Likewise.
3117 (fn): Use match function instead of strstr.
3118 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3119 (ret): Remove variable.
3120 (x): Likewise.
3121 (FAIL): Remove macro.
3122 (NO_INLINE): Likewise.
3123 (handle_signal): Use match function instead of strstr.
3124 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3125 (ret): Remove variable.
3126 (x): Likewise.
3127 (FAIL): Remove macro.
3128 (NO_INLINE): Likewise.
3129 (handle_signal): Use match function instead of strstr.
3130
4858fa2a
RM
31312013-01-23 Roland McGrath <roland@hack.frob.com>
3132
3133 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3134
bae8e7f5
DM
31352013-01-23 David S. Miller <davem@davemloft.net>
3136
3137 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3138 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3139 argument of CAS if possible.
3140 * sysdeps/sparc/sparc64/bits/atomic.h
3141 (__arch_compare_and_exchange_val_32_acq): Likewise.
3142 (__arch_compare_and_exchange_val_64_acq): Likewise.
3143
9cbbc4ae
PT
31442013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3145
3146 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3147 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3148 Include <limits.h>.
67b3f58c 3149 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3150
5655a0b5
AC
31512013-01-23 Adam Conrad <adconrad@0c3.net>
3152
3153 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3154 (LDFLAGS-tst-array5): Likewise.
3155
052aff95
JM
31562013-01-23 Joseph Myers <joseph@codesourcery.com>
3157
3158 [BZ #15036]
3159 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3160 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3161 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3162 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3163
7c1e01aa
DM
31642013-01-21 David S. Miller <davem@davemloft.net>
3165
3166 * sysdeps/sparc/backtrace.c: New file.
3167 * sysdeps/sparc/sparc32/backtrace.h: New file.
3168 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3169 * sysdeps/sparc/sparc64/backtrace.h: New file.
3170 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3171 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3172 -funwind-tables.
3173
ab087e0a
AS
31742013-01-21 Andreas Schwab <schwab@suse.de>
3175
3176 [BZ #15020]
3177 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3178 closed its stdout.
3179
ed689c2f
AS
31802013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3181
3182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3183 "mpa2.h".
3184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3185
31d470ac
JM
31862013-01-18 Joseph Myers <joseph@codesourcery.com>
3187 Mark Mitchell <mark@codesourcery.com>
3188 Tom de Vries <tom@codesourcery.com>
3189 Paul Pluzhnikov <ppluzhnikov@google.com>
3190
3191 * debug/tst-backtrace2.c: New file.
3192 * debug/tst-backtrace3.c: Likewise.
3193 * debug/tst-backtrace4.c: Likewise.
3194 * debug/tst-backtrace5.c: Likewise.
3195 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3196 (CFLAGS-tst-backtrace3.c): Likewise.
3197 (CFLAGS-tst-backtrace4.c): Likewise.
3198 (CFLAGS-tst-backtrace5.c): Likewise.
3199 (LDFLAGS-tst-backtrace2): Likewise.
3200 (LDFLAGS-tst-backtrace3): Likewise.
3201 (LDFLAGS-tst-backtrace4): Likewise.
3202 (LDFLAGS-tst-backtrace5): Likewise.
3203 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3204 tst-backtrace4 and tst-backtrace5.
3205
90567f30 32062013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3207 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3208
3209 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3210 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3211 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3212 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3214 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3215 "+r" and remove output regs list as redundant. Add explicit inline
3216 asm to specify register of return val to work around compiler codegen
3217 bug. Remove (int) cast on return value. Add return type parameter to
3218 use in macro so that this macro does not truncate return value for
3219 64-bit values.
3220 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3221 pass to INTERNAL_VSYSCALL_NCS.
3222 (INLINE_VSYSCALL): Add 'long int' as return type to
3223 INTERNAL_VSYSCALL_NCS macro invocation.
3224 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3225 INTERNAL_VSYSCALL_NCS macro invocation.
3226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3227
d3b9ea61
SP
32282013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3229
0b57daeb
SP
3230 [BZ #14496]
3231 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3232 Fix application of SIMD FP exception mask.
3233
caa99d06
SP
3234 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3235 mp_no from a power of two.
3236 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3237 __mpexp_twomm1. Use __pow_mp.
3238
d3b9ea61
SP
3239 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3240 multiplication.
3241
1dbaee3c
DM
32422013-01-17 David S. Miller <davem@davemloft.net>
3243
3244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3245
728d7b43
JM
32462013-01-17 Joseph Myers <joseph@codesourcery.com>
3247
3248 [BZ #15023]
3249 * include/complex.h: Condition contents on [!_COMPLEX_H].
3250 (__kernel_casinhf): New prototype.
3251 (__kernel_casinh): Likewise.
3252 (__kernel_casinhl): Likewise.
3253 * math/Makefile (libm_calls): Add k_casinh.
3254 * math/k_casinh.c: New file.
3255 * math/k_casinhf.c: Likewise.
3256 * math/k_casinhl.c: Likewise.
3257 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3258 finite nonzero arguments.
3259 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3260 finite nonzero arguments.
3261 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3262 finite nonzero arguments.
3263 * math/s_casinh.c: Do not include <float.h>.
3264 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3265 * math/s_casinhf.c: Do not include <float.h>.
3266 (__casinhf): Move code for finite nonzero arguments to
3267 k_casinhf.c.
3268 * math/s_casinhl.c: Do not include <float.h>.
3269 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3270 redefine.
3271 (__casinhl): Move code for finite nonzero arguments to
3272 k_casinhl.c.
3273 * math/libm-test.inc (cacos_test): Add more tests.
3274 * sysdeps/i386/fpu/libm-test-ulps: Update.
3275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3276
2a26ef3a
PT
32772013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3278
3279 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3280 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3281 [!HAVE_MREMAP]: Remove [defined linux] case.
3282 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3283
a897655d
SP
32842013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3285
3286 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3287
881ebe89 32882013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3289
3290 * elf/elf.h (R_386_SIZE32): New relocation.
3291 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3292 R_386_SIZE32.
3293 (elf_machine_rela): Likewise.
3294 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3295 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3296
59981e9b
JM
32972013-01-17 Joseph Myers <joseph@codesourcery.com>
3298
3299 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3300 (FP_FAST_FMA): Do not define.
3301 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3302 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3303 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3304 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3305 !_SOFT_FLOAT]: Likewise.
3306 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3307 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3308 value.
3309 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3310 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3311 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3312 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3313 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3314 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3315 file.
3316
cfa8054f
AS
33172013-01-16 Andreas Schwab <schwab@suse.de>
3318
3319 [BZ #14327]
3320 * include/stdlib.h (__mktemp): Add declaration.
3321 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3322 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3323
dd930cc5
SP
33242013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3325
881ebe89
SP
3326 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3327 definitions.
3328 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3329 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3330 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3331 definitions here.
3332 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3333 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3334 definitions.
3335 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3336 and ONE.
3337 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3338 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3339 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3340 definitions.
3341 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3342 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3343 definitions.
3344 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3345
dd930cc5
SP
3346 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3347
c19a9f89
DM
33482013-01-15 David S. Miller <davem@davemloft.net>
3349
1aa61767
DM
3350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3351 trunc{,f} to libm-sysdep_routes.
3352 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3354 file.
3355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3357 file.
3358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3359 file.
3360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3362 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3363 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3364 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3365 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3366 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3367 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3368
c42d5e98
DM
3369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3370 nearbyint{,f} to libm-sysdep_routes.
3371 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3373 New file.
3374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3375 file.
3376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3377 New file.
3378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3379 file.
3380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3382 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3383 file.
3384 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3385 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3386 file.
3387 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3388 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3389 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3390
c19a9f89
DM
3391 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3392 libc_feholdexcept and libc_fesetenv.
3393
357679d2
MF
33942013-01-15 Mike Frysinger <vapier@gentoo.org>
3395
3396 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3397
65a82e3d
DM
33982013-01-14 David S. Miller <davem@davemloft.net>
3399
8b954ab9
DM
3400 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3401 (SPARC_ASM_VIS2_IFUNC): Likewise.
3402 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3404 use of 'siam' instruction.
3405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3406 Likewise.
3407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3408 Likewise.
3409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3410 Likewise.
3411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3416 file.
3417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3418 file.
3419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3420 file.
3421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3422 file.
3423 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3428 new VIS2 routines.
3429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3432 Likewise.
3433 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3438 routines to libm-sysdep_routines.
3439 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3440
65a82e3d
DM
3441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3442 fdim/fdimf to libm-sysdep_routines.
3443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3444 file.
3445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3447 file.
3448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3451 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3452 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3453 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3454 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3455
e34ab705
SP
34562013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3457
2a91b573
SP
3458 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3459 to optimize copies.
3460
1066a534
SP
3461 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3462 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3464
e34ab705
SP
3465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3466 local variable MPTWO.
3467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3468 Likewise.
3469
aba5e596
MF
34702013-01-13 Mike Frysinger <vapier@gentoo.org>
3471
3472 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3473 GLOB_NOESCAPE.
3474
e557e9e5
MF
34752013-01-13 Mike Frysinger <vapier@gentoo.org>
3476
3477 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3478
0428cec9
MF
34792013-01-13 Mike Frysinger <vapier@gentoo.org>
3480
3481 * manual/pattern.texi (glob_t): Document gl_flags.
3482 (glob64_t): Likewise.
3483
8794a964
DM
34842013-01-11 David S. Miller <davem@davemloft.net>
3485
66438c3f
RM
3486 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3487 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3488 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3489 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3490 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3491 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3492 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3493 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3494 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3495 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3496 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3497 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3498 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3499
4ae4244d
DM
3500 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3501 sparc V9 rather than using V8 code.
3502 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3503 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3504
8794a964
DM
3505 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3506 Move to...
3507 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3508 Here.
3509
6270516e
RM
35102013-01-11 Roland McGrath <roland@hack.frob.com>
3511
3512 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3513 not in the main loop.
3514 * configure: Regenerated.
3515
6a57d931
JM
35162013-01-11 Joseph Myers <joseph@codesourcery.com>
3517
3518 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3519 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3520 to just #else.
3521 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3522 [!__GLIBC_HAVE_LONG_LONG] case.
3523 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3524 condition to just #else.
3525 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3526 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3527 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3528 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3529 unconditional.
3530 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3531 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3532 #elif condition to just #else.
3533 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3534 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3535 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3536 #elif condition to just #else.
3537
0e8529e9
SE
35382013-01-11 Steve Ellcey <sellcey@mips.com>
3539
3540 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3541 (EF_MIPS_ARCH_64): Fix value.
3542 (EF_MIPS_ARCH_32R2): New.
3543 (EF_MIPS_ARCH_64R2): New.
3544
740b3dbe
L
35452013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3546
3547 * Makeconfig (+link-pie-before-libc): New.
3548 (+link-pie-after-libc): Likewise.
3549 (+link-pie-tests): Likewise.
3550 (+link-pie): Rewritten.
3551 (link-before-libc): Remove $(config-LDFLAGS).
3552 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3553 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3554 (config-LDFLAGS): Renamed to ...
3555 (rtld-LDFLAGS): This.
3556 (rtld-tests-LDFLAGS): New macro.
3557 (link-libc-rpath-link): Likewise.
3558 (link-libc-tests-rpath-link): Likewise.
3559 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3560 (link-libc): Prepand $(link-libc-rpath-link).
3561 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3562 (test-program-prefix): New macro.
3563 (test-via-rtld-prefix): Likewise.
3564 (test-program-cmd): Likewise.
3565 (host-test-program-cmd): Likewise.
3566 * Makefile ($(common-objpfx)testrun.sh): Replace
3567 $(run-program-prefix) with $(test-program-prefix).
3568 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3569 $(rtld-LDFLAGS).
3570 ($(common-objpfx)shlib.lds): Likewise.
3571 (build-module-helper): Likewise.
3572 ($(common-objpfx)format.lds): Likewise.
3573 * Rules (binaries-pie-tests): New.
3574 (binaries-pie-notests): Likewise.
3575 (binaries-pie): Rewritten.
3576 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3577 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3578 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3579 (make-test-out): Replace $(host-built-program-cmd) with
3580 $(host-test-program-cmd).
3581 * config.make.in (build-hardcoded-path-in-tests): New variable.
3582 * configure.in (--enable-hardcoded-path-in-tests): New configure
3583 option.
3584 (hardcoded_path_in_tests): New AC_SUBST.
3585 * configure: Regenerated.
3586 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3587 $(built-program-cmd) with $(test-program-cmd).
3588 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3589 (test_program_cmd): This.
3590 * elf/Makefile ($(objpfx)order.out): Run test with
3591 $(test-program-prefix).
3592 ($(objpfx)order2.out): Likewise.
3593 ($(objpfx)tst-initorder.out): Likewise.
3594 ($(objpfx)tst-initorder2.out): Likewise.
3595 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3596 $(test-program-cmd).
3597 ($(objpfx)tst-array1-static.out): Likewise.
3598 ($(objpfx)tst-array2.out): Likewise.
3599 ($(objpfx)tst-array3.out): Likewise.
3600 ($(objpfx)tst-array4.out): Likewise.
3601 ($(objpfx)tst-array5.out): Likewise.
3602 ($(objpfx)tst-array5-static.out): Likewise.
3603 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3604 $(test-program-cmd).
3605 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3606 $(run-program-prefix) with $(test-program-prefix).
3607 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3608 (test_program_prefix): This.
3609 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3610 $(run-program-prefix) with $(test-program-prefix).
3611 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3612 (test_program_prefix): This.
3613 * iconvdata/tst-tables.sh: Likewise.
3614 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3615 $(run-program-prefix) with $(test-program-prefix).
3616 ($(objpfx)tst-translit.out): Likewise.
3617 ($(objpfx)tst-gettext2.out): Likewise.
3618 ($(objpfx)tst-gettext4.out): Likewise.
3619 ($(objpfx)tst-gettext6.out): Likewise.
3620 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3621 (test_program_prefix): This.
3622 * intl/tst-gettext2.sh: Likewise.
3623 * intl/tst-gettext4.sh Likewise.
3624 * intl/tst-gettext6.sh: Likewise.
3625 * intl/tst-translit.sh: Likewise.
3626 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3627 with $(test-program-cmd).
3628 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3629 $(run-program-prefix) with $(test-program-prefix).
3630 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3631 (test_program_prefix): This.
3632 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3633 $(run-program-prefix) with $(test-program-prefix).
3634 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3635 (test_program_prefix): This.
3636 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3637 * posix/Makefile ($(objpfx)globtest.out): Replace
3638 $(run-via-rtld-prefix) and $(test-wrapper) with
3639 $(test-program-prefix) and $(test-via-rtld-prefix).
3640 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3641 $(test-program-prefix).
3642 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3643 $(host-test-program-cmd).
3644 (tst-spawn-ARGS): Likewise.
3645 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3646 $(test-program-prefix).
3647 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3648 (test_via_rtld_prefix): This.
3649 (test_wrapper): Renamed to ...
3650 (test_program_prefix): This.
3651 (run_program_prefix): Replaced by test_program_prefix.
3652 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3653 (test_program_prefix): This.
3654 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3655 with $(host-test-program-cmd).
3656 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3657 $(run-program-prefix) with $(test-program-prefix).
3658 ($(objpfx)tst-printf.out): Likewise.
3659 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3660 $(test-program-cmd).
3661 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3662 (test_program_prefix): This.
3663 * stdio-common/tst-unbputc.sh: Likewise.
3664 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3665 $(run-program-prefix) with $(test-program-prefix).
3666 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3667 (test_program_prefix): This.
3668 * string/Makefile ($(objpfx)tst-svc.out): Replace
3669 $(built-program-cmd) with $(test-program-cmd).
3670
c6fe55cf
AJ
36712013-01-11 Andreas Jaeger <aj@suse.de>
3672
3673 [BZ #15003]
3674 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3675 value. Sync with Linux 3.7.
3676
9e6919c8
DM
36772013-01-10 David S. Miller <davem@davemloft.net>
3678
3679 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3680 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3681 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3682
1c9f1a02
RM
36832013-01-10 Roland McGrath <roland@hack.frob.com>
3684
3685 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3686 never set.
3687 * configure: Regenerated.
3688
b9de2dde
DM
36892013-01-10 David S. Miller <davem@davemloft.net>
3690
3691 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3692 sparc V9 rather than using V8 code.
3693 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3694 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3695
e7f68ef4
RM
36962013-01-10 Roland McGrath <roland@hack.frob.com>
3697
3698 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3699 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3700 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3701 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3702 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3703 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3704 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3705 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3706 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3707 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3708 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3709 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3710 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3711 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3712 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3713 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3714 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3715 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3716 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3717 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3718 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3719 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3720 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3721 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3722 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3723 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3724 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3725
5a47cc9c
DM
37262013-01-10 David S. Miller <davem@davemloft.net>
3727
3728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3729
4cf8f209
L
37302013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3731
3732 * posix/Makefile (tests-static): New variable.
3733 (tests): Add $(tests-static).
3734 (tst-exec-static-ARGS): New variable.
3735 (tst-spawn-static-ARGS): Likewise.
3736 * posix/tst-exec-static.c: New file.
3737 * posix/tst-spawn-static.c: Likewise.
3738 * posix/tst-exec.c: Support run directly.
3739 * posix/tst-spawn.c: Likewise.
3740
fed0faa1
JM
37412013-01-10 Joseph Myers <joseph@codesourcery.com>
3742
828beb13
JM
3743 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3744 long.
3745 * math/bits/mathcalls.h (llrint): Likewise.
3746 (llround): Likewise.
3747 * stdlib/stdlib.h (struct drand48_data): Likewise.
3748 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3749 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3750 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3751 Likewise.
3752 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3753 Likewise.
3754 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3755 (elf_greg_t): Likewise.
3756 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3757 (__jmp_buf): Likewise.
3758 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3759 definitions.
3760 (llrint): Likewise, for all definitions.
3761 (llrintl): Likewise.
3762
fed0faa1
JM
3763 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3764 Remove [__GNUC__] condition.
3765 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3766 condition to just [__USE_ISOC99].
3767 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3768
1a20cb20
L
37692013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3770
3771 [BZ #14200]
3772 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3773 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3774 defined.
3775 (_POSIX_V6_ILP32_OFF32): Likewise.
3776 (_XBS5_ILP32_OFF32): Likewise.
3777 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3778 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3779
751b85f7
SP
37802013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3781
7490eb81
SP
3782 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3783
751b85f7
SP
3784 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3785 doubles __mpexp_twomm1. Adjust usage.
3786 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3787 Remove.
3788
988197f0
AS
37892013-01-10 Andreas Schwab <schwab@suse.de>
3790
3791 [BZ #14964]
3792 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3793 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3794
e83d7298
DM
37952013-01-09 David S. Miller <davem@davemloft.net>
3796
034ed64b 3797 [BZ #15003]
e83d7298
DM
3798 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3799 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3800 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3801 TCP_FASTOPEN): Define.
3802 (tcp_repair_opt): New structure.
3803 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3804 enum values.
3805 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3806 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3807 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3808 (tcp_cookie_transactions): New structure.
3809
d5e0b9bd
AB
38102013-01-09 Anton Blanchard <anton@samba.org>
3811
3812 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3813 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3814 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3815 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3816
0c07e3ea
JM
38172013-01-09 Joseph Myers <joseph@codesourcery.com>
3818
3819 * include/features.h (__USE_ANSI): Remove.
3820
232f7002
RM
38212013-01-09 Roland McGrath <roland@hack.frob.com>
3822
ad98e30c
RM
3823 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3824
232f7002
RM
3825 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3826
950c99ca
SP
38272013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3828
b5792741
SP
3829 * sysdeps/s390/fpu/libm-test-ulps: Update.
3830
47cf2278
SP
3831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3832
950c99ca
SP
3833 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3834 (__acr): Likewise.
3835 (__cpy): Likewise.
3836 (norm): Likewise.
3837 (denorm): Likewise.
3838 (__mp_dbl): Likewise.
3839 (__dbl_mp): Likewise.
3840 (add_magnitudes): Likewise.
3841 (sub_magnitudes): Likewise.
3842 (__add): Likewise.
3843 (__sub): Likewise.
3844 (__mul): Likewise.
3845 (__inv): Likewise.
3846 (__dvd): Likewise.
3847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3848 (__acr): Likewise.
3849 (__cpy): Likewise.
3850 (norm): Likewise.
3851 (denorm): Likewise.
3852 (__mp_dbl): Likewise.
3853 (__dbl_mp): Likewise.
3854 (add_magnitudes): Likewise.
3855 (sub_magnitudes): Likewise.
3856 (__add): Likewise.
3857 (__sub): Likewise.
3858 (__mul): Likewise.
3859 (__inv): Likewise.
3860 (__dvd): Likewise.
3861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3862 (__acr): Likewise.
3863 (__cpy): Likewise.
3864 (norm): Likewise.
3865 (denorm): Likewise.
3866 (__mp_dbl): Likewise.
3867 (__dbl_mp): Likewise.
3868 (add_magnitudes): Likewise.
3869 (sub_magnitudes): Likewise.
3870 (__add): Likewise.
3871 (__sub): Likewise.
3872 (__mul): Likewise.
3873 (__inv): Likewise.
3874 (__dvd): Likewise.
3875
eede9df9
JM
38762013-01-08 Joseph Myers <joseph@codesourcery.com>
3877
3878 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3879 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3880 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3881 2 && __USE_EXTERN_INLINES]: Likewise.
3882
c40ea3d9
AJ
38832013-01-08 Andreas Jaeger <aj@suse.de>
3884
3885 [BZ# 14985]
3886 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3887 Remove.
3888 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3889 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3890
2ccdea26
AB
38912013-01-07 Anton Blanchard <anton@samba.org>
3892
3893 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3894 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3895 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3896 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3897 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3898 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3899 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3900 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3902 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3903 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3904 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3905 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3906 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3907 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3908 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3909 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3910 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3911 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3912 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3913 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3914 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3915 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3916 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3917 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3918 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3919 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3920 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3921 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3922 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3923 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3925 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3926 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3927 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3928 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3929 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3930 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3931 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3932 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3933 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3934 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3935 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3936
a9708fed
JM
39372013-01-07 Joseph Myers <joseph@codesourcery.com>
3938
375607b9
JM
3939 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3940 (__MALLOC_PMT): Likewise.
3941 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3942 [__GNUC__], only on [_LIBC].
3943 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3944 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3945 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3946 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3947 forward declaration.
3948 (realloc_hook_ini): Likewise.
3949 (memalign_hook_ini): Likewise.
3950 (__libc_memalign): Do not use __MALLOC_PMT in variable
3951 declaration.
3952 (__libc_valloc): Likewise.
3953 (__libc_pvalloc): Likewise.
3954 (__libc_calloc): Likewise.
3955 (__posix_memalign): Likewise.
3956
a9708fed
JM
3957 [BZ #14996]
3958 * math/s_casinh.c: Include <float.h>.
3959 (__casinh): Do not do computation with squaring and square root
3960 for large arguments.
3961 * math/s_casinhf.c: Include <float.h>.
3962 (__casinhf): Do not do computation with squaring and square root
3963 for large arguments.
3964 * math/s_casinhl.c: Include <float.h>.
3965 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3966 (__casinhl): Do not do computation with squaring and square root
3967 for large arguments.
3968 * math/libm-test.inc (casin_test): Add more tests.
3969 (casinh_test): Likewise.
3970 * sysdeps/i386/fpu/libm-test-ulps: Update.
3971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3972
afec409a
L
39732013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3974
3975 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3976 (__x86_64_raw_data_cache_size): Likewise.
3977 (__x86_64_data_cache_size_half): Likewise.
3978 (__x86_64_raw_data_cache_size_half): Likewise.
3979 (__x86_64_shared_cache_size): Likewise.
3980 (__x86_64_raw_shared_cache_size): Likewise.
3981 (__x86_64_shared_cache_size_half): Likewise.
3982 (__x86_64_raw_shared_cache_size_half): Likewise.
3983 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3984 to ...
3985 (__x86_data_cache_size): This.
3986 (__x86_64_raw_data_cache_size): Renamed to ...
3987 (__x86_raw_data_cache_size): This.
3988 (__x86_64_data_cache_size_half): Renamed to ...
3989 (__x86_data_cache_size_half): This.
3990 (__x86_64_raw_data_cache_size_half): Renamed to ...
3991 (__x86_raw_data_cache_size_half): This.
3992 (__x86_64_shared_cache_size): Renamed to ...
3993 (__x86_shared_cache_size): This.
3994 (__x86_64_raw_shared_cache_size): Renamed to ...
3995 (__x86_raw_shared_cache_size): This.
3996 (__x86_64_shared_cache_size_half): Renamed to ...
3997 (__x86_shared_cache_size_half): This.
3998 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3999 (__x86_raw_shared_cache_size_half): This.
4000 * sysdeps/x86_64/memcpy.S: Updated.
4001 * sysdeps/x86_64/memset.S: Likewise.
4002 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4003 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4004 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4005
0b3986d0
DM
40062013-01-04 David S. Miller <davem@davemloft.net>
4007
4008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4009
e47686e9
AS
40102013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4011
d643bac1
AS
4012 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4013 1 to avoid redefinition warning.
4014 (__USE_GNU): Don't define.
4015 (init_signaling_nan): Protoize.
4016
e47686e9
AS
4017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4018
b18decba
SP
40192013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4020
fffb407f
SP
4021 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4023 (__cpymn): Likewise.
4024 (norm): Remove commented code.
4025 (denorm): Likewise.
4026 (__mp_dbl): Likewise.
4027 (__inv): Likewise.
4028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4029 (__cpymn): Likewise.
4030 (norm): Remove commented code.
4031 (denorm): Likewise.
4032 (__mp_dbl): Likewise.
4033 (__inv): Likewise.
4034
b18decba
SP
4035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4036 mp_no value for 1.0 and 2.0.
4037 (norm): Use RADIXI instead of radixi.d.
4038 (denorm): Likewise.
4039 (__mul): Use 0.0 instead of zero.d.
4040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4041 mp_no value for 1.0 and 2.0.
4042 (norm): Use RADIXI instead of radixi.d.
4043 (denorm): Likewise.
4044 (__mul): Use 0.0 instead of zero.d.
4045
cdc1c96f
JM
40462013-01-04 Joseph Myers <joseph@codesourcery.com>
4047
4048 [BZ #14994]
4049 * math/s_casinh.c (__casinh): Reduce finite argument to first
4050 quadrant then set signs of results at the end.
4051 * math/s_casinhf.c (__casinhf): Likewise.
4052 * math/s_casinhl.c (__casinhl): Likewise.
4053 * math/libm-test.inc (casin_test): Add more tests.
4054 (casinh_test): Likewise.
4055 * sysdeps/i386/fpu/libm-test-ulps: Update.
4056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4057
302913e1
SP
40582013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4059
6420d207
SP
4060 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4061
a9e48ab4
SP
4062 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4063
b7837264
SP
4064 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4065 declarations.
4066 (denorm): Likewise.
4067 (__mp_dbl): Likewise.
4068 (__inv): Likewise.
4069
f8af25d2
SP
4070 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4071 and adjust the header comment.
4072
302913e1
SP
4073 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4074 variable name from declaration.
4075
5d7dd1ca
L
40762013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4077
4078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4079 Initialize COMMON_CPUID_INDEX_7 element.
4080 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4081 (CPUID_RTM): Likewise.
4082 (HAS_RTM): Likewise.
4083 (COMMON_CPUID_INDEX_7): New enum.
4084
2f5f40f4
AS
40852013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4086
4087 [BZ #14981]
4088 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4089 size is zero, record memory as freed.
4090
4056f4a0
AJ
40912013-01-03 Andreas Jaeger <aj@suse.de>
4092
4093 * po/ia.po: Add new Interlingua translation.
4094
ab15736f 40952012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4096
4097 * locale/programs/localedef.c: Fix description of '--posix' flag.
4098
568035b7
JM
40992013-01-02 Joseph Myers <joseph@codesourcery.com>
4100
e6898b8d
JM
4101 * NEWS: Update dates in second copyright notice.
4102 * README: Update copyright dates in example.
4103 * manual/libc.texinfo: Update copyright dates.
4104 * scripts/test-installation.pl: Update copyright date in --version
4105 output.
4106
0e2f9562
JM
4107 * hurd/ctty-input.c: Fix copyright notice formatting.
4108 * hurd/ctty-output.c: Likewise.
4109 * hurd/dtable.c: Likewise.
4110 * hurd/hurd-raise.c: Likewise.
4111 * hurd/hurdprio.c: Likewise.
4112 * hurd/msgportdemux.c: Likewise.
4113 * misc/sys/file.h: Likewise.
4114 * misc/sys/ioctl.h: Likewise.
4115 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4116 * sysdeps/mach/hurd/chdir.c: Likewise.
4117 * sysdeps/mach/hurd/fchdir.c: Likewise.
4118 * sysdeps/mach/hurd/rename.c: Likewise.
4119 * sysdeps/mach/hurd/rmdir.c: Likewise.
4120 * sysdeps/mach/hurd/seekdir.c: Likewise.
4121 * sysdeps/mach/hurd/setsid.c: Likewise.
4122 * sysdeps/posix/wait3.c: Likewise.
4123
568035b7
JM
4124 * All files with FSF copyright notices: Update copyright dates
4125 using scripts/update-copyrights.
4126 * intl/plural.c: Regenerated.
4127 * locale/programs/charmap-kw.h: Likewise.
4128 * locale/programs/locfile-kw.h: Likewise.
4129
da08f647
SP
41302013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4131
0f5477af
SP
4132 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4133 four values.
4134
44e0d4c2
SP
4135 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4136 calculation loop and add branch prediction.
4137
4d55b4e5
SP
4138 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4139 check access beyond bounds of m1np.
4140
da08f647
SP
4141 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4142 MPTWO.
4143 (__inv): Remove local variable MPTWO to use the global
4144 constant.
4145 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4146 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4147 variable MPTWO.
4148 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4149 MP3HALFS static const.
4150
8e051029
DM
41512013-01-01 David S. Miller <davem@davemloft.net>
4152
4153 * po/ca.po: Update from translation team.
4154
f4cf5f2d
JM
41552013-01-01 Joseph Myers <joseph@codesourcery.com>
4156
4157 * scripts/update-copyrights: New file.
4158 * Makeconfig: Reformat copyright notice.
4159 * ctype/ctype.h: Likewise.
4160 * debug/swprintf_chk.c: Likewise.
4161 * elf/dl-cache.c: Likewise.
4162 * elf/dl-debug.c: Likewise.
4163 * elf/dl-object.c: Likewise.
4164 * grp/initgroups.c: Likewise.
4165 * hurd/Makefile: Likewise.
4166 * hurd/hurd/signal.h: Likewise.
4167 * hurd/hurdfault.c: Likewise.
4168 * hurd/hurdioctl.c: Likewise.
4169 * hurd/hurdlookup.c: Likewise.
4170 * hurd/intr-msg.c: Likewise.
4171 * iconv/gconv_open.c: Likewise.
4172 * libio/swprintf.c: Likewise.
4173 * locale/lc-ctype.c: Likewise.
4174 * locale/nl_langinfo.c: Likewise.
4175 * mach/Machrules: Likewise.
4176 * mach/Makefile: Likewise.
4177 * malloc/obstack.h: Likewise.
4178 * manual/Makefile: Likewise.
4179 * manual/tsort.awk: Likewise.
4180 * misc/bits/stab.def: Likewise.
4181 * nis/nis_print_group_entry.c: Likewise.
4182 * nis/nis_table.c: Likewise.
4183 * nis/nss_compat/compat-pwd.c: Likewise.
4184 * nis/nss_compat/compat-spwd.c: Likewise.
4185 * po/Makefile: Likewise.
4186 * posix/fnmatch.c: Likewise.
4187 * posix/regex.h: Likewise.
4188 * resolv/Makefile: Likewise.
4189 * resolv/nss_dns/dns-network.c: Likewise.
4190 * resolv/res_hconf.c: Likewise.
4191 * scripts/gen-sorted.awk: Likewise.
4192 * soft-fp/soft-fp.h: Likewise.
4193 * stdio-common/printf.h: Likewise.
4194 * stdlib/monetary.h: Likewise.
4195 * stdlib/random.c: Likewise.
4196 * stdlib/random_r.c: Likewise.
4197 * sysdeps/generic/Makefile: Likewise.
4198 * sysdeps/gnu/Makefile: Likewise.
4199 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4200 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4201 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4202 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4210 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4211 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4212 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4213 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4215 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4216 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4217 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4218 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4219 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4220 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4222 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4223 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4224 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4225 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4226 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4227 * sysdeps/mach/hurd/errnos.awk: Likewise.
4228 * sysdeps/mach/hurd/fork.c: Likewise.
4229 * sysdeps/mach/hurd/getcwd.c: Likewise.
4230 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4231 * sysdeps/mach/hurd/mmap.c: Likewise.
4232 * sysdeps/mach/hurd/utimes.c: Likewise.
4233 * sysdeps/mach/hurd/xmknod.c: Likewise.
4234 * sysdeps/posix/profil.c: Likewise.
4235 * sysdeps/posix/readdir_r.c: Likewise.
4236 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4237 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4238 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4239 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4241 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4242 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4243 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4244 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4245 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4246 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4247 * sysdeps/pthread/lio_listio.c: Likewise.
4248 * sysdeps/sparc/dl-procinfo.h: Likewise.
4249 * sysdeps/unix/i386/sysdep.S: Likewise.
4250 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4251 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4252 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4253 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4255 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4256 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4257 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4258 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4259 * sysdeps/wordsize-32/divdi3.c: Likewise.
4260 * time/sys/time.h: Likewise.
4261 * wcsmbs/Makefile: Likewise.
4262
0549fbba
DM
42632013-01-01 David S. Miller <davem@davemloft.net>
4264
a141f1a7
DM
4265 * po/fr.po: Update from translation team.
4266
0549fbba
DM
4267 * catgets/gencat.c: Update copyright year.
4268 * csu/version.c: Likewise.
4269 * debug/catchsegv.sh: Likewise.
4270 * debug/pcprofiledump.c: Likewise.
4271 * debug/xtrace.sh: Likewise.
4272 * elf/ldconfig.c: Likewise.
4273 * elf/ldd.bash.in: Likewise.
4274 * elf/pldd.c: Likewise.
4275 * elf/sotruss.ksh: Likewise.
4276 * elf/sprof.c: Likewise.
4277 * iconv/iconv_prog.c: Likewise.
4278 * iconv/iconvconfig.c: Likewise.
4279 * locale/programs/locale.c: Likewise.
4280 * locale/programs/localedef.c: Likewise.
4281 * login/programs/pt_chown.c: Likewise.
4282 * malloc/memusage.sh: Likewise.
4283 * malloc/memusagestat.c: Likewise.
4284 * malloc/mtrace.pl: Likewise.
4285 * nscd/nscd.c: Likewise.
4286 * nss/getent.c: Likewise.
4287 * nss/makedb.c: Likewise.
4288 * posix/getconf.c: Likewise.
4289
18ea052c
SP
42902012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4291
4292 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4293 numbers.
4294
9c89fca6
MF
42952012-12-30 Mike Frysinger <vapier@gentoo.org>
4296
4297 * math/bits/mathcalls.h (modf): Use __nonnull.
4298
085ec079
SP
42992012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4300
4301 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4302 (split): Use macro CN instead of the bare value.
4303 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4304 could be used.
4305 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4306 instead of the bare value.
4307 (power1): Likewise.
4308
6d9f97e1
SP
43092012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4310
d63f73be
SP
4311 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4312 __ATAN_TWOM.
4313 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4314
6d9f97e1
SP
4315 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4316 their values.
4317 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4318 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4319 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4320 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4321
4c4febf5
AJ
43222012-12-28 Andreas Jaeger <aj@suse.de>
4323
af5843ef
AJ
4324 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4325 values are from Linux 3.7.
4326
4c4febf5
AJ
4327 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4328 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4329
99136f82
SP
43302012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4331
2f216c3c 4332 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4333 TRUE case.
4334
99136f82
SP
4335 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4336 (norm): Likewise.
4337 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4338 variables with preprocessor constants.
4339 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4340 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4341 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4342
7fffbdff
BH
43432012-12-27 Bruno Haible <bruno@clisp.org>
4344
4345 [BZ #14317]
4346 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4347 only if needed.
4348
b76eb5f0
SP
43492012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4350
31a7fe5c
SP
4351 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4352 and use variable directly.
4353 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4354
b76eb5f0
SP
4355 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4356 MPONE.
4357 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4358 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4359 variable MPONE.
4360 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4361 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4362 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4363 include directive. Remove local variable MPONE.
4364 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4365 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4366 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4367
2c8bfe7d
DM
43682012-12-25 David S. Miller <davem@davemloft.net>
4369
4370 * version.h (RELEASE): Set to "development".
4371 (VERSION): Set to "2.17.90".
4372 * NEWS: Add 2.18 section.
4373
147d03b0
DM
43742012-12-21 David S. Miller <davem@davemloft.net>
4375
4376 * po/hr.po: Update from translation team.
4377
a8ebb2b9
AK
43782012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4379
4380 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4381
95b4f1b6
SE
43822012-12-19 Steve Ellcey <sellcey@mips.com>
4383
b2d94007 4384 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4385
cedb2a90
MS
43862012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4387
4388 * manual/contrib.texi (Contributors): Spelling correction.
4389
bbf527d6
DM
43902012-12-15 David S. Miller <davem@davemloft.net>
4391
4392 * po/ru.po: Update from translation team.
4393
bc38c906
DM
43942012-12-13 David S. Miller <davem@davemloft.net>
4395
85429b1a
DM
4396 * NEWS: Mention IFUNC testsuite enhancements.
4397
d283e353
DM
4398 * po/pl.po: Update from translation team.
4399 * po/bg.po: Likewise.
4400
bc38c906
DM
4401 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4402 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4403
a181b0d7
DM
44042012-12-11 David S. Miller <davem@davemloft.net>
4405
4641d57e
DM
4406 * po/sv.po: Update from translation team.
4407
f7bc6495
DM
4408 * po/vi.po: Update from translation team.
4409
6fc9048f
DM
4410 * po/cs.po: Update from translation team.
4411
a181b0d7
DM
4412 * po/de.po: Update from translation team.
4413 * po/eo.po: Likewise.
4414 * po/nl.po: Likewise.
4415
f70bfe80
SP
44162012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4417
3c8b4190
SP
4418 [BZ #14246]
4419 * manual/argp.texi (Argp Helper Functions): Move node to follow
4420 Argp Parsing State.
4421
f70bfe80
SP
4422 [BZ #14872]
4423 * manual/conf.texi (Limits on File System Capacity): Mention if
4424 terminating null is included in the max size.
4425
188f0adf
AJ
44262012-12-10 Andreas Jaeger <aj@suse.de>
4427
4428 * po/cs.po: Update from translation team.
4429
56e7d3ad
SP
44302012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4431
4432 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4433 void pointer and cast to uintptr_t.
4434 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4435 path.
4436 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4437 * sysdeps/s390/s390-64/memset.S: Likewise.
4438
76f2d2ea 44392012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4440
4441 [BZ #14833]
4442 * menual/message.texi (Message Translation): Fix typos.
4443 (Helper programs for gettext): Likewise.
4444
67cbf9a2
AS
44452012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4446
4447 [BZ #14898]
4448 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4449 Change to -1.
4450
682d0e9a
DM
44512012-12-07 David S. Miller <davem@davemloft.net>
4452
4453 * po/libc.pot: Update.
4454
573cd484
RH
44552012-12-07 Richard Henderson <rth@redhat.com>
4456
7e9da188 4457 [BZ #10114]
573cd484
RH
4458 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4459 normal/normal case to before the switch.
4460 (_FP_DIV): Likewise.
4461
e933a943
MF
44622012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4463 Mike Frysinger <vapier@gentoo.org>
4464
4465 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4466 check for __NR_fadvise64_64.
4467
82123268
CM
44682012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4469
4470 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4471 0, not just to plain "0" as a statement.
4472 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4473 with cw.
4474
d9814526
JM
44752012-12-06 Joseph Myers <joseph@codesourcery.com>
4476
4477 * NEWS: Use sourceware.org in Bugzilla URL.
4478
7728c574
SP
44792012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4480
f16946dd
SP
4481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4482 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4483
5704bbcb
SP
4484 * stdio-common/tst-put-error.c (do_test): Add newline to the
4485 padded test to ensure flush.
4486
17aa0516
JL
44872012-12-05 Jeff Law <law@redhat.com>
4488
4489 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4490
363313b5
JM
44912012-12-05 Joseph Myers <joseph@codesourcery.com>
4492
effbd42a
JM
4493 * README: Don't refer to ports add-on as distributed separately.
4494 Mention AArch64 in list of systems supported in the ports add-on.
4495
87600365
JM
4496 * LICENSES: Add more non-FSF copyright and license notices.
4497
a0d7066a
JM
4498 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4499 ((unused)).
4500
66ca5a5b
JM
4501 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4502
363313b5
JM
4503 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4504 10000 as width of padded output.
4505
b37984ad
JM
45062012-12-04 Joseph Myers <joseph@codesourcery.com>
4507
9003570a
JM
4508 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4509
b37984ad
JM
4510 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4511 variable LX with __attribute__ ((unused)).
4512 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4513 Likewise.
4514 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4515 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4516 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4517 with __attribute__ ((unused)).
4518
c8df52ec
DM
45192012-12-04 David S. Miller <davem@abraco.davemloft.net>
4520
4521 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4522
b3b099af
JM
45232012-12-04 Joseph Myers <joseph@codesourcery.com>
4524
c33aa6e3
JM
4525 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4526 (CFLAGS-nldbl-acos.c): New variable.
4527 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4528 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4529 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4530 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4531 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4532 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4533 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4534 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4535 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4536 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4537 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4538 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4539 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4540 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4541 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4542 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4543 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4544 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4545 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4546 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4547 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4548 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4549 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4550 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4551 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4552 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4553 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4554 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4555 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4556 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4557 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4558 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4559 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4560 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4561 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4562 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4563 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4564 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4565 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4566 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4567 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4568 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4569 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4570 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4571 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4572 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4573 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4574 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4575 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4576 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4577 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4578 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4579 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4580 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4581 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4582 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4583 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4584 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4585 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4586 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4587 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4588 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4589 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4590 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4591 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4592 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4593 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4594 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4595 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4596 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4597 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4598 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4599 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4600 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4601 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4602 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4603 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4604 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4605 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4606 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4607 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4608 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4609 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4610 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4611 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4612 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4613 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4614 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4615 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4616 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4617 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4618 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4619 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4620 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4621 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4622 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4623 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4624
20f0018d
JM
4625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4626 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4627
b3b099af
JM
4628 [BZ #14914]
4629 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4630 whole low double instead of just low 47 bits when splitting values
4631 into two parts.
4632
029264d1
AM
46332012-12-03 Allan McRae <allan@archlinux.org>
4634
4635 * manual/stdio.texi (Predefined Printf Handlers): Remove
4636 @hsep and @vsep usage.
4637
c9d6789e
MF
46382012-12-03 Mike Frysinger <vapier@gentoo.org>
4639
4640 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4641 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4642
4b7634a5
JL
46432012-12-03 Jeff Law <law@redhat.com>
4644
4645 * time/sys/time.h (settimeofday): Do not mark TV argument
4646 as __nonnull.
4647
eb6cbd24
MF
46482012-12-01 Mike Frysinger <vapier@gentoo.org>
4649
4650 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4651 when currently writing and seek to current position when not.
4652 * libio/Makefile (tests): Remove bug-fclose1.
4653 * libio/bug-fclose1.c: Delete.
4654
f638872a
JM
46552012-12-01 Joseph Myers <joseph@codesourcery.com>
4656
4657 * manual/arith.texi (feenableexcept): Fix typo.
4658 (fedisableexcept): Likewise.
4659
48085d14
RM
46602012-11-30 Roland McGrath <roland@hack.frob.com>
4661
4662 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4663 second, differently-typed declaration, rather than a cast.
4664
1a538b9f
SP
46652012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4666
4667 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4668 * include/rpc/svc.h: ... here.
4669
d07f2ff1 46702012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4671
4672 [BZ #13013]
4673 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4674 depending n and resplen2 to catch cases where answer
4675 equals answerp2.
4676
c93ec1f0
CD
46772012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4678
4679 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4680 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4681
37db69de
MF
46822012-11-29 Mike Frysinger <vapier@gentoo.org>
4683
4684 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4685
e10c4e4f
RM
46862012-11-29 Roland McGrath <roland@hack.frob.com>
4687
4688 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4689
2af1b328
JL
46902012-11-28 Jeff Law <law@redhat.com>
4691
4692 [BZ #13761]
4693 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4694 dataset_temporary. Track alloca usage into alloca_used.
4695 If dataset is large allocate and release it via malloc/free.
4696
111db5b1
FW
46972012-06-04 Florian Weimer <fweimer@redhat.com>
4698
f06cc227 4699 [BZ #14197]
111db5b1
FW
4700 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4701
dd694abd
DM
47022012-11-28 David S. Miller <davem@davemloft.net>
4703
4704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4705
9984dd01
JM
47062012-11-28 Joseph Myers <joseph@codesourcery.com>
4707
4708 [BZ #14803]
4709 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4710 of pi/2 rounded to nearest to 64 bits.
4711 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4712 nearest to 64 bits.
4713 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4714 bits.
4715
14bc93a9
JL
47162012-11-28 Jeff Law <law@redhat.com>
4717 Martin Osvald <mosvald@redhat.com>
4718
4719 [BZ #14889]
4720 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4721 * sunrpc/svc.c: Include time.h.
4722 (__svc_accept_failed): New function.
4723 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4724 any reason other than EINTR, call __svc_accept_failed.
4725 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4726 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4727
e3c6aa3a
AS
47282012-11-28 Andreas Schwab <schwab@suse.de>
4729
4730 * scripts/abilist.awk: Also handle indirect functions in .opd
4731 section.
4732
1bead169
JM
47332012-11-28 Joseph Myers <joseph@codesourcery.com>
4734
4735 [BZ #13881]
4736 * sysdeps/x86/fpu/powl_helper.c: New file.
4737 * sysdeps/x86/fpu/Makefile: Likewise.
4738 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4739 (p3): New object.
4740 (__ieee754_powl): Use __powl_helper for finite arguments except
4741 integer exponents below 8.
4742 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4743 (p3): New object.
4744 (__ieee754_powl): Use __powl_helper for finite arguments except
4745 integer exponents below 8.
4746 * math/libm-test.inc (pow_test): Add more tests and enable some
4747 previously disabled tests.
4748 * sysdeps/i386/fpu/libm-test-ulps: Update.
4749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4750
0817d63d
SP
47512012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4752 Carlos O'Donell <carlos_odonell@mentor.com>
4753
4754 * nss/makedb.c (is_prime): Assert that input is odd and greater
4755 than 4. Note that fact in a comment too.
4756 (next_prime): Add 4 to input.
4757
de2fd463
SP
47582012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4759
4760 [BZ #11741]
4761 * libio/Makefile (tests): Add test case tst-fwrite-error.
4762 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4763 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4764 * libio/tst-fwrite-error.c: New test case.
4765
c515fb51
L
47662012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4767
4768 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4769 before casting to void *.
4770 * include/libc-internal.h (__pointer_type): New macro.
4771 (__integer_if_pointer_type_sub): Likewise.
4772 (__integer_if_pointer_type): Likewise.
4773 (cast_to_integer): Likewise.
4774 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4775 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4776 before casting to atomic64_t.
4777 (atomic_exchange_acq): Likewise.
4778 (__arch_exchange_and_add_body): Likewise.
4779 (__arch_add_body): Likewise.
4780 (atomic_add_negative): Likewise.
4781 (atomic_add_zero): Likewise.
4782
4cf77aa9
JM
47832012-11-26 Joseph Myers <joseph@codesourcery.com>
4784
4785 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4786 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4787 (add_fdes): Likewise.
4788 (linear_search_fdes): Likewise.
4789 (binary_search_unencoded_fdes): Likewise.
4790
d260b3b4
AS
47912012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4792
4793 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4794
67060746
AC
47952012-11-24 Adam Conrad <adconrad@0c3.net>
4796
4797 * configure.in: Autodetect C++ header directories.
4798 * configure: Regenerated.
4799
800938a1
MF
48002012-11-23 Mike Frysinger <vapier@gentoo.org>
4801
4802 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4803
4e6e34e6
AS
48042012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4805
4806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4807
7c7feb47
JM
48082012-11-22 Joseph Myers <joseph@codesourcery.com>
4809
7184dcdf
JM
4810 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4811 LDBL_MANT_DIG == 106]: Disable some tests.
4812 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4813 Likewise.
4814 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4815 Likewise.
4816
0a42601f
JM
4817 [BZ #14871]
4818 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4819 input for small inputs. Return +/- pi/2 for large inputs.
4820 * math/libm-test.inc (atan_test): Add more tests.
4821
79c9b9fe
JM
4822 * sysdeps/generic/unwind-dw2-fde-glibc.c
4823 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4824 __attribute__ ((unused)).
4825
c60d3bf2
JM
4826 [BZ #14645]
4827 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4828 x * y if x and y are nonzero and z is zero.
4829
ef1e0867
JM
4830 [BZ #14811]
4831 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4832 nonzero exponents with absolute value below 0x1p-117 to +/-
4833 0x1p-117.
4834
1468ded3
JM
4835 [BZ #14869]
4836 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4837 up arguments below 2**-450, not just those below 2**-500.
4838 * math/libm-test.inc (hypot_test): Add another test.
4839
8e27e3cc
JM
4840 [BZ #14868]
4841 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4842 Return a+b for ratio over 2**120, not 2**60.
4843 * math/libm-test.inc (hypot_test): Add another test.
4844
c9c0279b
JM
4845 * math/libm-test.inc (clog_test): Use
4846 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4847 (clog10_test): Likewise.
4848
7c7feb47
JM
4849 [BZ #6778]
4850 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4851
fff1530e
AS
48522012-11-22 Andreas Schwab <schwab@suse.de>
4853
4854 * sysdeps/i386/fpu/libm-test-ulps: Update.
4855
94558d30
PT
48562012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4857
4858 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4859 printf output with newline.
4860
7e1be741
L
48612012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4862
6bfea974
L
4863 [BZ #14865]
4864 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4865 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4866 -z nodlopen, -z initfirst and -z execstack support.
4867 * configure: Regenerated.
4868
7e1be741
L
4869 * elf/elf.h (DF_1_NODIRECT): New macro.
4870 (DF_1_IGNMULDEF): Likewise.
4871 (DF_1_NOKSYMS): Likewise.
4872 (DF_1_NOHDR): Likewise.
4873 (DF_1_EDITED): Likewise.
4874 (DF_1_NORELOC): Likewise.
4875 (DF_1_SYMINTPOSE): Likewise.
4876 (DF_1_GLOBAUDIT): Likewise.
4877 (DF_1_SINGLETON): Likewise.
4878 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4879 DT_1_SUPPORTED_MASK bits.
4880 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4881
105ce2ce
CD
48822012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4883
4884 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4885
123be9de
TS
48862012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4887
d072f3f7
TS
4888 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4889 macro.
4890
123be9de
TS
4891 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4892 (sendmmsg): Move declarations...
4893 * socket/sys/socket.h: ... here.
4894 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4895 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4896 include it from...
4897 * socket/recvmmsg.c: ... this new file.
4898 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4899 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4900 definition of __sendmmsg hidden.
4901 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4902 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4903 Move ENOSYS stub into and include it from...
4904 * socket/sendmmsg.c: ... this new file.
4905 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4906 (sysdep_routines): Move recvmmsg and sendmmsg...
4907 * socket/Makefile (routines): ... here.
4908 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4909 (GLIBC_PRIVATE): Add __sendmmsg.
4910 * include/sys/socket.h (__sendmmsg): Add declarations.
4911 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4912 sendmmsg.
4913
cf9a5d18
JM
49142012-11-20 Joseph Myers <joseph@codesourcery.com>
4915
4916 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4917 variable I1 with __attribute__ ((unused)).
4918 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4919
ecd4caf9
JM
49202012-11-19 Joseph Myers <joseph@codesourcery.com>
4921
be14d48f
JM
4922 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4923 DUMMY variables with __attribute__ ((unused)).
4924
ecd4caf9
JM
4925 * bits/byteswap.h: Include <bits/types.h>.
4926 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4927
986cab95
PT
49282012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4929
4930 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4931 string_t. Do not manually set errno.
4932 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4933 length with __strnlen. Make sure to both set errno and return it on
4934 failure.
4935
6d33cc9d
DM
49362012-11-19 David S. Miller <davem@davemloft.net>
4937
4938 With help from Joseph Myers.
4939 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4940 very large arguments properly.
4941 * math/libm-test.inc (atan_test): New tests.
4942 (atan2_test): New tests.
4943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4945
ee663277
JM
49462012-11-19 Joseph Myers <joseph@codesourcery.com>
4947
877f2d8e
JM
4948 [BZ #14856]
4949 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4950 Define to 3.
4951
116fc08a
JM
4952 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4953 [POSIX] (EADDRNOTAVAIL): Likewise.
4954 [POSIX] (EAFNOSUPPORT): Likewise.
4955 [POSIX] (EALREADY): Likewise.
4956 [POSIX] (ECONNABORTED): Likewise.
4957 [POSIX] (ECONNREFUSED): Likewise.
4958 [POSIX] (ECONNRESET): Likewise.
4959 [POSIX] (EDESTADDRREQ): Likewise.
4960 [POSIX] (EDQUOT): Likewise.
4961 [POSIX] (EHOSTUNREACH): Likewise.
4962 [POSIX] (EIDRM): Likewise.
4963 [POSIX] (EISCONN): Likewise.
4964 [POSIX] (ELOOP): Likewise.
4965 [POSIX] (EMULTIHOP): Likewise.
4966 [POSIX] (ENETDOWN): Likewise.
4967 [POSIX] (ENETUNREACH): Likewise.
4968 [POSIX] (ENOBUFS): Likewise.
4969 [POSIX] (ENODATA): Likewise.
4970 [POSIX] (ENOLINK): Likewise.
4971 [POSIX] (ENOMSG): Likewise.
4972 [POSIX] (ENOPROTOOPT): Likewise.
4973 [POSIX] (ENOSR): Likewise.
4974 [POSIX] (ENOSTR): Likewise.
4975 [POSIX] (ENOTCONN): Likewise.
4976 [POSIX] (ENOTSOCK): Likewise.
4977 [POSIX] (EOPNOTSUPP): Likewise.
4978 [POSIX] (EOVERFLOW): Likewise.
4979 [POSIX] (EPROTO): Likewise.
4980 [POSIX] (EPROTONOSUPPORT): Likewise.
4981 [POSIX] (EPROTOTYPE): Likewise.
4982 [POSIX] (ESTALE): Likewise.
4983 [POSIX] (ETIME): Likewise.
4984 [POSIX] (ETXTBSY): Likewise.
4985 [POSIX] (EWOULDBLOCK): Likewise.
4986 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4987 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4988 [POSIX] (SEEK_CUR): Likewise.
4989 [POSIX] (SEEK_END): Likewise.
4990 [POSIX || UNIX98] (mode_t): Do not require.
4991 [POSIX] (off_t): Likewise.
4992 [POSIX] (pid_t): Likewise.
4993 [POSIX] (sys/stat.h): Do not allow header.
4994 [POSIX] (unistd.h): Likewise.
4995 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4996 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4997 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4998 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4999 require.
5000 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5001 sigevent): Specify elements.
5002 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5003 entry.
5004 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5005 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5006
a483863f
JM
5007 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5008 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5009 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5010 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5011 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5012 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5013 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5014 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5015 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5016 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5017 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5018 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5019 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5020 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5021 Likewise.
5022 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5023 Likewise.
5024 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5025 Likewise.
5026 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5027 Likewise.
5028 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5029 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5030 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5031 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5032 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5033 Specify lower bound on value.
5034 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5035 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5036 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5037 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5038 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5039 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5040 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5041 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5042 value.
5043 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5044 as optional.
5045 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5046 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5047 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5048 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5049 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5050 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5051 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5052 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5053 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5054 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5055 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5056 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5057 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5058 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5059 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5060 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5061 entry.
5062 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5063 optional.
5064 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5065 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5066 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5067 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5068 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5069 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5070 Likewise.
5071 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5072 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5073 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5074 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5075 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5076 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5077 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5078 as optional.
5079 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5080 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5081 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5082 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5083 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5084 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5085 specify as optional.
5086 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5087 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5088 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5089 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5090 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5091 [XPG3] (NL_LANGMAX): Likewise.
5092 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5093 [POSIX || XPG3] (NL_NMAX): Likewise.
5094 [POSIX || XPG3] (NL_SETMAX): Likewise.
5095 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5096 [XPG3] (NZERO): Likewise.
5097 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5098 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5099 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5100 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5101 (REG_ERANGE): Expect.
5102 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5103 optional-constant.
5104 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5105 Use (void) in prototype.
5106 [POSIX] (*_t): Allow.
5107 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5108 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5109 (WRDE_BADVAL): Expect.
5110
5ba924e3
JM
5111 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5112 expect.
5113 [XPG3 || XPG4] (O_RSYNC): Likewise.
5114 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5115 Likewise.
5116 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5117 [XPG3 || XPG4] (sigqueue): Likewise.
5118 [XPG3 || XPG4] (sigtimedwait): Likewise.
5119 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5120 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5121 [XPG3 || XPG4] (vsnprintf): Likewise.
5122 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5123 Likewise.
5124 [XPG3 || XPG4] (blksize_t): Likewise.
5125 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5126 Likewise.
5127 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5128 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5129 [XPG3 || XPG4] (struct itimerspec): Likewise.
5130 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5131 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5132 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5133 [XPG3 || XPG4] (clockid_t): Likewise.
5134 [XPG3 || XPG4] (timer_t): Likewise.
5135 [XPG3 || XPG4] (clock_getres): Likewise.
5136 [XPG3 || XPG4] (clock_gettime): Likewise.
5137 [XPG3 || XPG4] (clock_settime): Likewise.
5138 [XPG3 || XPG4] (nanosleep): Likewise.
5139 [XPG3 || XPG4] (timer_create): Likewise.
5140 [XPG3 || XPG4] (timer_delete): Likewise.
5141 [XPG3 || XPG4] (timer_gettime): Likewise.
5142 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5143 [XPG3 || XPG4] (timer_settime): Likewise.
5144 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5145 [XPG3 || XPG4] (getlogin_r): Likewise.
5146 [XPG3 || XPG4] (pread): Likewise.
5147 [XPG3 || XPG4] (pthread_atfork): Likewise.
5148 [XPG3 || XPG4] (pwrite): Likewise.
5149
ee663277
JM
5150 [BZ #14835]
5151 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5152 <bits/siginfo.h>.
5153
942caa16
PT
51542012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5155
e19af380
PT
5156 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5157 finalizing MALLSTREAM.
5158
942caa16
PT
5159 * sysdeps/mach/hurd/syncfs.c: New file.
5160
cfde9b46
SP
51612012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5162
5163 [BZ #14719]
5164 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5165 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5166 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5167 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5168 (_nss_dns_gethostbyname4_r): Likewise.
5169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5170 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5171
f6da27e5
PH
51722012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5173
5174 [BZ #13763]
5175 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5176
6665d4a2
SM
51772012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5178
1f51ee92
SM
5179 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5180 * elf/cache.c (print_entry): Print ",AArch64" for
5181 FLAG_AARCH64_LIB64
5182
6665d4a2
SM
5183 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5184 * elf/cache.c (print_entry): Print ",hard-float" for
5185 FLAG_ARM_LIBHF.
5186
05b227bd
DM
51872012-11-18 David S. Miller <davem@davemloft.net>
5188
5189 With help from Joseph Myers.
5190 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5191 cutoff to 2**-13.
5192 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5193 cutoff to 2**-25.
5194 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5195 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5196 small.
5197 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5198 * math/libm-test.inc (y0_test): New tests.
5199 (y1_test): New tests.
5200 * sysdeps/i386/fpu/libm-test-ulps: Update.
5201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5203
786b0b67
AS
52042012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5205
5206 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5207 64-bit targets.
5208 * configure: Regenerated.
5209
8e18b86d
DM
52102012-11-17 David S. Miller <davem@davemloft.net>
5211
5212 [BZ #14811]
5213 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5214 nonzero exponents with absolute value below 0x1p-128 to +/-
5215 0x1p-128.
5216
531f1ae0
JM
52172012-11-17 Joseph Myers <joseph@codesourcery.com>
5218
12df29e2
JM
5219 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5220
150dc1a0
JM
5221 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5222
531f1ae0
JM
5223 * posix/getconf-speclist.c: New file.
5224 * posix/posix-envs.def: Likewise.
5225 * posix/confstr.c (START_ENV_GROUP): New macro.
5226 (END_ENV_GROUP): Likewise.
5227 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5228 (KNOWN_PRESENT_ENV_STRING): Likewise.
5229 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5230 (UNKNOWN_ENVIRONMENT): Likewise.
5231 (confstr): Include posix-envs.def instead of handling
5232 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5233 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5234 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5235 (END_ENV_GROUP): Likewise.
5236 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5237 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5238 (UNKNOWN_ENVIRONMENT): Likewise.
5239 (__sysconf): Include posix-envs.def instead of handling associated
5240 cases directly here.
5241 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5242 preprocessing getconf-speclist.c rather than running getconf or
5243 generating empty file.
5244
a93f9cbc
PT
52452012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5246
5247 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5248
d64d9f87
AL
52492012-11-16 Andrej Lajovic <natrij@gmail.com>
5250
5251 [BZ #14672]
5252 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5253
447885eb
DM
52542012-11-16 David S. Miller <davem@davemloft.net>
5255
5256 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5257 smaller than LDBL_EPSILON/2.0L, just return xm1.
5258
bcbf9830
L
52592012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5260
5261 * elf/tst-array1.c (init): Set constructor priority to 1000.
5262 (fini): Set destructor priority to 1000.
5263 * elf/tst-array2dep.c: Likewise.
5264
2b766585
SP
52652012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5266
5267 [BZ #11741]
5268 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5269 (_IO_new_file_xsputn): Also return EOF if none of the input
5270 data was written when overflow failed.
5271 * libio/iopadn.c (_IO_padn): Likewise.
5272 * libio/iowpadn.c (_IO_wpadn): Likewise.
5273 * stdio-common/tst-put-error.c: Add copyright notice.
5274 (do_test): Add case for printing padded string.
5275 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5276 _IO_padn returned error.
5277 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5278 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5279 return EOF.
5280
b1848fde
SP
52812012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5282
5283 * libio/libioP.h: Add comment note that the references to C++
5284 bits are now obsolete.
5285
2fd89785
MS
52862012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5287
5288 * math/libm-test.inc (check_complex): Use asprintf.
5289
e3ea5409
JM
52902012-11-14 Joseph Myers <joseph@codesourcery.com>
5291
5292 * debug/pcprofiledump.c (print_version): Update copyright year.
5293 * malloc/memusagestat.c (print_version): Likewise.
5294
2e64d265
L
52952012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5296
5297 [BZ #14831]
5298 * elf/Makefile (tests): Add tst-audit8.
5299 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5300 ($(objpfx)tst-audit8.out): New target.
5301 (tst-audit8-ENV): New variable.
5302 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5303 audit if l_reloc_result is NULL.
5304 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5305 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5306 * elf/tst-audit8.c: New file.
5307
c485e4d2
MS
53082012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5309
5310 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5311 * misc/Makefile (CFLAGS-select.c): Define.
5312 * posix/Makefile (CFLAGS-pause.c): Define.
5313
3a0d900a
DM
53142012-11-13 David S. Miller <davem@davemloft.net>
5315
5316 * crypt/Makefile: Move test targets after toplevel Rules
5317 inclusion. Grab any necessary sysdep routines when linking.
5318 * crypt/md5.c (md5_process_block): Remove define, we will always
5319 name it __md5_process_block.
5320 (md5_finish_ctx): Update md5_process_block call.
5321 (md5_stream): Likewise.
5322 (md5_process_bytes): Likewise.
5323 (md5_process_block): Rename to __md5_process_block and move to ...
5324 * crypt/md5-block.c: ... here.
5325 * crypt/sha256.c (sha256_process_block): Move to ...
5326 * crypt/sha256-block.c: ... here.
5327 * crypt/sha512.c (sha512_process_block): Move to ...
5328 * crypt/sha512-block.c: ... here.
5329 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5330 path.
5331 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5332 * sysdeps/sparc/sparc64/multiarch/Makefile
5333 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5334 crypt subdir.
5335 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5336 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5337 multiarch changes.
5338 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5339 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5340 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5341 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5342 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5343 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5344 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5345 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5346 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5347 file.
5348 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5349 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5350 file.
5351 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5352
8ca89318
JM
53532012-11-13 Joseph Myers <joseph@codesourcery.com>
5354
e27d476a
JM
5355 * timezone/tzselect.ksh: Update from tzcode git revision
5356 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5357 * timezone/zdump.c: Likewise.
5358 * timezone/zic.c: Likewise.
5359 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5360 in TZVERSION setting, not $(PKGVERSION).
5361 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5362 REPORT_BUGS_TO settings.
5363
8ca89318
JM
5364 [BZ #14838]
5365 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5366 macro.
5367
47594329
MS
53682012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5369
5370 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5371 detection to immediately after _FP_ROUND().
5372 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5373 bits are 0.
5374
640ac3f1
DM
53752012-11-11 David S. Miller <davem@davemloft.net>
5376
5377 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5378 inttypes.h
5379 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5380 __close rather than their public counterparts.
5381
3d2577bb
JM
53822012-11-10 Joseph Myers <joseph@codesourcery.com>
5383
5384 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5385 file.
5386 [UNIX98] (sem_timedwait): Do not expect.
5387 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5388 [XPG4 || UNIX98] (sockatmark): Do not expect.
5389 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5390 (clock_getcpuclockid): Do not expect.
5391 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5392 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5393 Do not expect.
5394 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5395 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5396 [UNIX98] (vwscanf): Likewise.
5397 [UNIX98] (vswscanf): Likewise.
5398
fb1ae1ee
JM
53992012-11-09 Joseph Myers <joseph@codesourcery.com>
5400
9ec6f8bd
JM
5401 * timezone/version.h: Remove file.
5402 * timezone/README: Do not refer to version.h.
5403 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5404 $(objpfx)version.h.
5405 ($(objpfx)zdump.o): Likewise.
c3f81911 5406 ($(objpfx)version.h): New target.
9ec6f8bd 5407
0aa8f8a1
JM
5408 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5409 2012i.
5410 * timezone/README: Don't mention modification to tzselect.ksh.
5411 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5412 work on unmodified tzselect.ksh. Substitute version numbers in
5413 tzselect.ksh.
5414
4e87147f
JM
5415 * Makefile (format-me): Remove.
5416 (INSTALL): Adjust indentation. Use commands directly instead of
5417 using $(format-me).
5418
8b748aed
JM
5419 * aclocal.m4 (ACX_PKGVERSION): New macro.
5420 (ACX_BUGURL): Likewise.
5421 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5422 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5423 (REPORT_BUGS_TO): Likewise.
5424 * configure: Regenerated.
5425 * config.h.in (PKGVERSION): New macro.
5426 (REPORT_BUGS_TO): Likewise.
5427 * config.make.in (PKGVERSION): New variable.
5428 (PKGVERSION_TEXI): Likewise.
5429 (REPORT_BUGS_TO): Likewise.
5430 (REPORT_BUGS_TEXI): Likewise.
5431 * Makefile (format-me): Use -I$(common-objpfx)manual.
5432 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5433 ($(common-objpfx)manual/%): New target.
5434 (manual/%): Remove target.
5435 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5436 (print_version): Use PKGVERSION.
5437 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5438 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5439 and REPORT_BUGS_TO.
5440 ($(objpfx)xtrace): Likewise.
5441 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5442 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5443 (print_version): Use PKGVERSION.
5444 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5445 (do_version): Use PKGVERSION.
5446 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5447 REPORT_BUGS_TO.
5448 (common-ldd-rewrite): Likewise.
5449 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5450 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5451 (print_version): Use PKGVERSION.
5452 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5453 * elf/pldd.c (argp_program_bug_address): Remove variable.
5454 (more_help): New function.
5455 (argp): Use more_help.
5456 (print_version): Use PKGVERSION.
5457 * elf/sln.c (main): Use PKGVERSION.
5458 (usage): Use REPORT_BUGS_TO.
5459 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5460 (top level): Use PKGVERSION.
5461 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5462 (print_version): Use PKGVERSION.
5463 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5464 (print_version): Use PKGVERSION.
5465 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5466 (print_version): Use PKGVERSION.
5467 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5468 (print_version): Use PKGVERSION.
5469 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5470 (print_version): Use PKGVERSION.
5471 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5472 (print_version): Use PKGVERSION.
5473 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5474 and BUGURL.
5475 ($(objpfx)memusage): Likewise.
5476 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5477 (do_version): Use PKGVERSION.
5478 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5479 (print_version): Use PKGVERSION.
5480 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5481 ($PKGVERSION): New variable.
5482 ($REPORT_BUGS_TO): Likewise.
5483 (usage): Use $REPORT_BUGS_TO.
5484 (top level): Use $PKGVERSION.
5485 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5486 ($(objpfx)pkgvers.texi): New rule.
5487 ($(objpfx)stamp-pkgvers): Likewise.
5488 * manual/install.texi: Include pkgvers.texi.
5489 (--with-pkgversion): Document new configure option.
5490 (--with-bugurl): Likewise.
5491 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5492 than necessarily for this particular distribution. Use
5493 REPORT_BUGS_TO for where to report bugs.
5494 * INSTALL: Regenerated.
5495 * manual/libc.texinfo: Include pkgvers.texi.
5496 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5497 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5498 (print_version): Use PKGVERSION.
5499 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5500 (print_version): Use PKGVERSION.
5501 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5502 (print_version): Use PKGVERSION.
5503 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5504 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5505 macro.
5506 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5507 (print_version): Use PKGVERSION.
5508 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5509 (print_version): Use PKGVERSION.
5510 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5511 and PKGVERSION.
5512
92e4b6a9
JM
5513 * timezone/checktab.awk: Update from tzcode 2012i.
5514 * timezone/ialloc.c: Likewise.
5515 * timezone/private.h: Likewise.
5516 * timezone/scheck.c: Likewise.
5517 * timezone/tzfile.h: Likewise.
5518 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5519 (TZVERSION): Hardcode tzcode version number.
5520 * timezone/zdump.c: Update from tzcode 2012i.
5521 * timezone/zic.c: Likewise.
5522 * timezone/version.h: New file.
5523 * timezone/README: Describe version.h. Update upstream location.
5524
9bde902c
JM
5525 [BZ #14824]
5526 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5527 (mktemp): Enable declaration.
5528 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5529 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5532 Likewise.
5533 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5534 Likewise.
5535 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5536 Likewise.
5537 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5538 Likewise.
5539 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5540 Likewise.
5541 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5542 Likewise.
5543
fb1ae1ee
JM
5544 [BZ #14821]
5545 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5546 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5547 for copies of such integer values.
5548 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5549 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5550
2c1adbcb
AJ
55512012-11-09 Andreas Jaeger <aj@suse.de>
5552
5553 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5554 definitions and declarations that are provided by
5555 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5556
d0f8457e
AK
55572012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5558
3a235abb 5559 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5560 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5561 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5562 definition.
5563
57241e26
MS
55642012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5565
5566 * elf/elf.h: Update comment before AArch64 relocations.
5567
60e8270d
DM
55682012-11-07 David S. Miller <davem@davemloft.net>
5569
5570 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5571 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5572 (__start_context): Declare.
5573 (__makecontext_ret): Delete.
5574 (__makecontext): Hook up __start_context instead of
5575 __makecontext_ret.
5576 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5577 (sysdep_routines): Add __start_context when in stdlib.
5578
0fbb0fbc
JM
55792012-11-07 Joseph Myers <joseph@codesourcery.com>
5580
5581 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5582 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5583 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5584 hardcoded "nm".
5585 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5586 (READELF): New variable. Use it instead of hardcoded "readelf".
5587
eb48db7e
L
55882012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5589
5590 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5591 * sysdeps/x86/Makefile: Here.
5592 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5593 * sysdeps/x86/tst-xmmymm.sh: This.
5594
05bcf62a
JM
55952012-11-07 Joseph Myers <joseph@codesourcery.com>
5596
c4b6cf53
JM
5597 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5598 expectations.
5599 [UNIX98] (pthread_barrier_t): Do not expect.
5600 [UNIX98] (pthread_barrierattr_t): Likewise.
5601 [UNIX98] (pthread_spinlock_t): Likewise.
5602 [UNIX98] (pthread_barrier_destroy): Likewise.
5603 [UNIX98] (pthread_barrier_init): Likewise.
5604 [UNIX98] (pthread_barrier_wait): Likewise.
5605 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5606 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5607 [UNIX98] (pthread_barrierattr_init): Likewise.
5608 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5609 [UNIX98] (pthread_getcpuclockid): Likewise.
5610 [UNIX98] (pthread_mutex_timedlock): Likewise.
5611 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5612 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5613 [UNIX98] (pthread_sigmask): Likewise.
5614 [UNIX98] (pthread_spin_destroy): Likewise.
5615 [UNIX98] (pthread_spin_init): Likewise.
5616 [UNIX98] (pthread_spin_lock): Likewise.
5617 [UNIX98] (pthread_spin_trylock): Likewise.
5618 [UNIX98] (pthread_spin_unlock): Likewise.
5619 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5620 Do not expect.
5621 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5622 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5623 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5624 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5625 [XPG3 || XPG4] (pthread_key_t): Likewise.
5626 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5627 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5628 [XPG3 || XPG4] (pthread_once_t): Likewise.
5629 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5630 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5631 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5632 [XPG3 || XPG4] (pthread_t): Likewise.
5633
cbe6e120
JM
5634 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5635 not expect.
5636 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5637
1b126443
JM
5638 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5639 Change function return type to int.
5640
b961a573
JM
5641 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5642 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5643 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5644 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5645 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5646 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5647 [!POSIX] (posix_madvise): Likewise.
5648 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5649 && !UNIX98].
5650 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5651 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5652 (mode_t): Likewise.
5653 (posix_mem_offset): Likewise.
5654 (posix_typed_mem_get_info): Likewise.
5655 (posix_typed_mem_open): Likewise.
5656
9e188909
JM
5657 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5658 Change condition to [XOPEN2K8].
5659
05bcf62a
JM
5660 * conform/conformtest.pl: Preprocess allow-header data with -x c
5661 instead of from stdin.
5662 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5663 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5664 [C99-based standards] (cerfc): Likewise.
5665 [C99-based standards] (cexp2): Likewise.
5666 [C99-based standards] (cexpm1): Likewise.
5667 [C99-based standards] (clog10): Likewise.
5668 [C99-based standards] (clog1p): Likewise.
5669 [C99-based standards] (clog2): Likewise.
5670 [C99-based standards] (clgamma): Likewise.
5671 [C99-based standards] (ctgamma): Likewise.
5672 [C99-based standards] (cerff): Likewise.
5673 [C99-based standards] (cerfcf): Likewise.
5674 [C99-based standards] (cexp2f): Likewise.
5675 [C99-based standards] (cexpm1f): Likewise.
5676 [C99-based standards] (clog10f): Likewise.
5677 [C99-based standards] (clog1pf): Likewise.
5678 [C99-based standards] (clog2f): Likewise.
5679 [C99-based standards] (clgammaf): Likewise.
5680 [C99-based standards] (ctgammaf): Likewise.
5681 [C99-based standards] (cerfl): Likewise.
5682 [C99-based standards] (cerfcl): Likewise.
5683 [C99-based standards] (cexp2l): Likewise.
5684 [C99-based standards] (cexpm1l): Likewise.
5685 [C99-based standards] (clog10l): Likewise.
5686 [C99-based standards] (clog1pl): Likewise.
5687 [C99-based standards] (clog2l): Likewise.
5688 [C99-based standards] (clgammal): Likewise.
5689 [C99-based standards] (ctgammal): Likewise.
5690 * conform/data/inttypes.h-data [C99-based standards]: Include
5691 stdint.h-data. Remove all expectations for stdint.h contents.
5692 [C99-based standards] (PRI*): Do not allow.
5693 [C99-based standards] (SCN*): Likewise.
5694 [C99-based standards] (*_t): Likewise.
5695 [C99-based-standards] (PRId8): Expect macro.
5696 [C99-based-standards] (PRIi8): Likewise.
5697 [C99-based-standards] (PRIo8): Likewise.
5698 [C99-based-standards] (PRIu8): Likewise.
5699 [C99-based-standards] (PRIx8): Likewise.
5700 [C99-based-standards] (PRIX8): Likewise.
5701 [C99-based-standards] (SCNd8): Likewise.
5702 [C99-based-standards] (SCNi8): Likewise.
5703 [C99-based-standards] (SCNo8): Likewise.
5704 [C99-based-standards] (SCNu8): Likewise.
5705 [C99-based-standards] (SCNx8): Likewise.
5706 [C99-based-standards] (PRIdLEAST8): Likewise.
5707 [C99-based-standards] (PRIiLEAST8): Likewise.
5708 [C99-based-standards] (PRIoLEAST8): Likewise.
5709 [C99-based-standards] (PRIuLEAST8): Likewise.
5710 [C99-based-standards] (PRIxLEAST8): Likewise.
5711 [C99-based-standards] (PRIXLEAST8): Likewise.
5712 [C99-based-standards] (SCNdLEAST8): Likewise.
5713 [C99-based-standards] (SCNiLEAST8): Likewise.
5714 [C99-based-standards] (SCNoLEAST8): Likewise.
5715 [C99-based-standards] (SCNuLEAST8): Likewise.
5716 [C99-based-standards] (SCNxLEAST8): Likewise.
5717 [C99-based-standards] (PRIdFAST8): Likewise.
5718 [C99-based-standards] (PRIiFAST8): Likewise.
5719 [C99-based-standards] (PRIoFAST8): Likewise.
5720 [C99-based-standards] (PRIuFAST8): Likewise.
5721 [C99-based-standards] (PRIxFAST8): Likewise.
5722 [C99-based-standards] (PRIXFAST8): Likewise.
5723 [C99-based-standards] (SCNdFAST8): Likewise.
5724 [C99-based-standards] (SCNiFAST8): Likewise.
5725 [C99-based-standards] (SCNoFAST8): Likewise.
5726 [C99-based-standards] (SCNuFAST8): Likewise.
5727 [C99-based-standards] (SCNxFAST8): Likewise.
5728 [C99-based-standards] (PRId16): Likewise.
5729 [C99-based-standards] (PRIi16): Likewise.
5730 [C99-based-standards] (PRIo16): Likewise.
5731 [C99-based-standards] (PRIu16): Likewise.
5732 [C99-based-standards] (PRIx16): Likewise.
5733 [C99-based-standards] (PRIX16): Likewise.
5734 [C99-based-standards] (SCNd16): Likewise.
5735 [C99-based-standards] (SCNi16): Likewise.
5736 [C99-based-standards] (SCNo16): Likewise.
5737 [C99-based-standards] (SCNu16): Likewise.
5738 [C99-based-standards] (SCNx16): Likewise.
5739 [C99-based-standards] (PRIdLEAST16): Likewise.
5740 [C99-based-standards] (PRIiLEAST16): Likewise.
5741 [C99-based-standards] (PRIoLEAST16): Likewise.
5742 [C99-based-standards] (PRIuLEAST16): Likewise.
5743 [C99-based-standards] (PRIxLEAST16): Likewise.
5744 [C99-based-standards] (PRIXLEAST16): Likewise.
5745 [C99-based-standards] (SCNdLEAST16): Likewise.
5746 [C99-based-standards] (SCNiLEAST16): Likewise.
5747 [C99-based-standards] (SCNoLEAST16): Likewise.
5748 [C99-based-standards] (SCNuLEAST16): Likewise.
5749 [C99-based-standards] (SCNxLEAST16): Likewise.
5750 [C99-based-standards] (PRIdFAST16): Likewise.
5751 [C99-based-standards] (PRIiFAST16): Likewise.
5752 [C99-based-standards] (PRIoFAST16): Likewise.
5753 [C99-based-standards] (PRIuFAST16): Likewise.
5754 [C99-based-standards] (PRIxFAST16): Likewise.
5755 [C99-based-standards] (PRIXFAST16): Likewise.
5756 [C99-based-standards] (SCNdFAST16): Likewise.
5757 [C99-based-standards] (SCNiFAST16): Likewise.
5758 [C99-based-standards] (SCNoFAST16): Likewise.
5759 [C99-based-standards] (SCNuFAST16): Likewise.
5760 [C99-based-standards] (SCNxFAST16): Likewise.
5761 [C99-based-standards] (PRId32): Likewise.
5762 [C99-based-standards] (PRIi32): Likewise.
5763 [C99-based-standards] (PRIo32): Likewise.
5764 [C99-based-standards] (PRIu32): Likewise.
5765 [C99-based-standards] (PRIx32): Likewise.
5766 [C99-based-standards] (PRIX32): Likewise.
5767 [C99-based-standards] (SCNd32): Likewise.
5768 [C99-based-standards] (SCNi32): Likewise.
5769 [C99-based-standards] (SCNo32): Likewise.
5770 [C99-based-standards] (SCNu32): Likewise.
5771 [C99-based-standards] (SCNx32): Likewise.
5772 [C99-based-standards] (PRIdLEAST32): Likewise.
5773 [C99-based-standards] (PRIiLEAST32): Likewise.
5774 [C99-based-standards] (PRIoLEAST32): Likewise.
5775 [C99-based-standards] (PRIuLEAST32): Likewise.
5776 [C99-based-standards] (PRIxLEAST32): Likewise.
5777 [C99-based-standards] (PRIXLEAST32): Likewise.
5778 [C99-based-standards] (SCNdLEAST32): Likewise.
5779 [C99-based-standards] (SCNiLEAST32): Likewise.
5780 [C99-based-standards] (SCNoLEAST32): Likewise.
5781 [C99-based-standards] (SCNuLEAST32): Likewise.
5782 [C99-based-standards] (SCNxLEAST32): Likewise.
5783 [C99-based-standards] (PRIdFAST32): Likewise.
5784 [C99-based-standards] (PRIiFAST32): Likewise.
5785 [C99-based-standards] (PRIoFAST32): Likewise.
5786 [C99-based-standards] (PRIuFAST32): Likewise.
5787 [C99-based-standards] (PRIxFAST32): Likewise.
5788 [C99-based-standards] (PRIXFAST32): Likewise.
5789 [C99-based-standards] (SCNdFAST32): Likewise.
5790 [C99-based-standards] (SCNiFAST32): Likewise.
5791 [C99-based-standards] (SCNoFAST32): Likewise.
5792 [C99-based-standards] (SCNuFAST32): Likewise.
5793 [C99-based-standards] (SCNxFAST32): Likewise.
5794 [C99-based-standards] (PRId64): Likewise.
5795 [C99-based-standards] (PRIi64): Likewise.
5796 [C99-based-standards] (PRIo64): Likewise.
5797 [C99-based-standards] (PRIu64): Likewise.
5798 [C99-based-standards] (PRIx64): Likewise.
5799 [C99-based-standards] (PRIX64): Likewise.
5800 [C99-based-standards] (SCNd64): Likewise.
5801 [C99-based-standards] (SCNi64): Likewise.
5802 [C99-based-standards] (SCNo64): Likewise.
5803 [C99-based-standards] (SCNu64): Likewise.
5804 [C99-based-standards] (SCNx64): Likewise.
5805 [C99-based-standards] (PRIdLEAST64): Likewise.
5806 [C99-based-standards] (PRIiLEAST64): Likewise.
5807 [C99-based-standards] (PRIoLEAST64): Likewise.
5808 [C99-based-standards] (PRIuLEAST64): Likewise.
5809 [C99-based-standards] (PRIxLEAST64): Likewise.
5810 [C99-based-standards] (PRIXLEAST64): Likewise.
5811 [C99-based-standards] (SCNdLEAST64): Likewise.
5812 [C99-based-standards] (SCNiLEAST64): Likewise.
5813 [C99-based-standards] (SCNoLEAST64): Likewise.
5814 [C99-based-standards] (SCNuLEAST64): Likewise.
5815 [C99-based-standards] (SCNxLEAST64): Likewise.
5816 [C99-based-standards] (PRIdFAST64): Likewise.
5817 [C99-based-standards] (PRIiFAST64): Likewise.
5818 [C99-based-standards] (PRIoFAST64): Likewise.
5819 [C99-based-standards] (PRIuFAST64): Likewise.
5820 [C99-based-standards] (PRIxFAST64): Likewise.
5821 [C99-based-standards] (PRIXFAST64): Likewise.
5822 [C99-based-standards] (SCNdFAST64): Likewise.
5823 [C99-based-standards] (SCNiFAST64): Likewise.
5824 [C99-based-standards] (SCNoFAST64): Likewise.
5825 [C99-based-standards] (SCNuFAST64): Likewise.
5826 [C99-based-standards] (SCNxFAST64): Likewise.
5827 [C99-based-standards] (PRIdMAX): Likewise.
5828 [C99-based-standards] (PRIiMAX): Likewise.
5829 [C99-based-standards] (PRIoMAX): Likewise.
5830 [C99-based-standards] (PRIuMAX): Likewise.
5831 [C99-based-standards] (PRIxMAX): Likewise.
5832 [C99-based-standards] (PRIXMAX): Likewise.
5833 [C99-based-standards] (SCNdMAX): Likewise.
5834 [C99-based-standards] (SCNiMAX): Likewise.
5835 [C99-based-standards] (SCNoMAX): Likewise.
5836 [C99-based-standards] (SCNuMAX): Likewise.
5837 [C99-based-standards] (SCNxMAX): Likewise.
5838 [C99-based-standards] (PRIdPTR): Likewise.
5839 [C99-based-standards] (PRIiPTR): Likewise.
5840 [C99-based-standards] (PRIoPTR): Likewise.
5841 [C99-based-standards] (PRIuPTR): Likewise.
5842 [C99-based-standards] (PRIxPTR): Likewise.
5843 [C99-based-standards] (PRIXPTR): Likewise.
5844 [C99-based-standards] (SCNdPTR): Likewise.
5845 [C99-based-standards] (SCNiPTR): Likewise.
5846 [C99-based-standards] (SCNoPTR): Likewise.
5847 [C99-based-standards] (SCNuPTR): Likewise.
5848 [C99-based-standards] (SCNxPTR): Likewise.
5849 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5850 allow.
5851 * conform/data/stdint.h-data: Update comments to clarify
5852 requirements.
5853 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5854 type.
5855 [C99-based standards] (INT8_MAX): Likewise.
5856 [C99-based standards] (INT16_MIN): Likewise.
5857 [C99-based standards] (INT16_MAX): Likewise.
5858 [C99-based standards] (INT32_MIN): Likewise.
5859 [C99-based standards] (INT32_MAX): Likewise.
5860 [C99-based standards] (INT64_MIN): Likewise.
5861 [C99-based standards] (INT64_MAX): Likewise.
5862 [C99-based standards] (UINT8_MAX): Likewise.
5863 [C99-based standards] (UINT16_MAX): Likewise.
5864 [C99-based standards] (UINT32_MAX): Likewise.
5865 [C99-based standards] (UINT64_MAX): Likewise.
5866 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5867 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5868 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5869 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5870 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5871 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5872 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5873 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5874 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5875 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5876 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5877 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5878 [C99-based standards] (INT_FAST8_MIN): Likewise.
5879 [C99-based standards] (INT_FAST8_MAX): Likewise.
5880 [C99-based standards] (INT_FAST16_MIN): Likewise.
5881 [C99-based standards] (INT_FAST16_MAX): Likewise.
5882 [C99-based standards] (INT_FAST32_MIN): Likewise.
5883 [C99-based standards] (INT_FAST32_MAX): Likewise.
5884 [C99-based standards] (INT_FAST64_MIN): Likewise.
5885 [C99-based standards] (INT_FAST64_MAX): Likewise.
5886 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5887 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5888 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5889 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5890 [C99-based standards] (INTPTR_MIN): Likewise.
5891 [C99-based standards] (INTPTR_MAX): Likewise.
5892 [C99-based standards] (UINTPTR_MAX): Likewise.
5893 [C99-based standards] (INTMAX_MIN): Likewise.
5894 [C99-based standards] (INTMAX_MAX): Likewise.
5895 [C99-based standards] (UINTMAX_MAX): Likewise.
5896 [C99-based standards] (PTRDIFF_MIN): Likewise.
5897 [C99-based standards] (PTRDIFF_MAX): Likewise.
5898 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5899 [C99-based standards] (SIZE_MAX): Likewise.
5900 [C99-based standards] (WCHAR_MAX): Likewise.
5901 [C99-based standards] (WINT_MAX): Likewise.
5902 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5903 constraint on value.
5904 [C99-based standards] (WCHAR_MIN): Likewise.
5905 [C99-based standards] (WINT_MIN): Likewise.
5906 [C99-based standards] (*_t): Allow.
5907 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5908 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5909 Include math.h-data and complex.h-data. Remove all expectations
5910 of math.h and complex.h contents.
5911 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5912 at end of line.
5913 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5914 (struct tm): Expect tag.
5915 [C99-based-standards] (wcstof): Expect function.
5916 [C99-based-standards] (wcstold): Likewise.
5917 [C99-based-standards] (wcstoll): Likewise.
5918 [C99-based-standards] (wcstoull): Likewise.
5919 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5920 macro-int-constant. Specify type.
5921 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5922 constraint on value.
5923 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5924 Specify type.
5925 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5926 Specify value.
5927 [ISO C standards]: Do not allow headers.
5928 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5929 wcs[abcdefghijklmnopqrstuvwxyz]*.
5930 [ISO C standards] (*_t): Do not allow.
5931 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5932 Expect function.
5933 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5934 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5935 Specify type.
5936 [ISO C standards]: Do not allow headers.
5937 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5938 is[abcdefghijklmnopqrstuvwxyz]*.
5939 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5940 to[abcdefghijklmnopqrstuvwxyz]*.
5941 [ISO C standards] (*_t): Do not allow.
5942 * conform/data/stdalign.h-data: New file.
5943 * conform/data/stdbool.h-data: Likewise.
5944 * conform/data/stdnoreturn.h-data: Likewise.
5945
7514feb8
RM
59462012-11-07 Roland McGrath <roland@hack.frob.com>
5947
5948 [BZ #14815]
5949 * manual/filesys.texi (Directory Entries): Typo fix.
5950 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5951
19b2ecfc
MS
59522012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5953
5954 * elf/elf.h (EM_AARCH64): New macro.
5955 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5956 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5957 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5958 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5959 (R_AARCH64_TLSDESC): Likewise.
5960 (NT_ARM_TLS): Likewise.
5961 (NT_ARM_HW_BREAK): Likewise.
5962 (NT_ARM_HW_WATCH): Likewise.
5963
60e235ee
JM
59642012-11-07 Joseph Myers <joseph@codesourcery.com>
5965
5966 [BZ #14811]
5967 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5968 (__ieee754_powl): Saturate nonzero exponents with absolute value
5969 below 0x1p-79 to +/- 0x1p-79.
5970 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5971 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5972 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5973 nonzero exponents with absolute value below 0x1p-32 to +/-
5974 0x1p-32.
5975 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5976 (__ieee754_powl): Saturate nonzero exponents with absolute value
5977 below 0x1p-79 to +/- 0x1p-79.
5978 * math/libm-test.inc (pow_test): Add more tests.
5979
0ab234b7
AK
59802012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5981
5982 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5983 _dl_s390_cap_flags with kernel. Increase string length.
5984 (_dl_s390_platforms): Add z196 and zEC12.
5985
45832f74
JM
59862012-11-07 Joseph Myers <joseph@codesourcery.com>
5987
5988 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5989 Change XOPEN21K to XOPEN2K.
5990
19218757
MK
59912012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5992
5993 * string/memmove.c: Use memcpy when possible.
5994
c5f45721
AJ
59952012-11-06 Andreas Jaeger <aj@suse.de>
5996
5997 * po/eo.po: Update from translation team.
5998
82477c28
JM
59992012-11-06 Joseph Myers <joseph@codesourcery.com>
6000
6001 [BZ #14793]
6002 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6003 exponent and small x and y exponents, scale x or y up. Increase
6004 by 2 the exponent used in scaling up.
6005 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6006 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6007 * math/libm-test.inc (fma_test): Add more tests.
6008 (fma_test_towardzero): Likewise.
6009 (fma_test_downward): Likewise.
6010 (fma_test_upward): Likewise.
6011
99252c8c
JM
60122012-11-05 Joseph Myers <joseph@codesourcery.com>
6013
acfa885f
JM
6014 [BZ #14805]
6015 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6016 fenv_t *.
6017
99252c8c
JM
6018 [BZ #14801]
6019 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6020 namespace for names of struct fields.
6021 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6022 fenv_t fields.
6023 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6024 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6025
d6d98dea
ST
60262012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6027
6028 [BZ #3665]
6029 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6030
e10bb107
TS
60312012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6032
6033 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6034 PTR_DEMANGLE.
6035
6036 [BZ #5246]
6037 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6038 PTR_DEMANGLE.
6039
a0c2940d
JM
60402012-11-04 Joseph Myers <joseph@codesourcery.com>
6041
6042 [BZ #14797]
6043 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6044 definitely overflow as x * y not x * y + z.
6045 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6046 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6047 * math/libm-test.inc (fma_test): Add more tests.
6048 (fma_test_towardzero): Likewise.
6049 (fma_test_downward): Likewise.
6050 (fma_test_upward): Likewise.
6051
b830319d
TS
60522012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6053
6054 [BZ #157]
6055
6056 * include/stub-tag.h: Remove file.
6057 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6058 '#include' of it.
6059 * manual/maint.texi (Porting): Don't reference it.
6060 * Makerules ($(objpfx)stubs): Likewise.
6061 * dirent/closedir.c: Don't include <stub-tag.h>.
6062 * dirent/dirfd.c: Likewise.
6063 * dirent/fdopendir.c: Likewise.
6064 * dirent/getdents.c: Likewise.
6065 * dirent/getdents64.c: Likewise.
6066 * dirent/opendir.c: Likewise.
6067 * dirent/readdir.c: Likewise.
6068 * dirent/readdir64.c: Likewise.
6069 * dirent/readdir64_r.c: Likewise.
6070 * dirent/readdir_r.c: Likewise.
6071 * dirent/rewinddir.c: Likewise.
6072 * dirent/seekdir.c: Likewise.
6073 * dirent/telldir.c: Likewise.
6074 * gmon/profil.c: Likewise.
6075 * grp/setgroups.c: Likewise.
6076 * inet/if_index.c: Likewise.
6077 * io/access.c: Likewise.
6078 * io/chdir.c: Likewise.
6079 * io/chmod.c: Likewise.
6080 * io/chown.c: Likewise.
6081 * io/close.c: Likewise.
6082 * io/dup.c: Likewise.
6083 * io/dup2.c: Likewise.
6084 * io/dup3.c: Likewise.
6085 * io/euidaccess.c: Likewise.
6086 * io/faccessat.c: Likewise.
6087 * io/fchdir.c: Likewise.
6088 * io/fchmod.c: Likewise.
6089 * io/fchmodat.c: Likewise.
6090 * io/fchown.c: Likewise.
6091 * io/fchownat.c: Likewise.
6092 * io/fcntl.c: Likewise.
6093 * io/flock.c: Likewise.
6094 * io/fstatfs.c: Likewise.
6095 * io/fstatfs64.c: Likewise.
6096 * io/fstatvfs.c: Likewise.
6097 * io/fstatvfs64.c: Likewise.
6098 * io/futimens.c: Likewise.
6099 * io/fxstat.c: Likewise.
6100 * io/fxstat64.c: Likewise.
6101 * io/fxstatat.c: Likewise.
6102 * io/fxstatat64.c: Likewise.
6103 * io/getcwd.c: Likewise.
6104 * io/isatty.c: Likewise.
6105 * io/lchmod.c: Likewise.
6106 * io/lchown.c: Likewise.
6107 * io/link.c: Likewise.
6108 * io/linkat.c: Likewise.
6109 * io/lseek.c: Likewise.
6110 * io/lseek64.c: Likewise.
6111 * io/lxstat64.c: Likewise.
6112 * io/mkdir.c: Likewise.
6113 * io/mkdirat.c: Likewise.
6114 * io/mkfifo.c: Likewise.
6115 * io/mkfifoat.c: Likewise.
6116 * io/open.c: Likewise.
6117 * io/open64.c: Likewise.
6118 * io/openat.c: Likewise.
6119 * io/openat64.c: Likewise.
6120 * io/pipe.c: Likewise.
6121 * io/pipe2.c: Likewise.
6122 * io/poll.c: Likewise.
6123 * io/posix_fadvise.c: Likewise.
6124 * io/posix_fadvise64.c: Likewise.
6125 * io/posix_fallocate.c: Likewise.
6126 * io/posix_fallocate64.c: Likewise.
6127 * io/read.c: Likewise.
6128 * io/readlink.c: Likewise.
6129 * io/readlinkat.c: Likewise.
6130 * io/rmdir.c: Likewise.
6131 * io/sendfile.c: Likewise.
6132 * io/sendfile64.c: Likewise.
6133 * io/statfs.c: Likewise.
6134 * io/statfs64.c: Likewise.
6135 * io/statvfs.c: Likewise.
6136 * io/statvfs64.c: Likewise.
6137 * io/symlink.c: Likewise.
6138 * io/symlinkat.c: Likewise.
6139 * io/ttyname.c: Likewise.
6140 * io/ttyname_r.c: Likewise.
6141 * io/umask.c: Likewise.
6142 * io/unlink.c: Likewise.
6143 * io/unlinkat.c: Likewise.
6144 * io/utime.c: Likewise.
6145 * io/utimensat.c: Likewise.
6146 * io/write.c: Likewise.
6147 * io/xmknod.c: Likewise.
6148 * io/xmknodat.c: Likewise.
6149 * io/xstat.c: Likewise.
6150 * io/xstat64.c: Likewise.
6151 * login/getpt.c: Likewise.
6152 * login/grantpt.c: Likewise.
6153 * login/unlockpt.c: Likewise.
6154 * math/e_acoshl.c: Likewise.
6155 * math/e_acosl.c: Likewise.
6156 * math/e_asinl.c: Likewise.
6157 * math/e_atan2l.c: Likewise.
6158 * math/e_atanhl.c: Likewise.
6159 * math/e_coshl.c: Likewise.
6160 * math/e_expl.c: Likewise.
6161 * math/e_fmodl.c: Likewise.
6162 * math/e_gammal_r.c: Likewise.
6163 * math/e_hypotl.c: Likewise.
6164 * math/e_j0l.c: Likewise.
6165 * math/e_j1l.c: Likewise.
6166 * math/e_jnl.c: Likewise.
6167 * math/e_lgammal_r.c: Likewise.
6168 * math/e_log10l.c: Likewise.
6169 * math/e_log2l.c: Likewise.
6170 * math/e_logl.c: Likewise.
6171 * math/e_powl.c: Likewise.
6172 * math/e_rem_pio2l.c: Likewise.
6173 * math/e_sinhl.c: Likewise.
6174 * math/e_sqrtl.c: Likewise.
6175 * math/fclrexcpt.c: Likewise.
6176 * math/fedisblxcpt.c: Likewise.
6177 * math/feenablxcpt.c: Likewise.
6178 * math/fegetenv.c: Likewise.
6179 * math/fegetexcept.c: Likewise.
6180 * math/fegetround.c: Likewise.
6181 * math/feholdexcpt.c: Likewise.
6182 * math/fesetenv.c: Likewise.
6183 * math/fesetround.c: Likewise.
6184 * math/feupdateenv.c: Likewise.
6185 * math/fgetexcptflg.c: Likewise.
6186 * math/fraiseexcpt.c: Likewise.
6187 * math/fsetexcptflg.c: Likewise.
6188 * math/ftestexcept.c: Likewise.
6189 * math/k_cosl.c: Likewise.
6190 * math/k_rem_pio2l.c: Likewise.
6191 * math/k_sinl.c: Likewise.
6192 * math/k_tanl.c: Likewise.
6193 * math/s_asinhl.c: Likewise.
6194 * math/s_atanl.c: Likewise.
6195 * math/s_cbrtl.c: Likewise.
6196 * math/s_erfl.c: Likewise.
6197 * math/s_expm1l.c: Likewise.
6198 * math/s_log1pl.c: Likewise.
6199 * math/s_tanhl.c: Likewise.
6200 * misc/acct.c: Likewise.
6201 * misc/brk.c: Likewise.
6202 * misc/chflags.c: Likewise.
6203 * misc/chroot.c: Likewise.
6204 * misc/fchflags.c: Likewise.
6205 * misc/fgetxattr.c: Likewise.
6206 * misc/flistxattr.c: Likewise.
6207 * misc/fremovexattr.c: Likewise.
6208 * misc/fsetxattr.c: Likewise.
6209 * misc/fsync.c: Likewise.
6210 * misc/ftruncate.c: Likewise.
6211 * misc/futimes.c: Likewise.
6212 * misc/futimesat.c: Likewise.
6213 * misc/getdomain.c: Likewise.
6214 * misc/getdtsz.c: Likewise.
6215 * misc/gethostid.c: Likewise.
6216 * misc/gethostname.c: Likewise.
6217 * misc/getloadavg.c: Likewise.
6218 * misc/getpagesize.c: Likewise.
6219 * misc/getsysstats.c: Likewise.
6220 * misc/getxattr.c: Likewise.
6221 * misc/gtty.c: Likewise.
6222 * misc/ioctl.c: Likewise.
6223 * misc/lgetxattr.c: Likewise.
6224 * misc/listxattr.c: Likewise.
6225 * misc/llistxattr.c: Likewise.
6226 * misc/lremovexattr.c: Likewise.
6227 * misc/lsetxattr.c: Likewise.
6228 * misc/lutimes.c: Likewise.
6229 * misc/madvise.c: Likewise.
6230 * misc/mincore.c: Likewise.
6231 * misc/mlock.c: Likewise.
6232 * misc/mlockall.c: Likewise.
6233 * misc/mmap.c: Likewise.
6234 * misc/mprotect.c: Likewise.
6235 * misc/msync.c: Likewise.
6236 * misc/munlock.c: Likewise.
6237 * misc/munlockall.c: Likewise.
6238 * misc/munmap.c: Likewise.
6239 * misc/preadv.c: Likewise.
6240 * misc/preadv64.c: Likewise.
6241 * misc/ptrace.c: Likewise.
6242 * misc/pwritev.c: Likewise.
6243 * misc/pwritev64.c: Likewise.
6244 * misc/readv.c: Likewise.
6245 * misc/reboot.c: Likewise.
6246 * misc/remap_file_pages.c: Likewise.
6247 * misc/removexattr.c: Likewise.
6248 * misc/revoke.c: Likewise.
6249 * misc/select.c: Likewise.
6250 * misc/setdomain.c: Likewise.
6251 * misc/setegid.c: Likewise.
6252 * misc/seteuid.c: Likewise.
6253 * misc/sethostid.c: Likewise.
6254 * misc/sethostname.c: Likewise.
6255 * misc/setregid.c: Likewise.
6256 * misc/setreuid.c: Likewise.
6257 * misc/setxattr.c: Likewise.
6258 * misc/sstk.c: Likewise.
6259 * misc/stty.c: Likewise.
6260 * misc/swapoff.c: Likewise.
6261 * misc/swapon.c: Likewise.
6262 * misc/sync.c: Likewise.
6263 * misc/syncfs.c: Likewise.
6264 * misc/syscall.c: Likewise.
6265 * misc/truncate.c: Likewise.
6266 * misc/ualarm.c: Likewise.
6267 * misc/usleep.c: Likewise.
6268 * misc/ustat.c: Likewise.
6269 * misc/utimes.c: Likewise.
6270 * misc/vhangup.c: Likewise.
6271 * misc/writev.c: Likewise.
6272 * posix/_exit.c: Likewise.
6273 * posix/alarm.c: Likewise.
6274 * posix/execve.c: Likewise.
6275 * posix/fexecve.c: Likewise.
6276 * posix/fork.c: Likewise.
6277 * posix/fpathconf.c: Likewise.
6278 * posix/getaddrinfo.c: Likewise.
6279 * posix/getegid.c: Likewise.
6280 * posix/geteuid.c: Likewise.
6281 * posix/getgid.c: Likewise.
6282 * posix/getgroups.c: Likewise.
6283 * posix/getlogin.c: Likewise.
6284 * posix/getlogin_r.c: Likewise.
6285 * posix/getpgid.c: Likewise.
6286 * posix/getpid.c: Likewise.
6287 * posix/getppid.c: Likewise.
6288 * posix/getresgid.c: Likewise.
6289 * posix/getresuid.c: Likewise.
6290 * posix/getsid.c: Likewise.
6291 * posix/getuid.c: Likewise.
6292 * posix/glob64.c: Likewise.
6293 * posix/nanosleep.c: Likewise.
6294 * posix/pathconf.c: Likewise.
6295 * posix/pause.c: Likewise.
6296 * posix/posix_madvise.c: Likewise.
6297 * posix/pread.c: Likewise.
6298 * posix/pread64.c: Likewise.
6299 * posix/pwrite.c: Likewise.
6300 * posix/pwrite64.c: Likewise.
6301 * posix/sched_getaffinity.c: Likewise.
6302 * posix/sched_getp.c: Likewise.
6303 * posix/sched_gets.c: Likewise.
6304 * posix/sched_primax.c: Likewise.
6305 * posix/sched_primin.c: Likewise.
6306 * posix/sched_rr_gi.c: Likewise.
6307 * posix/sched_setaffinity.c: Likewise.
6308 * posix/sched_setp.c: Likewise.
6309 * posix/sched_sets.c: Likewise.
6310 * posix/sched_yield.c: Likewise.
6311 * posix/setgid.c: Likewise.
6312 * posix/setlogin.c: Likewise.
6313 * posix/setpgid.c: Likewise.
6314 * posix/setresgid.c: Likewise.
6315 * posix/setresuid.c: Likewise.
6316 * posix/setsid.c: Likewise.
6317 * posix/setuid.c: Likewise.
6318 * posix/sleep.c: Likewise.
6319 * posix/spawni.c: Likewise.
6320 * posix/sysconf.c: Likewise.
6321 * posix/times.c: Likewise.
6322 * posix/wait.c: Likewise.
6323 * posix/wait3.c: Likewise.
6324 * posix/wait4.c: Likewise.
6325 * posix/waitpid.c: Likewise.
6326 * resolv/gai_sigqueue.c: Likewise.
6327 * resource/getpriority.c: Likewise.
6328 * resource/getrlimit.c: Likewise.
6329 * resource/getrusage.c: Likewise.
6330 * resource/nice.c: Likewise.
6331 * resource/setpriority.c: Likewise.
6332 * resource/setrlimit.c: Likewise.
6333 * resource/ulimit.c: Likewise.
6334 * rt/aio_cancel.c: Likewise.
6335 * rt/aio_fsync.c: Likewise.
6336 * rt/aio_read.c: Likewise.
6337 * rt/aio_sigqueue.c: Likewise.
6338 * rt/aio_suspend.c: Likewise.
6339 * rt/aio_write.c: Likewise.
6340 * rt/clock_getres.c: Likewise.
6341 * rt/clock_gettime.c: Likewise.
6342 * rt/clock_nanosleep.c: Likewise.
6343 * rt/clock_settime.c: Likewise.
6344 * rt/lio_listio.c: Likewise.
6345 * rt/mq_close.c: Likewise.
6346 * rt/mq_getattr.c: Likewise.
6347 * rt/mq_notify.c: Likewise.
6348 * rt/mq_open.c: Likewise.
6349 * rt/mq_receive.c: Likewise.
6350 * rt/mq_send.c: Likewise.
6351 * rt/mq_setattr.c: Likewise.
6352 * rt/mq_timedreceive.c: Likewise.
6353 * rt/mq_timedsend.c: Likewise.
6354 * rt/mq_unlink.c: Likewise.
6355 * rt/shm_open.c: Likewise.
6356 * rt/shm_unlink.c: Likewise.
6357 * rt/timer_create.c: Likewise.
6358 * rt/timer_delete.c: Likewise.
6359 * rt/timer_getoverr.c: Likewise.
6360 * rt/timer_gettime.c: Likewise.
6361 * rt/timer_settime.c: Likewise.
6362 * setjmp/__longjmp.c: Likewise.
6363 * setjmp/setjmp.c: Likewise.
6364 * signal/kill.c: Likewise.
6365 * signal/killpg.c: Likewise.
6366 * signal/raise.c: Likewise.
6367 * signal/sigaction.c: Likewise.
6368 * signal/sigaltstack.c: Likewise.
6369 * signal/sigblock.c: Likewise.
6370 * signal/sigignore.c: Likewise.
6371 * signal/sigintr.c: Likewise.
6372 * signal/signal.c: Likewise.
6373 * signal/sigpause.c: Likewise.
6374 * signal/sigpending.c: Likewise.
6375 * signal/sigqueue.c: Likewise.
6376 * signal/sigreturn.c: Likewise.
6377 * signal/sigset.c: Likewise.
6378 * signal/sigsetmask.c: Likewise.
6379 * signal/sigstack.c: Likewise.
6380 * signal/sigsuspend.c: Likewise.
6381 * signal/sigtimedwait.c: Likewise.
6382 * signal/sigvec.c: Likewise.
6383 * signal/sigwait.c: Likewise.
6384 * signal/sigwaitinfo.c: Likewise.
6385 * signal/sysv_signal.c: Likewise.
6386 * socket/accept.c: Likewise.
6387 * socket/accept4.c: Likewise.
6388 * socket/bind.c: Likewise.
6389 * socket/connect.c: Likewise.
6390 * socket/getpeername.c: Likewise.
6391 * socket/getsockname.c: Likewise.
6392 * socket/getsockopt.c: Likewise.
6393 * socket/isfdtype.c: Likewise.
6394 * socket/listen.c: Likewise.
6395 * socket/recv.c: Likewise.
6396 * socket/recvfrom.c: Likewise.
6397 * socket/recvmsg.c: Likewise.
6398 * socket/send.c: Likewise.
6399 * socket/sendmsg.c: Likewise.
6400 * socket/sendto.c: Likewise.
6401 * socket/setsockopt.c: Likewise.
6402 * socket/shutdown.c: Likewise.
6403 * socket/sockatmark.c: Likewise.
6404 * socket/socket.c: Likewise.
6405 * socket/socketpair.c: Likewise.
6406 * stdio-common/ctermid.c: Likewise.
6407 * stdio-common/cuserid.c: Likewise.
6408 * stdio-common/remove.c: Likewise.
6409 * stdio-common/rename.c: Likewise.
6410 * stdio-common/renameat.c: Likewise.
6411 * stdio-common/tempname.c: Likewise.
6412 * stdlib/getcontext.c: Likewise.
6413 * stdlib/makecontext.c: Likewise.
6414 * stdlib/setcontext.c: Likewise.
6415 * stdlib/swapcontext.c: Likewise.
6416 * stdlib/system.c: Likewise.
6417 * streams/fattach.c: Likewise.
6418 * streams/fdetach.c: Likewise.
6419 * streams/getmsg.c: Likewise.
6420 * streams/getpmsg.c: Likewise.
6421 * streams/putmsg.c: Likewise.
6422 * streams/putpmsg.c: Likewise.
6423 * sysdeps/unix/bsd/getpt.c: Likewise.
6424 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6425 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6426 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6428 Likewise.
6429 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6430 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6431 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6432 * sysvipc/msgctl.c: Likewise.
6433 * sysvipc/msgget.c: Likewise.
6434 * sysvipc/msgrcv.c: Likewise.
6435 * sysvipc/msgsnd.c: Likewise.
6436 * sysvipc/semctl.c: Likewise.
6437 * sysvipc/semget.c: Likewise.
6438 * sysvipc/semop.c: Likewise.
6439 * sysvipc/semtimedop.c: Likewise.
6440 * sysvipc/shmat.c: Likewise.
6441 * sysvipc/shmctl.c: Likewise.
6442 * sysvipc/shmdt.c: Likewise.
6443 * sysvipc/shmget.c: Likewise.
6444 * termios/tcdrain.c: Likewise.
6445 * termios/tcflow.c: Likewise.
6446 * termios/tcflush.c: Likewise.
6447 * termios/tcgetattr.c: Likewise.
6448 * termios/tcgetpgrp.c: Likewise.
6449 * termios/tcsendbrk.c: Likewise.
6450 * termios/tcsetattr.c: Likewise.
6451 * termios/tcsetpgrp.c: Likewise.
6452 * time/adjtime.c: Likewise.
6453 * time/clock.c: Likewise.
6454 * time/getitimer.c: Likewise.
6455 * time/gettimeofday.c: Likewise.
6456 * time/setitimer.c: Likewise.
6457 * time/settimeofday.c: Likewise.
6458 * time/stime.c: Likewise.
6459 * time/time.c: Likewise.
6460
64612012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6462
a20492cf
PT
6463 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6464 /usr/old/bin.
6465
72e182e3
PT
6466 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6467 instead of spaces.
6468 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6469
fbeafede
JM
64702012-11-03 Joseph Myers <joseph@codesourcery.com>
6471
5b5b04d6
JM
6472 [BZ #14796]
6473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6474 FE_TONEAREST before applying Dekker multiplication and Knuth
6475 addition. Clear inexact exceptions and check for exact zero
6476 results afterwards.
6477 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6478 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6479 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6480 * math/libm-test.inc (fma_test): Add more tests.
6481 (fma_test_towardzero): Likewise.
6482 (fma_test_downward): Likewise.
6483 (fma_test_upward): Likewise.
6484 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6485 function.
6486 (libc_fesetround): New macro.
6487 (libc_fesetroundf): Likewise.
6488 (libc_fesetroundl): Likewise.
6489 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6490 function.
6491 (libc_fesetround_387): Likewise.
6492 (libc_fesetroundf): New macro.
6493 (libc_fesetround): Likewise.
6494 (libc_fesetroundl): Likewise.
6495 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6496 function.
6497 (libc_fesetroundf): New macro.
6498 (libc_fesetround): Likewise.
6499 (libc_fesetroundl): Likewise.
6500 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6501 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6502 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6503 libm_hidden_ver.
6504 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6505 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6506 libm_hidden_def.
6507 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6508 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6509 libm_hidden_ver.
6510 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6511 libm_hidden_def.
6512
fbeafede
JM
6513 [BZ #3439]
6514 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6515 integer constant usable in #if and use that to give value to enum
6516 constant.
6517 (FE_DIVBYZERO): Likewise.
6518 (FE_UNDERFLOW): Likewise.
6519 (FE_OVERFLOW): Likewise.
6520 (FE_INVALID): Likewise.
6521 (FE_INVALID_SNAN): Likewise.
6522 (FE_INVALID_ISI): Likewise.
6523 (FE_INVALID_IDI): Likewise.
6524 (FE_INVALID_ZDZ): Likewise.
6525 (FE_INVALID_IMZ): Likewise.
6526 (FE_INVALID_COMPARE): Likewise.
6527 (FE_INVALID_SOFTWARE): Likewise.
6528 (FE_INVALID_SQRT): Likewise.
6529 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6530 (FE_TONEAREST): Likewise.
6531 (FE_TOWARDZERO): Likewise.
6532 (FE_UPWARD): Likewise.
6533 (FE_DOWNWARD): Likewise.
6534 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6535 (FE_DIVBYZERO): Likewise.
6536 (FE_OVERFLOW): Likewise.
6537 (FE_UNDERFLOW): Likewise.
6538 (FE_INEXACT): Likewise.
6539 (FE_TONEAREST): Likewise.
6540 (FE_DOWNWARD): Likewise.
6541 (FE_UPWARD): Likewise.
6542 (FE_TOWARDZERO): Likewise.
6543 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6544 (FE_UNDERFLOW): Likewise.
6545 (FE_OVERFLOW): Likewise.
6546 (FE_DIVBYZERO): Likewise.
6547 (FE_INVALID): Likewise.
6548 (FE_TONEAREST): Likewise.
6549 (FE_TOWARDZERO): Likewise.
6550 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6551 (FE_OVERFLOW): Likewise.
6552 (FE_UNDERFLOW): Likewise.
6553 (FE_DIVBYZERO): Likewise.
6554 (FE_INEXACT): Likewise.
6555 (FE_TONEAREST): Likewise.
6556 (FE_TOWARDZERO): Likewise.
6557 (FE_UPWARD): Likewise.
6558 (FE_DOWNWARD): Likewise.
6559 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6560 (FE_DIVBYZERO): Likewise.
6561 (FE_OVERFLOW): Likewise.
6562 (FE_UNDERFLOW): Likewise.
6563 (FE_INEXACT): Likewise.
6564 (FE_TONEAREST): Likewise.
6565 (FE_DOWNWARD): Likewise.
6566 (FE_UPWARD): Likewise.
6567 (FE_TOWARDZERO): Likewise.
6568
105ca950
CM
65692012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6570
6571 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6572
a542b389
AS
65732012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6574
6575 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6576 commands. Quote $PWD.
6577 (blacklist_exports): Don't use remove_newlines. Replace "declare
6578 -x" by "export".
6579 (remove_newlines): Remove.
6580
f62c8abc
L
65812012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6582
6583 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6584 * stdlib/stdlib.h (atof): Moved to ...
6585 * include/bits/stdlib-float.h: Here. New file.
6586 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6587 * stdlib/bits/stdlib-float.h: New file.
6588 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6589 -mno-sse -mno-mmx.
6590 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6591 <xmmintrin.h>.
6592
0155d5b2
JM
65932012-11-02 Joseph Myers <joseph@codesourcery.com>
6594
a68d0680
JM
6595 * conform/conformtest.pl (@headers): Add fenv.h.
6596 * conform/data/fenv.h-data: New file.
6597 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6598 include of <math/fenv.h>.
6599
caf7f573
JM
6600 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6601 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6602 && !UNIX98]. Enables tests for XOPEN2K8.
6603 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6604 POSIX2008]: Likewise.
6605
6c073ad6
JM
6606 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6607 (struct rusage): Do not expect type or its members.
6608
0155d5b2
JM
6609 [BZ #3439]
6610 * math/math.h (FP_NAN): Define macro to integer constant usable in
6611 #if and use that to give value to enum constant.
6612 (FP_INFINITE): Likewise.
6613 (FP_ZERO): Likewise.
6614 (FP_SUBNORMAL): Likewise.
6615 (FP_NORMAL): Likewise.
6616
b5dcacb4
AS
66172012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6618
6619 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6620 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6621 arguments.
6622
f7934be8
RM
66232012-11-02 Roland McGrath <roland@hack.frob.com>
6624
6625 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6626 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6627 autoconf-time if not.
6628 * configure.in: Remove AC_PREREQ.
6629
d7d08bde
TMQMF
66302012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6631
6632 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6633 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6634 of the internal implementation.
6635
dcdae19a
JM
66362012-11-02 Joseph Myers <joseph@codesourcery.com>
6637
6638 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6639 except include of <misc/sys/syslog.h>.
6640
d6cffd3e
AS
66412012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6642
6643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6644 function returns with a NULL context exit with zero.
6645
b3563932
TMQMF
66462012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6647
6648 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6649
b288a93d
L
66502012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6651
6652 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6653 (run_program_cmd): This.
6654 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6655 (tst_langinfo): New variable. Use it.
6656
a2421a68
SAS
66572012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6658
6659 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6660 floating point opcodes.
6661
6f796e1b
TS
66622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6663
7402596b
TS
6664 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6665 variable.
6666
d0d4f868
TS
6667 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6668
6f796e1b
TS
6669 * sysdeps/mach/hurd/powerpc: Remove directory.
6670 * sysdeps/mach/powerpc: Likewise.
6671
4da224a2
AS
66722012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6673
6674 * scripts/check-local-headers.sh: Ignore c++ headers.
6675
341dd673
TS
66762012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6677
6678 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6679 __libc_cleanup_region_start argument.
6680
473611b2
JM
66812012-11-01 Joseph Myers <joseph@codesourcery.com>
6682
6683 [BZ #14784]
6684 [BZ #14785]
6685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6686 x * y using scaling, not as x * y + z.
6687 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6688 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6689 * math/libm-test.inc (fma_test): Add more tests.
6690 (fma_test_towardzero): Likewise.
6691 (fma_test_downward): Likewise.
6692 (fma_test_upward): Likewise.
6693
4078da3d
TS
66942012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6695
6696 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6697
903252aa
JM
66982012-10-31 Joseph Myers <joseph@codesourcery.com>
6699
6700 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6701 New variable.
6702
cbc818d0
TS
67032012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6704
6705 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6706
5a03cb1e
AS
67072012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6708
6709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6710 Fix sort order.
6711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6712 Likewise.
6713
90aff2ff
TMQMF
67142012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6715
6716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6717 Fix the order of the list for glibc 2.17.
6718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6719 Likewise.
6720
1818fcb7
AS
67212012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6722
6723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6724
ef82f4da
JM
67252012-10-31 Joseph Myers <joseph@codesourcery.com>
6726
16a0e2ec
JM
6727 [BZ #14610]
6728 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6729 for low part of x being zero before using __atanl (y).
6730 * math/libm-test.inc (atan2_test): Add another test.
6731
0eb69512
JM
6732 * manual/install.texi (Configuring and compiling): Document
6733 general use of test-wrapper and test-wrapper-env.
6734 * INSTALL: Regenerated.
6735
ef82f4da
JM
6736 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6737 (__fma): Do not extract and scale down low bits on after-rounding
6738 systems when result rounded to normal precision would have normal
6739 exponent.
6740 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6741 (__fmal): Do not extract and scale down low bits on after-rounding
6742 systems when result rounded to normal precision would have normal
6743 exponent.
6744 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6745 (__fmal): Do not extract and scale down low bits on after-rounding
6746 systems when result rounded to normal precision would have normal
6747 exponent.
6748 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6749 macro.
6750 (fma_test): Add more tests.
6751 (fma_test_towardzero): Likewise.
6752 (fma_test_downward): Likewise.
6753 (fma_test_upward): Likewise.
6754
954ef0d9
L
67552012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6756
6757 * sysdeps/i386/tininess.h: Renamed to ...
6758 * sysdeps/x86/tininess.h: This.
6759 * sysdeps/x86_64/tininess.h: Removed.
6760
df61ffb2
JM
67612012-10-30 Joseph Myers <joseph@codesourcery.com>
6762
6763 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6764 input. Use $(build-program-cmd).
6765 ($(objpfx)tst-array1-static.out): Likewise.
6766 ($(objpfx)tst-array2.out): Likewise.
6767 ($(objpfx)tst-array3.out): Likewise.
6768 ($(objpfx)tst-array4.out): Likewise.
6769 ($(objpfx)tst-array5.out): Likewise.
6770 ($(objpfx)tst-array5-static.out): Likewise.
6771
01767843
CM
67722012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6773
47cc1490
CM
6774 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6775 if defined.
6776
01767843
CM
6777 * nss/nsswitch.h (nss_interface_function): Provide new
6778 macro for use with NSS functions.
6779 * grp/initgroups.c: Use new macro.
6780 * nss/getXXbyYY.c: Likewise.
6781 * nss/getXXbyYY_r.c: Likewise.
6782 * nss/getXXent.c: Likewise.
6783 * nss/getXXent_r.c: Likewise.
6784 * sysdeps/posix/getaddrinfo.c: Likewise.
6785
8321aa97
AJ
67862012-10-30 Andreas Jaeger <aj@suse.de>
6787
6788 * po/ru.po: Update Russion translation from translation project.
6789
2a27fd6d
JM
67902012-10-30 Joseph Myers <joseph@codesourcery.com>
6791
8627a232
JM
6792 [BZ #14152]
6793 [BZ #14783]
6794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6795 result and shift together with sticky bit instead of replicating
6796 round-to-nearest rounding.
6797 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6798 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6799 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6800 missing underflow exceptions.
6801 (fma_test_towardzero): Add more tests.
6802 (fma_test_downward): Likewise.
6803 (fma_test_upward): Likewise.
6804
2a27fd6d
JM
6805 [BZ #14047]
6806 * sysdeps/generic/tininess.h: New file.
6807 * sysdeps/i386/tininess.h: Likewise.
6808 * sysdeps/sh/tininess.h: Likewise.
6809 * sysdeps/x86_64/tininess.h: Likewise.
6810 * stdlib/tst-strtod-underflow.c: Likewise.
6811 * stdlib/tst-tininess.c: Likewise.
6812 * stdlib/strtod_l.c: Include <tininess.h>.
6813 (round_and_return): Do not set errno for exact underflow cases.
6814 Force an underflow exception when setting errno for underflow.
6815 Determine underflow based on rounding to normal precision if
6816 TININESS_AFTER_ROUNDING.
6817 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6818 ERANGE for exact underflow cases.
6819 * stdlib/Makefile (tests): Add tst-tininess and
6820 tst-strtod-underflow.
6821 ($(objpfx)tst-tininess): Use $(link-libm).
6822 ($(objpfx)tst-strtod-underflow): Likewise.
6823
e7170363
AJ
68242012-10-30 Andreas Jaeger <aj@suse.de>
6825
e5088dc6
AJ
6826 [BZ#14767]
6827 * elf/Makefile (tests): Remove conditional for have-initfini-array
6828 since this is now always required and the variable does not exist
6829 anymore.
6830 (tests-static): Likewise.
6831 (modules-names): Likewise.
6832
e7170363 6833 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6834
6835 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6836 merged with constructor/destructor.
6837 (init_array): Likewise.
6838 * elf/tst-array2dep.c (fini_array): Likewise.
6839 (init_array): Likewise.
6840
60457d8a
MF
68412012-10-29 Mike Frysinger <vapier@gentoo.org>
6842
6843 * manual/message.texi: Delete @cartouche tags.
6844
8bece752
PT
68452012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6846
94ce799f
PT
6847 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6848 EOPNOTSUPP.
6849 * sysdeps/mach/hurd/fsync.c: Likewise.
6850
8bece752
PT
6851 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6852 [_POSIX_REALTIME_SIGNALS]: Change condition to
6853 [_POSIX_REALTIME_SIGNALS > 0].
6854
86ebe6b1
AJ
68552012-10-27 Andreas Jaeger <aj@suse.de>
6856
6857 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6858 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6859 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6860 [__WORDSIZE != 64]: Likewise.
6861
54399c08
L
68622012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6863
6864 * iconvdata/tst-table.sh: Remove ${SHELL}.
6865 * iconvdata/tst-tables.sh: Likewise.
6866
e2211bed
DM
68672012-10-25 David S. Miller <davem@davemloft.net>
6868
6869 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6870 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6871 of strtoull.
6872
f303f97c
DM
6873 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6874 ifunc-impl-list.c
6875 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6876 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6877 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6878 file.
6879
1e9d84cd
RM
68802012-10-25 Roland McGrath <roland@hack.frob.com>
6881
6882 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6883 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6884 __getdirentries.
6885
df381762
JM
68862012-10-25 Joseph Myers <joseph@codesourcery.com>
6887 Jim Blandy <jimb@codesourcery.com>
6888
6889 * scripts/cross-test-ssh.sh: New file.
6890 * manual/install.texi (Configuring and compiling): Document use of
6891 cross-test-ssh.sh.
6892 * INSTALL: Regenerated.
6893
bff64913
PT
68942012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6895
6896 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6897 EOPNOTSUPP.
6898
25fe8932
JM
68992012-10-25 Joseph Myers <joseph@codesourcery.com>
6900
6901 * Makeconfig (run-program-prefix): Fix comment.
6902
cc1290d0
JM
69032012-10-24 Joseph Myers <joseph@codesourcery.com>
6904 Jim Blandy <jimb@codesourcery.com>
6905
6906 * Makeconfig (test-wrapper): New variable,
6907 (test-wrapper-env): Likewise.
6908 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6909 (run-built-tests): Define to yes.
6910 (run-program-prefix): Use $(test-wrapper).
6911 (built-program-cmd): Likewise.
6912 * Rules (make-test-out): Use $(test-wrapper-env) and
6913 $(host-built-program-cmd).
6914 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6915 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6916 tst-pathopt.sh.
6917 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6918 $(test-wrapper-env) to tst-rtld-load-self.sh.
6919 ($(objpfx)order2.out): Use $(test-wrapper).
6920 ($(objpfx)tst-initorder.out): Likewise.
6921 ($(objpfx)tst-initorder2.out): Likewise.
6922 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6923 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6924 (test_wrapper_env): New variable. Use it to run ld.so.
6925 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6926 Use it to run ld.so.
6927 (test_wrapper_env): Likewise.
6928 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6929 $(test-wrapper) to run-iconv-test.sh.
6930 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6931 (ICONV): Use $test_wrapper.
6932 * posix/Makefile ($(objpfx)globtest.out): Pass
6933 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6934 globtest.sh, not $(run-program-prefix).
6935 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6936 (test_wrapper): Likewise.
6937 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6938 set together with run_via_rtld_prefix.
6939 (run_program_prefix): Define in terms of test_wrapper and
6940 run_via_rtld_prefix.
6941
6e6249d0
RM
69422012-10-24 Roland McGrath <roland@hack.frob.com>
6943
6944 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6945 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6946 Targets removed.
6947
6948 [BZ #14743]
6949 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6950 Declare __clock_getres, __clock_gettime, __clock_settime,
6951 __clock_nanosleep, and __clock_getcpuclockid.
6952 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6953 Remove librt_hidden_def (clock_gettime).
6954 * sysdeps/unix/clock_gettime.c: Likewise.
6955 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6956 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6957 * rt/clock_getres.c: Define __clock_getres as an alias.
6958 * sysdeps/posix/clock_getres.c: Likewise.
6959 * rt/clock_settime.c: Define __clock_settime as an alias.
6960 * sysdeps/unix/clock_settime.c: Likewise.
6961 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6962 * sysdeps/unix/clock_nanosleep.c: Likewise.
6963 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6964 * rt/clock-compat.c: New file.
6965 * rt/Makefile (librt-routines): Add clock-compat and move
6966 $(clock-routines) to ...
6967 (routines): ... here, new variable.
6968 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6969 Don't add get_clockfreq here.
6970 * rt/Versions (libc: GLIBC_2.17): New version set.
6971 Add clock_* symbols here.
6972 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6973 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6974 (GLIBC_2.17): Add clock_* symbols.
6975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6977 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6979 Likewise.
6980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6981 Likewise.
6982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6986 * NEWS: Mention the move.
6987
6988 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6989 Use __open, __read, __close rather than their public counterparts.
6990 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6991 (__get_clockfreq_via_cpuinfo): Likewise.
6992 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6993 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6994
6995 * config.h.in (HAVE_IFUNC): New #undef.
6996 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6997 was successful.
6998 * configure: Regenerated.
6999
0cae3f4b
MF
70002012-10-24 Mike Frysinger <vapier@gentoo.org>
7001
7002 * configure.in: Move READELF check to start of file.
7003 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7004 libc_cv_asm_gnu_indirect_function in the process.
7005 * configure: Regenerated.
7006
8175a253
MF
70072012-10-24 Mike Frysinger <vapier@gentoo.org>
7008
7009 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7010 send the output to /dev/null.
7011 (libc_cv_cc_with_libunwind): Likewise.
7012 (libc_cv_as_noexecstack): Likewise.
7013 * configure: Regenerate.
7014
0708a7d1
JM
70152012-10-24 Joseph Myers <joseph@codesourcery.com>
7016
10b40d85
JM
7017 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7018
0708a7d1
JM
7019 * posix/globtest.sh (TMPDIR): Do not set.
7020 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7021 (testout): Likewise.
7022
9fddec1a
AJ
70232012-10-24 Andreas Jaeger <aj@suse.de>
7024
3a8db22f
AJ
7025 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7026 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7027 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7028 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7029 posix_fadvise64, posix_fallocate64.
7030
9fddec1a
AJ
7031 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7032 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7033 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7034 Likewise.
7035 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7036 Likewise.
7037 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7038
7039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7040 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7041 <bits/fcntl-linux.h>.
7042 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7043
7044 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7045 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7046 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7047 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7048 [__WORDSIZE != 64]: Likewise.
7049
ebfd1bbd
JM
70502012-10-23 Joseph Myers <joseph@codesourcery.com>
7051
03ac099f
JM
7052 * Makeconfig (run-built-tests): New variable.
7053 * Rules [$(cross-compiling) = yes]: Change condition to
7054 [$(run-built-tests) = no].
7055 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7056 to [$(run-built-tests) = yes].
7057 * elf/Makefile [$(cross-compiling) = no]: Likewise
7058 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7059 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7060 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7061 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7062 * io/Makefile [$(cross-compiling) = no]: Likewise.
7063 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7064 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7065 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7066 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7067 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7068 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7069 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7070 * string/Makefile [$(cross-compiling) = no]: Likewise.
7071
ebfd1bbd
JM
7072 * posix/Makefile ($(objpfx)globtest.out): Pass
7073 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7074 $(rtld-installed-name).
7075 * posix/globtest.sh (elf_objpfx): Remove variable.
7076 (rtld_installed_name): Likewise.
7077 (library_path): Likewise.
7078 (run_program_prefix): New variable. Use for running globtest
7079 binary.
7080
166bca24
JB
70812012-10-23 Jim Blandy <jimb@codesourcery.com>
7082 Joseph Myers <joseph@codesourcery.com>
7083
7084 * Makeconfig (host-built-program-cmd): New variable.
7085 * elf/Makefile (tst-stackguard1-ARGS): Use
7086 $(host-built-program-cmd).
7087 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7088 (tst-spawn-ARGS): Likewise.
7089 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7090
88866099
JM
70912012-10-23 Joseph Myers <joseph@codesourcery.com>
7092 Jim Blandy <jimb@codesourcery.com>
7093
7094 * Makeconfig (run-via-rtld-prefix): New variable.
7095 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7096 (built-program-cmd): Likewise.
7097
b4b4c296
AJ
70982012-10-22 Andreas Jaeger <aj@suse.de>
7099
7100 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7101 __O_RSYNC if it exists, otherwise to O_SYNC.
7102
6fb54a22
JB
71032012-10-22 Jim Blandy <jimb@codesourcery.com>
7104 Joseph Myers <joseph@codesourcery.com>
7105
7106 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7107 /dev/null.
7108 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7109 from /dev/null
7110 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7111 /dev/null.
7112
481b90b9
AJ
71132012-10-22 Andreas Jaeger <aj@suse.de>
7114
2a0e2669
AJ
7115 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7116 Define always.
7117 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7118
76e38f9a
AJ
7119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7120 bits/fcntl-linux.h.
7121
7cd37b43
AJ
7122 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7123 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7124
481b90b9
AJ
7125 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7126 to __O_LARGEFILE.
7127 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7128 to __O_LARGEFILE.
7129
aba75984
JB
71302012-10-21 Jim Blandy <jimb@codesourcery.com>
7131 Joseph Myers <joseph@codesourcery.com>
7132
7133 * config.make.in (NM): New variable.
7134
88d4247f
AJ
71352012-10-21 Andreas Jaeger <aj@suse.de>
7136
7137 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7138 definitions and declarations that are provided by
7139 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7140
f2eed205
L
71412012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7142
7143 [BZ #14683]
7144 * elf/Makefile (tests-static): Add tst-leaks1-static.
7145 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7146 ($(objpfx)tst-leaks1-static): New rule.
7147 ($(objpfx)tst-leaks1-static-mem): Likewise.
7148 (tst-leaks1-static-ENV): New macro.
7149 * elf/dl-open.c (dl_open_worker): Check the main application
7150 only if SHARED is defined.
7151 * elf/tst-leaks1-static.c: New file.
7152
335e6931
AJ
71532012-10-20 Andreas Jaeger <aj@suse.de>
7154
7155 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7156 generic values for Linux.
7157 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7158 and declarations that are provided by <bits/fcntl-linux.h> and
7159 include <bits/fcntl-linux.h>.
7160 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7161 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7162
ac5c94d3
RM
71632012-10-20 Roland McGrath <roland@hack.frob.com>
7164
7165 * io/fcntl.h: Move include of <bits/types.h> to the top and
7166 include it unconditionally.
7167
de54b33a
L
71682012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7169
228cfb01
L
7170 * wcsmbs/Makefile (tests-ifunc): New variable.
7171 (tests): Add $(tests-ifunc).
7172 * wcsmbs/test-wcschr-ifunc.c: New file.
7173 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7174 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7175 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7176 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7177 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7178
69f07e5f
L
7179 * string/Makefile (tests-ifunc): New variable.
7180 (tests): Add $(tests-ifunc).
7181 * string/test-memccpy.c (TEST_NAME): New macro.
7182 * string/test-memchr.c (TEST_NAME): Likewise.
7183 * string/test-memcmp.c (TEST_NAME): Likewise.
7184 * string/test-memcpy.c (TEST_NAME): Likewise.
7185 * string/test-memmem.c (TEST_NAME): Likewise.
7186 * string/test-memmove.c (TEST_NAME): Likewise.
7187 * string/test-memset.c (TEST_NAME): Likewise.
7188 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7189 * string/test-stpcpy.c (TEST_NAME): Likewise.
7190 * string/test-stpncpy.c (TEST_NAME): Likewise.
7191 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7192 * string/test-strcasestr.c (TEST_NAME): Likewise.
7193 * string/test-strcat.c (TEST_NAME): Likewise.
7194 * string/test-strchr.c (TEST_NAME): Likewise.
7195 * string/test-strcmp.c(TEST_NAME): Likewise.
7196 * string/test-strcpy.c (TEST_NAME): Likewise.
7197 * string/test-strcspn.c (TEST_NAME): Likewise.
7198 * string/test-strlen.c (TEST_NAME): Likewise.
7199 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7200 * string/test-strncmp.c (TEST_NAME): Likewise.
7201 * string/test-strncpy.c (TEST_NAME): Likewise.
7202 * string/test-strnlen.c (TEST_NAME): Likewise.
7203 * string/test-strpbrk.c (TEST_NAME): Likewise.
7204 * string/test-strrchr.c (TEST_NAME): Likewise.
7205 * string/test-strspn.c (TEST_NAME): Likewise.
7206 * string/test-strstr.c (TEST_NAME): Likewise.
7207 * string/test-bcopy-ifunc.c: New file.
7208 * string/test-bzero-ifunc.c: Likewise.
7209 * string/test-memccpy-ifunc.c: Likewise.
7210 * string/test-memchr-ifunc.c: Likewise.
7211 * string/test-memcmp-ifunc.c: Likewise.
7212 * string/test-memcpy-ifunc.c: Likewise.
7213 * string/test-memmem-ifunc.c: Likewise.
7214 * string/test-memmove-ifunc.c: Likewise.
7215 * string/test-mempcpy-ifunc.c: Likewise.
7216 * string/test-memset-ifunc.c: Likewise.
7217 * string/test-rawmemchr-ifunc.c: Likewise.
7218 * string/test-stpcpy-ifunc.c: Likewise.
7219 * string/test-stpncpy-ifunc.c: Likewise.
7220 * string/test-strcasecmp-ifunc.c: Likewise.
7221 * string/test-strcasestr-ifunc.c: Likewise.
7222 * string/test-strcat-ifunc.c: Likewise.
7223 * string/test-strchr-ifunc.c: Likewise.
7224 * string/test-strchrnul-ifunc.c: Likewise.
7225 * string/test-strcmp-ifunc.c: Likewise.
7226 * string/test-strcpy-ifunc.c: Likewise.
7227 * string/test-strcspn-ifunc.c: Likewise.
7228 * string/test-strlen-ifunc.c: Likewise.
7229 * string/test-strncasecmp-ifunc.c: Likewise.
7230 * string/test-strncat-ifunc.c: Likewise.
7231 * string/test-strncmp-ifunc.c: Likewise.
7232 * string/test-strncpy-ifunc.c: Likewise.
7233 * string/test-strnlen-ifunc.c: Likewise.
7234 * string/test-strpbrk-ifunc.c: Likewise.
7235 * string/test-strrchr-ifunc.c: Likewise.
7236 * string/test-strspn-ifunc.c: Likewise.
7237 * string/test-strstr-ifunc.c: Likewise.
7238
de54b33a
L
7239 * debug/Makefile (tests-ifunc): New variable.
7240 (tests): Add $(tests-ifunc).
7241 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7242 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7243 * debug/test-stpcpy_chk-ifunc.c: New file.
7244 * debug/test-strcpy_chk-ifunc.c: Likewise.
7245
88481c16
SP
72462012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7247
7248 [BZ #13601]
7249 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7250 header is not read in.
7251
135948bd
JM
72522012-10-19 Joseph Myers <joseph@codesourcery.com>
7253
89f1c388
JM
7254 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7255 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7256 directly. Pass built executable to script as
7257 $(built-program-cmd).
7258 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7259 $testprogram without using LD_LIBRARY_PATH and $ldso.
7260
e40a0d21
JM
7261 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7262 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7263 $(rtld-installed-name).
7264 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7265 (rtld_installed_name): Likewise.
7266 (library_path): Likewise.
7267 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7268 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7269 $(run-program-prefix) to tst-tables.sh.
7270 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7271 it to run tst-table-from and tst-table-to.
7272 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7273 Pass it to tst-table.sh.
7274 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7275 $(run-program-prefix) to tst-gettext.sh.
7276 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7277 tst-translit.sh.
7278 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7279 tst-gettext2.sh.
7280 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7281 to run tst-gettext.
7282 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7283 to run tst-gettext2.
7284 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7285 to run tst-translit.
7286 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7287 $(run-program-prefix) to tst-mtrace.sh.
7288 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7289 to run tst-mtrace.
7290 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7291 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7292 $(rtld-installed-name).
7293 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7294 (rtld_installed_name): Likewise.
7295 (run_program_prefix): New variable. Use it to run wordexp-test.
7296
728e272a
JM
7297 * Makeconfig (ARCH): Remove all definitions.
7298 (machine): Likewise.
7299 [ARCH]: Remove conditional code.
7300 [!objdir]: Give error.
7301 [!objdir] (objpfx): Remove.
7302 [!objdir] (common-objpfx): Likewise.
7303 [!objdir] (common-objdir): Likewise.
7304 * configure.in (config_makefile): Remove. Hardcode Makefile in
7305 AC_CONFIG_FILES call.
7306 * configure: Regenerated.
7307
d528cdcf
JM
7308 [BZ #13888]
7309 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7310 or TMPDIR.
7311 (testout): Likewise.
7312
135948bd
JM
7313 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7314 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7315 $(rtld-installed-name).
7316 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7317 (rtld_installed_name): Likwise.
7318 (runit): Remove function.
7319 (run_getconf): New variable, Use it for running getconf binary.
7320
38c78296
L
73212012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7322
7323 [BZ #14716]
7324 * string/test-memmem.c (check_result): New function.
7325 (do_one_test): Use it.
7326 (check1): New function.
7327 (test_main): Use it.
7328
d077f65f
MT
73292012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7330
7331 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7332
ced52c71
JM
73332012-10-18 Joseph Myers <joseph@codesourcery.com>
7334
7335 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7336 (_G_LSEEK64): Likewise.
7337 (_G_MMAP64): Likewise.
7338 (_G_FSTAT64): Likewise.
7339 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7340 (_G_LSEEK64): Likewise.
7341 (_G_MMAP64): Likewise.
7342 (_G_FSTAT64): Likewise.
7343 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7344 unconditional. Call __mmap64 directly.
7345 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7346 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7347 __lseek64 directly.
7348 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7349 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7350 __mmap64 directly.
7351 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7352 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7353 __lseek64 directly.
7354 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7355 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7356 __lseek64 directly.
7357 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7358 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7359 __lseek64 directly.
7360 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7361 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7362 __fxstat64 directly.
7363 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7364 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7365 unconditional.
7366 (freopen64) [!_G_OPEN64]: Remove conditional code.
7367 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7368 unconditional.
7369 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7370 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7371 unconditional.
7372 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7373 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7374 unconditional.
7375 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7376 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7377 unconditional.
7378 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7379 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7380 unconditional.
7381 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7382 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7383 unconditional.
7384 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7385 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7386 unconditional.
7387 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7388
b741de23
SP
73892012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7390
7391 [BZ #12140]
7392 * manual/memory.texi (Malloc Tunable Parameters): Add note
7393 about free list pointers overwriting some perturb bytes.
7394 Wording suggested by Roland McGrath.
7395
f9b9d9c9
JM
73962012-10-17 Joseph Myers <joseph@codesourcery.com>
7397
7398 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7399 (lgamma_test): Likewise.
7400 (tgamma_test): Likewise.
7401
172a631a
FW
74022012-10-16 Florian Weimer <fweimer@redhat.com>
7403
7404 [BZ #14700]
7405 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7406 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7407
e9f37252
MK
74082012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7409
7410 * NEWS: Mention BZ #14716.
7411 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7412 when removing AVAILABLE1_USES_J macro.
7413
d394eb74
L
74142012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7415
7416 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7417 (__bswap_64): __uint64_t for unsigned 64-bit int.
7418
ca38dc17
AS
74192012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7420
7421 * include/string.h (memmem): Declare libc hidden alias.
7422 * string/memmem.c (memmem): Define libc hidden alias.
7423 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7424 __read, __close instead of open, read, close.
7425
9a387d1f
L
74262012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7427
ac49ecaf
L
7428 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7429 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7430 global and hidden.
7431 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7432 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7433 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7434 Likewise.
7435 (__rawmemchr_sse2): Likewise.
7436 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7437 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7438 (__strchr_sse2): Likewise.
7439 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7440 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7441 (__strcasecmp_sse2): Likewise.
7442 (__strncasecmp_sse2): Likewise.
7443 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7444 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7445 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7446 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7447 (__strrchr_sse2): Likewise.
7448 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7449 ifunc-impl-list.c.
7450 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7451 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7452 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7453 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7454 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7455 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7456 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7457 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7458 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7459 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7460 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7461 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7462 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7463 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7464 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7465 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7466 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7467 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7468 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7469 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7470 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7471 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7472 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7473 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7474 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7475 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7476 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7477 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7478 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7479 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7480
b090e8ea
L
7481 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7482 global and hidden.
7483 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7484 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7485 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7486 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7487 Likewise.
7488 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7489 Likewise.
7490 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7491 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7492 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7493 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7494 ifunc-impl-list.c.
7495 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7496 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7497 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7498 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7499 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7500 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7501 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7502 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7503 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7504 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7505 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7506 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7507 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7508 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7509 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7510 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7511 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7512 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7513 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7514 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7515 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7516 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7517 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7518 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7519 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7520 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7521 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7522 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7523 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7524 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7525 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7526 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7527 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7528 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7529 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7530 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7531 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7532 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7533 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7534 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7535 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7536
11dd4af6
L
7537 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7538 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7539 * include/ifunc-impl-list.h: New file.
7540 * misc/ifunc-impl-list.c: Likewise.
7541 * misc/Makefile (routines): Add ifunc-impl-list.
7542 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7543 * string/test-string.h: Include <ifunc-impl-list.h>.
7544 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7545 impl_array): New variables.
7546 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7547 are defined.
7548 (test_init): Call __libc_ifunc_impl_list to initialize
7549 func_list if TEST_IFUNC and TEST_NAME are defined.
7550
9a387d1f
L
7551 * string/Makefile (strop-tests): Add bcopy and bzero.
7552 * string/test-bcopy.c: New file.
7553 * string/test-bzero.c: Likewise.
7554 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7555 defined.
7556 * string/test-memset.c: Support bzero test if TEST_BZERO is
7557 defined.
7558 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7559 __libc_memmove.
7560 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7561 __libc_memset.
7562 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7563 of memset.
7564
472371b9
JM
75652012-10-10 Joseph Myers <joseph@codesourcery.com>
7566
1e4a9536
JM
7567 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7568 * configure: Regenerated.
7569
d173d12e
JM
7570 * Makeconfig (+link-static-before-libc): Don't include
7571 $(link-static-libc).
7572
472371b9
JM
7573 * libio/libio.h (_IO_pos_t): Remove.
7574
89a3ad0b
AO
75752012-10-10 Alexandre Oliva <aoliva@redhat.com>
7576
7577 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7578 McGrath.
7579
e7451425
AO
75802012-10-10 Alexandre Oliva <aoliva@redhat.com>
7581
7582 * crypt/crypt-entry.c: Include fips-private.h.
7583 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7584 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7585 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7586 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7587
4ba74a35
AO
75882012-10-10 Alexandre Oliva <aoliva@redhat.com>
7589
7590 * crypt/crypt-private.h: Include stdbool.h.
7591 (_ufc_setup_salt_r): Return bool.
7592 * crypt/crypt-entry.c: Include errno.h.
7593 (__crypt_r): Return NULL with EINVAL for bad salt.
7594 * crypt/crypt_util.c (bad_for_salt): New.
7595 (_ufc_setup_salt_r): Check that salt is long enough and within
7596 the specified alphabet.
7597 * crypt/badsalttest.c: New file.
7598 * crypt/Makefile (tests): Add it.
7599 ($(objpfx)badsalttest): New.
7600
f96f1242
MK
76012012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7602
7603 * NEWS: Add entry for BZ #14602.
7604
0e8e0c1c
JM
76052012-10-09 Joseph Myers <joseph@codesourcery.com>
7606
7607 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7608 type-generic.
7609 * math/libm-test.inc: Update comment listing what functions and
7610 macros are tested.
7611 (isgreater_test): New function.
7612 (isgreaterequal_test): Likewise.
7613 (isless_test): Likewise.
7614 (islessequal_test): Likewise.
7615 (islessgreater_test): Likewise.
7616 (isunordered_test): Likewise.
7617 (main): Call the new functions.
7618
273edc5e
RM
76192012-10-09 Roland McGrath <roland@hack.frob.com>
7620
b8493de0
RM
7621 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7622 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7623 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7624 * sysdeps/i386/configure: Regenerated.
7625 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7626 * sysdeps/mach/configure: Regenerated.
7627 * sysdeps/mach/hurd/configure: Regenerated.
7628 * sysdeps/powerpc/configure: Regenerated.
7629 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7630 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7631 * sysdeps/s390/s390-32/configure: Regenerated.
7632 * sysdeps/s390/s390-64/configure: Regenerated.
7633 * sysdeps/sh/configure: Regenerated.
7634 * sysdeps/sparc/configure: Regenerated.
7635 * sysdeps/unix/sysv/linux/configure: Regenerated.
7636 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7637 * sysdeps/x86_64/configure: Regenerated.
7638
273edc5e
RM
7639 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7640 defined. Don't check if MAP is NULL.
7641
c8450f70
JM
76422012-10-09 Joseph Myers <joseph@codesourcery.com>
7643
7644 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7645 (_G_stat64): Likewise.
7646 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7647 (_G_stat64): Likewise.
7648 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7649 instead of struct _G_stat64.
7650 * libio/fileops.c (mmap_remap_check): Likewise.
7651 (decide_maybe_mmap): Likewise.
7652 (_IO_new_file_seekoff): Likewise.
7653 (_IO_file_stat): Likewise.
7654 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7655 _G_off64_t.
7656 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7657 instead of struct _G_stat64.
7658 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7659
57e605ba
MK
76602012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7661
7662 [BZ #14602]
7663 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7664 Replace with ...
7665 (CHECK_EOL): New macro.
7666 (two_way_short_needle): Check beginning of haystack for EOL. Use
7667 CHECK_EOL.
7668 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7669 Replace with CHECK_EOL.
7670 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7671 Replace with CHECK_EOL.
7672
ef1bb361
JM
76732012-10-08 Joseph Myers <joseph@codesourcery.com>
7674
7675 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7676 type-generic.
7677 * math/libm-test.inc: Update comment listing what functions and
7678 macros are tested.
7679 (finite_test): New function.
7680 (isinf_test): Likewise.
7681 (isnan_test): Likewise.
7682 (fpclassify_test): Test subnormal input.
7683 (isfinite_test): Likewise.
7684 (isnormal_test): Likewise.
7685 (main): Call the new functions.
7686
55f11534
JN
76872012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7688
7689 [BZ #14660]
7690 * Makerules (%.dynsym): Force C locale when running
7691 $(OBJDUMP) --dynamic-syms.
7692
1ab29350
AS
76932012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7694
7695 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7696 <stdint.h>.
7697
f1ecb7ef
DM
76982012-10-06 David S. Miller <davem@davemloft.net>
7699
7700 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7701 upper 32-bits of the length value in %o2 since we use branch-on-register
7702 tests which consider the entire 64-bit register.
7703
5d41d91a
L
77042012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7705
7706 * string/test-strstr.c (check2): Add a test for page boundary.
7707
3baddb72
DM
77082012-10-05 David S. Miller <davem@davemloft.net>
7709
7710 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7711 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7712 file.
7713 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7714 sysdep_routines.
7715 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7716 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7717 and bzero when HWCAP_SPARC_CRYPTO is present.
7718
9cee5585
L
77192012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7720
d7e0dab9
L
7721 [BZ #14602]
7722 * string/test-strstr.c (check2): New function.
7723 (test_main): Call check2.
7724
03759f47
L
7725 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7726 and bug-strchr1.
7727 * string/bug-strcasestr1.c (do_test): Moved to ...
7728 * string/test-strcasestr.c (check1): Here. New function.
7729 (do_one_test): Break out result checking code into ...
7730 (check_result): This. New function.
7731 (do_one_test): Call check_result.
7732 (test_main): Call check1.
7733 * string/bug-strchr1.c (do_test): Moved to ...
7734 * string/test-strchr.c (check1): Here. New function.
7735 (do_one_test): Break out result checking code into ...
7736 (check_result): This. New function.
7737 (do_one_test): Call check_result.
7738 (test_main): Call check1.
7739 * string/bug-strstr1.c (main): Moved to ...
046f153e 7740 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7741 (do_one_test): Break out result checking code into ...
7742 (check_result): This. New function.
7743 (do_one_test): Call check_result.
7744 (test_main): Call check1.
7745 * string/bug-strcasestr1.c: Removed.
7746 * string/bug-strchr1.c: Likewise.
7747 * string/bug-strstr1.c: Likewise.
7748
53cea63e
L
7749 * elf/Makefile (dl-routines): Add hwcaps.
7750 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7751 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7752 (_dl_important_hwcaps): Moved to ...
7753 * elf/dl-hwcaps.c: Here. New file.
7754 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7755
9cee5585 7756 [BZ #14557]
bb859b06
L
7757 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7758 if IS_IN_rtld isn't defined.
7759
9cee5585
L
7760 * elf/dl-support.c (_dl_sysinfo_map): New.
7761 Include "get-dynamic-info.h" and "setup-vdso.h".
7762 (_dl_non_dynamic_init): Call setup_vdso.
7763 * elf/dynamic-link.h: Don't include <assert.h>.
7764 (elf_get_dynamic_info): Moved to ...
7765 * elf/get-dynamic-info.h: Here. New file.
7766 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7767 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7768 * elf/setup-vdso.h: Here. New file.
7769 * elf/rtld.c: Include "setup-vdso.h".
7770 (dl_main): Call setup_vdso.
7771
23c31b76
JM
77722012-10-05 Joseph Myers <joseph@codesourcery.com>
7773
28234b07
JM
7774 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7775 creal in comment listing functions tested. List finite, isinf,
7776 isnan, isless, islessequal, isgreater, isgreaterequal,
7777 islessgreater, isunordered, lgamma_r and pow10 as functions and
7778 macros not tested. Mention which functions not tested are aliases
7779 for other functions. Fix typo. Note that signs of NaNs are not
7780 tested.
7781
23c31b76
JM
7782 * scripts/config.guess: Update from config.git.
7783 * scripts/config.sub: Likewise.
7784
9043e228
RM
77852012-10-04 Roland McGrath <roland@hack.frob.com>
7786
7787 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7788 * misc/madvise.c (madvise): Renamed to __madvise.
7789 Make madvise a weak alias.
7790 * include/sys/mman.h: Declare __madvise.
7791 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7792 * sysdeps/unix/syscalls.list
7793 (madvise): Make __madvise the strong name, and madvise a weak alias.
7794 * sysdeps/unix/sysv/linux/syscalls.list
7795 (madvise, mmap): Remove redundant entries.
7796 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7797 * malloc/malloc.c (mtrim): Likewise.
7798 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7799
f57f8055
RM
78002012-10-03 Roland McGrath <roland@hack.frob.com>
7801
7802 * sysdeps/mach/hurd/dl-cache.c: File removed.
7803 * config.h.in (USE_LDCONFIG): New #undef.
7804 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7805 * configure: Regenerated.
7806 * elf/Makefile (dl-routines): Add dl-cache only under
7807 [$(use-ldconfig) = yes].
7808 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7809 cache on [USE_LDCONFIG].
7810 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7811 [USE_LDCONFIG].
7812 * elf/rtld.c (dl_main): Likewise.
7813
5bb0c10a
PT
78142012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7815
7816 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7817 _SC_LEVEL4_CACHE_LINESIZE.
7818
010188c6
RM
78192012-10-03 Roland McGrath <roland@hack.frob.com>
7820
7821 * sysdeps/unix/bsd/confstr.h: File removed.
7822
b6c5ec07
AO
78232012-10-02 Alexandre Oliva <aoliva@redhat.com>
7824
7825 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7826 sys/sdt-config.h.
7827
408223d4
RM
78282012-10-02 Roland McGrath <roland@hack.frob.com>
7829
7830 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7831 Make 'mapoff' field ElfW(Off) rather than off_t.
7832
bb9510dc
DL
78332012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7834
fc997c6e
DL
7835 * nscd/Makefile: Remove nscd-cflags and all its users.
7836 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7837 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7838
bb9510dc
DL
7839 [BZ #10631]
7840 * malloc.c (malloc_printerr): Clarify error message.
7841
05699367
L
78422012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7843
7844 [BZ #14648]
7845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7846 Set bit_FMA_Usable if FMA is supported.
7847 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7848 macro.
7849 (bit_FMA4_Usable): Updated.
7850 (index_FMA_Usable): New macro.
7851 (CPUID_FMA): Likewise
7852 (HAS_FMA): Defined with bit_FMA_Usable.
7853
51367701
RM
78542012-10-01 Roland McGrath <roland@hack.frob.com>
7855
7856 * bits/types.h (__swblk_t): Type removed.
7857 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7858 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7859 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7860 (__SWBLK_T_TYPE): Likewise.
7861 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7862 (__SWBLK_T_TYPE): Likewise.
7863 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7864 (__SWBLK_T_TYPE): Likewise.
7865 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7866 (__SWBLK_T_TYPE): Likewise.
7867
4d57bf63 78682012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7869 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7870
7871 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7872 (xdr_mapname): Use YPMAXMAP as maxsize.
7873 (xdr_peername): Use YPMAXPEER as maxsize.
7874 (xdr_keydat): Use YPAXRECORD as maxsize.
7875 (xdr_valdat): Use YPMAXRECORD as maxsize.
7876
93c65d43
RM
78772012-10-01 Roland McGrath <roland@hack.frob.com>
7878
497a03d6
RM
7879 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7880
93c65d43
RM
7881 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7882 * csu/init-first.c: ... here.
7883 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7884 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7885 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7886 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7887 * sysdeps/i386/init-first.c: File removed.
7888 * sysdeps/sh/init-first.c: File removed.
7889
bec749fd
JM
78902012-10-01 Joseph Myers <joseph@codesourcery.com>
7891
7892 [BZ #14645]
7893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7894 if x * y might underflow to zero and z is zero.
7895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7896 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7897 * math/libm-test.inc (min_subnorm_value): New variable.
7898 (fma_test): Add more tests.
7899 (fma_test_towardzero): Likewise.
7900 (fma_test_downward): Likewise
7901 (fma_test_upward): Likewise.
7902 (initialize): Set min_subnorm_value.
7903
8ec5b013
JM
79042012-09-29 Joseph Myers <joseph@codesourcery.com>
7905
7906 [BZ #14638]
7907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7908 0 + 0.
7909 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7910 mode for addition resulting in exact zero.
7911 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7912 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7913 exact 0 + 0.
7914 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7915 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7916 * math/libm-test.inc (fma_test): Add more tests.
7917 (fma_test_towardzero): New function.
7918 (fma_test_downward): Likewise.
7919 (fma_test_upward): Likewise.
7920 (main): Call the new functions.
7921
b1fa802e
DM
79222012-09-28 David S. Miller <davem@davemloft.net>
7923
7924 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7925
d3b9fd9e
RM
79262012-09-28 Roland McGrath <roland@hack.frob.com>
7927
ea4d37b3
RM
7928 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7929 instead of SIGALRM.
7930
ac51c949
RM
7931 * sysdeps/gnu/_G_config.h: Moved to ...
7932 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7933 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7934 * sysdeps/generic/_G_config.h: ... here.
7935
28c195f7
RM
7936 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7937
848917f9
RM
7938 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7939
6bacf05b
RM
7940 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7941 Conditionalize target on [libnss_test1.so-version].
7942
91363dbb
RM
7943 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7944
cc87f7d8
RM
7945 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7946 (elfobjdir): Move out of conditionals.
7947
b1c608fe
RM
7948 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7949 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7950 (__nss_lookup_function): Conditionalize label remove_from_tree on
7951 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 7952
1d9a6d96
DM
79532012-09-28 David S. Miller <davem@davemloft.net>
7954
7955 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7956 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7957 file.
7958 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7959 sysdep_routines.
7960 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7961 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7962 when HWCAP_SPARC_CRYPTO is present.
7963
72581615
PT
79642012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7965
7966 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7967
715a900c
JL
79682012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7969
7970 [BZ #6530]
7971 * stdio-common/vfprintf.c (process_string_arg): Revert
7972 2000-07-22 change.
7973
79742011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7975
7976 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7977 for testcase.
7978 * stdio-common/tst-sprintf.c: Include <locale.h>
7979 (main): Test sprintf's handling of incomplete multibyte
7980 characters.
7981
9bac1d86
L
79822012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7983
7984 * elf/dl-runtime.c (VERSYMIDX): Removed.
7985 * elf/dl-version.c (VERSYMIDX): Likewise.
7986 * elf/do-rel.h (VERSYMIDX): Likewise.
7987 (VALIDX): Likewise.
7988 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7989 * elf/rtld.c (VALIDX): Likewise.
7990 (ADDRIDX): Likewise.
9bac1d86
L
7991 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7992 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7993 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
7994 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7995 (VALIDX): Likewise.
7996 (ADDRIDX): Likewise.
9bac1d86 7997
b31606c0
PT
79982012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7999
8000 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8001
11541177
JL
80022012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8003
8004 [BZ #11438]
8005 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8006 to global scope.
8007 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8008 addresses are in the same scope as 192.0.2/24.
8009 * posix/gai.conf: Document new scope table defaults.
8010
adb26fae
SP
80112012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8012
8013 [BZ #5298]
8014 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8015 for ftell. Compute offsets from write pointers instead.
8016 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8017
4573c6b0
SP
80182012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8019
8020 [BZ #14543]
8021 * libio/Makefile (tests): New test case tst-fseek.
8022 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8023 combination works in wide mode.
8024 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8025 state when the external buffer state changes.
8026
aa9bbfe6
DM
80272012-09-27 David S. Miller <davem@davemloft.net>
8028
8029 [BZ #14376]
8030 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8031 pass reloc->r_addend in as the 'high' argument to
8032 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8033
784421e7
DM
8034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8035
c39bc8b8
PT
80362012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8037
8038 * rt/tst-aio2.c: Include <pthread.h>.
8039 * rt/tst-aio3.c: Likewise.
8040
1ccc2399
SE
80412012-09-27 Steve Ellcey <sellcey@mips.com>
8042
8043 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8044
31ed4153
L
80452012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8046
25f5f885
L
8047 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8048 contents on [SHARED].
31ed4153 8049
b7bfe116
MP
80502012-09-26 Marek Polacek <polacek@redhat.com>
8051
8052 [BZ #14530]
8053 [BZ #13741]
8054 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8055 for C++ and GCC <4.3 as well as for non GCC compilers.
8056
43c4edba
MT
80572012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8058
8059 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8060
6a1bf82f
RM
80612012-09-25 Roland McGrath <roland@hack.frob.com>
8062
8063 * Makefile.in (all, install): Declare with .PHONY.
8064 Reported by Michael Hope <michael.hope@linaro.org>.
8065
8ad11b9a
TMQMF
80662012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8067
8068 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8069 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8070 system header.
8071 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8072 Likewise.
8073 (sydep_routines): Add the new and the internal functions.
8074 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8075 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8077 (GLIBC_2.17): Add the new function.
8078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8079 (GLIBC_2.17): Likewise.
8080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8081 (GLIBC_2.17): Likewise.
8082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8083 (GLIBC_2.17): Likewise.
8084 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8085
7e2fca8d
AM
80862012-09-25 Alan Modra <amodra@gmail.com>
8087
8088 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8089 Add release barrier before setting once_control to say
8090 initialisation is done. Add hints on lwarx. Use macro in
8091 place of isync.
8092 (clear_once_control): Add release barrier.
8093
b87c4b24
JM
80942012-09-25 Joseph Myers <joseph@codesourcery.com>
8095
d032e0d2
JM
8096 [BZ #13629]
8097 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8098 specially.
8099 * math/s_clog10.c (__clog10): Likewise.
8100 * math/s_clog10f.c (__clog10f): Likewise.
8101 * math/s_clog10l.c (__clog10l): Likewise.
8102 * math/s_clogf.c (__clogf): Likewise.
8103 * math/s_clogl.c (__clogl): Likewise.
8104 * math/Makefile (libm-calls): Add x2y2m1.
8105 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8106 (__x2y2m1): Likewise.
8107 (__x2y2m1l): Likewise.
8108 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8109 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8110 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8111 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8112 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8113 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8114 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8115 * sysdeps/i386/fpu/libm-test-ulps: Update.
8116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8117
b87c4b24
JM
8118 [BZ #14621]
8119 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8120 int as type of variable DEPTH.
8121 (glob): Use size_t instead of int as type of variables NEWCOUNT
8122 and OLD_PATHC.
8123
6d3bf199
LD
81242012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8125
22bf5c17
LD
8126 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8127 Add s_sincosf-sse2.
8128 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8129 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8130 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8131 macros for using routine as __sincosf_ia32.
8132 Use macro for function declaration and weak_alias.
8133 * sysdeps/i386/fpu/libm-test-ulps: Update.
8134
8135 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8137
8138 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8139 subnormal argument.
8140 * math/s_cexpf.c (__cexpf): Likewise.
8141 * math/s_csinf.c (__csinf): Likewise.
8142 * math/s_csinhf.c (__csinhf): Likewise.
8143 * math/s_ctanf.c (__ctanf): Likewise.
8144 * math/s_ctanhf.c (__ctanhf): Likewise.
8145 * math/s_ccosh.c (__ccoshf): Likewise.
8146 * math/s_cexp.c (__cexpl): Likewise.
8147 * math/s_csin.c (__csin): Likewise.
8148 * math/s_csinh.c (__csinh): Likewise.
8149 * math/s_ctan.c (__ctan): Likewise.
8150 * math/s_ctanh.c (ctanh): Likewise.
8151 * math/s_ccoshl.c (__ccoshl): Likewise.
8152 * math/s_cexpl.c (__cexpl): Likewise.
8153 * math/s_csinl.c (__csinl): Likewise.
8154 * math/s_csinhl.c (__csinhl): Likewise.
8155 * math/s_ctanl.c (__ctanl): Likewise.
8156 * math/s_ctanhl.c (__ctanhl): Likewise.
8157
203e5603
JM
81582012-09-25 Joseph Myers <joseph@codesourcery.com>
8159
8160 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8161 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8162 (_IO_off_t): Define to __off_t, not _G_off_t.
8163 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8164 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8165 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8166 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8167 type of __dummy and __dummy2 fields.
8168 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8169 (_G_ssize_t): Likewise.
8170 (_G_off_t): Likewise.
8171 (_G_pid_t): Likewise.
8172 (_G_uid_t): Likewise.
8173 (_G_wchar_t): Likewise.
8174 (_G_wint_t): Likewise.
8175 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8176 (_G_ssize_t): Likewise.
8177 (_G_off_t): Likewise.
8178 (_G_pid_t): Likewise.
8179 (_G_uid_t): Likewise.
8180 (_G_wchar_t): Likewise.
8181 (_G_wint_t): Likewise.
8182 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8183 (_G_ssize_t): Likewise.
8184 (_G_off_t): Likewise.
8185 (_G_pid_t): Likewise.
8186 (_G_uid_t): Likewise.
8187 (_G_wchar_t): Likewise.
8188 (_G_wint_t): Likewise.
8189
9fab36eb
SP
81902012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8191
8192 * malloc/arena.c: Include malloc-sysdep.h.
8193 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8194 is sufficient to shrink the heap or an unmap is needed.
8195 * sysdeps/generic/malloc-sysdep.h: New file. Define
8196 new function check_may_shrink_heap.
8197 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8198 new function check_may_shrink_heap.
8199
2b4f00d1
SP
82002012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8201
8202 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8203 comments.
8204
9a9028b1
DL
82052012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8206
57c69bef
DL
8207 * catgets/test-gencat.sh: Add "set -e".
8208 * elf/tst-pathopt.sh: Likewise.
8209 * grp/tst_fgetgrent.sh: Likewise.
8210 * iconvdata/run-iconv-test.sh: Likewise.
8211 * intl/tst-gettext.sh: Likewise.
8212 * intl/tst-gettext2.sh: Likewise.
8213 * intl/tst-gettext4.sh: Likewise.
8214 * intl/tst-gettext6.sh: Likewise.
8215 * intl/tst-translit.sh: Likewise.
8216 * io/ftwtest-sh: Likewise.
8217 * libio/test-freopen.sh: Likewise.
8218 * malloc/tst-mtrace.sh: Likewise.
8219 * posix/globtest.sh: Likewise.
8220 * posix/tst-getconf.sh: Likewise.
8221 * posix/wordexp-tst.sh: Likewise.
8222 * stdio-common/tst-printf.sh: Likewise.
8223 * stdio-common/tst-unbputc.sh: Likewise.
8224 * stdlib/tst-fmtmsg.sh: Likewise.
8225 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8226 * catgets/Makefile: Do not specify -e option when running
8227 testsuite shell scripts.
8228 * elf/Makefile: Likewise.
8229 * grp/Makefile: Likewise.
8230 * iconvdata/Makefile: Likewise.
8231 * intl/Makefile: Likewise.
8232 * io/Makefile: Likewise.
8233 * libio/Makefile: Likewise.
8234 * malloc/Makefile: Likewise.
8235 * posix/Makefile: Likewise.
8236 * stdio-common/Makefile: Likewise.
8237 * stdlib/Makefile: Likewise.
8238 * sysdeps/x86_64/Makefile: Likewise.
8239
9a9028b1
DL
8240 * io/ftwtest-sh: Add copyright header.
8241 * posix/globtest.sh: Likewise.
8242 * posix/tst-getconf.sh: Likewise.
8243 * posix/wordexp-tst.sh: Likewise.
8244 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8245
ced6f16e
L
82462012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8247
94b32c39
L
8248 [BZ #13679]
8249 * Makeconfig (+link): Defined as $(+link-static) if
8250 $(build-shared) isn't yes.
8251 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8252 isn't yes.
8253 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8254
189e935b
L
8255 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8256
ced6f16e
L
8257 [BZ #14562]
8258 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8259 new chunk size with MALLOC_ALIGN_MASK.
8260
a9f8e53a
JM
82612012-09-24 Joseph Myers <joseph@codesourcery.com>
8262
8263 [BZ #5044]
8264 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8265 <rounding-mode.h>.
8266 (__printf_fphex): Determine rounding using get_rounding_mode and
8267 round_away.
8268 * stdio-common/tst-printf-round.c (struct hex_test): New
8269 structure.
8270 (hex_tests): New variable.
8271 (test_hex_in_one_mode): New function.
8272 (do_test): Also run tests for hex float output.
8273
43153109
JM
82742012-09-21 Joseph Myers <joseph@codesourcery.com>
8275
8276 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8277 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8278 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8279 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8280 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8281 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8282 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8283 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8284
8a26625d
JM
82852012-09-20 Joseph Myers <joseph@codesourcery.com>
8286
8287 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8288 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8289 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8290 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8291
f3fd569c
DL
82922012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8293
8294 [BZ #14579]
8295 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8296 mode only.
8297 * elf/tst-rtld-load-self.sh: New test.
8298 * elf/Makefile: Run it.
8299
63bbedd4
JM
83002012-09-18 Joseph Myers <joseph@codesourcery.com>
8301
8302 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8303 (tst-writev-ENV): Remove.
8304 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8305
626f8b6a
CM
83062012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8307
8308 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8309
b7aaa4d6
JM
83102012-09-17 Joseph Myers <joseph@codesourcery.com>
8311
8312 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8313 unconditional.
8314 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8315 Likewise.
8316 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8317 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8318 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8319 Likewise.
8320
65513990
L
83212012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8322
8323 [BZ #14587]
8324 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8325 * config.make.in (have-cpp-asm-debuginfo): Removed.
8326 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8327 * configure: Regenerated.
8328
784761be
JM
83292012-09-14 Joseph Myers <joseph@codesourcery.com>
8330
8331 [BZ #5044]
8332 * stdio-common/printf_fp.c: Include <stdbool.h> and
8333 <rounding-mode.h>.
8334 (___printf_fp): Determine rounding using get_rounding_mode and
8335 round_away.
8336 * stdio-common/tst-printf-round.c: New file.
8337 * stdio-common/Makefile (tests): Add tst-printf-round.
8338 (link-libm): New variable.
8339 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8340
9503345f
L
83412012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8342
8343 [BZ #14576]
8344 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8345 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8346 Likewise.
8347 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8348 Likewise.
8349
ad35fc00
JM
83502012-09-13 Joseph Myers <joseph@codesourcery.com>
8351
8352 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8353 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8354 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8355 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8356
6c9b0f68
JM
83572012-09-12 Joseph Myers <joseph@codesourcery.com>
8358
8359 [BZ #14518]
8360 * include/rounding-mode.h: New file.
8361 * sysdeps/generic/get-rounding-mode.h: Likewise.
8362 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8363 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8364 (MAX_VALUE): New macro.
8365 (MIN_VALUE): Likewise.
8366 (overflow_value): New function.
8367 (underflow_value): Likewise.
8368 (round_and_return): Use overflow_value and underflow_value to
8369 determine return values in overflow and underflow cases. Use
8370 round_away to determine rounding depending on rounding mode.
8371 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8372 determine return values in overflow and underflow cases.
8373 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8374 (struct test_results): New structure.
8375 (struct test): Use struct test_results to store expected results
8376 for all rounding modes.
8377 (TEST): Include expected results for all rounding modes.
8378 (test_in_one_mode): New function.
8379 (do_test): Use test_in_one_mode to compute and check results.
8380 Check results for all rounding modes.
8381 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8382 $(link-libm).
8383
19fcedd5
AM
83842012-12-09 Allan McRae <allan@archlinux.org>
8385
1e9d84cd 8386 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8387
8bbfd2f1
JM
83882012-09-11 Joseph Myers <joseph@codesourcery.com>
8389
8390 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8391 (_G_int32_t): Likewise.
8392 (_G_uint16_t): Likewise.
8393 (_G_uint32_t): Likewise.
8394 (_G_HAVE_BOOL): Likewise.
8395 (_G_HAVE_ATEXIT): Likewise.
8396 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8397 (_G_HAVE_IO_FILE_OPEN): Likewise.
8398 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8399 (_G_int32_t): Likewise.
8400 (_G_uint16_t): Likewise.
8401 (_G_uint32_t): Likewise.
8402 (_G_HAVE_BOOL): Likewise.
8403 (_G_HAVE_ATEXIT): Likewise.
8404 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8405 (_G_HAVE_IO_FILE_OPEN): Likewise.
8406 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8407 (_G_int32_t): Likewise.
8408 (_G_uint16_t): Likewise.
8409 (_G_uint32_t): Likewise.
8410 (_G_HAVE_BOOL): Likewise.
8411 (_G_HAVE_ATEXIT): Likewise.
8412 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8413 (_G_HAVE_IO_FILE_OPEN): Likewise.
8414
b1dc5912
L
84152012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8416
8417 * csu/libc-tls.c: Update copyright years.
8418
0e886ef9
JM
84192012-09-10 Joseph Myers <joseph@codesourcery.com>
8420
28361c5e
JM
8421 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8422 [!_G_USING_THUNKS]: Remove conditional code.
8423 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8424 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8425
0e886ef9
JM
8426 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8427 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8428 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8429 (_G_VTABLE_LABEL_PREFIX): Likewise.
8430 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8431 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8432 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8433 (_G_VTABLE_LABEL_PREFIX): Likewise.
8434 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8435 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8436 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8437 (_G_VTABLE_LABEL_PREFIX): Likewise.
8438 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8439
bcba7aa2
L
84402012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8441
8442 * libio/Makefile: Include ../Makeconfig before tests.
8443 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8444 only if $(build-shared) is yes.
8445
06585ee8
L
8446 * iconv/gconv_db.c: Update copyright years.
8447
80ccd52c
LD
84482012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8449
8450 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8451 unwind info if defined PIC. Fix special cases description.
8452 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8453
8454 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8455 DP_HI_MASK entry.
8456 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8457
691bc9c1
L
84582012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8459
3d9b46b3
L
8460 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8461
de2139a9
L
8462 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8463 is NULL.
8464
5ca78dd0
L
8465 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8466 (LDLIBS-tst-chk4): This.
8467 (LDFLAGS-tst-chk5): Renamed to ...
8468 (LDLIBS-tst-chk5): This.
8469 (LDFLAGS-tst-chk6): Renamed to ...
8470 (LDLIBS-tst-chk6): This.
8471 (LDFLAGS-tst-lfschk4): Renamed to ...
8472 (LDLIBS-tst-lfschk4): This.
8473 (LDFLAGS-tst-lfschk5): Renamed to ...
8474 (LDLIBS-tst-lfschk5): This.
8475 (LDFLAGS-tst-lfschk6): Renamed to ...
8476 (LDLIBS-tst-lfschk6): This.
8477
691bc9c1
L
8478 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8479 on $(common-objpfx)soversions.mk.
8480
65cafb1c
JM
84812012-09-07 Joseph Myers <joseph@codesourcery.com>
8482
8483 [BZ #10014]
8484 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8485 example host name.
8486
c78ab094
SP
84872012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8488
8489 * malloc/arena.c (arena_get_retry): New function that gets
8490 another arena for the caller to try its request on.
8491 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8492 current arena cannot fulfill the request.
8493 (__libc_memalign): Likewise.
8494 (__libc_memalign): Likewise.
8495 (__libc_pvalloc): Likewise.
8496 (__libc_calloc): Likewise.
8497
01f49f59
JT
84982012-09-05 John Tobey <john.tobey@gmail.com>
8499
8500 [BZ #13542]
8501 * manual/arith.texi (Operations on Complex): Fix description
8502 of carg branch cut.
8503
4c23fed5
JM
85042012-09-06 Joseph Myers <joseph@codesourcery.com>
8505
1d3c8572
JM
8506 [BZ #10014]
8507 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8508 host name.
8509
4c23fed5
JM
8510 [BZ #10038]
8511 * manual/memory.texi (Memory): Make order of menu items match
8512 order of sections.
8513
04570aaa
L
85142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8515
8516 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8517 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8518 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8519
b80af2f4
L
85202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8521
8522 * csu/libc-tls.c (static_dtv): Renamed to ...
8523 (_dl_static_dtv): This. Make it global.
8524 (_dl_initial_dtv): Removed.
8525 (__libc_setup_tls): Updated.
8526 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8527 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8528 DL_INITIAL_DTV.
8529
2abe9f15
PM
85302012-09-06 Petr Machata <pmachata@redhat.com>
8531
8532 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8533 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8534 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8535 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8536
0948c3af
L
85372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8538
8539 [BZ #14545]
8540 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8541 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8542 freeing dtv[-1].
8543
a5055ad1
L
85442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8545
8546 [BZ #14544]
8547 * Makeconfig (link-static-before-libc): Replace $(+prector)
8548 with $(+prectorT).
8549 (link-static-after-libc): Replace $(+postctor) with
8550 $(+postctorT).
8551 (link-bounded): Replace $(+prector)/$(+postctor) with
8552 $(+prectorT)/$(+postctorT).
8553 (+prectorT): New macro.
8554 (+postctorT): Likewise.
8555
ed8c2ecd
JM
85562012-09-06 Joseph Myers <joseph@codesourcery.com>
8557
8558 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8559 (round_str): Handle values above the maximum for IBM long double
8560 as inexact.
8561 * stdlib/tst-strtod-round.c (tests): Regenerated.
8562
14c996c8
AK
85632012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8564
8565 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8566 assembler flag.
8567 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8568 zarch_nohighgprs around the zarch optimized routines.
8569 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8570 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8571 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8572 for zarch.
8573
430d6ce6
DM
85742012-09-05 David S. Miller <davem@davemloft.net>
8575
8576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8577
ff04dda4
DM
8578 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8579 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8580 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8581 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8582 entries.
8583
24d4e01b
AO
85842012-09-05 Alexandre Oliva <aoliva@redhat.com>
8585
8586 * malloc/arena.c: Fold copyright years.
8587 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8588
61d58174
AO
85892012-09-05 Alexandre Oliva <aoliva@redhat.com>
8590
8591 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8592
20196a5e
AO
85932012-09-05 Alexandre Oliva <aoliva@redhat.com>
8594
8595 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8596
5c447383
AO
85972012-09-05 Alexandre Oliva <aoliva@redhat.com>
8598
8599 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8600 change internal state upon failure.
8601
fad64255
AO
86022012-09-05 Alexandre Oliva <aoliva@redhat.com>
8603
8604 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8605 * malloc/memusage.c (mmap): Likewise.
8606 (mmap64, mremap): Likewise. Adjust name in comment.
8607
1ffb8c90
SP
86082012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8609
8610 * libio/fileops.c: Fix typos in comments.
8611 * libio/oldfileops.c: Likewise.
8612 * libio/wfileops.c: Likewise.
8613
6ef9cc37
SP
86142012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8615
8616 [BZ #1349]
8617 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8618 (tst-malloc-usable-ENV): Set environment for test case.
8619 * malloc/hooks.c (malloc_check_get_size): New function to get
8620 requested size.
8621 * malloc/malloc.c (musable): Use malloc_check_get_size.
8622 * malloc/tst-malloc-usable.c: New test case.
8623
4d038ae3
AS
86242012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8625
8626 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8627
c4e85184
AM
86282012-09-05 Allan McRae <allan@archlinux.org>
8629
b9dafc56 8630 [BZ #13966]
c4e85184
AM
8631 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8632 determine header location.
8633 * configure: Regenerated.
8634
e1343020
AS
86352012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8636
8637 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8638 float format.
8639 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8640 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8641 format.
e1343020
AS
8642 (test): Regenerate.
8643
0a9f1987
DM
86442012-09-04 David S. Miller <davem@davemloft.net>
8645
8646 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8647 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8648 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8649
29237804
FW
86502012-09-04 Florian Weimer <fweimer@redhat.com>
8651
8652 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8653 failures.
8654
edb3cb88
FW
8655 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8656
60160d83
JM
86572012-09-04 Joseph Myers <joseph@codesourcery.com>
8658
8659 [BZ #9914]
8660 * libio/iogetdelim.c: Include <limits.h>.
8661 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8662 + len + 1 would overflow.
8663
bcd6c8dc
AJ
86642012-09-03 Andreas Jaeger <aj@suse.de>
8665
8666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8667 * sysdeps/i386/fpu/libm-test-ulps: Update.
8668
4ffffbd2
LD
86692012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8670
8671 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8672 Add s_sinf-sse2, s_conf-sse2.
8673
8674 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8675 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8676 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8677 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8678
8679 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8680 for using routine as __sinf_ia32.
8681 Use macro for function declaration and weak_alias.
8682 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8683 for using routine as __cosf_ia32.
8684 Use macro for function declaration and weak_alias.
8685
8686 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8687 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8688
8689 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8690 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8692
8693 * math/libm-test.inc (cos_test): Add more test cases.
8694 (sin_test): Likewise.
8695 (sincos_test): Likewise.
8696
511fa286
AK
86972012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8698
8699 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8700 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8701 hidden.
8702 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8703
5f30cfec
L
87042012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8705
8706 [BZ #14538]
8707 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8708 first element of the GOT.
8709 (elf_machine_load_address): Return the difference between
8710 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8711
0786794f
AM
87122012-09-01 Allan McRae <allan@archlinux.org>
8713
5f30cfec
L
8714 [BZ #13412]
8715 * configure.in (AWK): Require gawk version 3.0 or later.
8716 * configure: Regenerated.
0786794f 8717
26889eac
JM
87182012-09-01 Joseph Myers <joseph@codesourcery.com>
8719
8720 * sysdeps/unix/sysv/linux/kernel-features.h
8721 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8722 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8723 [__NR_clock_getres]: Make code unconditional.
8724 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8725 (clock_getcpuclockid): Remove code left unreachable by removal of
8726 conditionals.
8727 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8728 code unconditional.
8729 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8730 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8731 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8732 Make code unconditional.
8733 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8734 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8735 * sysdeps/unix/sysv/linux/clock_settime.c
8736 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8737 conditional code.
8738 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8739 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8740
d22e28b0
L
87412012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8742
8743 [BZ #14476]
8744 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8745 scripts/test-installation.pl.
8746
8747 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8748 and $ld_so_version if it is set.
8749
050af9c4
SP
87502012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8751
8752 [BZ #14516]
8753 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8754 failure if reading from procfs failed.
8755 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8756
ad845c0b
JM
87572012-08-27 Joseph Myers <joseph@codesourcery.com>
8758
8759 * sysdeps/unix/sysv/linux/kernel-features.h
8760 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8761 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8762 Remove conditional code.
8763 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8764 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8765 Remove conditional code.
8766 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8767 * sysdeps/unix/sysv/linux/i386/fxstat.c
8768 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8769 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8770 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8771 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8773 * sysdeps/unix/sysv/linux/i386/lxstat.c
8774 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8776 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8777 Remove conditional code.
8778 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8779 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8780 Remove conditional code.
8781 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8782 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8783 <kernel-features.h>.
8784 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8785 Remove.
8786 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8787 Remove conditional code.
8788 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8789 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8790 Remove conditional.
8791
5dbf56af
MF
87922012-08-27 Mike Frysinger <vapier@gentoo.org>
8793
8794 [BZ #5400]
8795 * NEWS: Add fixed bug number.
8796
d6e70f43
JM
87972012-08-27 Joseph Myers <joseph@codesourcery.com>
8798
7efb4737
JM
8799 [BZ #14519]
8800 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8801 underflowing exponent in case of negative sign.
8802 * stdlib/tst-strtod-round-data: Add more tests.
8803 * stdlib/tst-strtod-round.c (tests): Regenerated.
8804
af92131a
JM
8805 [BZ #3479]
8806 * stdlib/strtod_l.c (NDIG): Remove.
8807 (HEXNDIG): Likewise.
8808 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8809 smallest representable value.
8810 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8811 lie within an exact representation of 1/2 ulp of the result.
8812 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8813 unconditionally.
8814 (TENS_P9_IDX): Define unconditionally.
8815 (TENS_P9_SIZE): Likewise.
8816 (TENS_P10_IDX): Likewise.
8817 (TENS_P10_SIZE): Likewise.
8818 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8819 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8820 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8821 entries for 10^2^13 and 10^2^14.
8822 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8823 (TENS_P13_IDX): Define.
8824 (TENS_P13_SIZE): Likewise.
8825 (TENS_P14_IDX): Likewise.
8826 (TENS_P14_SIZE): Likewise.
8827 (_fpioconst_pow10): Change array size to
8828 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8829 unconditional.
8830 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8831 1024]: Add entries for 10^2^13 and 10^2^14.
8832 [LAST_POW10 > _LAST_POW10]: Remove #error.
8833 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8834 (_fpioconst_pow10): Change array size to
8835 FPIOCONST_POW10_ARRAY_SIZE.
8836 * stdlib/gen-fpioconst.c: New file.
8837 * stdlib/gen-tst-strtod-round.c: Likewise.
8838 * stdlib/tst-strtod-round-data: Likewise.
8839 * stdlib/tst-strtod-round.c: Likewise.
8840 * stdlib/Makefile (tests): Add tst-strtod-round.
8841
d6e70f43
JM
8842 [BZ #14459]
8843 * stdlib/strtod_l.c: Include <stdint.h>.
8844 (NDEBUG): Do not define.
8845 (round_and_return): Change EXPONENT parameter to type intmax_t.
8846 Rearrange calculations to avoid internal overflow possibilities.
8847 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8848 Rearrange calculations to avoid internal overflow possibilities.
8849 Assert that number fits inside MPNSIZE limbs.
8850 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8851 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8852 calculations and add assertions to avoid internal overflow
8853 possibilities. Add casts to avoid signed/unsigned operations.
8854 * stdlib/tst-strtod-overflow.c: New file.
8855 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8856
1f529f7d
MP
88572012-08-25 Marek Polacek <polacek@redhat.com>
8858
8859 * time/time.h: Fix some typos in comments.
8860
59a629f1
RM
88612012-08-23 Roland McGrath <roland@hack.frob.com>
8862
8863 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8864 * posix/tst-rfc3484-2.c: Likewise.
8865 * posix/tst-rfc3484-3.c: Likewise.
8866
d3bafbc9
SM
88672012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8868
8869 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8870 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8871
4efcc022
JM
88722012-08-23 Joseph Myers <joseph@codesourcery.com>
8873
8874 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8875 #include of fxstatat64.c.
8876
3cc3ef96
RM
88772012-08-22 Roland McGrath <roland@hack.frob.com>
8878
f04e2132
RM
8879 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8880 * shadow/getspent_r.c: Likewise.
8881 * shadow/getspnam.c: Likewise.
8882 * shadow/getspnam_r.c: Likewise.
8883 * gshadow/getsgent.c: Likewise.
8884 * gshadow/getsgent_r.c: Likewise.
8885 * gshadow/getsgnam.c: Likewise.
8886 * gshadow/getsgnam_r.c: Likewise.
8887 * inet/getnetbyad.c: Likewise.
8888 * inet/getnetbyad_r.c: Likewise.
8889 * inet/getnetbynm.c: Likewise.
8890 * inet/getnetbynm_r.c: Likewise.
8891 * inet/getnetent.c: Likewise.
8892 * inet/getnetent_r.c: Likewise.
8893 * inet/getproto.c: Likewise.
8894 * inet/getproto_r.c: Likewise.
8895 * inet/getprtent.c: Likewise.
8896 * inet/getprtent_r.c: Likewise.
8897 * inet/getprtname.c: Likewise.
8898 * inet/getprtname_r.c: Likewise.
8899 * inet/getrpcbyname.c: Likewise.
8900 * inet/getrpcbyname_r.c: Likewise.
8901 * inet/getrpcbynumber.c: Likewise.
8902 * inet/getrpcbynumber_r.c: Likewise.
8903 * inet/getrpcent.c: Likewise.
8904 * inet/getrpcent_r.c: Likewise.
8905 * inet/getaliasent.c: Likewise.
8906 * inet/getaliasent_r.c: Likewise.
8907 * inet/getaliasname.c: Likewise.
8908 * inet/getaliasname_r.c: Likewise.
8909 * nscd/getgrgid_r.c: Likewise.
8910 * nscd/getgrnam_r.c: Likewise.
8911 * nscd/gethstbyad_r.c: Likewise.
8912 * nscd/gethstbynm3_r.c: Likewise.
8913 * nscd/getpwnam_r.c: Likewise.
8914 * nscd/getpwuid_r.c: Likewise.
8915 * nscd/getsrvbynm_r.c: Likewise.
8916 * nscd/getsrvbypt_r.c: Likewise.
8917 * nscd/gai.c: Likewise.
8918
c53d909c
RM
8919 * configure.in (build_nscd): New substituted variable, set
8920 by --disable-build-nscd and defaults to $use_nscd.
8921 * configure: Regenerated.
8922 * config.make.in (build-nscd): New substituted variable.
8923 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8924 Change conditional to require [$(build-nscd) = yes] as well.
8925 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8926
3cc3ef96
RM
8927 [BZ# 13696]
8928 * configure.in (use_nscd): New substituted variable, set by
8929 --disable-nscd. If enabled, define USE_NSCD.
8930 * configure: Regenerated.
8931 * config.h.in: Add USE_NSCD.
8932 * config.make.in (use-nscd): New substituted variable.
8933 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8934 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8935 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8936 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8937 (CFLAGS-getgrnam_r.c): Likewise.
8938 (CFLAGS-initgroups.c): Likewise.
8939 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8940 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8941 Variables removed.
8942 * inet/getnetgrent_r.c
8943 (nscd_setnetgrent): New function, broken out of ...
8944 (setnetgrent): ... here. Call it.
8945 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8946 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8947 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8948 * nscd/Makefile (routines, aux): Move definitions after include of
8949 Makeconfig. Conditionalize on [$(use-nscd) != no].
8950 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8951 Conditionalize on [USE_NSCD].
8952 (is_nscd, nscd_init_cb): Likewise.
8953 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8954 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8955 * nss/nss_db/db-init.c: Likewise.
8956 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8957 [USE_NSCD].
8958 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8959 (make_request): Use it.
8960 (cache_valid_p): New function.
8961 (__check_pf): Use it.
8962 * NEWS: Add item for --disable-nscd.
8963
07e51550
DL
89642012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8965
8966 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8967 to support sed >= 4.2.1-20-ga9bf076.
8968 * configure: Regenerated.
8969
35a5b08b
RM
89702012-08-22 Roland McGrath <roland@hack.frob.com>
8971
8972 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8973 Conditionalize whole body on [IREL].
8974
8479f23a
JL
89752012-08-22 Jeff Law <law@redhat.com>
8976
8977 [BZ #14505]
8978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8979 if the family is PF_UNSPEC.
8980
48da0b21
MF
89812012-08-22 Mike Frysinger <vapier@gentoo.org>
8982
8983 * Makerules (lib-version): Rename from V.
8984 (install-lib-nosubdir): Change V to lib-version.
8985
15d0da8c
WS
89862012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8987
8988 [BZ #14252]
8989 * powerpc32/power6/wcschr.c: New file.
8990 * powerpc32/power6/wcscpy.c: New file.
8991 * powerpc32/power6/wcsrchr.c: New file.
8992 * powerpc64/power6/wcschr.c: New file.
8993 * powerpc64/power6/wcscpy.c: New file.
8994 * powerpc64/power6/wcsrchr.c: New file.
8995
bcca0895
MK
89962012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8997
8998 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8999 (two_way_short_needle): Use it.
5a4aaa33
RM
9000 * string/strstr.c (AVAILABLE1_USES_J): Define.
9001 * string/strcasestr.c: Likewise.
99677e57
MK
9002
9003 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9004 array references.
9005 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9006
400726de
MK
9007 [BZ #11607]
9008 * NEWS: Add an entry.
9009 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9010 define their defaults.
9011 (two_way_short_needle): Detect end-of-string on-the-fly.
9012 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9013 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9014 * string/bug-strcasestr1.c: New test.
9015 * string/Makefile: Run it.
9016
20a71f2c
MK
90172012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9018
9019 [BZ #11607]
9020 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9021 the first character.
9022
21ad0558
RM
90232012-08-21 Roland McGrath <roland@hack.frob.com>
9024
9025 * csu/elf-init.c (__libc_csu_irel): Function removed.
9026 * csu/libc-start.c (apply_irel): New function.
9027 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9028
0e1d9911
JM
90292012-08-21 Joseph Myers <joseph@codesourcery.com>
9030
9031 * sysdeps/unix/sysv/linux/kernel-features.h
9032 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9033 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9034 <kernel-features.h>.
9035 [__NR_fadvise64_64]: Make code unconditional.
9036 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9037 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9038 !__NR_fadvise64_64)]: Likewise.
9039 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9040 !__NR_fadvise64_64))]: Likewise.
9041 [__NR_fadvise64]: Make code unconditional.
9042 [!__NR_fadvise64]: Remove conditional code.
9043 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9044 <kernel-features.h>.
9045 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9046 unconditional.
9047 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9048 conditional code.
9049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9050 not include <kernel-features.h>.
9051 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9052 unconditional.
9053 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9054 conditional code.
9055 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9056 include <kernel-features.h>.
9057 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9058 unconditional.
9059 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9060 conditional code.
9061
14a50c9d
WS
90622012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9063
9064 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9065 slight instruction rearrangements per scrollpipe analysis.
9066 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9067
c0f4faf0
RM
90682012-08-20 Roland McGrath <roland@hack.frob.com>
9069
696da859
RM
9070 * manual/syslog.texi (syslog; vsyslog, closelog):
9071 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9072 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9073
c0f4faf0
RM
9074 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9075 DSOCAPS to match condition on defining it.
9076
348363b2
JM
90772012-08-20 Joseph Myers <joseph@codesourcery.com>
9078
a35cbf28
JM
9079 * sysdeps/unix/sysv/linux/kernel-features.h
9080 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9082 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9083 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9085 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9086 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9088 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9089 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9090
445f7ecd
JM
9091 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9092 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9093
348363b2
JM
9094 * sysdeps/unix/sysv/linux/kernel-features.h
9095 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9096 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9097 unconditional.
9098 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9099 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9100 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9101 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9102 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9103 Make code unconditional.
9104 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9105 (__mmap64) [!__NR_mmap2]: Likewise.
9106 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9107 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9108 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9109 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9110 [__NR_mmap2]: Make code unconditional.
9111 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9112 (__mmap64) [!__NR_mmap2]: Likewise.
9113
bc5bc0e5
AK
91142012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9115
9116 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9117
88d506de
AJ
91182012-08-18 Andreas Jaeger <aj@suse.de>
9119
9120 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9121
493387d2
MF
91222012-08-18 Mike Frysinger <vapier@gentoo.org>
9123
9124 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9125 * include/unistd.h (__have_sock_cloexec): Likewise.
9126 (__have_pipe2): Likewise.
9127 (__have_dup3): Likewise.
9128
a277af22
MF
91292012-08-18 Mike Frysinger <vapier@gentoo.org>
9130
9131 [BZ #9685]
9132 * include/unistd.h (__have_pipe2): Change define into an extern int.
9133 (__have_dup3): Likewise.
9134 * socket/have_sock_cloexec.c: Include fcntl.h.
9135 (__have_pipe2): New variable.
9136 (__have_dup3): Likewise.
9137
fdab8fd3
MF
91382012-08-17 Mike Frysinger <vapier@gentoo.org>
9139
9140 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9141
31035e80
MP
91422012-08-17 Marek Polacek <polacek@redhat.com>
9143
9144 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9145 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9146
3bd9e993
RM
91472012-08-17 Roland McGrath <roland@hack.frob.com>
9148
c91c505f
RM
9149 * configure.in: Add AC_SUBST for sysheaders.
9150 * configure: Regenerated.
9151 * config.make.in (sysheaders): New substituted variable.
9152
7c6f9d53
RM
9153 * sysdeps/unix/mkfifo.c: Moved ...
9154 * sysdeps/posix/mkfifo.c: ... here.
9155 * sysdeps/unix/mkfifoat.c: Moved ...
9156 * sysdeps/posix/mkfifoat.c: ... here.
9157
9158 * sysdeps/unix/utime.c: Moved ...
9159 * sysdeps/posix/utime.c: ... here.
9160
9161 * sysdeps/unix/time.c: Moved ...
9162 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9163 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9164 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9165
9166 * sysdeps/unix/nice.c: Moved ...
9167 * sysdeps/posix/nice.c: ... here.
9168
9169 * sysdeps/unix/alarm.c: Moved ...
9170 * sysdeps/posix/alarm.c: ... here.
9171
3bd9e993
RM
9172 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9173
d1f09384
JL
91742012-08-17 Jeff Law <law@redhat.com>
9175
9176 * intl/Makefile (codeset_mo): New variable.
9177 ($(codeset_mo)): New target.
9178 (tst-codeset.out): Depend on that. Remove explicit rule.
9179 (tst-gettext3.out, tst-gettext5.out): Likewise.
9180 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9181 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9182 * intl/tst-codeset.sh: Remove.
9183 * intl/tst-gettext3.sh: Likewise.
9184 * intl/tst-gettext5.sh: Likewise.
9185
2ae1ae5c
RM
91862012-08-17 Roland McGrath <roland@hack.frob.com>
9187
c31fdb83
RM
9188 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9189 * sysdeps/unix/syscalls.list: ... here.
9190
a0844057
RM
9191 * sysdeps/posix/getaddrinfo.c
9192 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9193 (gaiconf_init, gaiconf_reload): Use them.
9194 [!_STATBUF_ST_NSEC]
9195 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9196 Define using time_t rather than struct timespec.
9197
750c1f2a
RM
9198 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9199 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9200 Macros removed.
9201 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9202 [!NO_THREADS].
9203 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9204 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9205 Likewise.
9206
2ae1ae5c
RM
9207 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9208 __libc_cleanup_push argument.
9209
e66a42f5
RM
9210 * bits/param.h: New file.
9211 * misc/sys/param.h: New file.
9212 * include/sys/param.h: New file.
9213 * misc/Makefile (headers): Add bits/param.h.
9214 * sysdeps/generic/sys/param.h: File removed.
9215 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9216 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9217 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9218 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9219
b7c08a66
RM
9220 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9221 last change.
9222
b2e1c562
RM
9223 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9224 [_IO_MTSAFE_IO].
9225 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9226 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9227 New macros.
9228
c75ccd4c
RM
9229 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9230 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9231 rather than -D_IO_MTSAFE_IO conditionally.
9232 * stdio-common/Makefile (CPPFLAGS): Likewise.
9233 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9234 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9235 Use $(libio-mtsafe).
9236 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9237 of -D_IO_MTSAFE_IO.
9238 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9239 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9240 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9241 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9242 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9243 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9244 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9245 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9246 (CFLAGS-fread_u_chk.c): Likewise.
9247 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9248 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9249 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9250 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9251 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9252 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9253 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9254 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9255 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9256
9257 * libio/Makefile: Test [$(libc-reentrant) = yes]
9258 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9259
9260 * Makeconfig
9261 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9262 * sysdeps/pthread/configure: File removed.
9263 * sysdeps/pthread/Makeconfig: New file.
9264 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9265 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9266
d9195db8
GB
92672012-08-16 Gary Benson <gbenson@redhat.com>
9268
9269 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9270 unmapping the first object in a namespace.
9271
86466cd9
RM
92722012-08-16 Roland McGrath <roland@hack.frob.com>
9273
9274 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9275 (__internal_setnetgrent): ... this. Add internal_function to
9276 definition. Add libc_hidden_def.
9277 (setnetgrent): Update caller.
9278 (internal_endnetgrent): Renamed to ...
9279 (__internal_endnetgrent): ... this. Add internal_function to
9280 definition. Add libc_hidden_def.
9281 (endnetgrent): Update caller.
9282 (internal_getnetgrent_r): Renamed to ...
9283 (__internal_getnetgrent_r): ... this. Add internal_function to
9284 definition. Add libc_hidden_def.
9285 (__getnetgrent_r): Update caller.
9286 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9287
c3c8283c
JM
92882012-08-16 Joseph Myers <joseph@codesourcery.com>
9289
9290 * stdlib/longlong.h: Update from GCC.
9291
db1ee0a8
RM
92922012-08-16 Roland McGrath <roland@hack.frob.com>
9293
9294 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9295 on _QL, which is set by umul_ppmm but never used.
9296 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9297 variables, which are set by GMP macros but never used.
9298 * stdio-common/_itowa.c (_itowa): Likewise.
9299 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9300 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9301
30f69637
CD
93022012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9303
9304 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9305 struct La_sh_regs is not constant.
9306 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9307 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9308 and struct La_sparc64_regs are not constant.
9309
93a78ac4
JM
93102012-08-16 Joseph Myers <joseph@codesourcery.com>
9311
9312 * sysdeps/unix/sysv/linux/kernel-features.h
9313 (__ASSUME_POSIX_TIMERS): Remove.
9314 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9315 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9316 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9317 Make code unconditional.
9318 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9319 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9320 Make code unconditional.
9321 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9322 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9323 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9324 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9325 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9326 Make code unconditional.
9327 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9328 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9329 (__libc_missing_posix_timers): Remove.
9330
dd924cd7
RM
93312012-08-15 Roland McGrath <roland@hack.frob.com>
9332
4b4f2771
RM
9333 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9334 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9335
601c888b
RM
9336 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9337
176790a7
RM
9338 * elf/dl-sym.c: Include <stdlib.h>.
9339
329bc018
RM
9340 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9341 constants, which avoids warnings in 32-bit builds.
9342
e04e272d
RM
9343 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9344 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9345
952bf94a
RM
9346 * misc/lseek.c: File moved to ...
9347 * io/lseek.c: ... here.
9348
7c99b50a
RM
9349 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9350
dd924cd7
RM
9351 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9352 shifting LEN more than 31 bits at once.
9353
b3f479a8
LD
93542012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9355
9356 [BZ #14195]
8c4ae0d4
RM
9357 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9358 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9359 * string/test-strncasecmp.c (check1): Renamed to...
9360 (bz12205): ...this.
9361 (bz14195): Add new testcase for two empty input strings and N > 0.
9362 (test_main): Call new testcase, adapt for renamed function.
9363
9c55864e
AJ
93642012-08-15 Andreas Jaeger <aj@suse.de>
9365
9366 [BZ #14090]
9367 * crypt/md5test2.c: New test, based on test supplied by Serge
9368 Belyshev <belyshev@depni.sinp.msu.ru>.
9369 * crypt/Makefile (xtests): Add md5test-giant..
9370 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9371
02dcb6c5
PE
93722012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9373
9374 [BZ #14090]
9375 * crypt/md5.c (md5_process_block): Don't assume the buffer
9376 length is less than 2**32.
9377 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9378 length is less than 2**64.
9379
a3f95dcc
RM
93802012-08-15 Roland McGrath <roland@hack.frob.com>
9381
be75d758
RM
9382 * string/str-two-way.h: Include <sys/param.h>.
9383 (MAX): Macro removed.
9384
7312ca90
RM
9385 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9386 Move #define and #undef of memmove to just before and after
9387 including <string.h>.
9388
9a0a5486
RM
9389 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9390 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9391 and after including <string.h>. Move declarations of
9392 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9393 to before #include "string/memmove.c".
9394
67cc348d
RM
9395 * include/dirent.h: Declare __getdirentries.
9396
a3f95dcc
RM
9397 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9398 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9399
ca98e171
MF
94002012-08-14 Mike Frysinger <vapier@gentoo.org>
9401
9402 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9403 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9404 * sysdeps/i386/configure: Regenerated.
9405 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9406 STABS_CURRENT_FILE, and STABS_FUN.
9407 (END): Remove call to STABS_FUN_END.
9408 (STABS_CURRENT_FILE1): Delete.
9409 (STABS_CURRENT_FILE): Likewise.
9410 (STABS_FUN): Likewise.
9411 (STABS_FUN_END): Likewise.
9412 (STABS_FUN2): Likewise.
9413 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9414 * sysdeps/x86_64/configure: Regenerated.
9415
5908bf46
RM
94162012-08-14 Roland McGrath <roland@hack.frob.com>
9417
9418 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9419 * elf/dl-lookup.c: Likewise.
5908bf46 9420
f2c05b9e
JM
94212012-08-14 Joseph Myers <joseph@codesourcery.com>
9422
9423 * sysdeps/unix/sysv/linux/kernel-features.h
9424 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9425 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9426 unconditionally.
9427 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9428 unconditionally.
9429 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9430 condition on __ASSUME_CLONE_THREAD_FLAGS.
9431
e11f5155
AJ
94322012-08-14 Andreas Jaeger <aj@suse.de>
9433
9434 * sysdeps/i386/fpu/libm-test-ulps: Update.
9435
51a9ba86
MK
94362012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9437
2fdd4f78
AJ
9438 * include/atomic.h (atomic_exchange_and_add): Split into ...
9439 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9440 New atomic macros.
51a9ba86 9441
ba6cba9e
MT
94422012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9443
9444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9445
42443a47
JL
94462012-08-13 Jeff Law <law@redhat.com>
9447
9448 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9449 null byte in the output string.
9450
121dce05
JM
94512012-08-10 Joseph Myers <joseph@codesourcery.com>
9452
9453 * sysdeps/unix/sysv/linux/kernel-features.h
9454 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9455 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9456 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9457 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9458 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9459 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9460 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9461
bf51f568
JL
94622012-08-09 Jeff Law <law@redhat.com>
9463
9464 [BZ #13939]
9465 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9466 When avoid_arena is set, don't retry in the that arena. Pick the
9467 next one, whatever it might be.
9468 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9469 (arena_lock): Pass in new parameter to arena_get2.
9470 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9471 arena_get2.
9472 (__libc_malloc): Unify retrying after main arena failure with
9473 __libc_memalign version.
9474 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9475
f85fa270
L
94762012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9477
9478 [BZ #14166]
9479 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9480 to __redirect_strstr.
9481 (__strstr_sse42): Use typeof __redirect_strstr.
9482 (__strstr_ia32): Likewise.
9483 (__libc_strstr): New prototype.
9484 (strstr): Renamed to ...
9485 (__libc_strstr): This.
9486 (strstr): New strong alias of __libc_strstr.
9487 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9488 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9489 __redirect_time.
9490 Include <time.h>.
9491 (__libc_time): New prototype.
9492 (time_ifunc): Replace time with __libc_time.
9493 (time): New strong alias and hidden definition of __libc_time.
9494 (__GI_time): Remove strong alias.
9495 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9496 Include <stddef.h>.
9497 (memmove): Redefined to __redirect_memmove.
9498 (__memmove_sse2): Use typeof __redirect_memmove.
9499 (__memmove_ssse3): Likewise.
9500 (__memmove_ssse3_back): Likewise.
9501 (__libc_memmove): New prototype.
9502 (memmove): Renamed to ...
9503 (__libc_memmove): This.
9504 (memmove): New strong alias of __libc_memmove.
9505
33b4a91e
MS
95062012-08-08 Mark Salter <msalter@redhat.com>
9507
9508 * elf/elf.h
9509 (R_MN10300_TLS_GD): Define.
9510 (R_MN10300_TLS_LD): Likewise.
9511 (R_MN10300_TLS_LDO): Likewise.
9512 (R_MN10300_TLS_GOTIE): Likewise.
9513 (R_MN10300_TLS_IE): Likewise.
9514 (R_MN10300_TLS_LE): Likewise.
9515 (R_MN10300_TLS_DTPMOD): Likewise.
9516 (R_MN10300_TLS_DTPOFF): Likewise.
9517 (R_MN10300_TLS_TPOFF): Likewise.
9518 (R_MN10300_SYM_DIFF): Likewise.
9519 (R_MN10300_ALIGN): Likewise.
9520 (R_MN10300_NUM): Update.
9521
b36137f1
JM
95222012-08-08 Joseph Myers <joseph@codesourcery.com>
9523
9524 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9525 Remove.
9526
cdd915fd
RM
95272012-08-08 Roland McGrath <roland@hack.frob.com>
9528
a2433aac
RM
9529 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9530
cdd915fd
RM
9531 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9532 sysdeps/unix -> sysdeps/posix move.
9533 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9534
bf9b740a
AM
95352012-08-07 Allan McRae <allan@archlinux.org>
9536
9537 [BZ #14303]
9538 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9539 (SUNOS_CPP): Likewise.
9540 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9541 not found.
9542 (open_input): Call CPP using execvp.
9543
93df14ee
JM
95442012-08-07 Joseph Myers <joseph@codesourcery.com>
9545
9546 * sysdeps/unix/sysv/linux/kernel-features.h
9547 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9548 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9549 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9550 (__ASSUME_WAITID_SYSCALL): Likewise.
9551 * sysdeps/unix/sysv/linux/dl-execstack.c
9552 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9553 code unconditional.
9554 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9555 conditional code.
9556 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9557 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9558 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9559 code.
9560 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9561 unconditional.
9562 [__ASSUME_WAITID_SYSCALL]: Likewise.
9563 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9564
d34689de
RM
95652012-08-07 Roland McGrath <roland@hack.frob.com>
9566
a281decc
RM
9567 * sysdeps/unix/closedir.c: Renamed to ...
9568 * sysdeps/posix/closedir.c: ... here.
9569 * sysdeps/unix/dirfd.c: Renamed to ...
9570 * sysdeps/posix/dirfd.c: ... here.
9571 * sysdeps/unix/dirstream.h: Renamed to ...
9572 * sysdeps/posix/dirstream.h: ... here.
9573 * sysdeps/unix/fdopendir.c: Renamed to ...
9574 * sysdeps/posix/fdopendir.c: ... here.
9575 * sysdeps/unix/opendir.c: Renamed to ...
9576 * sysdeps/posix/opendir.c: ... here.
9577 * sysdeps/unix/readdir.c: Renamed to ...
9578 * sysdeps/posix/readdir.c: ... here.
9579 * sysdeps/unix/readdir_r.c: Renamed to ...
9580 * sysdeps/posix/readdir_r.c: ... here.
9581 * sysdeps/unix/rewinddir.c: Renamed to ...
9582 * sysdeps/posix/rewinddir.c: ... here.
9583 * sysdeps/unix/seekdir.c: Renamed to ...
9584 * sysdeps/posix/seekdir.c: ... here.
9585 * sysdeps/unix/telldir.c: Renamed to ...
9586 * sysdeps/posix/telldir.c: ... here.
9587 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9588 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9589 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9590 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9591
22895b47
RM
9592 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9593 * bits/fcntl.h: ... here.
9594
707a53b6
RM
9595 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9596 not 0.
9597 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9598 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9599 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9600 (struct flock): Move l_start, l_len to the beginning.
9601 Use __pid_t for l_pid.
9602 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9603 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9604 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9605 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9606 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9607 [__USE_LARGEFILE64] (struct flock64): New type.
9608 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9609
f0bd3e25
RM
9610 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9611 * bits/dirent.h: ... here.
9612
d34689de
RM
9613 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9614 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9615
6dad2c06
JM
96162012-08-07 Joseph Myers <joseph@codesourcery.com>
9617
9618 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9619 Change from 2.6.0 to 2.6.16.
9620 * sysdeps/unix/sysv/linux/configure: Regenerated.
9621 * sysdeps/unix/sysv/linux/kernel-features.h
9622 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9623 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9624 version.
9625 (__ASSUME_UTIMES): Likewise.
9626 (__ASSUME_CLONE_STOPPED): Remove.
9627 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9628 architectures, not kernel version.
9629 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9630 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9631 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9632 (__ASSUME_WAITID_SYSCALL): Likewise.
9633 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9634 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9635 * README: State 2.6.16 as minimum Linux kernel version. Do not
9636 refer to older versions.
9637
03af9520
RM
96382012-08-06 Roland McGrath <roland@hack.frob.com>
9639
8e49df1d
RM
9640 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9641 Define alphasort64 as an alias.
9642 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9643 Define versionsort64 as an alias.
9644 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9645 Define scandir64 as an alias.
9646 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9647 Define scandirat64 as an alias.
9648 * dirent/alphasort64.c (alphasort64):
9649 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9650 * dirent/versionsort64.c: Likewise.
9651 * dirent/scandir64.c: Likewise.
9652 * dirent/scandirat64.c: Likewise.
9653 * sysdeps/wordsize-64/alphasort.c: File removed.
9654 * sysdeps/wordsize-64/alphasort64.c: File removed.
9655 * sysdeps/wordsize-64/scandir.c: File removed.
9656 * sysdeps/wordsize-64/scandir64.c: File removed.
9657 * sysdeps/wordsize-64/scandirat.c: File removed.
9658 * sysdeps/wordsize-64/scandirat64.c: File removed.
9659 * sysdeps/wordsize-64/versionsort.c: File removed.
9660 * sysdeps/wordsize-64/versionsort64.c: File removed.
9661 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9662 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9663 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9664 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9665 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9666 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9667 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9668 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9669
9670 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9671 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9672 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9673 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9674 [defined __arch64__ || defined __sparcv9]
9675 (__INO_T_MATCHES_INO64_T): New macro.
9676 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9677 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9678 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9679 * sysdeps/unix/sysv/linux/bits/dirent.h
9680 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9681 (_DIRENT_MATCHES_DIRENT64): New macro.
9682
03af9520
RM
9683 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9684 Define lockf64 as an alias.
9685 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9686 Define fseeko64 as an alias.
9687 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9688 Define ftello64 as an alias.
9689 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9690 Define _IO_fgetpos64 and fgetpos64 as aliases.
9691 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9692 Define _IO_fsetpos64 and fsetpos64 as aliases.
9693 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9694 Conditionalize body on this.
9695 * libio/fseeko64.c: Likewise.
9696 * libio/ftello64.c: Likewise.
9697 * libio/iofgetpos64.c: Likewise.
9698 * libio/iofsetpos64.c: Likewise.
9699 * sysdeps/wordsize-64/lockf.c: File removed.
9700 * sysdeps/wordsize-64/lockf64.c: File removed.
9701 * sysdeps/wordsize-64/fseeko.c: File removed.
9702 * sysdeps/wordsize-64/fseeko64.c: File removed.
9703 * sysdeps/wordsize-64/ftello.c: File removed.
9704 * sysdeps/wordsize-64/ftello64.c: File removed.
9705 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9706 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9707 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9708 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9709 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9710 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9711 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9712 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9713 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9714 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9715 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9716 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9717 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9718 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9719
9720 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9721 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9722 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9723 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9724 [defined __arch64__ || defined __sparcv9]
9725 (__OFF_T_MATCHES_OFF64_T): New macro.
9726 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9727 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9728 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9729 (__OFF_T_MATCHES_OFF64_T): New macro.
9730
c5757acd
L
97312012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9732
9733 * stdlib/secure-getenv.c (__secure_getenv): Replace
9734 GLIBC_2_16 with GLIBC_2_17.
9735
3a31811e
L
97362012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9737
9738 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9739 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9740
faa2bccb
DM
97412012-08-03 David S. Miller <davem@davemloft.net>
9742
9743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9744
85fe1997
JM
97452012-08-03 Joseph Myers <joseph@codesourcery.com>
9746
9747 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9748 Remove.
9749 (__ASSUME_CORRECT_SI_PID): Likewise.
9750 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9751 (__ASSUME_TMPFS_NAME): Likewise.
9752 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9753 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9754 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9755 (HAVE_AUX_SECURE): Make definition unconditional.
9756 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9757 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9758
4f75b7a0
RM
97592012-08-03 Roland McGrath <roland@hack.frob.com>
9760
9761 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9762 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9763 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9764 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9765 __eloop_threshold instead of SYMLOOP_MAX.
9766
9767 * sysdeps/generic/eloop-threshold.h: New file.
9768 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9769 of MAXSYMLINKS.
9770 * elf/chroot_canon.c (chroot_canon): Likewise.
9771
7aab07e4
JM
97722012-08-03 Joseph Myers <joseph@codesourcery.com>
9773
9774 [BZ #13717]
9775 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9776 Change to 2.6.0 everywhere.
9777 * sysdeps/unix/sysv/linux/configure: Regenerated.
9778 * sysdeps/unix/sysv/linux/kernel-features.h
9779 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9780 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9781 kernel versions.
9782 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9783 (__ASSUME_FUTEX_REQUEUE): Remove.
9784 (__ASSUME_STATFS64): Define unconditionally.
9785 (__ASSUME_AT_SECURE): Likewise.
9786 (__ASSUME_CORRECT_SI_PID): Likewise.
9787 (__ASSUME_TGKILL): Define without depending on kernel version for
9788 i386.
9789 (__ASSUME_UTIMES): Likewise.
9790 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9791 kernel version.
9792 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9793 (__ASSUME_TMPFS_NAME): Likewise.
9794 * README: Update reference to Linux kernel versions.
9795
b67e9372
MP
97962012-08-02 Marek Polacek <polacek@redhat.com>
9797
1f529f7d 9798 [BZ# 14150]
b67e9372
MP
9799 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9800 libc_cv_asm_type_prefix with %.
9801 * configure: Regenerated.
d2441631
RM
9802 * include/libc-symbols.h: Remove comment about
9803 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9804 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9805 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9806 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9807 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9808 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9809 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9810 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9811 * elf/tst-unique2mod1.c: Likewise.
9812 * elf/tst-unique1mod2.c: Likewise.
9813 * elf/tst-unique1mod1.c: Likewise.
9814 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9815 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9816 Replace ASM_TYPE_DIRECTIVE with .type.
9817 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9818 * sysdeps/i386/sysdep.h: Likewise.
9819 * sysdeps/x86_64/sysdep.h: Likewise.
9820 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9822 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9823 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9824 * sysdeps/powerpc/powerpc32/sysdep.h:
9825 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9826 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9827 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9828 * sysdeps/i386/fpu/e_powf.S: Likewise.
9829 * sysdeps/i386/fpu/e_expl.S: Likewise.
9830 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9831 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9832 * sysdeps/i386/fpu/e_pow.S: Likewise.
9833 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9834 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9835 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9836 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9837 * sysdeps/i386/fpu/e_log2.S: Likewise.
9838 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9839 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9840 * sysdeps/i386/fpu/e_powl.S: Likewise.
9841 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9842 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9843 * sysdeps/i386/fpu/e_logl.S: Likewise.
9844 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9845 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9846 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9847 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9848 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9849 * sysdeps/i386/fpu/e_log.S: Likewise.
9850 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9851 * sysdeps/i386/fpu/e_logf.S: Likewise.
9852 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9853 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9854 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9855 * sysdeps/i386/fpu/e_log10.S: Likewise.
9856 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9857 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9858 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9859 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9860 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9861 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9862 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9863 * sysdeps/i386/i686/strtok.S: Likewise.
9864 * sysdeps/i386/i386-mcount.S: Likewise.
9865 * sysdeps/i386/strtok.S: Likewise.
9866 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9867 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9868 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9869 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9870 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9871 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9872 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9873 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9874 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9875 * sysdeps/x86_64/_mcount.S: Likewise.
9876 * sysdeps/x86_64/strtok.S: Likewise.
9877 * sysdeps/sh/_mcount.S: Likewise.
9878
2747bf9a
RM
98792012-08-01 Roland McGrath <roland@hack.frob.com>
9880
9881 * libio/iofopen.c: Include <fcntl.h>.
9882 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9883 (_IO_fopen64, fopen64): Define as aliases.
9884 * libio/iofopen64.c: Include <fcntl.h>.
9885 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9886 Conditionalize body on this.
9887 * sysdeps/wordsize-64/iofopen.c: File removed.
9888 * sysdeps/wordsize-64/iofopen64.c: File removed.
9889
3fb791b8
MP
98902012-08-01 Marek Polacek <polacek@redhat.com>
9891
9892 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9893 Use dlfcn directly instead of a variable.
9894 (binfmt-subdir): Do not define.
9895 (dlfcn): Likewise.
9896
a9f1039f
JM
98972012-08-01 Joseph Myers <joseph@codesourcery.com>
9898
23bddc06
JM
9899 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9900 Remove all definitions.
9901 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9902 <kernel-features.h>.
9903 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9904 (miss_F_GETOWN_EX): Remove all definitions.
9905 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9906 macro definition.
9907 [!__ASSUME_FCNTL64]: Remove conditional code.
9908 [__ASSUME_FCNTL64]: Make code unconditional.
9909 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9910 <kernel-features.h>.
9911 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9912 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9913 (lockf64) [__NR_fcntl64]: Make code unconditional.
9914 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9915
a9f1039f
JM
9916 * sysdeps/unix/sysv/linux/kernel-features.h
9917 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9918 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9919 Make code unconditional.
9920 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9921 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9923 [__NR_vfork]: Make code unconditional.
9924 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9925 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9927 [__NR_vfork]: Make code unconditional.
9928 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9929 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9930
09c0ee5f
RM
99312012-08-01 Roland McGrath <roland@hack.frob.com>
9932
48aec5b9
RM
9933 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9934 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9935
cd97c966
RM
9936 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9937 Define mkstemp64 as an alias.
3f55550c
RM
9938 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9939 Define mkstemps64 as an alias.
cd97c966
RM
9940 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9941 Define mkostemp64 as an alias.
b8625cfc
RM
9942 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9943 Define mkostemps64 as an alias.
cd97c966
RM
9944 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9945 Conditionalize body on this.
9946 * misc/mkostemp64.c: Likewise.
b8625cfc 9947 * misc/mkostemps64.c: Likewise.
3f55550c 9948 * misc/mkstemps64.c: Likewise.
cd97c966
RM
9949 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9950 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9951 * sysdeps/wordsize-64/mkostemp.c: File removed.
9952 * sysdeps/wordsize-64/mkstemp.c: File removed.
9953 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9954 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9955 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9956 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9957
09c0ee5f
RM
9958 [BZ #14138]
9959 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9960 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9961 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9962 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9963
9964 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9965 compat_symbol macros from <shlib-compat.h> rather than the underlying
9966 default_symbol_version and symbol_version macros, so that DEFAULT
9967 lines in shlib-versions are respected.
9968 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9969
7e66ee51
FW
99702012-08-01 Florian Weimer <fweimer@redhat.com>
9971
9972 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9973 Declare with warn_unused_result.
9974 (setgid, setregid, setegid, setresgid): Likewise.
9975 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9976 Likewise.
9977 * WUR-REPORT: Remove set*id functions.
9978
d2a54255
PT
99792012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9980
9981 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9982
7ecdb005
RM
99832012-07-31 Roland McGrath <roland@hack.frob.com>
9984
789bd351
RM
9985 * include/sys/socket.h (__libc_accept, __libc_accept4):
9986 Add attribute_hidden.
9987 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9988
40ce302d
RM
9989 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9990 use of PTR_MANGLE.
9991 * inet/getnetgrent_r.c (setup): Likewise.
9992
7ecdb005
RM
9993 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9994
e2eabb2c
DM
99952012-07-31 David S. Miller <davem@davemloft.net>
9996
9997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9998
d0419dbf
JM
99992012-07-31 Joseph Myers <joseph@codesourcery.com>
10000
10001 [BZ #13629]
10002 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10003 value between 1.0 and 2.0 and smaller part has absolute value less
10004 than 1.0.
10005 * math/s_clog10.c (__clog10): Likewise.
10006 * math/s_clog10f.c (__clog10f): Likewise.
10007 * math/s_clog10l.c (__clog10l): Likewise.
10008 * math/s_clogf.c (__clogf): Likewise.
10009 * math/s_clogl.c (__clogl): Likewise.
10010 * math/libm-test.inc (clog_test): Add more tests.
10011 (clog10_test): Likewise.
10012 * sysdeps/i386/fpu/libm-test-ulps: Update.
10013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10014
2bc13872
FW
100152012-07-31 Florian Weimer <fweimer@redhat.com>
10016
10017 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10018 Exit with zero in case no suitable GID is found, and write a
10019 message to standard error.
10020
bea9b193
RM
100212012-07-30 Roland McGrath <roland@hack.frob.com>
10022
10023 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10024 rather than to 1.
10025 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10026 (MAXPATHLEN): Removed.
10027 (NOGROUP, NODEV): New macros.
10028 (setbit, clrbit, isset, isclr): New macros.
10029 (howmany, roundup, powerof2): New macros.
10030 (DEV_BSIZE): New macro.
10031
10032 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10033 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10034
10035 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10036 definition on [!__NO_LONG_DOUBLE_MATH].
10037
10038 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10039 PTR_MANGLE and PTR_DEMANGLE.
10040
10041 * socket/accept4.c (accept4): Rename to __libc_accept4.
10042 Define accept4 as a weak alias.
10043
10044 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10045 on [_DIRENT_HAVE_D_TYPE].
10046 * io/ftw.c (ftw_dir): Likewise.
10047
10048 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10049
10050 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10051
10052 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10053 Use the BSD numbers rather than the arbitrary ones we had.
10054 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10055 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10056 (SIGXCPU, SIGXFSZ): New macros.
10057 (_NSIG): Now 32.
10058
10059 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10060 initializer on [_LIBC_REENTRANT].
10061
10062 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10063 definitions inside [_POSIX_MAPPED_FILES].
10064
10065 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10066
10067 * dirent/opendir.c: Include <fcntl.h>.
10068
10069 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10070 (__libc_getspecific): Likewise.
10071 (__libc_key_create): Likewise.
10072
10073 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10074 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10075 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10076 (tmpfile64): Define as alias.
10077 * sysdeps/wordsize-64/tmpfile.c: File removed.
10078 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10079 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10080 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10081
10082 * stdio-common/vfscanf.c: Include <stdbool.h>.
10083 * nss/makedb.c: Likewise.
10084 * stdio-common/_i18n_number.h: Likewise.
10085 * argp/argp-help.c: Likewise.
10086 * posix/wordexp.c: Likewise.
10087 * sysdeps/posix/spawni.c: Likewise.
10088 * nss/nss_files/files-initgroups.c: Likewise.
10089 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10090 * nss/nss_files/files-initgroups.c: Likewise.
10091 * nss/nss_db/db-netgrp.c: Likewise.
10092 * nss/nss_db/db-initgroups.c: Likewise.
10093 * io/fchmodat.c: Include <sys/stat.h>.
10094
10095 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10096 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10097
10098 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10099 [HAVE_MMAP].
10100
10101 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10102 Add multiple inclusion protection.
10103
e5abc686
DM
101042012-07-27 David S. Miller <davem@davemloft.net>
10105
10106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10107
815e6fa3
GB
101082012-07-27 Gary Benson <gbenson@redhat.com>
10109
10110 [BZ #14298]
10111 * elf/rtld.c: Include <stap-probe.h>.
10112 (dl_main): Added static probes "init_start" and "init_complete".
10113 * elf/dl-load.c: Include <stap-probe.h>.
10114 (lose): Take new parameter "nsid".
10115 Added static probe "map_failed".
10116 (_dl_map_object_from_fd): Pass namespace id to lose.
10117 Added static probe "map_start".
10118 (open_verify): Pass namespace id to lose.
10119 * elf/dl-open.c: Include <stap-probe.h>.
10120 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10121 and "reloc_complete".
10122 * elf/dl-close.c: Include <stap-probe.h>.
10123 (_dl_close_worker): Added static probes "unmap_start" and
10124 "unmap_complete".
10125 * elf/rtld-debugger-interface.txt: New file documenting the above.
10126
9f98c16c
RM
101272012-07-26 Roland McGrath <roland@hack.frob.com>
10128
10129 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10130 rather than a string variable.
10131 * sunrpc/rpc_main.c (h_output): Likewise.
10132 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10133
f3c22df3
PT
101342012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10135
10136 * inet/check_native.c: New file.
10137
3129cfc6
JM
101382012-07-26 Joseph Myers <joseph@codesourcery.com>
10139
da865e95
JM
10140 [BZ #13629]
10141 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10142 if larger part has absolute value 1.0.
10143 * math/s_clog10.c (__clog10): Likewise.
10144 * math/s_clog10f.c (__clog10f): Likewise.
10145 * math/s_clog10l.c (__clog10l): Likewise.
10146 * math/s_clogf.c (__clogf): Likewise.
10147 * math/s_clogl.c (__clogl): Likewise.
10148 * math/libm-test.inc (clog_test): Add more tests.
10149 (clog10_test): Likewise.
10150 * sysdeps/i386/fpu/libm-test-ulps: Update.
10151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10152
3129cfc6
JM
10153 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10154 (pltexit): Likewise.
10155 (La_regs): Likewise.
10156 (La_retval): Likewise.
10157 (int_retval): Likewise.
10158 Update #error for removed macros to refer only to definitions in
10159 tst-audit.h.
10160 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10161 macro.
10162 (pltexit): Likewise.
10163 (La_regs): Likewise.
10164 (La_retval): Likewise.
10165 (int_retval): Likewise.
10166 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10167 macro.
10168 (pltexit): Likewise.
10169 (La_regs): Likewise.
10170 (La_retval): Likewise.
10171 (int_retval): Likewise.
10172 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10173 macro.
10174 (pltexit): Likewise.
10175 (La_regs): Likewise.
10176 (La_retval): Likewise.
10177 (int_retval): Likewise.
10178 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10179 macro.
10180 (pltexit): Likewise.
10181 (La_regs): Likewise.
10182 (La_retval): Likewise.
10183 (int_retval): Likewise.
10184 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10185 macro.
10186 (pltexit): Likewise.
10187 (La_regs): Likewise.
10188 (La_retval): Likewise.
10189 (int_retval): Likewise.
10190 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10191 macro.
10192 (pltexit): Likewise.
10193 (La_regs): Likewise.
10194 (La_retval): Likewise.
10195 (int_retval): Likewise.
10196 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10197 macro definitions in tst-audit.h.
10198 * sysdeps/i386/tst-audit.h: New file.
10199 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10200 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10201 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10202 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10203 * sysdeps/sh/tst-audit.h: Likewise.
10204 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10205 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10206 * sysdeps/x86_64/tst-audit.h: Likewise.
10207
bfc07087
AJ
102082012-07-26 Andreas Jaeger <aj@suse.de>
10209
b1b2aaf8
AJ
10210 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10211 ptrace.
10212
10213 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10214 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10215 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10216 PTRACE_O_MASK.
10217 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10218 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10219 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10220
bfc07087
AJ
10221 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10222 value.
10223
10224 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10225 _sigsys.
10226 (si_call_addr, si_syscall, si_arch): Define new macro.
10227 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10228 _sigsys.
10229 (si_call_addr, si_syscall, si_arch): Define new marcro.
10230 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10231 _sigsys.
10232 (si_call_addr, si_syscall, si_arch): Define new macro.
10233 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10234 _sigsys.
10235 (si_call_addr, si_syscall, si_arch): Define new macro.
10236
89b4b02f
JM
102372012-07-25 Joseph Myers <joseph@codesourcery.com>
10238
10239 [BZ #13717]
10240 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10241 Change to 2.4.21 where previously 2.4.1.
10242 * sysdeps/unix/sysv/linux/configure: Regenerated.
10243 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10244 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10245 Linux kernel version.
10246 (__ASSUME_STD_AUXV): Remove.
10247 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10248 kernel version.
10249 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10250 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10251 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10252 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10253 (__ASSUME_NETLINK_SUPPORT): Likewise.
10254 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10255 (__no_netlink_support): Remove conditional definition.
10256 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10257 Remove.
10258 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10259 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10260 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10261 (if_nameindex_ioctl): Remove.
10262 (if_nameindex_netlink): Do not handle __no_netlink_support.
10263 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10264 code.
10265 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10266 Remove conditional code.
10267 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10268 code.
10269 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10270 unconditional.
10271 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10272 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10273 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10274 Remove.
10275 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10276 [!__ASSUME_STD_AUXV]: Remove conditional code.
10277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10278 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10279 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10281 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10282 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10283 code.
10284 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10286 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10287 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10288 conditional code.
10289 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10291 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10292 code.
10293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10294 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10295 conditional code.
10296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10297 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10298 code unconditional.
10299 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10300 conditional code.
10301 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10302 unconditional.
10303 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10304 conditional code.
10305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10306 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10307 unconditional.
10308 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10309 conditional code.
10310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10311 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10312 code unconditional.
10313 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10314 conditional code.
10315 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10316 unconditional.
10317 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10318 conditional code.
10319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10320 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10321 code unconditional.
10322 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10323 conditional code.
10324 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10325 unconditional.
10326 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10327 conditional code.
10328
842a39cd
AS
103292012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10330
10331 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10332 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10333 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10334 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10335 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10336 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10337 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10338 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10339 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10340 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10341 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10342 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10343 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10344 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10345 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10346 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10347 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10348 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10349 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10350 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10351 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10352 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10353 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10354
84b3fd84
FW
103552012-07-25 Florian Weimer <fweimer@redhat.com>
10356
10357 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10358 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10359 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10360 Introduce __libc_secure_getenv.
0c7936d5
FW
10361 * stdlib/Versions (2.17): Add secure_getenv
10362 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10363 * stdlib/secure-getenv.c: Rename __secure_getenv to
10364 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10365 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10366 * stdlib/tst-secure-getenv.c: New.
10367 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10368 * manual/startup.texi (Environment Access): Document
10369 secure_getenv.
84b3fd84
FW
10370 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10371 __libc_secure_getenv.
10372 * inet/ruserpass.c (ruserpass): Likewise.
10373 * malloc/mtrace.c (mtrace): Likewise.
10374 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10375 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10376 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10377 * sysdeps/posix/tempname.c: Likewise. Evaluate
10378 HAVE_SECURE_GETENV.
10379 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10380 __secure_getenv to __libc_secure_getenv.
84b3fd84 10381 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10383 Likewise.
10384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10385 Likewise.
10386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10388 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10393
56e49b71
JM
103942012-07-25 Joseph Myers <joseph@codesourcery.com>
10395
10396 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10397 (struct La_i86_retval): Likewise.
10398 (struct La_x86_64_regs): Likewise.
10399 (struct La_x86_64_retval): Likewise.
10400 (struct La_x32_regs): Likewise.
10401 (struct La_x32_retval): Likewise.
10402 (struct La_ppc32_regs): Likewise.
10403 (struct La_ppc32_retval): Likewise.
10404 (struct La_ppc64_regs): Likewise.
10405 (struct La_ppc64_retval): Likewise.
10406 (struct La_sh_regs): Likewise.
10407 (struct La_sh_retval): Likewise.
10408 (struct La_s390_32_regs): Likewise.
10409 (struct La_s390_32_retval): Likewise.
10410 (struct La_s390_64_regs): Likewise.
10411 (struct La_s390_64_retval): Likewise.
10412 (struct La_sparc32_regs): Likewise.
10413 (struct La_sparc32_retval): Likewise.
10414 (struct La_sparc64_regs): Likewise.
10415 (struct La_sparc64_retval): Likewise.
10416 (struct audit_ifaces): Remove architecture-specific pltenter and
10417 pltexit members.
10418 * sysdeps/i386/ldsodefs.h: New file.
10419 * sysdeps/powerpc/ldsodefs.h: Likewise.
10420 * sysdeps/s390/ldsodefs.h: Likewise.
10421 * sysdeps/sh/ldsodefs.h: Likewise.
10422 * sysdeps/sparc/ldsodefs.h: Likewise.
10423 * sysdeps/x86_64/ldsodefs.h: Likewise.
10424
354691b7
MP
104252012-07-25 Marek Polacek <polacek@redhat.com>
10426
10427 [BZ #6808]
10428 * math/libm-test.inc (yn_test): Add another test.
10429 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10430 to ERANGE when the result is +-Inf.
10431 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10432 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10433 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10434 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10435
bf9e2071
JM
104362012-07-24 Joseph Myers <joseph@codesourcery.com>
10437
10438 * conform/data/time.h-data (NULL): Use macro-constant. Require
10439 equal to 0.
10440 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10441 clock_t.
10442 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10443
57633811
TS
104442012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10445
10446 * configure.in <sysdeps resolving>: Correct printing
10447 Implies_before.
10448 * configure: Regenerate.
10449
c23c33b0
TS
104502012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10451
10452 * math/w_ilogb.c: Include <limits.h>.
10453 * math/w_ilogbl.c: Likewise.
10454
b5982523
JM
104552012-07-20 Joseph Myers <joseph@codesourcery.com>
10456
10457 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10458 va_copy. Document allowing for unavailable va_copy only as
10459 pre-C99 compatibility.
10460 * manual/string.texi (Copying and Concatenation): Use va_copy
10461 instead of __va_copy in concat example.
10462
ac4ea442
PT
104632012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10464
10465 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10466 (__sendto): Use create_address_port. Initialize APORT and deallocate
10467 it if not null.
10468
f98eafbd
PT
10469 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10470 with O_NOLINK passed to __file_name_lookup.
10471
898c7aab
PT
10472 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10473 with O_NOLINK passed to __file_name_lookup.
10474
0ced335a
PT
10475 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10476 negative N or less than NGIDS.
10477
b3404dbd
PT
10478 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10479 type to string_t. Set ERANGE as errno and return it if NAME is not big
10480 enough. Use memcpy instead of strncpy.
10481
0f48659e
JM
104822012-07-20 Joseph Myers <joseph@codesourcery.com>
10483
10484 * elf/Makefile (check-data): Remove.
10485 (localplt.data): New vpath directive.
10486 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10487 instead of $(check-data).
10488 * scripts/data/localplt-generic.data: Move to ...
10489 * sysdeps/generic/localplt.data: ... here.
10490 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10491 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10492 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10494 ... here.
10495 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10497 ... here.
10498 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10500 ... here.
10501 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10503 ... here.
10504 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10506 ... here.
10507 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10509 ... here.
10510
d37cbdaa
AZ
105112012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10512
10513 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10514 PPC32 and PPC64 files.
10515 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10516 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10517
46f85fc2
AK
105182012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10519
10520 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10521 __makecontext_ret to ...
10522 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10523 ... here and call exit if uc_link is NULL. New file.
10524 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10525 __makecontext_ret.S.
10526 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10527 __makecontext_ret to ...
10528 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10529 ... here and call exit if uc_link is NULL. New file.
10530 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10531 __makecontext_ret.S.
10532
08f43f9b
AK
105332012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10534
10535 * elf/elf.h (R_390_IRELATIVE): New definition.
10536 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10537 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10538 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10539 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10540 (elf_machine_lazy_rel): Likewise.
10541 * sysdeps/s390/dl-irel.h: New file.
10542 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10543 * sysdeps/s390/s390-64/memset.S: New asm code.
10544 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10545 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10546 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10547 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10548 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10549 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10550 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10551 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10552 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10553 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10554 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10555 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10556 * sysdeps/s390/s390-32/memset.S: New asm code.
10557 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10558
3b05db33
MP
105592012-07-17 Marek Polacek <polacek@redhat.com>
10560
10561 [BZ #14349]
10562 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10563 * sysdeps/s390/s390-64/configure.in: Likewise.
10564 * sysdeps/sparc/configure.in: Likewise.
10565 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10566 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10567 * sysdeps/i386/configure.in: Likewise.
10568 * sysdeps/x86_64/configure.in: Likewise.
10569 * sysdeps/sh/configure.in: Likewise.
10570 * sysdeps/s390/s390-32/configure: Regenerated.
10571 * sysdeps/s390/s390-64/configure: Likewise.
10572 * sysdeps/x86_64/configure: Likewise.
10573 * sysdeps/sh/configure: Likewise.
10574 * sysdeps/powerpc/powerpc64/configure: Likewise.
10575 * sysdeps/powerpc/powerpc32/configure: Likewise.
10576 * sysdeps/sparc/configure: Likwise.
10577 * sysdeps/i386/configure: Likewise.
10578
a66877c6
MP
10579 * elf/dl-open.c: Comment fixes.
10580
cfc82fd8
JM
105812012-07-17 Joseph Myers <joseph@codesourcery.com>
10582
bd29910a
JM
10583 * Makefile [CXX] (check-data): Remove.
10584 [CXX] (c++-types.data): New vpath directive.
10585 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10586 vpath. Do not allow for C++ type data being missing.
10587 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10588 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10589 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10590 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10591 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10592 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10593 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10595 ... here.
10596 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10598 ... here.
10599 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10601 ... here.
10602 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10604 ... here.
10605 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10607 ... here.
10608 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10610 ... here.
10611 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10613 ... here.
10614 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10616
cfc82fd8
JM
10617 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10618 definitions to architecture-specific files.
10619 (TLS_IE): Likewise.
10620 (TLS_LD): Likewise.
10621 (TLS_GD): Likewise.
10622 * sysdeps/i386/tls-macros.h: New file.
10623 * sysdeps/powerpc/tls-macros.h: Likewise.
10624 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10625 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10626 * sysdeps/sh/tls-macros.h: Likewise.
10627 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10628 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10629 * sysdeps/x86_64/tls-macros.h: Likewise.
10630
f7db3170
TS
106312012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10632
07cbfc23
TS
10633 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10634 zero value for regular exit case.
10635
f7db3170
TS
10636 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10637 (__start_context): Preserve zero value for regular exit case.
10638
dc97c227
TS
106392012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10640 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10641
10642 * manual/setjmp.texi (setcontext): Clarify normal process
10643 termination when uc_link is the null pointer.
10644 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10645 exit call.
10646
d0cd7d02
AS
106472012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10648
10649 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10650 preprocessor. Test for each exception mask separately.
10651
dd318934
AJ
106522012-07-16 Andreas Jaeger <aj@suse.de>
10653
10654 * po/ru.po: Update from translation team.
10655
8048311a
JM
106562012-07-15 Joseph Myers <joseph@codesourcery.com>
10657
10658 * conform/data/string.h-data (NULL): Use macro-constant. Require
10659 equal to 0.
10660 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10661 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10662 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10663 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10664 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10665
b637d46e
AJ
106662012-07-13 Andreas Jaeger <aj@suse.de>
10667
10668 * po/fr.po: Update from translation team.
10669
541428fe
MP
106702012-07-12 Marek Polacek <polacek@redhat.com>
10671
10672 [BZ #14173]
10673 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10674 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10675 loop condition.
10676
ec332e94
JM
106772012-07-12 Joseph Myers <joseph@codesourcery.com>
10678
10679 [BZ #13717]
10680 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10681 Change to 2.4.1 where previously 2.4.0.
10682 * sysdeps/unix/sysv/linux/configure: Regenerated.
10683 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10684 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10685 version.
10686 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10687 (__ASSUME_AT_CLKTCK): Remove.
10688 (__ASSUME_AT_PAGESIZE): Likewise.
10689 (__ASSUME_AT_XID): Likewise.
10690 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10691 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10692 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10693 unconditionally.
10694 (HAVE_AUX_PAGESIZE): Likewise.
10695 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10696 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10697 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10698
7b6e99be
JB
106992012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10700
10701 [BZ #14307]
10702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10703 the temporary buffer used to invoke __gethostbyname2_r,
10704 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10705 host_data / struct gaih_addrtuple.
10706 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10707 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10708 header file nss/nsswitch.h.
10709 * nss/nsswitch.h (global scope): Add definition of implementation
10710 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10711 resolv/nss_dns/dns-host.c).
10712
608404eb
AJ
107132012-07-11 Andreas Jaeger <aj@suse.de>
10714
10715 * po/fr.po: Update from translation team.
10716
71220aca
AJ
10717 * po/sv.po: Update from translation team
10718 * po/fr.po: Another update from translation team.
10719
28cfe843
AZ
107202012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10721
10722 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10723 for subnormals or multiply small sinh result by itself.
10724 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10726
6b90f981
DM
107272012-07-11 David S. Miller <davem@davemloft.net>
10728
10729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10730
c6825772
AS
107312012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10732
10733 [BZ #14347]
10734 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10735 (INTERNAL_MARK): Shift it here.
10736
7b8e0d49
MP
107372012-07-10 Marek Polacek <polacek@redhat.com>
10738
10739 [BZ #14151]
10740 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10741 libc_cv_asm_global_directive with .globl.
10742 * configure: Regenerated.
10743 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10744 with .globl.
10745 * sysdeps/i386/configure: Regenerated.
10746 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10747 with .globl.
10748 * sysdeps/x86_64/configure: Regenerated.
10749 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10750 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10751 * elf/tst-unique2mod2.c: Likewise.
10752 * elf/tst-unique2mod1.c: Likewise.
10753 * elf/tst-unique1mod2.c: Likewise.
10754 * elf/tst-unique1mod1.c: Likewise.
10755 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10756 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10757 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10758 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10759 * sysdeps/mach/sysdep.h: Likewise.
10760 * sysdeps/i386/sysdep.h: Likewise.
10761 * sysdeps/i386/i386-mcount.S: Likewise.
10762 * sysdeps/x86_64/_mcount.S: Likewise.
10763 * sysdeps/x86_64/sysdep.h: Likewise.
10764 * sysdeps/sh/_mcount.S: Likewise.
10765 * sysdeps/sh/sysdep.h: Likewise.
10766 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10767 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10768 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10769 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10770 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10771 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10772 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10773 * locale/localeinfo.h: Likewise.
10774 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10775 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10776
6c55cda3
RM
107772012-07-09 Roland McGrath <roland@hack.frob.com>
10778
10779 [BZ #14336]
10780 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10781 system".
10782 * manual/message.texi (The Uniforum approach): Likewise.
10783 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10784 (glibc iconv Implementation): Likewise.
10785
638a572e
JM
107862012-07-09 Joseph Myers <joseph@codesourcery.com>
10787
10788 [BZ #14337]
10789 * math/s_clog.c (__clog): Avoid scaling a value down where that
10790 could result in underflow.
10791 * math/s_clog10.c (__clog10): Likewise.
10792 * math/s_clog10f.c (__clog10f): Likewise.
10793 * math/s_clog10l.c (__clog10l): Likewise.
10794 * math/s_clogf.c (__clogf): Likewise.
10795 * math/s_clogl.c (__clogl): Likewise.
10796 * math/libm-test.inc (clog_test): Add more tests.
10797 (clog10_test): Likewise.
10798 * sysdeps/i386/fpu/libm-test-ulps: Update.
10799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10800
261f4859
AS
108012012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10802
0abaf3e4
AS
10803 [BZ #14283]
10804 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10805 by 7 not 8 to examine high bit of fractional part.
10806
261f4859
AS
10807 [BZ #14042]
10808 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10809 for call to __mcount_internal.
10810 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10811 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10812 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10813
f17ac40d
JM
108142012-07-06 Joseph Myers <joseph@codesourcery.com>
10815
9ad63c23
JM
10816 [BZ #14154]
10817 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10818 approximation for values within 0x1p-13f of an odd multiple of
10819 pi/4.
10820 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10821 exception. Add more tests.
10822 * sysdeps/i386/fpu/libm-test-ulps: Update.
10823
f17ac40d
JM
10824 [BZ #6778]
10825 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10826 inputs and return -1 for them. Do not check for +Inf in case not
10827 reachable for +Inf.
10828 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10829 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10830 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10831 and return -1 for them. Do not check for +Inf in case not
10832 reachable for +Inf.
10833 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10834 define.
10835 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10836 and return -1 for them. Do not check for +Inf in case not
10837 reachable for +Inf.
10838 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10839 spurious underflow.
10840 * sysdeps/i386/fpu/libm-test-ulps: Update.
10841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10842
fb21f89b
MF
108432012-07-06 Mike Frysinger <vapier@gentoo.org>
10844
10845 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10846
cdfe2c5e
JM
108472012-07-05 Joseph Myers <joseph@codesourcery.com>
10848
10849 [BZ #14157]
10850 [BZ #14331]
10851 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10852 could result in spurious underflow. Scale down values above
10853 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10854 * math/s_csqrtf.c (__csqrtf): Likewise.
10855 * math/s_csqrtl.c (__csqrtl): Likewise.
10856 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10857 spurious underflow.
10858 * sysdeps/i386/fpu/libm-test-ulps: Update.
10859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10860
70d35b67
AS
108612012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10862
704bc459
AS
10863 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10864 xopen-msg.sed.
10865 * catgets/xopen-msg.awk: New file.
10866 * catgets/xopen-msg.sed: Removed.
10867
70d35b67
AS
10868 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10869 po2text.sed.
10870 * intl/po2test.awk: New file.
10871 * intl/po2test.sed: Removed.
10872
ca61cf32
JM
108732012-07-04 Joseph Myers <joseph@codesourcery.com>
10874
10875 [BZ #14328]
10876 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10877 or multiply small sinh result by itself.
10878 * math/s_ctanf.c (__ctanf): Likewise.
10879 * math/s_ctanh.c (__ctanh): Likewise.
10880 * math/s_ctanhf.c (__ctanhf): Likewise.
10881 * math/s_ctanhl.c (__ctanhl): Likewise.
10882 * math/s_ctanl.c (__ctanl): Likewise.
10883 * math/libm-test.inc (ctan_test_tonearest): New function.
10884 (ctan_test_towardzero): Likewise.
10885 (ctan_test_downward): Likewise.
10886 (ctan_test_upward): Likewise.
10887 (ctanh_test_tonearest): Likewise.
10888 (ctanh_test_towardzero): Likewise.
10889 (ctanh_test_downward): Likewise.
10890 (ctanh_test_upward): Likewise.
10891 (main): Call these new functions.
10892 * sysdeps/i386/fpu/libm-test-ulps: Update.
10893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10894
ca48a46a
MF
108952012-07-03 Mike Frysinger <vapier@gentoo.org>
10896
10897 * .gitignore: Delete /ports entry.
10898
9d63d37d
AJ
108992012-07-03 Andreas Jaeger <aj@suse.de>
10900
10901 * po/bg.po: Update from translation team.
10902 * po/cs.po: Likewise.
10903 * po/de.po: Likewise.
10904 * po/hr.po: Likewise.
10905 * po/nl.pl: Likewise.
10906 * po/pl.po: Likewise.
10907 * po/vi.po: Likewise.
10908
370ca3d2
JM
109092012-07-03 Joseph Myers <joseph@codesourcery.com>
10910
95f5a9a8
JM
10911 * Makeconfig [!+link] (+link-before-libc): New variable.
10912 [!+link] (+link-after-libc): Likewise.
10913 [!+link] (+link-tests): Likewise.
10914 [!+link] (+link): Define in terms of $(+link-before-libc) and
10915 $(+link-after-libc).
10916 [!+link-static] (+link-static-before-libc): New variable.
10917 [!+link-static] (+link-static-after-libc): Likewise.
10918 [!+link-static] (+link-static-tests): Likewise.
10919 [!+link-static] (+link-static): Define in terms of
10920 $(+link-static-before-libc) and $(+link-static-after-libc).
10921 [build-shared] (link-libc-before-gnulib): New variable.
10922 [build-shared] (link-libc-tests): Likewise.
10923 [build-shared] (link-libc): Define in terms of
10924 $(link-libc-before-gnulib).
10925 [!build-shared] (link-libc-tests): New variable.
10926 (link-libc-static-tests): New variable.
10927 [!gnulib] (gnulib-arch): New variable.
10928 [!gnulib] (gnulib-tests): Likewise.
10929 [!gnulib] (static-gnulib-arch): Likewise.
10930 [!gnulib] (static-gnulib-tests): Likewise.
10931 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10932 Define with "=" instead of ":=".
10933 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10934 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10935 * Rules (binaries-all-notests): New variable.
10936 (binaries-all-tests): Likewise.
10937 (binaries-static-notests): Likewise.
10938 (binaries-static-tests): Likewise.
10939 (binaries-all): Define using $(binaries-all-notests) and
10940 $(binaries-all-tests).
10941 (binaries-static): Define using $(binaries-static-notests) and
10942 $(binaries-static-tests).
10943 (binaries-shared-tests): New variable.
10944 (binaries-shared-notests): Likewise.
10945 (binaries-shared): Remove variable.
10946 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10947 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10948 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10949 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10950 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10951 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10952 * elf/Makefile (sln-modules): New variable.
10953 (extra-objs): Add $(sln-modules:=.o).
10954 (ldconfig-modules): Add static-stubs.
10955 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10956 * elf/static-stubs.c: New file.
10957
7a845b2c
JM
10958 [BZ #14283]
10959 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10960 by 7 not 8 to examine high bit of fractional part. Use volatile
10961 variables when splitting into final array of floats if
10962 __FLT_EVAL_METHOD__ != 0.
10963 * math/libm-test.inc (cos_test): Add another test.
10964 (sin_test): Likewise.
10965 * sysdeps/i386/fpu/libm-test-ulps: Update.
10966
e2283f38
JM
10967 [BZ #14273]
10968 * math/libm-test.inc (cosh_test): Add more tests.
10969
370ca3d2
JM
10970 * version.h (RELEASE): Set to "development".
10971 (VERSION): Set to "2.16.90".
10972
ee9247c3
CD
109732012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10974
10975 * NEWS: Update copyright. Remove last-updated date.
10976 Mention math library bug fixes and timezone data changes.
10977 * README: Mention GNU/Hurd, x32, and HPPA support status.
10978
4648c381
TS
109792012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10980
10981 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10982
aac78a43
AJ
109832012-06-27 Andreas Jaeger <aj@suse.de>
10984
10985 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10986
ed3dbfad
AJ
109872012-06-25 Andreas Jaeger <aj@suse.de>
10988
10989 * sysdeps/s390/fpu/libm-test-ulps: Update.
10990
4d0ee855
AS
109912012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10992 Thomas Schwinge <thomas@codesourcery.com>
10993
10994 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10995 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10996 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10997 fanotify_mark.
10998
af1bce34
TS
109992012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11000
a9fa33ba
TS
11001 * sysdeps/mach/start.c: Remove file.
11002 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11003 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11004 * sysdeps/sh/init-first.c: Likewise.
11005
58f902b8
TS
11006 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11007 registers for frame unwinding purposes, add CFI directives.
11008 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11009 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11010 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11011 Likewise.
11012
1518f58b
TS
11013 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11014 __fortify_fail returning.
11015 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11016
db9b5059
TS
11017 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11018 sysdeps/sh/____longjmp_chk.S.
11019 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11020 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11021 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11022 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11023
967705fe
TS
11024 * sysdeps/sh/abort-instr.h: New file.
11025 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11026 process in case exit returns.
11027
a9def8c4
TS
11028 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11029 initialize the GOT register before use.
11030
2a649725
TS
11031 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11032 calculation of ARGC > 4.
11033
af1bce34
TS
11034 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11035 meaningful names to some local labels.
11036
d230f50a
KK
110372012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11038 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11039
11040 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11041 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11042 (__arch_compare_and_exchange_val_16_acq): Likewise.
11043 (__arch_compare_and_exchange_val_32_acq): Likewise.
11044 (atomic_exchange_and_add): Fix gUSA sequence.
11045 (atomic_add): Likewise.
11046 (atomic_add_negative): Likewise.
11047 (atomic_add_zero): Likewise.
11048 (atomic_bit_test_set): Likewise.
11049
0479b305
AS
110502012-06-22 Andreas Schwab <schwab@redhat.com>
11051
11052 [BZ #13579]
11053 * include/link.h (struct link_map): Add l_free_initfini.
11054 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11055 l_initfini.
11056 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11057 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11058 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11059 set.
11060
0e3933b9
CD
110612012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11062
11063 * configure.in: Use AC_LANG_SOURCE.
11064 * configure: Regenerate.
11065
4248b1b1
RM
110662012-06-22 Roland McGrath <roland@hack.frob.com>
11067
11068 * configure.in (libc_cv_localstatedir): New substituted variable.
11069 * configure: Regenerated.
11070 * config.make.in (localstatedir): New variable, substituted from
11071 libc_cv_localstatedir.
11072 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11073 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11074 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11075 * sysdeps/gnu/configure: Regenerated.
11076
006dd861
JL
110772012-06-21 Jeff Law <law@redhat.com>
11078
11079 [BZ #14277]
11080 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11081 free. Simplify list management for _LIBC case.
11082
79662d42
JM
110832012-06-21 Joseph Myers <joseph@codesourcery.com>
11084
b7abb4bf
JM
11085 [BZ #14273]
11086 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11087 Clear sign bit of 64-bit integer value before comparing against
11088 overflow value.
11089
79662d42
JM
11090 * sysdeps/mach/configure: Regenerated.
11091
1f150908
L
110922012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11093
11094 [BZ #14278]
11095 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11096
28363bbf
JL
110972012-06-21 Jeff Law <law@redhat.com>
11098
11099 [BZ #13882]
11100 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11101 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11102 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11103 * elf/dl-open.c (dl_open_worker): Likewise.
11104
09615db4
CD
111052012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11106
11107 * scripts/list-sources.sh: Scan PORTS for translations.
11108 * po/libc.pot: Regenerated.
11109
2174c6dd
AJ
111102012-06-21 Andreas Jaeger <aj@suse.de>
11111
11112 [BZ #12194]
11113 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11114 warning.
11115 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11116 * bits/byteswap-16.h (__bswap_16): Likewise.
11117 * bits/byteswap.h (__bswap_constant_16): Likewise.
11118
3ee947b1
L
111192012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11120
11121 [BZ #14117]
a2f34833
L
11122 * sysdeps/i386/fpu_control.h: Removed.
11123 * sysdeps/x86_64/fpu_control.h: Moved to ...
11124 * sysdeps/x86/fpu_control.h: Here.
11125
3ee947b1
L
11126 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11127 (_FPU_SETCW): Likewise.
11128
ed1825f8
L
111292012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11130
25f1282a
L
11131 [BZ #14117]
11132 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11133 * sysdeps/x86/fpu/bits/mathinline.h: This.
11134 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11135
ed1825f8
L
11136 [BZ #14050]
11137 [BZ #14117]
11138 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11139 functions if __x86_64__ is defined.
11140
36d54b74
CLT
111412012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11142
11143 * string/endian.h: Add !__ASSEMBLER__ condition for including
11144 conversion interfaces.
11145
10285c21
JM
111462012-06-15 Joseph Myers <joseph@codesourcery.com>
11147
11148 [BZ #14241]
11149 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11150 of ABS(x) in calculating zero to negative powers other than odd
11151 integers.
11152 * math/libm-test.inc (pow_test): Add more tests.
11153
06c5abbd
AJ
111542012-06-15 Andreas Jaeger <aj@suse.de>
11155
11156 * manual/contrib.texi (Contributors): Update entry of Liubov
11157 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11158 Machado Filho.
11159
a3aeac40
CH
111602012-06-15 Cyril Hrubis <metan@ucw.cz>
11161
11162 * string/string.h: Add __wur to GNU version of strerror_r.
11163
49bdf4c1
L
111642012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11165
11166 [BZ #14229]
11167 * string/Makefile (tests): Add tst-strtok_r.
11168 * string/tst-strtok_r.c: New file.
11169 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11170 RAX_LP/RDX_LP on SAVE_PTR.
11171
834f9b8d
RM
111722012-06-14 Roland McGrath <roland@hack.frob.com>
11173
11174 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11175
75fa1921
JM
111762012-06-14 Joseph Myers <joseph@codesourcery.com>
11177
11178 * libm_test.inc (csqrt_test): Allow more spurious underflow
11179 exceptions.
11180 (j0_test): Likewise.
11181 (j1_test): Likewise.
11182 (y0_test): Likewise.
11183 (y1_test): Likewise.
11184
771766df
CD
111852012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11186
11187 * po/Makefile (libc.pot): Use UTF-8 charset.
11188
ceb9e56b
PP
111892012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11190
11191 [BZ #14210]
11192 Suppress sign-conversion warning from FD_SET.
11193 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11194 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11195 not unsigned long int.
11196 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11197
ddb28975
L
111982012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11199
11200 [BZ #14050]
11201 [BZ #14117]
11202 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11203 __extern_always_inline instead of __extern_inline.
11204 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11205 (__signbit): Likewise.
11206 (__signbitl): Support C++ namespace.
11207 (lrintf): New inline function.
11208 (lrint): Likewise.
11209 (llrintf): Likewise.
11210 (llrint): Likewise.
11211 (fmaxf): Likewise.
11212 (fmax): Likewise.
11213 (fminf): Likewise.
11214 (fmin): Likewise.
11215 (rint): Likewise.
11216 (rintf): Likewise.
11217 (ceil): Likewise.
11218 (ceilf): Likewise.
11219 (floor): Likewise.
11220 (floorf): Likewise.
11221 (nearbyint): Likewise.
11222 (nearbyintf): Likewise.
11223
d7b4fb26
TS
112242012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11225
11226 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11227 non-default versions.
11228
eb55f5c2
RM
112292012-06-11 Roland McGrath <roland@hack.frob.com>
11230
11231 [BZ #14218]
11232 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11233
366af02c
TS
112342012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11235
99ff6e5c
TS
11236 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11237 (FE_UPWARD, FE_DOWNWARD): Don't define.
11238 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11239 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11240
366af02c
TS
11241 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11242 reading it.
11243 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11244 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11245
793ea851
KK
112462012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11247
11248 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11249 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11250 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11251 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11252
a728a38f
L
112532012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11254
11255 [BZ #14117]
c08010c7
L
11256 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11257 * sysdeps/i386/fpu/Implies: New file.
11258 * sysdeps/x86_64/fpu/Implies: Likewise.
11259 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11260 * sysdeps/x86/fpu/bits/fenv.h: This.
11261
a728a38f
L
11262 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11263 __SSE_MATH__.
11264
6e230d11
SP
112652012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11266
11267 [BZ #14134]
11268 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11269 character 0xffff that matches the last element of the
11270 conversion table.
11271
1b671feb
AZ
112722012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11273
11274 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11275 fmodl commit.
11276
6043738b
AZ
112772012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11278
11279 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11280 values higher than 25.6283.
11281
34ae0b32
AZ
112822012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11283
11284 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11285 subnormal exponent extraction and add some __builtin_expect.
11286 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11287 Fix for subnormal mantissa calculation.
11288
1214ec8f
MF
112892012-06-04 Mike Frysinger <vapier@gentoo.org>
11290
11291 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11292 cpu2 is -1 and errno is not ENOSYS.
11293
f3d1f93c
L
112942012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11295
11296 [BZ #14117]
0e4a3cd7
L
11297 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11298 * sysdeps/x86/bits/string.h: This.
11299 * sysdeps/x86_64/bits/string.h: Removed.
11300
6704c645
L
11301 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11302 if not compiling for x86-64, but compiling for >= i486.
11303
48495318
L
11304 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11305 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11306
14adcbfc
L
11307 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11308 New macro from Linux kernel 3.4.0.
11309 (FP_XSTATE_MAGIC2): Likewise.
11310 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11311 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11312 (struct _fpx_sw_bytes): New struct.
11313 (struct _xsave_hdr): Likewise.
11314 (struct _ymmh_state): Likewise.
11315 (struct _xstate): Likewise.
11316
68e408ab
L
11317 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11318 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11319 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11320 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11321 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11322 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11323
f3d1f93c
L
11324 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11325 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11326 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11327 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11328 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11329 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11330
d9dc34cd
TMQMF
113312012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11332
11333 [BZ #13743]
11334 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11335 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11336 (sysdep_headers): Include sys/platform/ppc.h.
11337 * sysdeps/powerpc/test-gettimebase.c: Test for
11338 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11339 * manual/Makefile (appendices): Include platform.texi.
11340 * manual/contrib.texi (Contributors): Update @node pointers.
11341 * manual/maint.texi (Maintenance): Likewise.
11342 (Platform): New node.
11343 * manual/platform.texi: New file. Document the new features.
11344
4af3879c
SP
113452012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11346 Jakub Jelinek <jakub@redhat.com>
11347
11348 [BZ #14188]
11349 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11350 where __builtin_expect is unavailable.
11351
2fd6ff13
DM
113522012-06-03 David S. Miller <davem@davemloft.net>
11353
11354 * stdlib/longlong.h: Updated from GCC.
11355
173f7220
AS
113562012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11357
11358 [BZ #14042]
11359 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11360 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11361 __mcount_internal.
11362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11363 (GLIBC_2.16): Likewise.
11364
f34a1c6f
L
113652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11366
11367 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11368
88a4576f
JM
113692012-06-01 Joseph Myers <joseph@codesourcery.com>
11370
ea32bcdd
JM
11371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11372 (default-abi): New variable.
11373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11374 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11375 variable.
11376 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11377 Likewise.
11378 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11379 Likewise.
11380 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11381 Likewise.
11382
88a4576f
JM
11383 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11384 definition. Document in comment.
11385
402fe938
DM
113862012-06-01 David S. Miller <davem@davemloft.net>
11387
11388 * stdlib/longlong.h: Updated from GCC.
11389
3553723f
L
113902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11391
11392 [BZ #14117]
3bd872c4
L
11393 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11394 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11395 sys/debugreg.h sys/io.h here.
11396 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11397 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11398 sys/io.h.
11399 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11400 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11401 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11402 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11403 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11404 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11405
3553723f
L
11406 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11407 Define only if __x86_64__ is defined.
11408
4842e4fe
JM
114092012-06-01 Joseph Myers <joseph@codesourcery.com>
11410
c5bfe3d5
JM
11411 [BZ #14048]
11412 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11413 Use int64_t for variable i.
11414 * math/libm-test.inc (fmod_test): Add more tests.
11415
4842e4fe
JM
11416 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11417 z computation is not scheduled after fetestexcept.
11418 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11419 Use math_force_eval instead of asm to ensure calculation scheduled
11420 before exception test.
11421 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11422 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11423
efb73488
AJ
114242012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11425
11426 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11427 computation is not scheduled after fetestexcept.
11428
29bcce7c
L
114292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11430
11431 [BZ #14117]
11432 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11433 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11434
73a68f94
AZ
114352012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11436
11437 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11438 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11439
67b6df78
L
114402012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11441
edf2933a 11442 [BZ #14117]
ebc64a18
L
11443 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11444 <bits/wordsize.h>.
11445 (__WCHAR_MIN): Support __WORDSIZE == 64.
11446 (__WCHAR_MAX): Likewise.
11447
edf2933a
L
11448 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11449 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11450
57c6cf40
L
11451 [BZ #14183]
11452 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11453 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11454
67b6df78 11455 [BZ #14117]
8eb6281e
L
11456 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11457 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11458
aac639f4
L
11459 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11460 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11461
67b6df78
L
11462 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11463 Defined to 1 if __x86_64__ isn't defined.
11464 (_STAT_VER_LINUX_OLD): New.
11465 (st_atime): Remove duplicate.
11466 (st_mtime): Likewise.
11467 (st_ctime): Likewise.
11468
1c2cfe81
DM
114692012-05-31 David S. Miller <davem@davemloft.net>
11470
11471 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11472 entries.
11473
5be8418c
AS
114742012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11475
e7725326
AS
11476 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11477 gen-libm-test.pl.
11478
5be8418c
AS
11479 [BZ #14132]
11480 * elf/dl-reloc.c: Include <_itoa.h>.
11481 (_dl_reloc_bad_type): Remove use of INTUSE.
11482 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11483 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11484 * stdio-common/psiginfo.c (psiginfo): Likewise.
11485 * stdio-common/psignal.c (psignal): Likewise.
11486 * string/strsignal.c (strsignal): Likewise.
11487 * include/signal.h (_sys_siglist): Declare hidden proto.
11488 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11489 INTVARDEF with libc_hidden_data_def.
11490 * stdio-common/itoa-udigits.c: Likewise.
11491 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11492 (_itoa_lower_digits_internal): Remove declaration.
11493 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11494 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11495 (_sys_sigabbrev_internal): Remove aliases.
11496 (_sys_siglist): Define hidden alias.
11497
507352f1
MT
114982012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11499
11500 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11501 bits/sysctl.h.
11502
42bbb1c3
L
115032012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11504
11505 [BZ #14117]
6bd784b6
L
11506 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11507 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11508
8bca20f0
L
11509 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11510 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11511 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11512 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11513 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11514 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11515
f9e890a9
L
11516 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11517 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11518 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11519
471101a1
L
11520 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11521 with __addr.
11522 (insw): Likewise.
11523 (insl): Likewise.
11524 (outsb): Likewise.
11525 (outsw): Likewise.
11526 (outsl): Likewise.
11527
6451c862
L
11528 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11529 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11530 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11531
a254b8c9
L
11532 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11533 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11534 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11535 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11536 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11537 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11538
b8dfdd92
L
11539 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11540 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11541
578cd270
L
11542 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11543 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11544
de662f5f
L
11545 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11546 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11547 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11548
25653439
L
11549 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11550 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11551 to ...
11552 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11553
6bad24a0
L
11554 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11555 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11556 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11557
42bbb1c3
L
11558 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11559 for x86-64.
11560 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11561
2d10d547
JM
115622012-05-31 Joseph Myers <joseph@codesourcery.com>
11563
11564 * math/math.h (M_El): Use two more decimal places.
11565 (M_LOG2El): Likewise.
11566 (M_LOG10El): Likewise.
11567 (M_LN2l): Likewise.
11568 (M_LN10l): Likewise.
11569 (M_PIl): Likewise.
11570 (M_PI_2l): Likewise.
11571 (M_PI_4l): Likewise.
11572 (M_1_PIl): Likewise.
11573 (M_2_PIl): Likewise.
11574 (M_2_SQRTPIl): Likewise.
11575 (M_SQRT2l): Likewise.
11576 (M_SQRT1_2l): Likewise.
11577
f230c29b
DM
115782012-05-31 David S. Miller <davem@davemloft.net>
11579
11580 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11581 values between float registers.
11582 * sysdeps/sparc/sparc64/memset.S: Likewise.
11583 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11584
fed806c3
MF
115852012-05-31 Mike Frysinger <vapier@gentoo.org>
11586
11587 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11588 -D_FORTIFY_SOURCE=1.
11589 (CPPFLAGS-tst-longjmp_chk.c): Define.
11590 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11591 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11592 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11593 CFLAGS-tst-wchar-h.c.
11594
30917259
MP
115952012-05-31 Marek Polacek <polacek@redhat.com>
11596
11597 [BZ #14132]
11598 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11599 __endmntent_internal): Remove declaration.
11600 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11601 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11602 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11603
1c58d5dc
DM
116042012-05-30 David S. Miller <davem@davemloft.net>
11605
11606 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11607 (___Q_simulate_exceptions): Use real FP ops rather than writing
11608 into the %fsr.
11609 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11610 Likewise.
11611
7dc00e0d
L
116122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11613
11614 [BZ #14117]
0bd53985
L
11615 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11616 * sysdeps/x86/bits/xtitypes.h: This.
11617
3a257e66
L
11618 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11619 * sysdeps/x86/bits/wordsize.h: This.
11620
62f62904
L
11621 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11622 * sysdeps/x86/bits/huge_vall.h: This.
11623
404fe9d9
L
11624 * sysdeps/i386/bits/select.h: Removed.
11625 * sysdeps/x86_64/bits/select.h: Renamed to ...
11626 * sysdeps/x86/bits/select.h: This.
11627
d48d0446
L
11628 * sysdeps/i386/bits/setjmp.h: Removed.
11629 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11630 * sysdeps/x86/bits/setjmp.h: This.
11631
7dc00e0d
L
11632 * sysdeps/i386/bits/mathdef.h: Removed.
11633 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11634 * sysdeps/x86/bits/mathdef.h: This.
11635
03277f8f
AS
116362012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11637
11638 [BZ #14132]
11639 * include/sys/socket.h (__connect_internal)
11640 (__libc_sa_len_internal): Remove declaration.
11641 (__connect, __libc_sa_len): Declare hidden_proto.
11642 (SA_LEN): Remove use of INTUSE.
11643 * socket/connect.c: Add libc_hidden_def.
11644 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11645 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11646 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11647 alias.
11648 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11649 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11650 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11651 of adding _internal alias.
11652
13764867
L
116532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11654
11655 [BZ #14117]
6bd97696
L
11656 * sysdeps/i386/bits/link.h: Removed.
11657 * sysdeps/i386/bits/linkmap.h: Likewise.
11658 * sysdeps/x86_64/bits/link.h: Renamed to ...
11659 * sysdeps/x86/bits/link.h: This.
11660 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11661 * sysdeps/x86/bits/linkmap.h: This.
11662
f726f0bb
L
11663 * sysdeps/i386/bits/endian.h: Removed.
11664 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11665 * sysdeps/x86/bits/endian.h: This.
11666
13764867
L
11667 * sysdeps/i386/bits/byteswap.h: Removed.
11668 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11669 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11670 * sysdeps/x86/bits/byteswap.h: This.
11671 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11672 * sysdeps/x86/bits/byteswap-16.h: This.
11673 * sysdeps/i386/Implies: Add x86.
11674 * sysdeps/x86_64/Implies: Likewise.
11675
ae251b0b
DM
116762012-05-30 David S. Miller <davem@davemloft.net>
11677
11678 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11679 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11680 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11681 (FP_TRAPPING_EXCEPTIONS): Define.
11682 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11683 (FP_TRAPPING_EXCEPTIONS): Define.
11684 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11685 subnormals only when inexact has been signalled or underflow
11686 exceptions are enabled.
11687 (_FP_PACK_CANONICAL): Likewise.
11688
d5c90867
L
116892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11690
11691 [BZ #14183]
11692 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11693 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11694
63f1549e
RH
116952012-05-30 Richard Henderson <rth@twiddle.net>
11696
8d8f2279
RH
11697 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11698 with #ifndef NOT_IN_libc.
11699
63f1549e
RH
11700 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11701 marked to avoid plt entry.
11702
0ab0291b
L
117032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11704
11705 [BZ #14112]
11706 * Makeconfig (default-abi): New macro.
11707 (abi-includes): Likewise.
11708 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11709 $(abi-$(default-abi)-lib-soname) for soname if defined.
11710 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11711 abi-variants.
11712 * Makefile (installed-stubs): Likewise.
11713 * include/stubs-biarch.h: Removed.
11714 * scripts/lib-names.awk: Only handle one library at a time.
11715 * scripts/soversions.awk: Remove WORDSIZE support.
11716 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11717 entries.
11718 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11719 Removed.
11720 (syscall-list-default-condition): Likewise.
11721 (syscall-list-default-condition): Likewise.
11722 (syscall-list-includes): Likewise.
11723 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11724 syscall-list-* with abi-*. Handle undefined abi-variants.
11725 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11726 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11727 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11728 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11729 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11730 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11731 Removed.
11732 (syscall-list-32-options): Likewise.
11733 (syscall-list-32-condition): Likewise.
11734 (syscall-list-64-options): Likewise.
11735 (syscall-list-64-condition): Likewise.
11736 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11737 macro.
11738 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11739 Renamed to ...
11740 (abi-*): This.
11741 (abi-64-ld-soname): New macro.
11742 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11743 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11744 Renamed to ...
11745 (abi-*): This.
11746 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11747 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11748
4da0431d
JM
117492012-05-30 Joseph Myers <joseph@codesourcery.com>
11750
3a85279c
JM
11751 * sysdeps/unix/sysv/linux/kernel-features.h
11752 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11753 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11754 include <kernel-features.h>.
11755 [!__NR_ftruncate64]: Remove conditional code.
11756 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11757 [__NR_ftruncate64]: Make code unconditional.
11758 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11759 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11760 include <kernel-features.h>.
11761 [!__NR_ftruncate64]: Remove conditional code.
11762 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11763 [__NR_ftruncate64]: Make code unconditional.
11764 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11766 include <kernel-features.h>.
11767 [!__NR_ftruncate64]: Remove conditional code.
11768 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11769 [__NR_ftruncate64]: Make code unconditional.
11770 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11772 include <kernel-features.h>.
11773 [!__NR_ftruncate64]: Remove conditional code.
11774 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11775 [__NR_ftruncate64]: Make code unconditional.
11776 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11777
4da0431d
JM
11778 * configure.in (libc_cv_fpie): Weaken to a compile test using
11779 LIBC_TRY_CC_OPTION.
11780 * configure: Regenerated.
11781
11ef492c
AK
117822012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11783
11784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11788 Refreshed.
11789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11795 Refreshed.
11796
d66ef399
DM
117972012-05-27 David S. Miller <davem@davemloft.net>
11798
11799 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11800 (___Q_zero): New.
11801 (__Q_simulate_exceptions): Return void. Change to simulate
11802 exceptions by writing into the %fsr.
11803 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11804 (__Qp_handle_exceptions): Likewise.
11805 (numbers): Delete.
11806 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11807 __Qp_handle_exceptions.
11808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11809 __Qp_handle_exceptions.
11810 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11811 as unused and give dummy FP_RND_NEAREST initializer.
11812 (FP_INHIBIT_RESULTS): Define.
11813 (___Q_simulate_exceptions): Update declaration.
11814 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11815 formatting.
11816 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11817 as unused and give dummy FP_RND_NEAREST initializer.
11818 (__Qp_handle_exceptions): Update declaration.
11819 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11820 formatting.
11821
04fb54b5
TS
118222012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11823
11824 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11825 the temporary FPU control word.
11826 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11827 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11828 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11829 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11830 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11831 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11832 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11833 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11834 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11835 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11836 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11837
3f99608f
KK
118382012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11839
11840 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11841 fields.
11842
65a4de4e
CLT
118432012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11844
11845 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11846 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11847 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11848 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11849 Likewise.
11850 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11851 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11852 Likewise.
11853
15749d40
UD
118542012-05-27 Ulrich Drepper <drepper@gmail.com>
11855
11856 * po/h.po: Update from translation team.
11857
25dbcb27
AS
118582012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11859
3d3f8e55
AS
11860 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11861
25dbcb27
AS
11862 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11863 handling of denormals.
11864 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11865 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11866 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11867 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11868 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11869 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11870 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11871 Likewise.
11872
7ad47a80 118732012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11874
11875 [BZ #14152]
11876 * math/libm-test.inc (fma_test): Don't always expect underflow
11877 exception.
11878
9c6ea9fa
SP
118792012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11880
11881 [BZ #12416]
11882 * elf/tst-execstack.c: Include stackinfo.h.
11883 (do_test): Adjust test case to ensure that pthread_getattr_np
11884 behaviour remains the same after marking stack executable.
11885
a8239222
JM
118862012-05-25 Joseph Myers <joseph@codesourcery.com>
11887
11888 * sysdeps/unix/sysv/linux/kernel-features.h
11889 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11890 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11891 kernel-features.h.
11892 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11893 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11894 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11895 kernel-features.h.
11896 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11897 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11898
918b5606
L
118992012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11900
11901 * configure.in: Define the default includes to being none.
11902 * configure: Regenerated.
11903
3a097cc7
RM
119042012-05-25 Roland McGrath <roland@hack.frob.com>
11905
8422c9a5
RM
11906 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11907 * sysdeps/x86_64/setjmp.S: Likewise.
11908 * sysdeps/i386/bsd-setjmp.S: Likewise.
11909 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11910 * sysdeps/i386/setjmp.S: Likewise.
11911 * sysdeps/i386/__longjmp.S: Likewise.
11912 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11913 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11914
3a097cc7
RM
11915 * include/stap-probe.h: New file.
11916 * configure.in: Handle --enable-systemtap.
11917 * configure: Regenerated.
11918 * config.h.in (USE_STAP_PROBE): New #undef.
11919 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11920 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11921 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11922
21708942
JM
119232012-05-25 Joseph Myers <joseph@codesourcery.com>
11924
11925 [BZ #13717]
11926 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11927 to 2.4.0 where earlier.
11928 * sysdeps/unix/sysv/linux/configure: Regenerated.
11929 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11930 <kernel-features.h>.
11931 [__ASSUME_32BITUIDS]: Make code unconditional.
11932 [!__ASSUME_32BITUIDS]: Remove conditional code.
11933 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11934 <kernel-features.h>.
11935 [__ASSUME_32BITUIDS]: Make code unconditional.
11936 [!__ASSUME_32BITUIDS]: Remove conditional code.
11937 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11938 [__ASSUME_32BITUIDS]: Make code unconditional.
11939 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11940 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.c: Do not include
11961 <kernel-features.h>.
11962 [__ASSUME_32BITUIDS]: Make code unconditional.
11963 [!__ASSUME_32BITUIDS]: Remove conditional code.
11964 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11965 <kernel-features.h>.
11966 [__ASSUME_32BITUIDS]: Make code unconditional.
11967 [!__ASSUME_32BITUIDS]: Remove conditional code.
11968 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11969 <kernel-features.h>.
11970 [__ASSUME_32BITUIDS]: Make code unconditional.
11971 [!__ASSUME_32BITUIDS]: Remove conditional code.
11972 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11973 <kernel-features.h>.
11974 [__ASSUME_32BITUIDS]: Make code unconditional.
11975 [!__ASSUME_32BITUIDS]: Remove conditional code.
11976 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11977 <kernel-features.h>.
11978 [__ASSUME_32BITUIDS]: Make code unconditional.
11979 [!__ASSUME_32BITUIDS]: Remove conditional code.
11980 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11981 <kernel-features.h>.
11982 [__NR_setresgid] (__setresgid): Do not declare.
11983 [__ASSUME_32BITUIDS]: Make code unconditional.
11984 [!__ASSUME_32BITUIDS]: Remove conditional code.
11985 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11986 <kernel-features.h>.
11987 [__NR_setresuid] (__setresuid): Do not declare.
11988 [__ASSUME_32BITUIDS]: Make code unconditional.
11989 [!__ASSUME_32BITUIDS]: Remove conditional code.
11990 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/i386/setresgid.c: Do not include
12011 <kernel-features.h>.
12012 [__ASSUME_32BITUIDS]: Make code unconditional.
12013 [!__ASSUME_32BITUIDS]: Remove conditional code.
12014 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12015 <kernel-features.h>.
12016 [__ASSUME_32BITUIDS]: Make code unconditional.
12017 [!__ASSUME_32BITUIDS]: Remove conditional code.
12018 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12019 <kernel-features.h>.
12020 [__ASSUME_32BITUIDS]: Make code unconditional.
12021 [!__ASSUME_32BITUIDS]: Remove conditional code.
12022 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12023 <kernel-features.h>.
12024 [__ASSUME_32BITUIDS]: Make code unconditional.
12025 [!__ASSUME_32BITUIDS]: Remove conditional code.
12026 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12027 <kernel-features.h>.
12028 [__ASSUME_32BITUIDS]: Make code unconditional.
12029 [!__ASSUME_32BITUIDS]: Remove conditional code.
12030 * sysdeps/unix/sysv/linux/kernel-features.h
12031 (__ASSUME_SETRESUID_SYSCALL): Remove.
12032 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12033 (__ASSUME_32BITUIDS): Likewise.
12034 (__ASSUME_LDT_WORKS): Likewise.
12035 (__ASSUME_O_DIRECTORY): Likewise.
12036 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12037 architecture but not kernel version.
12038 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12039 (__ASSUME_MMAP2_SYSCALL): Likewise.
12040 (__ASSUME_STAT64_SYSCALL): Likewise.
12041 (__ASSUME_IPC64): Likewise.
12042 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12043 <kernel-features.h>.
12044 [__ASSUME_32BITUIDS]: Make code unconditional.
12045 [!__ASSUME_32BITUIDS]: Remove conditional code.
12046 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12047 <kernel-features.h>.
12048 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12049 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12050 132096]: Remove conditional code.
12051 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12052 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12053 <kernel-features.h>.
12054 [__ASSUME_32BITUIDS]: Make code unconditional.
12055 [!__ASSUME_32BITUIDS]: Remove conditional code.
12056 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12057 <kernel-features.h>.
12058 [__ASSUME_32BITUIDS]: Make code unconditional.
12059 [!__ASSUME_32BITUIDS]: Remove conditional code.
12060 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12061 <kernel-features.h>.
12062 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12063 unconditional.
12064 (__setresgid): Do not declare.
12065 [__ASSUME_32BITUIDS]: Make code unconditional.
12066 [!__ASSUME_32BITUIDS]: Remove conditional code.
12067 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12068 <kernel-features.h>.
12069 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12070 unconditional.
12071 (__setresuid): Do not declare.
12072 [__ASSUME_32BITUIDS]: Make code unconditional.
12073 [!__ASSUME_32BITUIDS]: Remove conditional code.
12074 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12075 <kernel-features.h>.
12076 [__ASSUME_32BITUIDS]: Make code unconditional.
12077 [!__ASSUME_32BITUIDS]: Remove conditional code.
12078 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12079 <kernel-features.h>.
12080 [__ASSUME_32BITUIDS]: Make code unconditional.
12081 [!__ASSUME_32BITUIDS]: Remove conditional code.
12082
a386f1cc
RH
120832012-05-25 Richard Henderson <rth@twiddle.net>
12084
12085 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12086 dl_hwcap to ifunc resolver.
12087 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12088 elf_ifunc_invoke.
12089 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12090 dl_hwcap to ifunc resolver.
12091 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12092
b6550497
JM
120932012-05-24 Joseph Myers <joseph@codesourcery.com>
12094
12095 [BZ #14153]
12096 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12097 for |x| <= 2**-26, not 2**-57.
12098 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12099 exception.
12100
b0bc23a1
JL
121012012-05-24 Jeff Law <law@redhat.com>
12102
12103 * stdio-common/Makefile (tests): Add bug25.
12104 * stdio-common/bug25.c: New test.
12105
347c92e9
L
121062012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12107
12108 [BZ #13576]
12109 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12110 multiple of MALLOC_ALIGNMENT in size.
12111 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12112
6bcc8b3f
JM
121132012-05-24 Joseph Myers <joseph@codesourcery.com>
12114
12115 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12116 Require >= 256.
12117 (FILENAME_MAX): Use macro-int-constant.
12118 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12119 (_IOFBF): Use macro-int-constant.
12120 (_IOLBF): Likewise.
12121 (_IONBF): Likewise.
12122 (SEEK_CUR): Likewise.
12123 (SEEK_END): Likewise.
12124 (SEEK_SET): Likewise.
12125 (TMP_MAX): Likewise.
12126 (EOF): Use macro-int-constant. Require < 0.
12127 (NULL): Use macro-constant. Require == 0.
12128 (stdin): Require type to be FILE *.
12129 (stdout): Likewise.
12130 (stderr): Likewise.
12131 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12132 macro-int-constant.
12133 (EXIT_SUCCESS): Likewise.
12134 (NULL): Use macro-constant. Require == 0.
12135 (RAND_MAX): Use macro-int-constant.
12136 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12137 [C99-based standards] (strtof): Require function.
12138 [C99-based standards] (strtold): Likewise.
12139 [C99-based standards] (strtoll): Likewise.
12140 [C99-based standards] (strtoull): Likewise.
12141 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12142 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12143 [ISO || ISO99 || ISO11] (math.h): Likewise.
12144 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12145 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12146 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12147
d18ea0c5
AS
121482012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12149
12150 [BZ #14132]
56d25bb8
AS
12151 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12152 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12153 * intl/dgettext.c (DCGETTEXT): Likewise.
12154 * intl/gettext.c (DCGETTEXT): Likewise.
12155 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12156 * posix/regex_internal.h (gettext): Likewise.
12157 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12158 Remove declaration.
12159 * include/argz.h (__argz_count_internal)
12160 (__argz_stringify_internal): Remove declaration.
12161 (__argz_count, __argz_stringify): Declare hidden proto.
12162 * intl/dcgettext.c: Remove use of INTDEF.
12163 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12164 * string/argz-stringify.c: Likewise.
12165 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12166 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12167 Declare hidden proto.
d18ea0c5
AS
12168 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12169 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12170 Declare hidden proto.
12171 * include/stdio.h (__asprintf_internal): Don't declare.
12172 (__asprintf): Don't define as macro. Declare hidden proto.
12173 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12174 (__fsetlocking): Declare hidden proto.
12175 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12176 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12177 hidden proto.
12178 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12179 (_IO_setlinebuf): Remove use of INTUSE.
12180 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12181 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12182 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12183 Remove declaration.
12184 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12185 (_IO_do_flush): Remove use of INTUSE.
12186 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12187 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12188 (_IO_adjust_column, _IO_least_wmarker)
12189 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12190 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12191 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12192 (_IO_default_doallocate, _IO_wdefault_doallocate)
12193 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12194 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12195 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12196 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12197 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12198 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12199 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12200 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12201 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12202 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12203 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12204 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12205 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12206 proto.
12207 (_IO_flush_all_internal, _IO_adjust_column_internal)
12208 (_IO_default_uflow_internal, _IO_default_finish_internal)
12209 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12210 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12211 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12212 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12213 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12214 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12215 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12216 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12217 (_IO_file_close_internal, _IO_file_close_it_internal)
12218 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12219 (_IO_file_init_internal, _IO_file_attach_internal)
12220 (_IO_file_fopen_internal, _IO_file_read_internal)
12221 (_IO_file_sync_internal, _IO_file_seek_internal)
12222 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12223 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12224 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12225 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12226 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12227 (_IO_list_all_internal, _IO_link_in_internal)
12228 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12229 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12230 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12231 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12232 (_IO_do_write_internal, _IO_padn_internal)
12233 (_IO_getline_info_internal, _IO_getline_internal)
12234 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12235 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12236 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12237 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12238 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12239 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12240 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12241 with libc_hidden_ver, remove use of INTUSE.
12242 * libio/genops.c: Likewise.
12243 * libio/freopen.c: Likewise.
12244 * libio/freopen64.c: Likewise.
12245 * libio/iofclose.c: Likewise.
12246 * libio/iofdopen.c: Likewise.
12247 * libio/iofflush.c: Likewise.
12248 * libio/iofflush_u.c: Likewise.
12249 * libio/iofgets.c: Likewise.
12250 * libio/iofgets_u.c: Likewise.
12251 * libio/iofopen.c: Likewise.
12252 * libio/iofopncook.c: Likewise.
12253 * libio/iofread.c: Likewise.
12254 * libio/iofread_u.c: Likewise.
12255 * libio/ioftell.c: Likewise.
12256 * libio/iofwrite.c: Likewise.
12257 * libio/iogetline.c: Likewise.
12258 * libio/iogets.c: Likewise.
12259 * libio/iogetwline.c: Likewise.
12260 * libio/iopadn.c: Likewise.
12261 * libio/iopopen.c: Likewise.
12262 * libio/ioseekoff.c: Likewise.
12263 * libio/ioseekpos.c: Likewise.
12264 * libio/iosetbuffer.c: Likewise.
12265 * libio/iosetvbuf.c: Likewise.
12266 * libio/ioungetc.c: Likewise.
12267 * libio/ioungetwc.c: Likewise.
12268 * libio/iovdprintf.c: Likewise.
12269 * libio/iovsprintf.c: Likewise.
12270 * libio/iovsscanf.c: Likewise.
12271 * libio/memstream.c: Likewise.
12272 * libio/obprintf.c: Likewise.
12273 * libio/oldfileops.c: Likewise.
12274 * libio/oldiofclose.c: Likewise.
12275 * libio/oldiofdopen.c: Likewise.
12276 * libio/oldiofopen.c: Likewise.
12277 * libio/oldiopopen.c: Likewise.
12278 * libio/oldstdfiles.c: Likewise.
12279 * libio/putc.c: Likewise.
12280 * libio/setbuf.c: Likewise.
12281 * libio/setlinebuf.c: Likewise.
12282 * libio/stdfiles.c: Likewise.
12283 * libio/strops.c: Likewise.
12284 * libio/vasprintf.c: Likewise.
12285 * libio/vscanf.c: Likewise.
12286 * libio/vsnprintf.c: Likewise.
12287 * libio/vswprintf.c: Likewise.
12288 * libio/wfiledoalloc.c: Likewise.
12289 * libio/wfileops.c: Likewise.
12290 * libio/wgenops.c: Likewise.
12291 * libio/wmemstream.c: Likewise.
12292 * libio/wstrops.c: Likewise.
12293 * libio/__fpurge.c: Likewise.
12294 * libio/__fsetlocking.c: Likewise.
12295 * assert/assert.c: Likewise.
12296 * debug/fgets_chk.c: Likewise.
12297 * debug/fgets_u_chk.c: Likewise.
12298 * debug/fread_chk.c: Likewise.
12299 * debug/fread_u_chk.c: Likewise.
12300 * debug/gets_chk.c: Likewise.
12301 * debug/obprintf_chk.c: Likewise.
12302 * debug/vasprintf_chk.c: Likewise.
12303 * debug/vdprintf_chk.c: Likewise.
12304 * debug/vsnprintf_chk.c: Likewise.
12305 * debug/vsprintf_chk.c: Likewise.
12306 * malloc/mtrace.c: Likewise.
12307 * misc/error.c: Likewise.
12308 * misc/syslog.c: Likewise.
12309 * stdio-common/asprintf.c: Likewise.
12310 * stdio-common/fxprintf.c: Likewise.
12311 * stdio-common/getw.c: Likewise.
12312 * stdio-common/isoc99_fscanf.c: Likewise.
12313 * stdio-common/isoc99_scanf.c: Likewise.
12314 * stdio-common/isoc99_vfscanf.c: Likewise.
12315 * stdio-common/isoc99_vscanf.c: Likewise.
12316 * stdio-common/isoc99_vsscanf.c: Likewise.
12317 * stdio-common/printf-prs.c: Likewise.
12318 * stdio-common/printf_fp.c: Likewise.
12319 * stdio-common/printf_fphex.c: Likewise.
12320 * stdio-common/printf_size.c: Likewise.
12321 * stdio-common/putw.c: Likewise.
12322 * stdio-common/scanf.c: Likewise.
12323 * stdio-common/sprintf.c: Likewise.
12324 * stdio-common/tmpfile.c: Likewise.
12325 * stdio-common/vfprintf.c: Likewise.
12326 * stdio-common/vfscanf.c: Likewise.
12327 * stdlib/strfmon_l.c: Likewise.
12328 * sunrpc/openchild.c: Likewise.
12329 * sunrpc/xdr_stdio.c: Likewise.
12330 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12331 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12332
d6c33fda
RM
123332012-05-24 Roland McGrath <roland@hack.frob.com>
12334
c1487492
RM
12335 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12336
12337 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12338 in the third column, to generate for the shared library an IFUNC
12339 that uses _dl_vdso_vsym.
12340 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12341 * Makeconfig (object-suffixes-noshared): New variable.
12342
12343 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12344 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12345 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12346 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12347
d6c33fda
RM
12348 [BZ #14132]
12349 * include/sys/time.h (__gettimeofday): Remove macro.
12350 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12351 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12352 Remove INTDEF.
12353 (__gettimeofday): Add libc_hidden_def.
12354 (gettimeofday): Add libc_hidden_weak.
12355 * sysdeps/mach/gettimeofday.c: Likewise.
12356 * sysdeps/posix/gettimeofday.c: Likewise.
12357 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12358 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12359 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12360 (__gettimeofday_internal): Remove strong_alias.
12361 (__gettimeofday): Add libc_hidden_def.
12362 (gettimeofday): Add libc_hidden_weak.
12363 * sysdeps/unix/syscalls.list (gettimeofday):
12364 Remove __gettimeofday_internal alias.
12365
b5a2bbe6
L
123662012-05-24 Daniel Jacobowitz <drow@false.org>
12367 H.J. Lu <hongjiu.lu@intel.com>
12368
12369 [BZ #12495]
12370 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12371 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12372 (largebin_index_32_big): New.
12373 (largebin_index): Use it for 16-byte alignment.
12374 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12375 correction with front_misalign.
12376
cfba4fda
L
123772012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12378
7f907421
L
12379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12381 Likewise.
12382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12383 Likewise.
12384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12385 Likewise.
12386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12387 Likewise.
12388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12389 Likewise.
12390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12391 Likewise.
12392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12393 Likewise.
12394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12395 Likewise.
12396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12397 Likewise.
12398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12399 Likewise.
12400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12401 Likewise.
12402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12403 Likewise.
12404
cfba4fda
L
12405 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12406 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12407
80bad0cc
JM
124082012-05-24 Joseph Myers <joseph@codesourcery.com>
12409
7a25eb06
JM
12410 [BZ #10846]
12411 [BZ #14036]
12412 * math/libm-test.inc (exp_test): Add test from bug 14036.
12413 (pow_test): Add test from bug 10846.
12414
795405f9
JM
12415 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12416 and other flags.
12417 (special_function): Do not include flags in test name.
12418 (parse_args): Likewise.
12419 * sysdeps/i386/fpu/libm-test-ulps: Update.
12420 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12421 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12422 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12424
80bad0cc
JM
12425 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12426 exceptions.
12427 * math/libm-test.inc ("Philosophy"): Update comment about
12428 exception testing.
12429 (UNDERFLOW_EXCEPTION): New macro.
12430 (UNDERFLOW_EXCEPTION_OK): Likewise.
12431 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12432 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12433 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12434 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12435 (INVALID_EXCEPTION_OK): Update value.
12436 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12437 (OVERFLOW_EXCEPTION_OK): Likewise.
12438 (IGNORE_ZERO_INF_SIGN): Likewise.
12439 (test_exceptions): Handle underflow exceptions.
12440 (acos_test): Update for underflow exception expectations.
12441 (cexp_test): Likewise.
12442 (clog_test): Likewise.
12443 (clog10_test): Likewise.
12444 (csqrt_test): Likewise.
12445 (ctan_test): Likewise.
12446 (ctanh_test): Likewise.
12447 (exp_test): Likewise.
12448 (exp10_test): Likewise.
12449 (exp2_test): Likewise.
12450 (expm1_test): Likewise.
12451 (fma_test): Likewise.
12452 (j0_test): Likewise.
12453 (jn_test): Likewise.
12454 (nexttoward_test): Likewise.
12455 (pow_test): Likewise.
12456 (scalbn_test): Likewise.
12457 (scalbln_test): Likewise.
12458 (tan_test): Likewise.
12459 (y1_test): Likewise.
12460 * sysdeps/i386/fpu/libm-test-ulps: Update.
12461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12462
9e0e3d0b
DM
124632012-05-23 David S. Miller <davem@davemloft.net>
12464
12465 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12466 (__libc_sigaction): Remove unused local variables.
12467
ccd0a08f
L
124682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12469
12470 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12471
62bdf9a6
PE
124722012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12473
f8591f80
PE
12474 mktime: avoid signed integer overflow
12475 * time/mktime.c (__mktime_internal): Do not mishandle the case
12476 where diff == INT_MIN.
12477
94c7d826
PE
12478 mktime: simplify computation of average
12479 * time/mktime.c (ranged_convert): Use new time_t_avg function
12480 instead of rolling our own (probably-slower) code.
12481
ce73d683
PE
12482 mktime: do not assume signed right shift propagates sign bit
12483 * time/mktime.c (isdst_differ): New static function.
12484 (__mktime_internal): No need to normalize tm_isdst now.
12485 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12486 tm_isdst values.
12487
72a22e59
PE
12488 mktime: merge another wrapv change from gnulib
12489 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12490 from some compilers.
12491
68605433
PE
12492 mktime: remove incorrect attempt at unusual arithmetics
12493 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12494 The code didn't really work on such machines anyway.
12495 (TYPE_MINIMUM): Assume two's complement.
12496 (twos_complement_arithmetic): Verify that long_int and time_t
12497 are two's complement (or unsigned, in the latter case).
12498
03cf7fe3
PE
12499 mktime: check signed shifts on long_int and time_t, too
12500 * time/mktime.c (SHR): Check that shifts work as desired
12501 on the types long_int and time_t too, as SHR is used on
12502 such types.
12503
f04dfbc2
PE
12504 mktime: do not assume 'long' is wide enough
12505 * time/mktime.c (verify): Move decl up.
12506 (long_int): New type.
12507 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12508 to remove assumption in the code that 'long' is wide enough to
12509 store year values. This assumption is not true on x32 and on
12510 some non-glibc platforms.
12511
62bdf9a6
PE
12512 mktime: merge wrapv change from gnulib
12513 * time/mktime.c (WRAPV): New macro.
12514 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12515 (guess_time_tm, __mktime_internal): Do not assume that signed
12516 integer overflow wraps around; modern compilers generate code
12517 where this assumption is no longer valid.
12518
5e292e4f
L
125192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12520
12521 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12522 Replace "jmp L(pseudo_end)" with "ret".
12523 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12524 Likewise.
12525
8caf8c87
AJ
125262012-05-23 Andreas Jaeger <aj@suse.de>
12527
12528 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12529 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12530
1a09dc56
AJ
125312012-05-23 Andreas Jaeger <aj@suse.de>
12532 Maximilian Attems <max@stro.at>
12533
12534 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12535 New macros.
12536
1c87aba0
L
125372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12538
12539 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12540 code so that pseudo_end is just ret and the stack pointer is
12541 correct also for static library in error case.
12542
40e45bd5
JM
125432012-05-23 Joseph Myers <joseph@codesourcery.com>
12544
c2670533
JM
12545 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12546 move to syscalls.list.
12547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12551
40e45bd5
JM
12552 * manual/install.texi (Running make install): Do not mention Linux
12553 kernel version for which pt_chown is not needed.
12554 (Linux): Do not mention problems with nscd with 2.0 kernels.
12555 * INSTALL: Regenerated.
12556
be08eda5
AJ
125572012-05-23 Andreas Jaeger <aj@suse.de>
12558
12559 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12560 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12561 macro.
12562 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12563 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12564 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12565 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12566 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12567 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12568 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12569 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12570 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12571 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12572 * sysdeps/unix/sysv/linux/bits/in.h
12573 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12574
a6a056bb
RM
125752012-05-22 Roland McGrath <roland@hack.frob.com>
12576
12577 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12578 (PREPARE_VERSION): Just use assert instead, it will be elided
12579 under [NDEBUG] anyway.
12580
c9009328
L
125812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12582
12583 * sysdeps/unix/sysv/linux/Makefile: Include
12584 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12585 (sysdep_routines): Remove sysctl.
c9009328
L
12586 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12587 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12588 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12589 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12590 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12591
73338355
AJ
125922012-05-22 Andreas Jaeger <aj@suse.de>
12593
12594 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12595 that pseudo_end is just ret and the stack pointer is correct also
12596 for static library in error case.
12597
d44638b0
PP
125982012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12599
12600 [BZ #14122]
12601 * nss/nsswitch.c (defconfig_entries): New variable.
12602 (__nss_database_lookup): Don't leak defconfig entries.
12603 (nss_parse_service_list): Don't leak on error paths.
12604 (free_database_entries): New function.
12605 (free_defconfig): New function.
12606 (free_mem): Move common code to free_database_entries.
12607
31a39bd8
L
126082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12609
da0331a8
L
12610 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12611 Add arch_prctl.
12612 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12613
31a39bd8
L
12614 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12615 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12616 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12617 New macro.
12618 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12619 (INTERNAL_SYSCALL_TYPES): Likewise.
12620 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12621 (LOAD_REGS_TYPES_[1-6]): Likewise.
12622 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12623 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12624
45470df3
AZ
126252012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12626
12627 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12628 copysignl for GLIBC_2_0.
12629 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12630 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12631 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12632 logbl for GLIBC_2_0.
12633 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12634 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12635
98a61bcb
L
126362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12637
a4f6e481
L
12638 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12639 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12640
f63d5db6
L
12641 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12642 Use "neg %eax".
12643
98a61bcb
L
12644 * time/mktime.c: Update copyright years.
12645
95770f14
PE
126462012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12647
6226efbd
PE
12648 mktime: merge comment-quoting-style change from gnulib
12649 * time/mktime.c: Quote 'like this' in comments.
12650 The GNU coding standards suggest that we no longer quote `like this',
12651 as "`" and "'" are typically rendered asymmetrically nowadays.
12652 The typical gnulib style is to quote 'like this' when quoting
12653 code, and "like this" when quoting English.
12654
b99e4f78
PE
12655 * time/mktime.c (compile-command): Add "-I.".
12656
643e01e6
PE
12657 mktime: merge mktime-internal.h change from gnulib
12658 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12659
2554247d
PE
12660 mktime: merge time_r change from gnulib
12661 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12662
826dd0ab
PE
12663 mktime: merge DEBUG change from gnulib
12664 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12665 case system <time.h> has a #define.
12666
bd83aabe
PE
12667 mktime: merge <sys/types.h> change from gnulib
12668 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12669 since <time.t> is now guaranteed to define time_t.
12670
95770f14
PE
12671 mktime: merge HAVE_CONFIG_H change from gnulib
12672 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12673
5e1a27a9
L
126742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12675
0e44a77e
L
12676 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12677 Use "neg %eax".
12678
5e1a27a9
L
12679 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12680 __rlim_t cast.
12681 (struct rusage): Use anonymous union to pad each field to
12682 __syscall_slong_t.
12683
46259bec
DM
126842012-05-21 David S. Miller <davem@davemloft.net>
12685
12686 * Makefules (o-iterator): Remove .s cases.
12687 (compile-command.s): Delete.
12688 (COMPILE.s): Delete.
12689 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12690
59f0c22e
JM
126912012-05-21 Joseph Myers <joseph@codesourcery.com>
12692
12693 * configure.in (libc_cv_predef_stack_protector): Only consider
12694 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12695 * configure: Regenerated.
12696
20c07380
L
126972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12698
bbb3154b
L
12699 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12700 New macro. Use R*LP on int and pointer.
12701 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12702 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12703 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12704 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12705
20c07380
L
12706 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12707 [__WORDSIZE_TIME64_COMPAT32] instead of
12708 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12709 (struct utmp): Likewise.
12710 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12711 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12712 Renamed to ...
12713 (__WORDSIZE_TIME64_COMPAT32): This.
12714 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12715 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12716 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12717 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12718 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12719 (__WORDSIZE_TIME64_COMPAT32): New macro.
12720
d8d1017e
AJ
127212012-05-21 Andreas Jaeger <aj@suse.de>
12722
12723 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12724 only if [SHARED]. Add prototype for __wcschr_ia32.
12725
6c7fb145
RM
127262012-05-21 Roland McGrath <roland@hack.frob.com>
12727
12728 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12729 of %rbp unmolested in the jmp_buf while mangling the low bits.
12730 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12731 unmolested high bits of %rbp while demangling the low bits.
12732 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12733
66274218
AJ
127342012-05-21 Andreas Jaeger <aj@suse.de>
12735
07c58f8f
AJ
12736 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12737 * sunrpc/svc_simple.c: Use it for registerrpc.
12738 * sunrpc/xcrypt.c: Use it for passwd2des.
12739
66274218
AJ
12740 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12741
61f65140
L
127422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12743
12744 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12745 Don't define if [__SYSCALL_WORDSIZE != 32].
12746 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12747 New macro.
12748
5fefb436
AJ
127492012-05-21 Bruno Haible <bruno@clisp.org>
12750 Andreas Jaeger <aj@suse.de>
12751
12752 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12753 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12754 inptr and inend for must_buffer_ch.
12755 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12756 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12757 * stdio-common/Makefile (tests): Remove bug15.
12758 (bug15-ENV): Remove macro.
12759 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12760 anymore.
12761
d8e272ab
AJ
127622012-05-19 Andreas Jaeger <aj@suse.de>
12763 Roland McGrath <roland@hack.frob.com>
12764
12765 * manual/contrib.texi: Completely rewritten. It contains now an
12766 alphabetical list of contributors and their contributions.
12767
4a56a162
RH
127682012-05-21 Richard Henderson <rth@twiddle.net>
12769
12770 * misc/getauxval.c (__getauxval): Use unsigned long int.
12771 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12772 (getauxval): Use unsigned long int.
12773
d024d23c
L
127742012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12775
12776 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12777
cbc00a03
RM
127782012-05-21 Roland McGrath <roland@hack.frob.com>
12779
12780 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12781 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12782 __alignof__ (long double).
12783
478143fa
AZ
127842012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12785
12786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12787
c7683a6d
RH
127882012-05-20 Richard Henderson <rth@twiddle.net>
12789
12790 * misc/getauxval.c: New file.
12791 * misc/sys/auxv.h: New file.
12792 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12793 (routines): Add getauxval.
12794 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12795 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12796 * elf/dl-sysdep.c (_dl_auxv): Remove.
12797 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12798 * elf/dl-support.c (_dl_auxv): New variable.
12799 (_dl_aux_init): Initialize it.
12800 * manual/startup.texi (Auxiliary Vector): New node.
12801 * sysdeps/generic/bits/hwcap.h: New file.
12802 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12803 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12804 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12805 * sysdeps/sparc/sysdep.h: ... here. Include it.
12806 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12807 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12809 Update.
c7683a6d
RH
12810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12813 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12818
a6f1845d
AZ
128192012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12820
12821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12822
cbcbe830
DM
128232012-05-19 David S. Miller <davem@davemloft.net>
12824
12825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12826
e0b16cc2
JM
128272012-05-19 Joseph Myers <joseph@codesourcery.com>
12828
12829 [BZ #14123]
12830 * math/s_ccosh.c: Include <float.h>
12831 (__ccosh): Avoid internal overflow calculating sinh and cosh
12832 values before multiplying by sin and cos values.
12833 * math/s_ccoshf.c: Likewise.
12834 * math/s_ccoshl.c: Likewise.
12835 * math/s_csin.c: Likewise.
12836 * math/s_csinf.c: Likewise.
12837 * math/s_csinl.c: Likewise.
12838 * math/s_csinh.c: Likewise.
12839 * math/s_csinhf.c: Likewise.
12840 * math/s_csinhl.c: Likewise.
12841 * math/libm-test.inc (ccos_test): Add more tests.
12842 (ccosh_test): Likewise.
12843 (csin_test): Likewise.
12844 (csinh_test): Likewise.
12845 * sysdeps/i386/fpu/libm-test-ulps: Update.
12846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12847
6ad13e08
L
128482012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12849
f66f0ce8
L
12850 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12851 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12852
6ad13e08
L
12853 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12854
b1d072a7
JM
128552012-05-19 Joseph Myers <joseph@codesourcery.com>
12856
12857 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12858 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12859 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12860 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12861 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12862 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12863 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12864 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12865 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12866 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12867 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12868 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12869 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12870 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12871 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12872 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12873 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12874 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12875 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12876 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12877 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12878 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12879 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12880 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12881 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12882 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12883 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12884 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12885 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12886 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12887 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12888
9eae47cb
AJ
128892012-05-18 Andreas Jaeger <aj@suse.de>
12890
12891 * csu/.gitignore: Delete.
12892
bb07f69f
L
128932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12894
12895 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12896 (timex): Use __syscall_slong_t.
12897
e6bdb741
AJ
128982012-05-18 Andreas Jaeger <aj@suse.de>
12899 Carlos O'Donell <carlos_odonell@mentor.com>
12900
12901 * manual/install.texi (Configuring and compiling): Update
12902 description about files modified in the source directory.
d6c33fda 12903 * INSTALL: Regenerated.
e6bdb741 12904
1b74487e
L
129052012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12906
12907 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12908 value. Use "or" to set return value to -1.
12909 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12910 negate return value.
12911
a88b64b9
TMQMF
129122012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12913
12914 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12915 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12916 failure if the compiler has Graphite support disabled.
12917 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12918 Likewise.
12919 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12920 CFLAGS-memmove.c): Likewise.
12921 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12922 Likewise.
12923
3707636e
L
129242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12925
610b8622
L
12926 * sysdeps/x86_64/x32/_itoa.h: New file.
12927
7cd195df
L
12928 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12929 getdents system call only if kernel and user dirents have the
12930 same d_ino and d_off.
12931
94b07d20
L
12932 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12933 LLONG_MAX != LONG_MAX.
12934 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12935 (_fitoa_word): Likewise.
12936
18298070
L
12937 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12938 years.
12939 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12940 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12941 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12942
553c7ea4
L
12943 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12944 include <bits/wordsize.h>. Check __x86_64__ instead of
12945 __WORDSIZE.
12946 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12947 if __x86_64__ is defined. Use anonymous union on fpstate.
12948
3707636e
L
12949 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12950 anonymous union.
12951
b53ef01a
AS
129522012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12953
37fb1dc0
AS
12954 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12955 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12956 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12957 Refer to _rtld_local_ro instead of _rtld_global_ro.
12958 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12959 Likewise.
12960 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12961 Likewise.
12962 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12963 Likewise.
12964 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12965 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12966 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12967
b53ef01a
AS
12968 * sysdeps/powerpc/powerpc32/dl-machine.c
12969 (__elf_machine_runtime_setup) [PROF]: Don't reference
12970 _dl_prof_resolve.
12971
7a185db2
AJ
129722012-05-18 Andreas Jaeger <aj@suse.de>
12973
12974 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12975 function only available for GCCs before 3.4 since GCC 3.4
12976 introduced a builtin.
12977 (lrint): Likewise.
12978 (llrintf): Likewise.
12979 (llrint): Likewise.
12980 (fmaxf): Likewise.
12981 (fmax): Likewise.
12982 (fminf): Likewise.
12983 (fmin): Likewise.
12984 (rint): Likewise.
12985 (rintf): Likewise.
12986 (nearbyint): Likewise.
12987 (nearbyintf): Likewise.
12988 (ceil): Likewise.
12989 (ceilf): Likewise.
12990 (floor): Likewise.
12991 (floorf): Likewise.
12992
3e5aef87
L
129932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12994
428bd707
L
12995 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12996 on both fields and cast pointer to __syscall_ulong_t.
12997
3e5aef87
L
12998 * bits/types.h (__fsword_t): New type.
12999 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13000 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13001 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13002 (__FSWORD_T_TYPE): Likewise.
13003 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13004 (__FSWORD_T_TYPE): Likewise.
13005 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13006 (__FSWORD_T_TYPE): Likewise.
13007 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13008 (__FSWORD_T_TYPE): Likewise.
13009 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13010 __SWORD_TYPE with __fsword_t.
13011 (statfs64): Likewise.
13012
1ba7c3dc
DM
130132012-05-17 David S. Miller <davem@davemloft.net>
13014
13015 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13016
59910343
AJ
130172012-05-17 Andreas Jaeger <aj@suse.de>
13018
13019 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13020 warning.
13021
2e4c1e9e
L
130222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13023
13024 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13025
de7f5ce7
AJ
130262012-05-17 Andreas Jaeger <aj@suse.de>
13027
13028 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13029 when it is used.
13030
286abc3d
CM
130312012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13032
13033 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13034
477cc68e
L
130352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13036
13037 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13038 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13039
1a0994f5
CD
130402012-05-17 Andreas Jaeger <aj@suse.de>
13041 Carlos O'Donell <carlos_odonell@mentor.com>
13042
13043 [BZ #14059]
13044 * sysdeps/x86_64/multiarch/init-arch.h
13045 (bit_YMM_Usable): Rename to...
13046 (bit_AVX_Usable): ... this.
13047 (bit_FMA4_Usable): New macro.
13048 (bit_XMM_state): New macro.
13049 (bit_YMM_state): New macro.
13050 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13051 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13052 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13053 (CPUID_OSXSAVE): New macro.
13054 (CPUID_AVX): New macro.
13055 (CPUID_FMA4): New macro.
13056 (index_YMM_Usable): Rename to...
13057 (index_AVX_Usable): ... this.
13058 (HAS_AVX): Use HAS_ARCH_FEATURE.
13059 (HAS_FMA4): Likewise.
13060 (HAS_YMM_USABLE): Remove.
13061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13062 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13063 are present.
13064 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13065 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13066 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13067 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13068 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13069
0af797de
CM
130702012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13071
13072 * math/libm-test.c: Support platforms without multiple rounding modes.
13073 * math/bug-nextafter.c: Support platforms without FP exceptions.
13074 * math/bug-nexttoward.c: Likewise.
13075 * math/test-fenv.c: Likewise.
13076 * math/test-misc.c: Likewise.
13077 * stdlib/bug-getcontext.c: Likewise.
13078
e39745ff
AJ
130792012-05-17 Andreas Jaeger <aj@suse.de>
13080
13081 * manual/examples/search.c (critter_cmp): Change signature to
13082 avoid warnings.
13083 * manual/string.texi (Collation Functions): Likewise.
13084
48970aba
L
130852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13086
13087 * bits/types.h: Fold copyright years.
13088 * bits/typesizes.h: Likewise.
13089 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13090 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13091 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13092 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13093 * time/time.h: Likewise.
13094
bedee953
PP
130952012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13096
13097 [BZ #208]
13098 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13099 in instead of returning them. Return void.
13100 (__libc_mallinfo): Accumulate over all arenas.
13101 (__malloc_stats): Adjust for change in int_mallinfo interface.
13102
61653dfb
RM
131032012-05-16 Roland McGrath <roland@hack.frob.com>
13104
30b99d79
RM
13105 [BZ #10375]
13106 * configure.in (NM): Add AC_CHECK_TOOL for it.
13107 (libc_extra_cflags): New substituted variable.
13108 Check for -fstack-protector being used implicitly.
13109 * configure: Regenerated.
13110 * config.make.in (config-extra-cflags): New variable,
13111 gets @libc_extra_cflags@.
13112 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13113
61653dfb
RM
13114 [BZ #10375]
13115 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13116 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13117 * configure: Regenerated.
13118 * config.make.in (CPPUNDEFS): New substituted variable.
13119 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13120 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13121 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13122
661768bb
L
131232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13124
13125 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13126 (mq_attr): Use __syscall_slong_t.
13127
d4261567
L
131282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13129
13130 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13131 Check __x86_64__ instead of __WORDSIZE.
13132 (_STAT_VER_LINUX): Likewise.
13133 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13134 __syscall_ulong_t and __syscall_slong_t.
13135 (stat64): Likewise.
13136
cf3ff365
L
131372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13138
13139 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13140
76cf3e4d
L
131412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13142
13143 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13144
a637753a
L
131452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13146
13147 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13148 __syscall_ulong_t.
13149
d5e05119
L
13150 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13151 include <bits/wordsize.h>. Check __x86_64__ instead of
13152 __WORDSIZE.
13153 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13154 defined.
13155 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13156
f62ee380
L
13157 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13158 include <bits/wordsize.h>. Check __x86_64__ instead of
13159 __WORDSIZE.
13160 (user_regs_struct): Use "__extension__ unsigned long long"
13161 instead of "unsigned long" if __x86_64__ is defined.
13162 (user): Likewise. Pad after pointer field if __ILP32__ is
13163 defined.
13164
4e124ced
JM
131652012-05-16 Joseph Myers <joseph@codesourcery.com>
13166
6a3951a0
JM
13167 * configure.in (makeinfo): Require version 4.5 or later. Allow
13168 versions 5 to 9.
13169 * configure: Regenerated.
13170 * manual/install.texi (texinfo): Increase version requirement to
13171 4.5 or later.
13172 * INSTALL: Regenerated.
13173
4e124ced
JM
13174 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13175
953ca31a
L
131762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13177
13178 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13179
617aca05
L
13180 * sysdeps/x86_64/x32/ffs.c: New file.
13181
5762f7ae
L
13182 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13183 __syscall_ulong_t.
13184 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13185 defined. Use __syscall_ulong_t.
13186 (shminfo): Use __syscall_ulong_t.
13187 (shm_info): Likewise.
13188
a26b6856
L
13189 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13190 __syscall_ulong_t.
13191
cb2b9ef7
L
13192 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13193 <bits/wordsize.h>.
13194 (msgqnum_t): Use __syscall_ulong_t.
13195 (msglen_t): Likewise.
13196 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13197 __syscall_ulong_t.
13198
34683bb0
L
13199 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13200 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13201
84a68786
L
13202 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13203
48baa5f1
L
13204 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13205 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13206
180be88b
L
13207 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13208 __syscall_slong_t.
13209
5e90c8ad
L
13210 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13211 include <bits/wordsize.h>. Check __x86_64__ instead of
13212 __WORDSIZE.
13213
23dfb58b
L
13214 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13215 "unsigned long long int" if __x86_64__ is defined.
13216 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13217
ce5d54b0
L
13218 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13219 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13220 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13221
13dc9eac
L
13222 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13223 <stdint.h>.
13224 (GET_PC): Cast to uintptr_t first.
13225 (GET_FRAME): Likewise.
13226 (GET_STACK): Likewise.
13227
a7895d15
L
13228 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13229 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13230 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13231 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13232 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13233 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13234 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13235 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13236 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13237 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13238 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13239 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13240 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13241 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13242 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13243 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13244 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13245 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13246 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13247 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13248 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13249 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13250 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13251 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13252 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13253 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13254 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13255 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13256 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13257
656416c9
AS
132582012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13259
5bd66283
AS
13260 * Makerules (+depfiles): Also collect depfiles from .oS in
13261 $(extra-objs).
13262 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13263 .oS, $(libnldbl-routines)).
13264
656416c9
AS
13265 * Makerules (native-compile-mkdep-flags): Define.
13266 * sunrpc/Makefile (extra-objs): Add $(addprefix
13267 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13268 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13269 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13270 calling $(make-target-directory).
13271
a46f2169
L
132722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13273
13274 * bits/types.h (__snseconds_t): Removed.
13275 * time/time.h (struct timespec): Replace __snseconds_t with
13276 __syscall_slong_t.
13277 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13278 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13279 Likewise.
13280 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13281 (__SNSECONDS_T_TYPE): Likewise.
13282 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13283 (__SNSECONDS_T_TYPE): Likewise.
13284 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13285 (__SNSECONDS_T_TYPE): Likewise.
13286
6af6528b
L
132872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13288
13289 * sysdeps/mach/hurd/bits/typesizes.h
13290 (__SYSCALL_SLONG_TYPE): New macro.
13291 (__SYSCALL_ULONG_TYPE): Likewise.
13292
de986b56
L
132932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13294
13295 * bits/types.h (__syscall_slong_t): New type.
13296 (__syscall_ulong_t): Likewise.
13297
13298 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13299 (__SYSCALL_ULONG_TYPE): Likewise.
13300 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13301 (__SYSCALL_SLONG_TYPE): Likewise.
13302 (__SYSCALL_ULONG_TYPE): Likewise.
13303 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13304 (__SYSCALL_SLONG_TYPE): Likewise.
13305 (__SYSCALL_ULONG_TYPE): Likewise.
13306 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13307 (__SYSCALL_SLONG_TYPE): Likewise.
13308 (__SYSCALL_ULONG_TYPE): Likewise.
13309
85736dc7
L
133102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13311
13312 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13313 Add sigaltstack-offsets.sym.
13314 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13315 <sigaltstack-offsets.h>.
13316 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13317 longjmp_msg pointer.
13318 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13319 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13320 signal stack.
13321 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13322
cc03b296
JM
133232012-05-15 Joseph Myers <joseph@codesourcery.com>
13324
a9538892
JM
13325 * elf/stackguard-macros.h: Remove file.
13326 * sysdeps/generic/stackguard-macros.h: New file.
13327 * sysdeps/i386/stackguard-macros.h: Likewise.
13328 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13329 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13330 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13331 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13332 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13333 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13334 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13335 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13336 <elf/stackguard-macros.h>.
13337
cc03b296
JM
13338 [BZ #14109]
13339 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13340 __aligned__ in attribute.
13341 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13342 (gregset_t): Likewise.
13343
93171016
L
133442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13345
13346 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13347 * sysdeps/x86_64/64/Implies-after: Here. New file.
13348 * sysdeps/x86_64/x32/Implies-after: New file.
13349
d86813a0
L
133502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13351
13352 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13353 and access return value for _dl_profile_fixup. Use R10_LP to
13354 load frame size.
13355
2953ec75
L
133562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13357
13358 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13359
3b550e9e
L
133602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13361
13362 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13363 * sysdeps/x86_64/x32/sysdep.h: New file.
13364
eda41706
L
133652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13366
13367 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13368 * sysdeps/x86_64/setjmp.S: Likewise.
13369
9ea01d93
AZ
133702012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13371
13372 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13373 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13374 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13375 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13376 remove unused global constant.
13377
02a91938
CM
133782012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13379
13380 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13381 include of <not-cancel.h>.
13382
6540185f
RM
133832012-05-15 Roland McGrath <roland@hack.frob.com>
13384
13385 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13386
509072a0
AJ
133872012-05-15 Jeff Law <law@redhat.com>
13388 Andreas Jaeger <aj@suse.de>
13389
13390 [BZ #13594]
13391 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13392 out from...
13393 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13394 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13395 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13396 code changing __hst_map_handle.map.
13397
ba75122d
RM
133982012-05-15 Roland McGrath <roland@hack.frob.com>
13399
13400 * configure.in (sysnames): Look for Implies-before and Implies-after
13401 files.
13402 * configure: Regenerated.
13403
890d8bd8
L
134042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13405
13406 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13407 8-byte data alignment with LP_SIZE alignment.
13408
f6ee6623
L
134092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13410
13411 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13412 into R10_LP.
13413
ea2626f6
L
134142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13415
13416 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13417
085f715e
L
134182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13419
13420 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13421 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13422 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13423 Likewise.
13424 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13425
be8498fc
L
134262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13427
13428 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13429 (stackinfo_sub_sp): Likewise.
13430
70bc83b9
L
134312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13432
13433 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13434 RAX_LP.
13435
9bc0b730
L
134362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13437
13438 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13439 into R*_LP.
13440
6d2850e7
L
134412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13442
13443 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13444 sizes into R*_LP.
13445
3cb84561
L
134462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13447
13448 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13449
54e2ed81
L
134502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13451
13452 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13453 into R11_LP and load __x86_64_shared_cache_size_half into
13454 R8_LP.
13455
8a17f349
L
134562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13457
13458 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13459 R8_LP.
13460
777b1eea
AZ
134612012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13462
13463 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13464 logb for POWER7.
13465 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13466 logbf for POWER7.
13467 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13468 logbl for POWER7.
13469 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13470 powerpc32/power7/fpu/s_logb.c via #include.
13471 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13472 powerpc32/power7/fpu/s_logbf.c via #include.
13473 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13474 powerpc32/power7/fpu/s_logbl.c via #include.
13475
d20d4ac2
JM
134762012-05-15 Joseph Myers <joseph@codesourcery.com>
13477
13478 * README.libm: Remove file.
13479
6cdef1ab
L
134802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13481
13482 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13483 count for x32. Use R*_LP and omit operand-size suffix.
13484
0b254d8f
L
134852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13486
13487 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13488 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13489 * sysdeps/x86_64/x32/shlib-versions: New file.
13490
ceb809dc
RM
134912012-05-14 Roland McGrath <roland@hack.frob.com>
13492
13493 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13494 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13495 Use _dl_fatal_printf instead.
13496
37f1abd4
JM
134972012-05-14 Joseph Myers <joseph@codesourcery.com>
13498
13499 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13500 set if not set by the user. Do not allow for being unset.
13501 * sysdeps/unix/sysv/linux/configure: Regenerated.
13502
11de3a33
L
135032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13504
13505 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13506 the `q' suffix from lea and replace .quad with ASM_ADDR.
13507
e02f153a
L
135082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13509
13510 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13511 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13512 instead of $17.
13513 (PTR_DEMANGLE): Likewise.
13514
520ae0fd
L
135152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13516
13517 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13518 (LP_OP): Likewise.
13519 (ASM_ADDR): Likewise.
13520 (RAX_LP): Likewise.
13521 (RBP_LP): Likewise.
13522 (RBX_LP): Likewise.
13523 (RCX_LP): Likewise.
13524 (RDI_LP): Likewise.
13525 (RSI_LP): Likewise.
13526 (RSP_LP): Likewise.
13527 (R8_LP): Likewise.
13528 (R9_LP): Likewise.
13529 (R10_LP): Likewise.
13530 (R10_LP): Likewise.
13531 (R11_LP): Likewise.
13532 (R12_LP): Likewise.
13533 (R13_LP): Likewise.
13534 (R14_LP): Likewise.
13535 (R15_LP): Likewise.
13536
b985be81
L
135372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13538
13539 * sysdeps/x86_64/x32/dl-machine.h: New file.
13540
6a4888ff
AJ
135412012-05-14 Andreas Jaeger <aj@suse.de>
13542
13543 * manual/Makefile (subdir): Remove export of subdir.
13544 (all): Remove target.
13545 (.PHONY): Remove all from list.
13546 (mkinstalldirs): Remove.
13547 (.PHONY): Remove installdirs from list.
13548 ($(inst_infodir)/libc.info): Use make-target-directory.
13549 (installdirs): Remove.
13550 (subdir_%): Remove.
13551 (glibc-targets): Remove.
13552 (lib): Remove.
13553 (stubs): Remove.
13554 ($(objpfx)stubs ../po/manual.pot): Remove.
13555 ($(objpfx)stamp%): Remove.
13556 (make-target-directory): Remove.
13557 (subdir_install): Remove.
13558 (routines): Remove.
13559 (aux): Remove.
13560 (sources): Remove.
13561 (objects): Remove.
13562 (headers): Remove.
13563
13564 [BZ #13750]
13565 * manual/.gitignore: Remove, it's not needed anymore.
13566 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13567 all files in it.
13568 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13569 directory.
13570 (texis): Renamed to $(objpfx)texis.
13571 (texis-path): New, contains path to generated files.
13572 (chapters.%): Use texis-path for complete path, add extra argument
13573 libc-texinfo.sh.
13574 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13575 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13576 (summary,texi, stamp-summary): Use complete path of
13577 files. Generate files in build dir.
13578 (dir-add.texi): Build in build dir.
13579 (libm-err.texi,stamp-libm-err): Likewise.
13580 (version.texi, stamp-version): Likewise.
13581 (.%c.texi): Likewise.
13582 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13583 (mostlyclean): Remove target.
13584 (realclean): Remove target.
13585 (generated): Add new variable with contents from mostlyclean and
13586 realclean, remove entries duplicated in common-mostlyclean, add
13587 stamp-libm-err and stamp-version.
13588 (generated-dirs): Add libc directory.
13589 ($(inst_infodir)/libc.info): Install files from build dir.
13590
13591 * manual/install.texi (Configuring and compiling): Adjust since
13592 the info files are not part of the tar ball anymore.
13593
7ac77294
AJ
135942012-05-14 Andreas Jaeger <aj@suse.de>
13595
13596 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13597 variable.
13598
ffb7875d
JM
135992012-05-14 Joseph Myers <joseph@codesourcery.com>
13600
13601 [BZ #13717]
13602 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13603 to 2.2.0 where earlier.
13604 * sysdeps/unix/sysv/linux/configure: Regenerated.
13605 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13606 Remove conditional code.
13607 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13608 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13609 Remove conditional code.
13610 [!__NR_lchown]: Likewise.
13611 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13612 [__NR_lchown]: Likewise.
13613 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13614 comment referencing __ASSUME_LCHOWN_SYSCALL.
13615 * sysdeps/unix/sysv/linux/i386/sigaction.c
13616 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13617 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13618 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13619 Remove conditional code.
13620 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13621 (__protocol_available): Remove #if 0 code.
13622 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13623 conditional code.
13624 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13625 * sysdeps/unix/sysv/linux/kernel-features.h
13626 (__ASSUME_GETCWD_SYSCALL): Don't define.
13627 (__ASSUME_REALTIME_SIGNALS): Likewise.
13628 (__ASSUME_PREAD_SYSCALL): Likewise.
13629 (__ASSUME_PWRITE_SYSCALL): Likewise.
13630 (__ASSUME_POLL_SYSCALL): Likewise.
13631 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13632 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13633 non-SPARC.
13634 (__ASSUME_SIOCGIFNAME): Don't define.
13635 (__ASSUME_MSG_NOSIGNAL): Likewise.
13636 (__ASSUME_SENDFILE): Define unconditionally.
13637 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13638 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13639 conditional code.
13640 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13641 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13642 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13643 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13644 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13645 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13646 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13648 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13649 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13651 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13652 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13654 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13655 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13657 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13658 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13660 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13661 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13663 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13664 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13666 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13667 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13669 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13670 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13671 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13672 Remove conditional code.
13673 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13674 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13675 Remove conditional code.
13676 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13677 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13678 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13679 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13680 Remove conditional code.
13681 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13682 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13683 Remove conditional code.
13684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13685 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13686 Remove conditional code.
13687 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13688 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13689 Remove conditional code.
13690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13691 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13692 Remove conditional code.
13693 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13694 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13695 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13696 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13697 * sysdeps/unix/sysv/linux/sigaction.c
13698 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13699 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13700 * sysdeps/unix/sysv/linux/sigpending.c
13701 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13702 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13703 * sysdeps/unix/sysv/linux/sigprocmask.c
13704 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13705 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13706 * sysdeps/unix/sysv/linux/sigsuspend.c
13707 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13708 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13709 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13710 (__libc_missing_rt_sigs): Remove.
13711 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13712 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13713 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13714 Remove conditional code.
13715 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13716 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13717 return 1.
13718 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13719 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13720 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13721 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13722
1bfb7291
AJ
137232012-05-14 Andreas Jaeger <aj@suse.de>
13724
caae5a81
AJ
13725 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13726 it's not used in glibc.
13727 (__coshm1): Likewise.
13728 (__acosh1p): Likewise.
13729 (__sgn): Likewise.
13730
1bfb7291
AJ
13731 * manual/string.texi (Copying and Concatenation): Add missing
13732 variable in concat example.
13733 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13734
c044d724
L
137352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13736
144c5467 13737 [BZ #14103]
c044d724
L
13738 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13739 __builtin_clzl with __builtin_clzll.
13740
2523c62b
L
137412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13742
13743 [BZ #14104]
13744 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13745 libc_freeres_ptr.
13746
d7bb4c42
LD
137472012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13748
13749 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13750 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13751 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13752 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13753
9dc4e1fb
MF
137542012-05-14 Mike Frysinger <vapier@gentoo.org>
13755
13756 * NEWS: Update ia64 info.
13757
c7df0112
AS
137582012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13759
13760 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13761 used as bcopy.
13762
dc70356c
TS
137632012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13764
13765 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13766 * sysdeps/unix/syscalls.list (dup3): Likewise.
13767 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13768 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13769
9fb1a21f
L
137702012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13771
13772 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13773 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13774
4822a2a5
L
137752012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13776
13777 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13778 thread pointer.
13779 (TLS_IE): Use mov/add instead of movq/addq to load thread
13780 pointer.
13781 (TLS_GD_PREFIX): New.
13782 (TLS_GD): Use it.
13783
842b81d6
DM
137842012-05-11 David S. Miller <davem@davemloft.net>
13785
13786 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13787 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13788 (_FPU_SETCW): Likewise.
13789
1cf463cd
L
137902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13791
13792 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13793 is 32-byte aligned.
13794
60cc4a18
AS
137952012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13796
13797 [BZ #11837]
13798 * iconvdata/gb18030.c: Update tables.
13799 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13800 characters specially.
13801 (BODY for TO_LOOP): Add encoding of missing ranges.
13802
febb44a4
TS
138032012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13804
13805 [BZ #13673]
13806 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13807 * sysdeps/mach/hurd/dup3.c: Likewise.
13808 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13809 * sysdeps/powerpc/memmove.c:: Likewise.
13810
0a10fb9e
L
138112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13812
13813 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13814 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13815
df8a552f
L
138162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13817
13818 * elf/elf.h (R_X86_64_RELATIVE64): New.
13819 (R_X86_64_NUM): Updated.
13820 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13821 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13822 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13823 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13824 tst-quad1pie tst-quad2pie
13825 (modules-names): Add tst-quadmod1 tst-quadmod2.
13826 ($(objpfx)tst-quad1): New dependency.
13827 ($(objpfx)tst-quad2): Likewise.
13828 ($(objpfx)tst-quad1pie): Likewise.
13829 ($(objpfx)tst-quad2pie): Likewise.
13830 * sysdeps/x86_64/tst-quad1.c: New file.
13831 * sysdeps/x86_64/tst-quad1pie.c: New file.
13832 * sysdeps/x86_64/tst-quad2.c: Likewise.
13833 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13834 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13835 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13836 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13837 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13838
f34d6f84
ST
138392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13840
f42d41d1
ST
13841 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13842 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13843 * streams/stropts.h (t_scalar_t): Define type.
13844
3c3571fc
ST
13845 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13846 (_PATH_PRESERVE): Set to "/var/lib".
13847 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13848
61f06bd3
ST
13849 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13850 instead of int.
13851
918d4d71
ST
13852 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13853 if __dir_mkfile succeeded.
13854
f34d6f84
ST
13855 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13856 checking for _hurd_dtablesize. Unlock it right after having
13857 finished _hurd_dtable allocation.
13858
10589b4a
TS
138592012-05-10 Thomas Schwinge <thomas@schwinge.name>
13860
674cdbc7
TS
13861 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13862 * sysdeps/mach/hurd/configure: Regenerated.
13863 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13864 special-casing to...
13865 * sysdeps/gnu/configure.in: ... this new file.
13866 * sysdeps/unix/sysv/linux/configure: Regenerated.
13867 * sysdeps/gnu/configure: New generated file.
13868
8e41b99f
TS
13869 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13870 for Linux: use nsec instead of usec, as well as:
13871 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13872 members of type struct timespec.
13873 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13874 New macros.
13875 (struct stat64): Likewise.
13876 (_STATBUF_ST_NSEC): New macro.
13877 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13878
10589b4a
TS
13879 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13880 __strtoul_internal rather than strtoul.
13881
63643c85
PT
138822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13883
13884 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13885 and reject them.
13886
3faebe6a
ST
138872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13888
13889 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13890 which preserves existing values.
13891 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13892
c6474b07
PT
138932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13894
13895 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13896 TIMEOUT values. Return EINVAL for NFDS values either negative or
13897 greater than FD_SETSIZE.
13898
1043890b
ST
138992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13900
13901 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13902 allocated, call __vm_protect to finish enabling the existing space, and
13903 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13904 allocate the remainder.
13905
37ed8b9b
PT
139062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13907
13908 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13909 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13910
db653660
ST
139112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13912
37ed8b9b
PT
13913 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13914 sysdeps/mach/hurd/readlink.c.
b29d4053 13915
db653660
ST
13916 * posix/tst-sysconf.c (posix_options): Only use
13917 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13918 _POSIX_SYNCHRONIZED_IO when they are defined
13919 * sysdeps/mach/hurd/bits/posix_opt.h:
13920 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13921 (_XOPEN_REALTIME): Undefine macro.
13922 (_XOPEN_REALTIME_THREADS): Undefine macro.
13923 (_XOPEN_SHM): Undefine macro.
13924 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13925 macro to -1.
13926 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13927 macro to -1.
13928 (_POSIX_ASYNC_IO): Undefine macro.
13929 (_POSIX_PRIORITIZED_IO): Undefine macro.
13930 (_POSIX_SPIN_LOCKS): Define macro to -1.
13931
ee16e894
ST
13932 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13933 SA_NODEFER, SA_RESETHAND.
13934 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13935 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13936 F_DUPFD_CLOEXEC.
13937
6103ae3b
TS
139382012-05-10 Thomas Schwinge <thomas@schwinge.name>
13939
13940 * elf/Makefile (pldd-modules): Define unconditionally.
13941
80b4e5f3
TS
139422012-05-10 Thomas Schwinge <thomas@schwinge.name>
13943
13944 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13945
edadcbd6
ST
139462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13947
13948 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13949 Return ENOENT when name is empty.
13950 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13951
80694780
TS
139522012-05-10 Thomas Schwinge <thomas@schwinge.name>
13953
1792c087
TS
13954 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13955
80694780
TS
13956 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13957
6b645f0d
ST
139582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13959
80694780
TS
13960 Fix mlock in all cases except non-readable pages.
13961 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13962 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 13963
6b645f0d
ST
13964 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13965 (__mkdir): When path is `/', just fail with EEXIST.
13966 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13967
e468f8a3
TS
139682012-05-10 Thomas Schwinge <thomas@schwinge.name>
13969
13970 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13971 <sys/uio.h> (for writev).
13972 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13973 and <sys/param.h> (for MIN).
13974
a4186cff
PT
139752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13976
13977 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13978 REQUESTED_TIME. Properly set the remaining time and return EINTR
13979 if interrupted.
13980
510bbf14
TS
139812012-05-10 Thomas Schwinge <thomas@schwinge.name>
13982
13983 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13984 Depend on against $(link-rpcuserlibs).
13985
5d5722e8
ST
139862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13987
a4186cff
PT
13988 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13989 (__libc_stack_end): Do not use attribute_relro.
13990 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13991 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 13992 to libthread-provided value.
a4186cff
PT
13993 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13994 attribute_relro.
5d5722e8 13995
37233df9
TS
139962012-05-10 Thomas Schwinge <thomas@schwinge.name>
13997
be971a2b
TS
13998 [BZ #3748]
13999 * bits/libc-lock.h (__libc_once_get): New macro.
14000 * sysdeps/mach/bits/libc-lock.h: Likewise.
14001 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14002 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14003 instead of using implementation details.
14004
37233df9
TS
14005 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14006 * libio/freopen.c: Likewise.
14007 * libio/freopen64.c: Likewise.
14008 * misc/syslog.c: Likewise.
14009 * nscd/connections.c: Likewise.
14010 * nscd/netgroupcache.c: Likewise.
14011 * sysdeps/posix/getcwd.c: Likewise.
14012
38de94a5
RM
140132012-05-10 Roland McGrath <roland@hack.frob.com>
14014
14015 * math/w_ilogbf.c: Add #include <limits.h>.
14016
67530489
ST
140172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14018
a4186cff 14019 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14020 path instead of returning without unlocking.
14021
67530489
ST
14022 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14023 immediate-write ioctls.
14024 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14025
5aa3a74a
TS
140262012-05-10 Thomas Schwinge <thomas@schwinge.name>
14027
18bad2ae
TS
14028 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14029 __builtin_frame_address instead of making assumptions about the
14030 location of the return address relative to DATA. Force early load of
14031 the return address.
14032 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14033 __builtin_frame_address.
14034
5aa3a74a
TS
14035 dup3 for GNU Hurd.
14036 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14037 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14038 implement dup3 and do some further code clean-ups.
14039 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14040 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14041
ecd0de9a
ST
140422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14043
cd9fa985
ST
14044 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14045
a4186cff
PT
14046 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14047 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14048 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14049 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14050 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14051 d->port.lock.
802ca5a5 14052
a4186cff
PT
14053 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14054 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14055 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14056
bcf55240
TS
140572012-05-10 Thomas Schwinge <thomas@schwinge.name>
14058
6960eb42
TS
14059 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14060 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14061 definitions.
14062
eb43375f
TS
14063 accept4 for GNU Hurd.
14064 * include/sys/socket.h (__libc_accept4): New prototype.
14065 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14066 to implement __libc_accept4.
14067 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14068 __libc_accept4.
14069 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14070
bcf55240
TS
14071 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14072 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14073 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14074 signal-defines.sym.
14075
6178c55b
ST
140762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14077
a4186cff 14078 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14079
6f080c2f
TS
140802012-05-10 Thomas Schwinge <thomas@schwinge.name>
14081
14082 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14083 assertion on O_CLOEXEC flag.
14084 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14085 * hurd/intern-fd.c: Likewise.
14086 * hurd/port2fd.c: Likewise.
14087
bcfe3a54
ST
140882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14089
14090 [BZ #3906]
14091 * bits/in.h (IPV6_PKTINFO): Define new macro.
14092 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14093
89c9aa49
AZ
140942012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14095
14096 [BZ #13954]
14097 [BZ #13955]
14098 [BZ #13956]
14099 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14100 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14101 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14102 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14103 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14104 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14105 * math/libm-test.inc (logb_test) : Additional logb tests.
14106
021db4be
AJ
141072012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14108 Andreas Jaeger <aj@suse.de>
14109
14110 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14111 * configure: Regenerated.
14112 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14113 * config.make.in (link-obsolete-rpc): New substituted variable.
14114 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14115 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14116 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14117 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14118 so that libc.a contains the symbols.
14119 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14120 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14121 * sunrpc/auth_none.c: Likewise.
14122 * sunrpc/auth_unix.c: Likewise.
14123 * sunrpc/authdes_prot.c: Likewise.
14124 * sunrpc/authuxprot.c: Likewise.
14125 * sunrpc/clnt_gen.c: Likewise.
14126 * sunrpc/clnt_perr.c: Likewise.
14127 * sunrpc/clnt_raw.c: Likewise.
14128 * sunrpc/clnt_simp.c: Likewise.
14129 * sunrpc/clnt_tcp.c: Likewise.
14130 * sunrpc/clnt_udp.c: Likewise.
14131 * sunrpc/clnt_unix.c: Likewise.
14132 * sunrpc/des_crypt.c: Likewise.
14133 * sunrpc/des_soft.c: Likewise.
14134 * sunrpc/get_myaddr.c: Likewise.
14135 * sunrpc/key_call.c: Likewise.
14136 * sunrpc/key_prot.c: Likewise.
14137 * sunrpc/netname.c: Likewise.
14138 * sunrpc/pm_getmaps.c: Likewise.
14139 * sunrpc/pm_getport.c: Likewise.
14140 * sunrpc/pmap_clnt.c: Likewise.
14141 * sunrpc/pmap_prot.c: Likewise.
14142 * sunrpc/pmap_prot2.c: Likewise.
14143 * sunrpc/pmap_rmt.c: Likewise.
14144 * sunrpc/publickey.c: Likewise.
14145 * sunrpc/rpc_cmsg.c: Likewise.
14146 * sunrpc/rpc_common.c: Likewise.
14147 * sunrpc/rpc_dtable.c: Likewise.
14148 * sunrpc/rpc_prot.c: Likewise.
14149 * sunrpc/rpc_thread.c: Likewise.
14150 * sunrpc/rtime.c: Likewise.
14151 * sunrpc/svc.c: Likewise.
14152 * sunrpc/svc_auth.c: Likewise.
14153 * sunrpc/svc_raw.c: Likewise.
14154 * sunrpc/svc_run.c: Likewise.
14155 * sunrpc/svc_tcp.c: Likewise.
14156 * sunrpc/svc_udp.c: Likewise.
14157 * sunrpc/svc_unix.c: Likewise.
14158 * sunrpc/svcauth_des.c: Likewise.
14159 * sunrpc/xcrypt.c: Likewise.
14160 * sunrpc/xdr.c: Likewise.
14161 * sunrpc/xdr_array.c: Likewise.
14162 * sunrpc/xdr_float.c: Likewise.
14163 * sunrpc/xdr_intXX_t.c: Likewise.
14164 * sunrpc/xdr_mem.c: Likewise.
14165 * sunrpc/xdr_rec.c: Likewise.
14166 * sunrpc/xdr_ref.c: Likewise.
14167 * sunrpc/xdr_sizeof.c: Likewise.
14168 * sunrpc/xdr_stdio.c: Likewise.
14169
b5c086a2
RM
141702012-05-10 Roland McGrath <roland@hack.frob.com>
14171
14172 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14173 change. Update copyright years.
14174
6d74dd09
JM
141752012-05-10 Joseph Myers <joseph@codesourcery.com>
14176
14177 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14178
28e72501
MK
141792012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14180 Joseph Myers <joseph@codesourcery.com>
14181 Paul Pluzhnikov <ppluzhnikov@google.com>
14182
14183 [BZ #14012]
14184 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14185 requiring rpcgen.
14186 [cross-compiling] (extra-libs): Likewise.
14187 [cross-compiling] (extra-libs-others): Likewise.
14188 [cross-compiling] (librpcsvc-routines): Likewise.
14189 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14190 [cross-compiling] (omit-deps): Likewise.
14191 (sunrpc-CPPFLAGS): New variable.
14192 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14193 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14194 (cross-rpcgen-objs): New variable.
14195 (extra-objs): Append $(cross-rpcgen-objs).
14196 ($(cross-rpcgen-objs)): New rule.
14197 ($(objpfx)cross-rpcgen): Likewise.
14198 (rpcgen-cmd): Define to use $(built-program-file). Expand
14199 comment.
14200 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14201 ($(objpfx)x%.stmp): Likewise.
14202 * sunrpc/proto.h [IS_IN_build] (_): Define.
14203 [IS_IN_build] (_libc_intl_domainname): Likewise.
14204
c8c59454
L
142052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14206
14207 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14208 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14209 and R_X86_64_TPOFF64.
14210
6f27cd16
JM
142112012-05-10 Joseph Myers <joseph@codesourcery.com>
14212
14213 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14214 sysdeps/unix/sysv/syscalls.list.
14215 (stime): Likewise.
14216 (utime): Likewise.
14217 * sysdeps/unix/sysv/syscalls.list: Remove file.
14218
02467e1c
PE
142192012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14220
14221 [BZ #3440]
14222 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14223 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14224 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14225 (__LC_IDENTIFICATION): Make these macros useful in #if
14226 expressions, as required by C99.
14227
da392631
AS
142282012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14229
14230 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14231 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14232 after this.
14233
8115f29b
L
142342012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14235
14236 * stdlib/longlong.h: Updated from GCC.
14237
bdd74070
AJ
142382012-05-09 Andreas Jaeger <aj@suse.de>
14239
edfe0dbe
AJ
14240 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14241 default is first entry.
14242 (run_mode): Set type.
14243 (main): Remove informal message about syslog.
14244 (options): Fix typo.
14245
bcfe3a54
ST
14246 [BZ #14053]
14247 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14248 to asm.
bcfe3a54
ST
14249 (lrint): Likewise.
14250 (llrintf): Likewise.
14251 (llrint): Likewise.
14252 (rint): Likewise.
14253 (rintf): Likewise.
14254 (nearbyint): Likewise.
14255 (nearbyintf): Likewise.
bdd74070 14256
91d8d69e
AJ
142572012-05-09 Andreas Jaeger <aj@suse.de>
14258 Pedro Alves <palves@redhat.com>
14259
14260 * nscd/nscd.c (run_mode): Use enum.
14261 (main): Cleanup coding style issue.
14262
bb90b80b
AJ
142632012-05-09 Alexandre Oliva <aoliva@redhat.com>
14264 Andreas Jaeger <aj@suse.de>
14265
bcfe3a54
ST
14266 * nscd/nscd.c (go_background): Replaced with...
14267 (run_mode): ... this.
bb90b80b 14268 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14269 (options): Add -F --foreground.
14270 (main): Implement it.
14271 (parse_opt): Parse it.
bb90b80b 14272
1a4b75a1
AJ
142732012-05-09 Andreas Jaeger <aj@suse.de>
14274
14275 [BZ #14083]
14276 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14277 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14278 -Wconversion warning.
14279 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14280 Likewise.
14281
b1cc2472
JM
142822012-05-09 Joseph Myers <joseph@codesourcery.com>
14283
14284 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14285 == 0.
14286 (LC_ALL): Use macro-int-constant.
14287 (LC_COLLATE): Likewise.
14288 (LC_CTYPE): Likewise.
14289 (LC_MESSAGES): Likewise.
14290 (LC_MONETARY): Likewise.
14291 (LC_NUMERIC): Likewise.
14292 (LC_TIME): Likewise.
14293 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14294 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14295 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14296 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14297 Specify type.
14298 [C99-based standards] (float_t): Expect type.
14299 [C99-based standards] (double_t): Expect type.
14300 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14301 type.
14302 [C99-based standards] (HUGE_VALL): Likewise.
14303 [C99-based standards] (INFINITY): Likewise.
14304 [C99-based standards] (NAN): Likewise.
14305 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14306 [C99-based standards] (FP_NAN): Likewise.
14307 [C99-based standards] (FP_NORMAL): Likewise.
14308 [C99-based standards] (FP_SUBNORMAL): Likewise.
14309 [C99-based standards] (FP_ZERO): Likewise.
14310 [C99-based standards] (FP_FAST_FMA): Use
14311 optional-macro-int-constant. Specify type. Require == 1.
14312 [C99-based standards] (FP_FAST_FMAF): Likewise.
14313 [C99-based standards] (FP_FAST_FMAL): Likewise.
14314 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14315 [C99-based standards] (FP_ILOGBNAN): Likewise.
14316 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14317 Specify type.
14318 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14319 [C99-based standards] (math_errhandling): Specify type.
14320 [ISO99 || ISO11] (signgam): Do not allow.
14321 [non-C99-based standards] (copysignf): Do not allow.
14322 [non-C99-based standards] (exp2f): Likewise.
14323 [non-C99-based standards] (log2f): Likewise.
14324 [non-C99-based standards] (modff): Allow.
14325 [non-C99-based standards] (erff): Do not allow.
14326 [non-C99-based standards] (erfcf): Likewise.
14327 [non-C99-based standards] (gammaf): Likewise.
14328 [non-C99-based standards] (hypotf): Likewise.
14329 [non-C99-based standards] (j0f): Likewise.
14330 [non-C99-based standards] (j1f): Likewise.
14331 [non-C99-based standards] (jnf): Likewise.
14332 [non-C99-based standards] (lgammaf): Likewise.
14333 [non-C99-based standards] (tgammaf): Likewise.
14334 [non-C99-based standards] (y0f): Likewise.
14335 [non-C99-based standards] (y1f): Likewise.
14336 [non-C99-based standards] (ynf): Likewise.
14337 [non-C99-based standards] (isnanf): Likewise.
14338 [non-C99-based standards] (acoshf): Likewise.
14339 [non-C99-based standards] (asinhf): Likewise.
14340 [non-C99-based standards] (atanhf): Likewise.
14341 [non-C99-based standards] (cbrtf): Likewise.
14342 [non-C99-based standards] (expm1f): Likewise.
14343 [non-C99-based standards] (ilogbf): Likewise.
14344 [non-C99-based standards] (log1pf): Likewise.
14345 [non-C99-based standards] (logbf): Likewise.
14346 [non-C99-based standards] (nextafterf): Likewise.
14347 [non-C99-based standards] (remainderf): Likewise.
14348 [non-C99-based standards] (rintf): Likewise.
14349 [non-C99-based standards] (scalbf): Likewise.
14350 [non-C99-based standards] (copysignl): Likewise.
14351 [non-C99-based standards] (exp2l): Likewise.
14352 [non-C99-based standards] (log2l): Likewise.
14353 [non-C99-based standards] (modfl): Allow.
14354 [non-C99-based standards] (erfl): Do not allow.
14355 [non-C99-based standards] (erfcl): Likewise.
14356 [non-C99-based standards] (gammal): Likewise.
14357 [non-C99-based standards] (hypotl): Likewise.
14358 [non-C99-based standards] (j0l): Likewise.
14359 [non-C99-based standards] (j1l): Likewise.
14360 [non-C99-based standards] (jnl): Likewise.
14361 [non-C99-based standards] (lgammal): Likewise.
14362 [non-C99-based standards] (tgammal): Likewise.
14363 [non-C99-based standards] (y0l): Likewise.
14364 [non-C99-based standards] (y1l): Likewise.
14365 [non-C99-based standards] (ynl): Likewise.
14366 [non-C99-based standards] (isnanl): Likewise.
14367 [non-C99-based standards] (acoshl): Likewise.
14368 [non-C99-based standards] (asinhl): Likewise.
14369 [non-C99-based standards] (atanhl): Likewise.
14370 [non-C99-based standards] (cbrtl): Likewise.
14371 [non-C99-based standards] (expm1l): Likewise.
14372 [non-C99-based standards] (ilogbl): Likewise.
14373 [non-C99-based standards] (log1pl): Likewise.
14374 [non-C99-based standards] (logbl): Likewise.
14375 [non-C99-based standards] (nextafterl): Likewise.
14376 [non-C99-based standards] (remainderl): Likewise.
14377 [non-C99-based standards] (rintl): Likewise.
14378 [non-C99-based standards] (scalbl): Likewise.
14379 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14380 [non-C99-based standards] (FP_*): Do not allow.
14381 [C99-based standards] (FP_*): Change to
14382 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14383 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14384 allow.
14385 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14386 (SIG_ERR): Likewise.
14387 [X/Open-based standards] (SIG_HOLD): Likewise.
14388 (SIG_IGN): Likewise.
14389 (SIGABRT): Use macro-int-constant. Specify type. Require
14390 positive value.
14391 (SIGFPE): Likewise.
14392 (SIGILL): Likewise.
14393 (SIGINT): Likewise.
14394 (SIGSEGV): Likewise.
14395 (SIGTER): Likewise.
14396 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14397 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14398 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14399 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14400 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14401 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14402 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14403 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14404 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14405 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14406 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14407 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14408 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14409 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14410 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14411 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14412 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14413 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14414 [X/Open-based standards] (SIGTRAP): Likewise.
14415 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14416 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14417 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14418 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14419 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14420 allow.
14421
b9f1922d
IW
144222012-05-08 Ian Wienand <ianw@vmware.com>
14423
14424 [BZ #14080]
14425 * time/tzset.c (__tzset_parse_tz): Update default rules for
14426 daylight time changes in the Energy Policy Act of 2005.
14427
1db86e88
AJ
144282012-05-09 Andreas Jaeger <aj@suse.de>
14429
14430 [BZ #13983]
14431 * elf/ldconfig.c (parse_conf): Change string to make clear that
14432 ldconfig only issued a warning if ld.so.conf does not exist.
14433
dee4a4e3
DM
144342012-05-08 David S. Miller <davem@davemloft.net>
14435
ee0db190
DM
14436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14437 movxtod instead of popping the value on the stack.
14438
dee4a4e3
DM
14439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14440
6a43ec98
CD
144412012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14442
14443 * config.h.in: Add HAVE_ARM_PCS_VFP.
14444
05c2c961
RMG
144452012-05-08 Roland Mc Grath <roland@hack.frob.com>
14446
bcfe3a54
ST
14447 [BZ #13979]
14448 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14449 checking but the checks are disabled for any reason.
05c2c961 14450
4b30f61a
L
144512012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14452
14453 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14454 and ELF64_R_TYPE with ELFW(R_TYPE).
14455
eee2bc67
JM
144562012-05-08 Joseph Myers <joseph@codesourcery.com>
14457
7ea5391a
JM
14458 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14459 (ulimit): Likewise.
14460
eee2bc67
JM
14461 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14462 (settimeofday): Likewise.
14463
abb66a67
MF
144642012-05-08 Mike Frysinger <vapier@gentoo.org>
14465
14466 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14467 a struct th_u2 inside the union, and move tu_block/tu_code into
14468 a new th_u3 union of tu_block/tu_code inside of that. Move
14469 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14470 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14471 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14472 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14473 (th_stuff): Change to th_u1.tu_stuff.
14474 (th_data): Define.
14475 (th_msg): Change to th_u1.th_u2.tu_data.
14476
7f18b530
DM
144772012-05-07 David S. Miller <davem@davemloft.net>
14478
05760585
DM
14479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14480
7f18b530
DM
14481 [BZ #14074]
14482 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14483 (SETUP_PIC_REG): Use it.
14484 (SETUP_PIC_REG_LEAF): Use it.
14485
495fd99f
JM
144862012-05-07 Joseph Myers <joseph@codesourcery.com>
14487
14488 [BZ #13885]
14489 [BZ #13923]
14490 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14491 USE_AS_EXPM1L.
14492 (EXPL_FINITE): Likewise.
14493 (FLDLOG): Likewise.
14494 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14495 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14496 e_expl.S.
14497 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14498 USE_AS_EXPM1L.
14499 (EXPL_FINITE): Likewise.
14500 (FLDLOG): Likewise.
14501 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14502 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14503 e_expl.S.
14504 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14505 test of -max_value argument for long double.
14506 * sysdeps/i386/fpu/libm-test-ulps: Update.
14507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14508
6693d694
DM
145092012-05-06 David S. Miller <davem@davemloft.net>
14510
14511 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14512 quad soft-float symbols whose references which are compiler
14513 generated.
14514 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14515
6c23e11c
JM
145162012-05-06 Joseph Myers <joseph@codesourcery.com>
14517
d8b82cad
JM
14518 [BZ #13884]
14519 [BZ #13914]
14520 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14521 USE_AS_EXP10L.
14522 (EXPL_FINITE): Likewise.
14523 (FLDLOG): Likewise.
14524 (c0): Likewise.
14525 (c1): Likewise.
14526 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14527 Adjust comments for base varying.
14528 (__expl_finite): Change alias to EXPL_FINITE.
14529 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14530 e_expl.S.
14531 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14532 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14533 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14534 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14535 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14536 USE_AS_EXP10L.
14537 (EXPL_FINITE): Likewise.
14538 (FLDLOG): Likewise.
14539 (c0): Likewise.
14540 (c1): Likewise.
14541 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14542 Adjust comments for base varying.
14543 (__expl_finite): Change alias to EXPL_FINITE.
14544 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14545 tests for bugs.
14546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14547
6c23e11c
JM
14548 [BZ #14064]
14549 * math/libm-test.inc (check_float_internal): Correct ulp
14550 calculation for subnormal expected results.
14551
29ba805c
AJ
145522012-05-06 Andreas Jaeger <aj@suse.de>
14553
14554 * Makeconfig (+math-flags): New, set to -frounding-math.
14555 (+cflags): Add +math-flags so that all of glibc gets compiled with
14556 it.
14557
14558 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14559
7b17aeda
JM
145602012-05-05 Joseph Myers <joseph@codesourcery.com>
14561
5779f134
JM
14562 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14563 Disable one test.
14564
41498f4d
JM
14565 [BZ #13787]
14566 [BZ #13922]
14567 [BZ #14036]
14568 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14569 (__ieee754_expl): Allow for and saturate large arguments.
14570 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14571 (u_threshold): Likewise.
14572 (__exp): Call __ieee754_exp before checking for overflow and
14573 underflow.
14574 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14575 (u_threshold): Likewise.
14576 (__expf): Call __ieee754_expf before checking for overflow and
14577 underflow.
14578 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14579 (u_threshold): Likewise.
14580 (__expl): Call __ieee754_expl before checking for overflow and
14581 underflow.
14582 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14583 (__ieee754_expl): Allow for and saturate large arguments.
14584 * math/libm-test.inc (exp_test): Add another test. Do not allow
14585 missing overflow exception on overflow.
14586 (expm1_test): Do not allow missing overflow exception on overflow.
14587
6698b8bf
JM
14588 * sysdeps/i386/fpu/e_expl.c: Move to ...
14589 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14590 rather than using inline asm.
14591 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14592 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14593 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14594
7b17aeda
JM
14595 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14596 (nice): Likewise.
14597 (poll): Likewise.
14598 (signal): Likewise.
14599 (time): Likewise.
14600 (times): Likewise.
14601
f7c85819
JM
146022012-05-04 Joseph Myers <joseph@codesourcery.com>
14603
14604 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14605 sysdeps/unix/common/syscalls.list.
14606 (fchmod): Likewise.
14607 (fchown): Likewise.
14608 (ftruncate): Likewise.
14609 (getrusage): Likewise.
14610 (gettimeofday): Likewise.
14611 (setpgid): Likewise.
14612 (setregid): Likewise.
14613 (setreuid): Likewise.
14614 (sigaction): Likewise.
14615 (truncate): Likewise.
14616 (vhangup): Likewise.
14617 * sysdeps/unix/common/syscalls.list: Remove file.
14618 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14619 * sysdeps/unix/sysv/linux/Implies: Likewise.
14620
336270d0
L
146212012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14622
14623 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14625 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14626 Moved to ...
14627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14628 Here.
14629 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14630 to ...
14631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14632 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14633 to ...
14634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14635 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14636 to ...
14637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14638 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14639 to ...
14640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14641 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14642 to ...
14643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14644 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14645 to ...
14646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14647 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14648 to ...
14649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14650 Here.
14651 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14652 to ...
14653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14654 Here.
14655 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14656 to ...
14657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14658 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14659 Moved to ...
14660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14661 Here.
14662 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14663 to ...
14664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14665
d128e450
JM
146662012-05-04 Joseph Myers <joseph@codesourcery.com>
14667
fa8ee516
JM
14668 * sysdeps/unix/common/bits/dirent.h: Remove file.
14669 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14670
d128e450
JM
14671 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14672 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14673 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14674 * sysdeps/unix/bsd/isatty.c: Likewise.
14675 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14676 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14677 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14678
ff8faaf0 146792012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14680
62881be4 14681 [BZ #13563]
31dc8730
AZ
14682 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14683 long double comparison inaccuracies.
14684 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14686
6fef930c
AS
146872012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14688
14689 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14690 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14691
8f203e6c
JM
146922012-05-04 Joseph Myers <joseph@codesourcery.com>
14693
14694 [BZ #14049]
14695 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14696 nonzero digits before rounding a hex value.
14697 * stdlib/tst-strtod.c (tests): Add another test.
14698
5197d9c2
AK
146992012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14700
14701 * sysdeps/s390/fpu/libm-test-ulps: Update.
14702
f0c1dedf
AJ
147032012-05-03 Andreas Jaeger <aj@suse.de>
14704
14705 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14706 does not get optimized out.
14707 (malloc_opt_barrier): New.
14708
a65ef2ae 147092012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14710 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14711
2b942cb7 14712 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14713 intermediate file deletion.
2b942cb7 14714 (generated): Add .symlist files.
a65ef2ae 14715
54b71e02
JM
147162012-05-03 Joseph Myers <joseph@codesourcery.com>
14717
14718 [BZ #13775]
14719 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14720 Redirect under this condition.
14721 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14722 [__USE_GNU] (__dprintf_chk): Not under this condition.
14723 [__USE_GNU] (__vdprintf_chk): Likewise.
14724 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14725 under this condition.
14726 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14727 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14728 [__USE_XOPEN2K8] (vdprintf): Likewise.
14729 [__USE_GNU] (__dprintf_chk): Not under this condition.
14730 [__USE_GNU] (__vdprintf_chk): Likewise.
14731 [__USE_GNU] (dprintf): Likewise.
14732 [__USE_GNU] (vdprintf): Likewise.
14733
d3dfcc41
RM
147342012-05-03 Roland McGrath <roland@hack.frob.com>
14735
14736 * elf/Makefile (common-generated): Set this instead of generated for
14737 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14738 $(all-built-dso)-derived lists.
14739
7ac30cc5
AJ
147402012-05-03 Andreas Jaeger <aj@suse.de>
14741
0c51e550
AJ
14742 * sysdeps/i386/fpu/libm-test-ulps: Update.
14743
7ac30cc5
AJ
14744 * FAQ: Removed.
14745 * FAQ.in: Likewise.
14746 * scripts/gen-FAQ.pl: Likewise.
14747 * manual/install.texi (Installation): Point to online location of
14748 FAQ.
14749 * Makefile (files-for-dist): Remove FAQ.
14750 (FAQ): Remove.
14751
d4c2917f
AM
147522012-05-02 Allan McRae <allan@archlinux.org>
14753
14754 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14755 (LDFLAGS-reldepmod5.so): Likewise.
14756 (LDFLAGS-reldep6mod1.so): Likewise.
14757 (LDFLAGS-reldep6mod4.so): Likewise.
14758 (LDFLAGS-reldep8mod3.so): Likewise.
14759 (LDFLAGS-unload4mod1.so): Likewise.
14760 (LDFLAGS-unload4mod2.so): Likewise.
14761 (LDFLAGS-tst-initorder): Likewise.
14762 (LDFLAGS-tst-initordera2.so): Likewise.
14763 (LDFLAGS-tst-initordera3.so): Likewise.
14764 (LDFLAGS-tst-initordera4.so): Likewise.
14765 (LDFLAGS-tst-initorderb2.so): Likewise.
14766 (LDFLAGS-noload): Likewise.
14767 (LDFLAGS-next): Likewise.
14768 (LDFLAGS-order2mod1.so): Likewise.
14769 (LDFLAGS-order2mod2.so): Likewise.
14770 (LDFLAGS-tst-initorder2): Likewise.
14771 (LDFLAGS-tst-initorder2a.so): Likewise.
14772 (LDFLAGS-tst-initorder2b.so): Likewise.
14773 (LDFLAGS-tst-initorder2c.so): Likewise.
14774 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14775
d77f993f
DM
147762012-05-02 David S. Miller <davem@davemloft.net>
14777
14778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14779
171a70b4
PP
147802012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14781
14782 [BZ #14055]
14783 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14784
0be196ad
AJ
147852012-05-02 Andreas Jaeger <aj@suse.de>
14786
14787 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14788 since we manipulate rounding mode.
14789 (CPPFLAGS-test-idouble.c): Likewise.
14790 (CPPFLAGS-test-ifloat.c): Likewise.
14791 (CFLAGS-test-ldouble.c): Likewise.
14792 (CFLAGS-test-double.c): Likewise.
14793 (CFLAGS-test-float.c): Likewise.
14794 (CFLAGS-test-misc.c): Likewise.
14795 (CFLAGS-test-test-fenv.c): Likewise.
14796
4f9d04aa
AZ
147972012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14798
2b942cb7
RM
14799 [BZ #2550]
14800 [BZ #2570]
14801 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14802 comparisons to determine direction to adjust input.
4f9d04aa 14803
82a79e7d
RM
148042012-05-01 Roland McGrath <roland@hack.frob.com>
14805
f5a01ca9
RM
14806 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14807 output to the target.
14808
90fe4186
RM
14809 * scripts/localplt.awk: New file.
14810 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14811 (check-localplt-CFLAGS): Variable removed.
14812 ($(all-built-dso:=.jmprel)): New static pattern rule.
14813 (generated): Add those targets.
14814 (localplt-built-dso): New variable.
14815 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14816
14817 * elf/check-localplt.c: File removed.
14818
82397ed6
RM
14819 * scripts/check-execstack.awk: New file.
14820 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14821 (check-execstack-CFLAGS): Variable removed.
14822 ($(objpfx)check-execstack.h): Target removed.
14823 ($(objpfx)execstack-default): New target.
14824 (generated): Add that instead of check-execstack.h.
14825 ($(all-built-dso:=.phdr)): New static pattern rule.
14826 (generated): Add those targets.
14827 * elf/check-execstack.c: File removed.
14828
82a79e7d
RM
14829 * scripts/check-textrel.awk: New file.
14830 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14831 (check-textrel-CFLAGS): Variable removed.
14832 (all-built-dso): Use := to define.o
14833 ($(all-built-dso:=.dyn)): New static pattern rule.
14834 (generated): Add those targets.
14835 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14836 * config.make.in (READELF): New substituted variable.
14837 * elf/check-textrel.c: File removed.
14838
62fde54f 148392012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14840
615605c9
JM
14841 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14842 allow.
14843 * conform/data/ctype.h-data [C99-based standards] (isblank):
14844 Expect function.
14845 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14846 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14847 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14848 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14849 Specify type. Require positive value.
14850 (EILSEQ): Likewise.
14851 (ERANGE): Likewise.
14852 [ISO || POSIX] (EILSEQ): Do not expect.
14853 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14854 Specify type. Require positive value.
14855 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14856 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14857 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14858 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14859 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14860 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14861 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14862 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14863 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14864 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14865 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14866 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14867 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14868 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14869 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14870 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14871 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14872 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14873 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14874 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14875 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14876 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14877 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14878 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14879 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14880 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14881 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14882 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14883 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14884 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14885 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14886 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14887 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14888 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14889 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14890 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14891 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14892 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14893 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14894 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14895 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14896 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14897 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14898 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14899 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14900 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14901 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14902 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14903 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14904 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14905 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14906 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14907 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14908 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14909 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14910 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14911 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14912 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14913 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14914 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14915 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14916 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14917 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14918 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14919 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14920 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14921 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14922 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14923 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14924 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14925 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14926 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14927 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14928 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14929 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14930 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14931 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14932 Require >= 2.
14933 (FLT_ROUNDS): Expect as macro, not constant.
14934 (FLT_MANT_DIG): Use macro-int-constant.
14935 (DBL_MANT_DIG): Likewise.
14936 (LDBL_MANT_DIG): Likewise.
14937 (FLT_DIG): Likewise.
14938 (DBL_DIG): Likewise.
14939 (LDBL_DIG): Likewise.
14940 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14941 (DBL_MIN_EXP): Likewise.
14942 (LDBL_MIN_EXP): Likewise.
14943 (FLT_MAX_EXP): Use macro-int-constant.
14944 (DBL_MAX_EXP): Likewise.
14945 (LDBL_MAX_EXP): Likewise.
14946 (FLT_MAX_10_EXP): Likewise.
14947 (DBL_MAX_10_EXP): Likewise.
14948 (LDBL_MAX_10_EXP): Likewise.
14949 (FLT_MAX): Use macro-constant.
14950 (DBL_MAX): Likewise.
14951 (LDBL_MAX): Likewise.
14952 (FLT_EPSILON): Use macro-constant. Give upper bound.
14953 (DBL_EPSILON): Likewise.
14954 (LDBL_EPSILON): Likewise.
14955 (FLT_MIN): Likewise.
14956 (DBL_MIN): Likewise.
14957 (LDBL_MIN): Likewise.
14958 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14959 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14960 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14961 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14962 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14963 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14964 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14965 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14966 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14967 [ISO11] (FLT_TRUE_MIN): Likewise.
14968 [ISO11] (LDBL_TRUE_MIN): Likewise.
14969 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14970 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14971 (SCHAR_MIN): Use macro-int-constant. Specify type.
14972 (SCHAR_MAX): Likewise.
14973 (UCHAR_MAX): Likewise.
14974 (CHAR_MIN): Likewise.
14975 (CHAR_MAX): Likewise.
14976 (MB_LEN_MAX): Use macro-int-constant.
14977 (SHRT_MIN): Use macro-int-constant. Specify type.
14978 (SHRT_MAX): Likewise.
14979 (USHRT_MAX): Likewise.
14980 (INT_MAX): Likewise.
14981 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14982 bound negative.
14983 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14984 bound with "U".
14985 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14986 bound with "L".
14987 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14988 bound negative. Suffix upper bound with "L".
14989 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14990 bound with "UL".
14991 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14992 Specify type.
14993 [C99-based standards] (LLONG_MAX): Likewise.
14994 [C99-based standards] (ULLONG_MAX): Likewise.
14995 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14996 == 0.
14997 [ISO11] (max_align_t): Require type.
14998 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14999
c9140a62
JM
15000 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15001 from $CFLAGS, without defining away __attribute__ calls.
15002 (checknamespace): Use $CFLAGS_namespace.
15003
9af0bf29
JM
15004 * conform/conformtest.pl (@keywords): Only include C99 keywords
15005 for standards based on C99 or C11.
15006
343222a2
JM
15007 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15008 Disable tests.
15009 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15010 UNIX98]: Likewise.
15011
661f8cf0
JM
15012 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15013 usability of symbols in #if.
15014
ee74b9cb
JM
15015 * conform/conformtest.pl: If macro or constant types start
15016 "promoted:", expect the symbol to be of the following type
15017 promoted by the integer promotions.
62fde54f 15018
aafc49b3
JM
15019 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15020 in one place. Also handle "macro-constant".
15021
fefdf574
JM
15022 * conform/conformtest.pl: Only accept expected macro values with
15023 "==". Parse all "macro" lines in one place.
15024 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15025
f2d922fe
JM
15026 * conform/conformtest.pl: Handle braced types on "constant" lines
15027 instead of handling "typed-constant".
15028 * conform/data/signal.h-data: Use "constant" instead of
15029 "typed-constant".
15030
d22956c9
JM
15031 * conform/conformtest.pl: Handle "optional-" at start of lines in
15032 one place rather than duplicating several cases. Handle each
15033 format of "macro" line with initial "optional-".
15034
028e2e38
JM
15035 * conform/conformtest.pl: Only accept expected constant or
15036 optional-constant values with "==". Parse all "constant" lines in
15037 one place. Parse all "optional-constant" lines in one place.
15038 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15039 * conform/data/fmtmsg.h-data: Likewise.
15040 * conform/data/netinet/in.h-data: Likewise.
15041 * conform/data/tar.h-data: Likewise.
15042 * conform/data/limits.h-data: Use "==" form on "constant" and
15043 "optional-constant" lines.
15044
1b8f2850
JM
15045 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15046 Use -std=c99 for XOPEN2K.
15047 (@knownproblems): Remove.
15048 (newtoken): Don't check %isknown.
15049
a05a144b
JM
15050 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15051 Do not expect macro.
15052 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15053 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15054 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15055 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15056 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15057 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15058 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15059 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15060 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15061 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15062 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15063 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15064 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15065 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15066 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15067 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15068 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15069 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15070 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15071 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15072 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15073 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15074 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15075 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15076 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15077 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15078 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15079 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15080 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15081 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15082 [XPG3] (acosh): Likewise.
15083 [XPG3] (asinh): Likewise.
15084 [XPG3] (atanh): Likewise.
15085 [XPG3] (cbrt): Likewise.
15086 [XPG3] (expm1): Likewise.
15087 [XPG3] (ilogb): Likewise.
15088 [XPG3] (log1p): Likewise.
15089 [XPG3] (logb): Likewise.
15090 [XPG3] (nextafter): Likewise.
15091 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15092 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15093 [XPG3] (remainder): Likewise.
15094 [XPG3] (rint): Likewise.
15095 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15096 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15097 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15098 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15099 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15100 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15101 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15102 [UNIX98 || XOPEN2K] (scalb): Expect.
15103 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15104 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15105 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15106 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15107 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15108 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15109 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15110 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15111 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15112 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15113 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15114 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15115 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15116 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15117 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15118 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15119 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15120 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15121 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15122 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15123 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15124 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15125 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15126 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15127 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15128 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15129 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15130 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15131 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15132 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15133 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15134 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15135 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15136 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15137 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15138 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15139 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15140 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15141 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15142 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15143 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15144 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15145 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15146 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15147 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15148 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15149 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15150 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15151 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15152 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15153 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15154 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15155 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15156 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15157 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15158 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15159 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15160 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15161 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15162 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15163 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15164 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15165 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15166 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15167 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15168 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15169 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15170 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15171 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15172 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15173 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15174 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15175 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15176 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15177 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15178 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15179 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15180 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15181 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15182 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15183 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15184 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15185 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15186 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15187 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15188 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15189 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15190 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15191 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15192 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15193 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15194 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15195 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15196 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15198 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15199 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15200 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15201 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15202 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15203 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15204 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15205 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15207 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15208 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15209 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15210 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15211 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15212 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15213 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15214 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15215 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15216 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15217 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15218 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15219 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15220 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15221 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15222 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15223 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15224 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15225 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15226 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15227 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15228 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15229 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15230 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15231 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15232 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15233 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15234 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15235 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15236 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15237 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15238 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15239 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15240
73c5ebe3
JM
15241 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15242 _XOPEN_SOURCE_EXTENDED for XPG4.
15243
39c33b6c
JM
15244 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15245
62fde54f
JM
15246 * Makeconfig (localtime): Remove variable.
15247 (inst_localtime-file): Likewise.
15248
0741d64c
AS
152492012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15250
15251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15252 Update.
15253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15254 Update.
15255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15256 Update.
15257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15258 Update.
15259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15260 Update.
15261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15262 Update.
15263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15264 Update.
15265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15266 Update.
15267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15268 Update.
15269
7cb029ee
JM
152702012-05-01 Joseph Myers <joseph@codesourcery.com>
15271
15272 [BZ #2550]
15273 [BZ #2570]
15274 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15275 comparisons to determine direction to adjust input.
15276 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15277 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15278 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15279 Likewise.
15280 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15281 Likewise.
15282 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15283 Likewise.
15284 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15285 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15286 Likewise.
15287 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15288 Likewise.
15289 * math/libm-test.inc (nexttoward_test): Add more tests.
15290
412bd966
AS
152912012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15292
15293 [BZ #14040]
15294 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15295 in version GLIBC_2.1, not GLIBC_2.0.
15296 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15297 Likewise.
15298
9568c0c2
JM
152992012-04-30 Joseph Myers <joseph@codesourcery.com>
15300
adfbc8ac
JM
15301 [BZ #13942]
15302 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15303 (1 - x) * (1 + x).
15304 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15305 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15306 * math/libm-test.inc (acos_test): Add more tests.
15307 (asin_test): Likewise.
15308 * sysdeps/i386/fpu/libm-test-ulps: Update.
15309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15310
5ba3cc69
JM
15311 [BZ #14034]
15312 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15313 of square root.
15314 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15315 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15316 * math/libm-test.inc (acos_test_tonearest): New function.
15317 (acos_test_towardzero): Likewise.
15318 (acos_test_downward): Likewise.
15319 (acos_test_upward): Likewise.
15320 (asin_test_tonearest): Likewise.
15321 (asin_test_towardzero): Likewise.
15322 (asin_test_downward): Likewise.
15323 (asin_test_upward): Likewise.
15324 (main): Call the new functions.
15325 * sysdeps/i386/fpu/libm-test-ulps: Update.
15326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15327
9568c0c2
JM
15328 [BZ #13884]
15329 [BZ #13924]
15330 * math/e_exp10.c: Include <float.h>.
15331 (__ieee754_exp10): Handle underflow here rather than multiplying
15332 large negative argument by M_LN10.
15333 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15334 of __ieee754_expf.
15335 * math/e_exp10l.c: Include <float.h>.
15336 (__ieee754_exp10l): Handle underflow here rather than multiplying
15337 large negative argument by M_LN10l.
15338 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15339 spurious overflow exception on underflow.
15340
5ac3ea17
MP
153412012-04-29 Marek Polacek <polacek@redhat.com>
15342
15343 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15344 (__fortify_function): New macro.
15345 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15346 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15347 __extern_always_inline.
15348 * libio/bits/stdio2.h: Likewise.
15349 * libio/bits/stdio.h: Likewise.
15350 * string/string.h: Likewise.
15351 * string/bits/string3.h: Likewise.
15352 * include/stdio.h: Likewise.
15353 * stdlib/bits/stdlib.h: Likewise.
15354 * stdlib/stdlib.h: Likewise.
15355 * rt/bits/mqueue2.h: Likewise.
15356 * rt/mqueue.h: Likewise.
15357 * posix/bits/unistd.h: Likewise.
15358 * posix/unistd.h: Likewise.
15359 * io/bits/poll2.h: Likewise.
15360 * io/bits/fcntl2.h: Likewise.
15361 * io/fcntl.h: Likewise.
15362 * io/sys/poll.h: Likewise.
15363 * misc/bits/syslog.h: Likewise.
15364 * misc/bits/syslog-ldbl.h: Likewise.
15365 * misc/sys/syslog.h: Likewise.
15366 * socket/bits/socket2.h: Likewise.
15367 * socket/sys/socket.h: Likewise.
15368 * debug/tst-chk1.c: Likewise.
15369 * wcsmbs/bits/wchar2.h: Likewise.
15370 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15371 * wcsmbs/wchar.h: Likewise.
15372
ecf0ebfb
AJ
153732012-04-29 Andreas Jaeger <aj@suse.de>
15374
15375 * Makerules (tests): Remove enable-check-abi protection.
15376 (check-abi-warn): Remove.
15377 (check-abi-%): Remove check-abi-warn usage.
15378
15379 * configure.in: Remove check-abi configure option.
15380 * configure: Regenerated.
15381 * config.make.in (enable-check-abi): Remove.
15382
6d5c57fa
AS
153832012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15384
24c5d07e 15385 [BZ #14033]
ded5180a
AS
15386 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15387 double functions to double *_finite functions.
15388
7e0d315d
AS
15389 [BZ #13941]
15390 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15391 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15392 LDBL_MIN_EXP.
15393 * stdio-common/Makefile (tests): Add tst-sprintf3.
15394 * stdio-common/tst-sprintf3.c: New file.
15395
6d5c57fa
AS
15396 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15397 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15398
0749ff8b
JM
153992012-04-28 Joseph Myers <joseph@codesourcery.com>
15400
15401 * conform/conformtest.pl: Remove duplicate typed-constant
15402 handling.
15403
8dbd5d7b
DM
154042012-04-28 David S. Miller <davem@davemloft.net>
15405
15406 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15407 (check-abi-%): Remove AWK script prerequisite and explicit
15408 abilist directory.
15409 (check-abi): Rewrite to just diff the symlist with the abilist.
15410 (config-tls, config-abi-config): Delete, no longer used.
15411 (update-abi-%): Remove AWK script and explicit abilist directory.
15412 (update-abi): Rewrite to simply compare and conditionally copy the
15413 symlist and the sysdep abilist file. Remove update-abi-config
15414 checks.
15415 * abilist/ld.abilist: Remove.
15416 * abilist/libBrokenLocale.abilist: Remove.
15417 * abilist/libanl.abilist: Remove.
15418 * abilist/libcrypt.abilist: Remove.
15419 * abilist/libdl.abilist: Remove.
15420 * abilist/librt.abilist: Remove.
15421 * abilist/libthread_db.abilist: Remove.
15422 * abilist/libutil.abilist: Remove.
15423 * scripts/extract-abilist.awk: Remove.
15424 * scripts/merge-abilist.awk: Remove.
15425 * sysdeps/generic/libcidn.abilist: New file.
15426 * sysdeps/generic/libnss_compat.abilist: New file.
15427 * sysdeps/generic/libnss_db.abilist: New file.
15428 * sysdeps/generic/libnss_dns.abilist: New file.
15429 * sysdeps/generic/libnss_files.abilist: New file.
15430 * sysdeps/generic/libnss_hesiod.abilist: New file.
15431 * sysdeps/generic/libnss_nis.abilist: New file.
15432 * sysdeps/generic/libnss_nisplus.abilist: New file.
15433 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15434 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15435 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15436 file.
15437 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15438 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15439 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15440 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15441 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15442 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15443 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15444 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15445 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15446 file.
15447 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15448 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15449 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15450 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15451 file.
15452 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15453 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15454 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15455 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15456 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15457 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15458 file.
15459 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15460 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15461 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15462 file.
15463 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15465 New file.
15466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15467 New file.
15468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15469 New file.
15470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15471 New file.
15472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15473 New file.
15474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15475 New file.
15476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15477 New file.
15478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15479 New file.
15480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15481 New file.
15482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15483 New file.
15484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15485 New file.
15486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15487 New file.
15488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15489 New file.
15490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15491 file.
15492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15493 New file.
15494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15495 New file.
15496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15497 file.
15498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15499 New file.
15500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15501 New file.
15502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15503 file.
15504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15505 New file.
15506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15507 New file.
15508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15509 New file.
15510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15511 New file.
15512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15513 New file.
15514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15515 New file.
15516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15518 file.
15519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15520 New file.
15521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15522 file.
15523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15524 file.
15525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15526 file.
15527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15528 file.
15529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15530 file.
15531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15532 New file.
15533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15534 file.
15535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15536 file.
15537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15538 New file.
15539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15540 file.
15541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15543 file.
15544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15545 New file.
15546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15547 file.
15548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15549 file.
15550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15551 file.
15552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15553 file.
15554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15555 file.
15556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15557 New file.
15558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15559 file.
15560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15561 file.
15562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15563 New file.
15564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15565 file.
15566 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15567 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15568 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15569 file.
15570 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15571 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15572 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15573 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15574 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15575 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15576 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15577 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15578 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15579 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15582 file.
15583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15584 New file.
15585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15586 file.
15587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15588 file.
15589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15590 file.
15591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15592 file.
15593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15594 file.
15595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15596 New file.
15597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15598 New file.
15599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15600 file.
15601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15602 New file.
15603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15604 file.
15605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15607 file.
15608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15609 New file.
15610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15611 file.
15612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15613 file.
15614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15615 file.
15616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15617 file.
15618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15619 file.
15620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15621 New file.
15622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15623 New file.
15624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15625 file.
15626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15627 New file.
15628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15629 file.
15630
41d73a1b
JM
156312012-04-28 Joseph Myers <joseph@codesourcery.com>
15632
15633 * conform/conformtest.pl: Fix typo in handling typed-constant from
15634 allow-header.
15635
28aeeda4
JM
156362012-04-27 Joseph Myers <joseph@codesourcery.com>
15637
adae8f5e
JM
15638 * README: Cut down references to pre-2.6 Linux kernels and
15639 Linuxthreads. Update lists of configurations in libc and ports
15640 and sort alphabetically. Say "or newer" with Linux kernel version
15641 requirements.
15642
28aeeda4
JM
15643 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15644
a462cb63
RA
156452012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15646
15647 [BZ #887]
15648 * math/libm-test.inc (logb_test_downward): New test to expose
15649 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15650 rounding mode.
15651
6ad3493e
JM
156522012-04-27 Joseph Myers <joseph@codesourcery.com>
15653
15654 [BZ #14027]
15655 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15656 to be done.
15657 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15658 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15659
2ce4f015
JM
156602012-04-26 Joseph Myers <joseph@codesourcery.com>
15661
5aeb141a
JM
15662 * sysdeps/unix/i386/brk.S: Remove file.
15663 * sysdeps/unix/i386/dl-brk.S: Likewise.
15664 * sysdeps/unix/i386/pipe.S: Likewise.
15665 * sysdeps/unix/i386/sigreturn.S: Likewise.
15666 * sysdeps/unix/i386/syscall.S: Likewise.
15667 * sysdeps/unix/i386/vfork.S: Likewise.
15668 * sysdeps/unix/i386/wait.S: Likewise.
15669
7143acae
JM
15670 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15671 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15672
2ce4f015
JM
15673 * configure.in (arm*-none*): Do not allow without
15674 --enable-hacker-mode.
15675 (netbsd*): Remove case setting base_os.
15676 (386bsd*): Likewise.
15677 (freebsd*): Likewise.
15678 (bsdi*): Likewise.
15679 (osf*): Likewise.
15680 (sunos*): Likewise.
15681 (ultrix*): Likewise.
15682 (newsos*): Likewise.
15683 (dynix*): Likewise.
15684 (*bsd*): Likewise.
15685 (sysv*): Likewise.
15686 (isc*): Likewise.
15687 (esix*): Likewise.
15688 (sco*): Likewise.
15689 (minix*): Likewise.
15690 (irix4*): Likewise.
15691 (irix6*): Likewise.
15692 (solaris[2-9]*): Likewise.
15693 (none): Likewise.
15694 * configure: Regenerated.
15695
0ac229c8
AZ
156962012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15697
15698 [BZ #11521]
15699 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15700 overflow or cancellation in calculating denominator.
15701 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15702 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15703 down expression to avoid unexpected rounding in newer GCCs.
15704 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15705
33f244f4
DM
157062012-04-26 David S. Miller <davem@davemloft.net>
15707
15708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15709 long-double compat symbols.
15710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15723
cfa1f3e8
DM
157242012-04-25 David S. Miller <davem@davemloft.net>
15725
15726 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15727 HWCAP_* values only after the memory barriers have been defined.
15728 (atomic_full_barrier): Define.
15729 (atomic_read_barrier): Define.
15730 (atomic_write_barrier): Define.
15731
6e236b92
SP
157322012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15733
15734 * shlib-versions: Add libgcc_s version information.
15735 * sysdeps/generic/libgcc_s.h: Remove.
15736 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15737 libgcc_s.h.
15738 * sysdeps/gnu/unwind-resume.c: Likewise.
15739 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15740
aab39a09
DM
157412012-04-25 David S. Miller <davem@davemloft.net>
15742
15743 * sysdeps/unix/sparc/brk.S: Delete.
15744 * sysdeps/unix/sparc/dl-brk.S: Delete.
15745 * sysdeps/unix/sparc/pipe.S: Delete.
15746 * sysdeps/unix/sparc/sysdep.S: Delete.
15747 * sysdeps/unix/sparc/sysdep.h: Delete.
15748 * sysdeps/unix/sparc/vfork.S: Delete.
15749 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15750 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15751 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15752 ret_ERRVAL, r0, r1, MOVE): Define.
15753 (JUMPTARGET): Remove.
15754 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15755 sysdeps/unix/sparc/sysdep.h
15756 (ENTRY, END): Remove.
15757 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15758
a3cc4f48
JM
157592012-04-25 Joseph Myers <joseph@codesourcery.com>
15760
2ed8cda2
JM
15761 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15762 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15763 -DIS_IN_build.
15764
35d76d59
JM
15765 * timezone/README: Update upstream location and email address for
15766 tzcode and tzdata.
15767 * timezone/zdump.c: Update from tzcode 2012b.
15768 * timezone/zic.c: Likewise.
15769
a3cc4f48
JM
15770 * configure.in (libc_cv_as_needed): Remove test.
15771 * configure: Regenerated.
15772 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15773 conditional definition.
15774 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15775 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15776 * config.make.in (have-as-needed): Remove variable.
15777
ceab42c3
SP
157782012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15779 Paul Pluzhnikov <ppluzhnikov@google.com>
15780
15781 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15782 strings correctly.
15783
3ce2865f
CLT
157842012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15785
15786 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15787 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15788 * sysdeps/sh/strlen.S: Likewise.
15789
f37e0d68
JM
157902012-04-24 Joseph Myers <joseph@codesourcery.com>
15791
ae186e9a
JM
15792 * sysdeps/unix/fork.S: Remove file.
15793 * sysdeps/unix/i386/fork.S: Likewise.
15794 * sysdeps/unix/sparc/fork.S: Likewise.
15795
b96914af
JM
15796 * sysdeps/unix/system.c: Remove file.
15797 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15798
f37e0d68
JM
15799 * sysdeps/unix/getegid.S: Remove file.
15800 * sysdeps/unix/geteuid.S: Likewise.
15801
87ef29ca
RM
158022012-04-24 Roland McGrath <roland@hack.frob.com>
15803
83bcd236
RM
15804 * scripts/check-localplt.awk: New file.
15805 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15806 of diff.
15807 * scripts/data/localplt-generic.data: Add a comment.
15808
87ef29ca
RM
15809 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15810 NODE when __dir_mkfile failed.
15811 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15812 Reported by Ludovic Courtès <ludo@gnu.org>.
15813
e5a6e567
AJ
158142012-04-24 Andreas Jaeger <aj@suse.de>
15815
15816 * Makerules (common-clean): Also remove gen-as-const-headers
15817 files.
15818
c1820385
JM
158192012-04-24 Joseph Myers <joseph@codesourcery.com>
15820
15821 * Makerules (native-compile): Do not change working directory for
15822 build. Use $(OUTPUT_OPTION) in command.
15823 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15824
94e02fc4
AZ
158252012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15826
15827 [BZ #13886]
15828 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15829 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15830 * math/libm-test.inc (floor_test): Add more tests.
15831 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15832
3a533ca3
JM
158332012-04-24 Joseph Myers <joseph@codesourcery.com>
15834
940ab4b3
JM
15835 * sysdeps/unix/getdents.c: Remove file.
15836 * sysdeps/unix/sysv/getdents.c: Likewise.
15837 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15838
90e037bd
JM
15839 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15840 sysdeps/unix/mman/syscalls.list.
15841 (mmap): Likewise.
15842 (mprotect): Likewise.
15843 (msync): Likewise.
15844 (munmap): Likewise.
15845 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15846 * sysdeps/unix/mman/syscalls.list: Remove.
15847 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15848
3a533ca3
JM
15849 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15850 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15851 * configure: Regenerated.
15852 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15853 $(libgcc_s_suffix).
15854 * config.make.in (libgcc_s_suffix): Remove variable.
15855
1ad743de
JM
158562012-04-23 Joseph Myers <joseph@codesourcery.com>
15857
4ad451e2
JM
15858 * sysdeps/unix/sysv/gethostname.c: Move to ...
15859 * sysdeps/posix/gethostname.c: ... here.
15860
5e37ce39
JM
15861 * sysdeps/unix/execve.S: Remove file.
15862
1ad743de
JM
15863 * sysdeps/unix/_exit.S: Remove file.
15864
4e681b5b
AJ
158652012-04-23 Andreas Jaeger <aj@suse.de>
15866
15867 [BZ #13739]
15868 * manual/Makefile: Remove make dist support, there's no
15869 need for a stand-alone documentation tar ball.
15870 (TEXI2DVI): Define always, it's not in Makeconfig.
15871 (dist): Removed.
15872 (tar-it): Removed.
15873 (edition): Removed.
15874 (glibc-doc-$(edition).tar): Removed
15875 (%.Z): Removed.
15876 (%.gz): Removed.
15877 (%.uu): Removed.
15878 (ETAGS): Remove, it's in Makeconfig.
15879 (move-if-change): Remove, it's in Makeconfig.
15880
38686a03 158812012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15882
15883 [BZ #13970]
15884 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15885 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15886 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15887 (strtod_l, strtof_l, strtold_l): Remove __wur.
15888 It is not necessarily an error to ignore strtol's return value.
15889 One can reliably look at the stored endptr to decide whether
15890 the number had valid syntax.
15891
7c0616fa
AJ
158922012-04-21 Andreas Jaeger <aj@suse.de>
15893
803cb6b7 15894 [BZ #13739]
7c0616fa
AJ
15895 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15896
b0fe253f
JM
158972012-04-21 Joseph Myers <joseph@codesourcery.com>
15898
15899 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15900 * sysdeps/unix/sysv/Versions: Remove file.
15901
8280f22d
MT
159022012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15903
15904 [BZ #13927]
15905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15906
75ce411f 159072012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15908
15909 [BZ #7064]
15910 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15911 version from __vm86.
15912
097d59fa
JM
159132012-04-20 Joseph Myers <joseph@codesourcery.com>
15914
a90f3bcb
JM
15915 * sysdeps/unix/common/lxstat.c: Remove file.
15916 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15917
edc7ea78
JM
15918 * sysdeps/unix/sysv/Makefile: Remove file.
15919
cb78c221
JM
15920 * sysdeps/unix/sysv/direct.h: Remove file.
15921
efa6a45f
JM
15922 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15923 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15924 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15925 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15926 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15927 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15928 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15929
9c9f2d0c
JM
15930 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15931
4541c83b
JM
15932 * sysdeps/unix/xmknod.c: Remove file.
15933 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15934
f5d153a0
JM
15935 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15936
aa746595
JM
15937 * sysdeps/unix/sysv/i386/time.S: Remove file.
15938
cce5905e
JM
15939 * sysdeps/unix/fxstat.c: Remove file.
15940 * sysdeps/unix/xstat.c: Likewise.
15941 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15942
37fa3841
JM
15943 * sysdeps/unix/sysv/sigaction.c: Remove file.
15944
ff1962a3
JM
15945 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15946 (sysdep_headers): Remove variable.
15947 [termio.h not in sysdep_headers] (generated): Likewise.
15948 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15949 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15950 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15951 * sysdeps/unix/sysv/tcflow.c: Likewise.
15952 * sysdeps/unix/sysv/tcflush.c: Likewise.
15953 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15954 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15955 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15956 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15957 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15958
e7740d31
JM
15959 * sysdeps/unix/siglist.c: Remove file.
15960
ee06f18b
JM
15961 * sysdeps/unix/getppid.S: Remove file.
15962
097d59fa
JM
15963 * sysdeps/unix/mkdir.c: Remove file.
15964 * sysdeps/unix/rmdir.c: Likewise.
15965
ff3d51ec
AS
159662012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15967
15968 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15969 ERR_MAX value.
15970 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15971 errlist-compat value.
15972
50f81fd7
DM
159732012-04-18 David S. Miller <davem@davemloft.net>
15974
15975 * sysdeps/generic/memcopy.h (reg_char): Delete.
15976 * debug/strcat_chk.c: Use char, not reg_char.
15977 * debug/strcpy_chk.c: Likewise.
15978 * debug/strncat_chk.c: Likewise.
15979 * debug/strncpy_chk.c: Likewise.
15980 * string/memchr.c: Likewise.
15981 * string/memrchr.c: Likewise.
15982 * string/rawmemchr.c: Likewise.
15983 * string/strcat.c: Likewise.
15984 * string/strchr.c: Likewise.
15985 * string/strchrnul.c: Likewise.
15986 * string/strcmp.c: Likewise.
15987 * string/strcpy.c: Likewise.
15988 * string/strncat.c: Likewise.
15989 * string/strncmp.c: Likewise.
15990 * string/strncpy.c: Likewise.
15991
8ff41c46
WS
159922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15993
15994 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15995 __builtin_memcopy is called when src and dest ranges are known to not
15996 overlap.
15997
6b652f46
WS
159982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15999
16000 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16001 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16002 fwd_align_merge macro call.
16003 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16004 bwd_align_merge macro call.
16005 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16006
b282631e
WS
160072012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16008
16009 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16010 bwd_align_merge macros.
16011 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16012 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16013 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16014
95aa737c
DM
160152012-04-18 David S. Miller <davem@davemloft.net>
16016
16017 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16018
7a99a614
AJ
160192012-04-18 Andreas Jaeger <aj@suse.de>
16020
16021 [BZ# 6794]
16022 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16023 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16024 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16025
16026 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16027 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16028 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16029
16030 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16031 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16032 Adjust for changed ldbl-128 files.
16033
16034 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16035 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16036 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16037
e5270c23
DM
160382012-04-17 David S. Miller <davem@davemloft.net>
16039
16040 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16041
fb5e92c9
AS
160422012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16043
16044 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16045 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16046 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16047 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16048 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16049 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16050
76da7265
AZ
160512012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16052
16053 [BZ #6794]
16054 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16055 * math/libm-test.inc: Add ilogb errno and exception tests.
16056 * math/w_ilogb.c: New file: ilogb wrapper.
16057 * math/w_ilogbf.c: New file: ilogbf wrapper.
16058 * math/w_ilogbl.c: New file: ilogbl wrapper.
16059 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16060 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16061 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16062 exception being thrown with 0.0 as argument.
16063 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16064 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16065 exception being thrown with 0.0 as argument.
16066 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16067 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16068 exception being thrown with 0.0 as argument.
16069 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16070 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16071 exception being thrown with 0.0 as argument.
16072 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16073 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16074 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16075 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16076 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16077 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16078 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16079 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16080 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16081
0396e69d
PB
160822012-04-17 Petr Baudis <pasky@ucw.cz>
16083
16084 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16085 with altivec.
16086
750b5926
MP
160872012-04-16 Marek Polacek <polacek@redhat.com>
16088
16089 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16090
751728a1
MP
160912012-04-16 Marek Polacek <polacek@redhat.com>
16092
16093 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16094 operands of fdivp instruction.
16095
34a27407
L
160962012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16097
16098 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16099 * elf/tst-auditmod3b.c: Likewise.
16100 * elf/tst-auditmod4b.c: Likewise.
16101 * elf/tst-auditmod5b.c: Likewise.
16102 * elf/tst-auditmod6b.c: Likewise.
16103 * elf/tst-auditmod6c.c: Likewise.
16104 * elf/tst-auditmod7b.c: Likewise.
16105 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16106 * sysdeps/x86_64/preconfigure.in: Likewise.
16107 * sysdeps/x86_64/preconfigure: Regenerated.
16108
7e73e17d
L
161092012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16110
16111 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16112 __ILP32__.
16113
c7a6ab72
AB
161142012-04-13 Antoine Balestrat <merkil33@gmail.com>
16115
16116 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16117 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16118
a9e8e0e0
CL
161192012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16120
16121 [BZ #13973]
16122 * locale/iso-639.def: Fix gl language name. Spotted by
16123 Yaron Shahrabani.
16124
ec98af7d
RM
161252012-04-12 Roland McGrath <roland@hack.frob.com>
16126
16127 [BZ #2074]
16128 * libio/libio.h (__io_write_fn): Update comment.
16129
247c3ede
PB
161302012-04-12 Petr Baudis <pasky@ucw.cz>
16131
16132 [BZ #2074]
16133 * stdio.texi (Hook Functions): The user provided writer function
16134 is not allowed to return -1.
16135
55939d6d
DM
161362012-04-11 David S. Miller <davem@davemloft.net>
16137
16138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16139
90020f5a
MF
161402012-04-11 Mike Frysinger <vapier@gentoo.org>
16141
16142 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16143 Add a leading slash to rtkaio.
16144
288f9098
JM
161452012-04-11 Jim Meyering <meyering@redhat.com>
16146
90020f5a
MF
16147 [BZ #11959]
16148 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16149 It is not necessarily an error to ignore fwrite's return
16150 value. One can reliably use ferror to test for errors after
16151 the fact.
288f9098 16152
4be2b570
L
161532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16154
16155 * bits/types.h (__snseconds_t): New type.
16156 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16157
16158 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16159 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16160 (__SNSECONDS_T_TYPE): Likewise.
16161 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16162 (__SNSECONDS_T_TYPE): Likewise.
16163 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16164 (__SNSECONDS_T_TYPE): Likewise.
16165
288f9098 161662012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16167
16168 [BZ #2636]
16169 * manual/time.texi (Processor Time): Return type of times is
16170 elapsed real time since an arbitrary point in the past.
16171 (CPU Time): Move CLK_TCK from here...
16172 (Processor Time): ...to here. Correct description.
16173 * manual/conf.texi (Constants for Sysconf): Correct description of
16174 _SC_CLK_TCK.
16175
d7dd4413
DM
161762012-04-10 David S. Miller <davem@davemloft.net>
16177
16178 [BZ #13967]
16179 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16180 where the is a gap between DT_REL(A) and DT_JMPREL.
16181
b46068fc
L
161822012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16183
16184 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16185 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16186 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16187
73d65cc3
SP
161882012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16189
16190 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16191 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16192 (dl_main): Handle --inhibit-cache.
16193 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16194 _dl_inhibit_cache.
16195 * elf/dl-load.c (_dl_map_object): Use it.
16196 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16197
bcc8d661
JM
161982012-04-09 Joseph Myers <joseph@codesourcery.com>
16199
8f9a2fae
JM
16200 [BZ #13872]
16201 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16202 (__ieee754_powl): Saturate large exponents rather than testing for
16203 overflow of y*log2(x).
16204 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16205 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16206 exceptions.
16207
bcc8d661
JM
16208 [BZ #11521]
16209 * math/s_ctan.c: Include <float.h>.
16210 (__ctan): Avoid internal overflow or cancellation in calculating
16211 denominator.
16212 * math/s_ctanf.c: Likewise.
16213 * math/s_ctanl.c: Likewise.
16214 * math/s_ctanh.c: Likewise.
16215 * math/s_ctanhf.c: Likewise.
16216 * math/s_ctanhl.c: Likewise.
16217 * math/libm-test.inc (ctan_test): Add more tests.
16218 (ctanh_test): Likewise.
16219 * sysdeps/i386/fpu/libm-test-ulps: Update.
16220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16221
823fbbb4
AJ
162222012-04-09 Andreas Jaeger <aj@suse.de>
16223
03879793
AJ
16224 [BZ #6894]
16225 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16226 is an optional BSD extension.
16227
823fbbb4
AJ
16228 [BZ #10254]
16229 * manual/stdio.texi (Opening Streams): Document additional fopen
16230 parameters.
16231
8de131cb
RM
162322012-04-09 Roland McGrath <roland@hack.frob.com>
16233
16234 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16235 %eax without telling the compiler.
16236
c0ed9d7d
CD
162372012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16238
16239 [BZ # 13963]
16240 * manual/install.texi: Use sourceware.org.
16241
c483f6b4
JM
162422012-04-09 Joseph Myers <joseph@codesourcery.com>
16243
d7dd9453
JM
16244 [BZ #13873]
16245 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16246 (__ieee754_pow): Generate overflow and underflow using huge*huge
16247 and tiny*tiny rather than just returning constant infinity or zero
16248 for large exponents.
16249 * math/libm-test.inc (pow_test): Require overflow exceptions for
16250 applicable cases of large exponents.
16251
c483f6b4
JM
16252 [BZ #706]
16253 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16254 (__ieee754_pow): Use iterative multiplication algorithm only for
16255 integer exponents with absolute value below 1024. Check for odd
16256 integer exponents when using algorithm for real exponents.
16257 * math/libm-test.inc (pow_test): Add more tests.
16258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16259
d2de7579
JM
162602012-04-08 Joseph Myers <joseph@codesourcery.com>
16261
16262 [BZ #13705]
16263 * math/libm-test.inc (exp_test): Do not allow overflow exception
16264 on underflow test.
16265
f77f1232
AJ
162662012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16267
16268 [BZ #13705]
16269 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16270 instead of __kernel_standard_f.
16271
3884932b
MF
162722012-04-08 Mike Frysinger <vapier@gentoo.org>
16273
16274 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16275 * sysdeps/x86_64/memset_chk.S: Likewise.
16276
54472e9c
AJ
162772012-04-08 Andreas Jaeger <aj@suse.de>
16278
6ab0fbfc
AJ
16279 [BZ #10153]
16280 * manual/startup.texi (Environment Access): Describe return value
16281 for putenv and setenv.
16282
61efba8c
AJ
16283 [BZ #6895]
16284 * manual/filesys.texi (Directory Entries): Add description for
16285 DT_LNK.
16286
95c3f29a
AJ
16287 [BZ #6890]
16288 * manual/filesys.texi (Directory Entries): Clarify that it's file
16289 system not operating system in the description of DT_UNKNOWN.
16290
54472e9c
AJ
16291 [BZ #6578]
16292 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16293
624254b1
SC
162942012-04-08 Stephen Compall <s11@member.fsf.org>
16295
16296 [BZ #6649]
16297 * manual/llio.texi (Opening and Closing Files): Add cross
16298 reference to explain mode argument.
16299
1e4920e0
MF
163002012-04-07 Mike Frysinger <vapier@gentoo.org>
16301
16302 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16303 * sysdeps/x86_64/memset_chk.S: Likewise.
16304
5ed848f3
DM
163052012-04-07 David S. Miller <davem@davemloft.net>
16306
16307 * elf/elf.h (R_SPARC_WDISP10): Define.
16308 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16309 R_SPARC_SIZE32.
16310 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16311 R_SPARC_SIZE64 and R_SPARC_H34.
16312
96154cd8
CD
163132012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16314
16315 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16316 conditions and remove no longer applicable assertion.
16317
9904dc47
L
163182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16319
16320 * bits/byteswap.h: Include <features.h>.
16321 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16322 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16323
f8887d0a
L
163242012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16325
16326 * bits/byteswap.h (__bswap_16): Removed.
16327 Include <bits/byteswap-16.h> to get __bswap_16.
16328 * sysdeps/i386/bits/byteswap.h: Likewise.
16329 * sysdeps/s390/bits/byteswap.h: Likewise.
16330 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16331 * bits/byteswap-16.h: New file.
16332 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16333 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16334 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16335 * string/Makefile (headers): Add bits/byteswap-16.h.
16336
62470f60
PP
163372012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16338
16339 [BZ #13895]
16340 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16341 extra indirection.
16342 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16343 * nss/tst-nss-static.c: New.
16344
4dad7bab
RM
163452012-04-06 Robert Millan <rmh@gnu.org>
16346
16347 [BZ #6486]
16348 * manual/llio.texi (File Position Primitive): lseek
16349 refers to WHENCE when it really means OFFSET.
16350
e9142a17
AJ
163512012-04-06 Andreas Jaeger <aj@suse.de>
16352
2c040eff
AJ
16353 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16354 strncmp declarations.
16355
e9142a17
AJ
16356 * abilist/libc.abilist: Add __poll and __ppoll.
16357
ff9f1c5f
DM
163582012-04-05 David S. Miller <davem@davemloft.net>
16359
dcd2ae90
DM
16360 * scripts/check-local-headers.sh: Accept a host triplet in the
16361 path matched by the exclude regexp.
16362
993eb054
DM
16363 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16364 definition.
16365 * sysdeps/powerpc/powerpc32/dl-machine.h
16366 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16367 * sysdeps/s390/s390-32/dl-machine.h
16368 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16369 * sysdeps/sparc/sparc32/dl-machine.h
16370 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16371 * sysdeps/sparc/sparc64/dl-machine.h
16372 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16373
ff9f1c5f
DM
16374 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16375 lazy binding.
48e2e132 16376 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16377 undefined symbol errors.
16378
48e2e132 16379 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16380 DT_NEEDED entries.
16381
e80d6f94
MM
163822012-04-05 Michael Matz <matz@suse.de>
16383
16384 [BZ #13592]
16385 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16386
349fa79f
AJ
163872012-04-05 Andreas Jaeger <aj@suse.de>
16388
16389 [BZ #13908]
16390 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16391 comment.
16392
f402708f
KK
163932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16394
16395 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16396 which ROUND is no valid rounding mode.
16397
2ecccfc9
KK
163982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16399
16400 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16401 read again.
16402 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16403
8a53f50f
KK
164042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16405
16406 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16407 an exception using FPU order intentionally.
16408
164092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16410
16411 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16412 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16413 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16414 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16415
d653abb7
SJ
164162012-04-05 Simon Josefsson <simon@josefsson.org>
16417
16418 [BZ #12340]
16419 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16420 EINVAL when BUFLEN is too smal.
16421
c3b1bf7d
TS
164222012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16423
16424 [BZ #13553]
16425 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16426 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16427
b1aa60f3
AJ
164282012-04-03 Andreas Jaeger <aj@suse.de>
16429
c3b1bf7d 16430 [BZ #13938]
67f60a26
AJ
16431 * manual/setjmp.texi (System V contexts): Fix sentence.
16432
b1aa60f3
AJ
16433 [BZ #13926]
16434 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16435 New macro for this case.
16436 [!__GNUC__] (__bswap_64): New inline function for this case.
16437 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16438 * bits/byteswap.h: Likewise.
16439 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16440 ull, guard with __GLIBC_HAVE_LONG_LONG.
16441
16442 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16443 __GLIBC_HAVE_LONG_LONG.
16444
16445 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16446 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16447
39c59c35
TMQMF
164482012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16449
16450 [BZ #13691]
16451 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16452 inptr and inend, rather than using last_ch.
16453
135ffda8
DM
164542012-04-02 David S. Miller <davem@davemloft.net>
16455
16456 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16457 * stdio-common/printf-parse.h (read_int): Change return type to
16458 'int', return -1 on INT_MAX overflow.
16459 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16460 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16461 overflows INT_MAX. Check for overflow of in-format-string precision
16462 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16463 SIZE_MAX not INT_MAX for integer overflow test.
16464 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16465 skip the construct in the format string but do not record anything.
16466 * stdio-common/bug22.c: Adjust to test both width/prevision
16467 INT_MAX overflow as well as total length INT_MAX overflow. Check
16468 explicitly for proper errno values.
16469
228c019e
TS
164702012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16471
302cadd3
TS
16472 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16473 CHAR_MAX.
16474 * string/test-strcmp.c [! WIDE]: Likewise.
16475 * time/tst-mktime2.c: Likewise for INT_MAX.
16476 * string/test-string.h: #include <sys/param.h> for MIN.
16477
228c019e
TS
16478 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16479 * sysdeps/i386/init-first.c (init): Likewise.
16480 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16481 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16482 * sysdeps/sh/init-first.c (init): Likewise.
16483
cfa633f5
UD
164842012-04-01 Ulrich Drepper <drepper@gmail.com>
16485
16486 * po/ru.po: Update from translation team.
d1635ef8 16487 * po/vi.po: Likewise.
cfa633f5 16488
6cd0a5ea
SP
164892012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16490
16491 * resolv/nss_dns/dns-host.c: Merge copyright years.
16492
4b43400f
LD
164932012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16494
16495 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16496 Optimize memcpy with prefetch if
16497 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16498 src, dst pointers have unequal 16 byte alignments.
16499
48c41d04
SP
165002012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16501
16502 [BZ #13928]
16503 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16504 from a CNAME entry and return the minimum ttl for the query.
16505 (gaih_getanswer_slice): Likewise.
16506
b8dc394d
JL
165072012-03-30 Jeff Law <law@redhat.com>
16508
16509 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16510 due to long keys.
16511 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16512 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16513
2f5a5ed0
JL
16514 * resolv/nss_dns/dns-host.c: Update copyright year.
16515
1d39e359
UD
165162012-03-30 Ulrich Drepper <drepper@gmail.com>
16517
c030f70c 16518 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16519 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16520
1d39e359
UD
16521 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16522 comments for sendmmsg.
16523
165242012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16525
16526 [BZ #13691]
16527 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16528 with only 1 character between 0x0041 and 0x01b0.
16529 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16530 * wcsmbs/tst-mbsnrtowcs.c: New file.
16531
20fde227
DM
165322012-03-29 David S. Miller <davem@davemloft.net>
16533
16534 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16535 small copies by hand.
16536
984a4237
JL
165372012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16538
16539 [BZ #13761]
16540 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16541 _nss_compat_initgroups_dyn): Fall back to malloc/free
16542 for large group memberships.
16543
18c9d62b
DM
165442012-03-28 David S. Miller <davem@davemloft.net>
16545
88d85d4f
DM
16546 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16547 that branches into memcpy.
16548 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16549 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16550 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16551 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16552 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16553 bits.
16554 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16555 implementation too.
16556 * sysdeps/sparc/mempcpy.S: New file.
16557
e5aa83e1
DM
16558 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16559 the IFUNC routine in the libc case.
16560 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16561
88570753
DM
16562 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16563 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16564 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16565 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16566 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16567 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16568 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16569 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16570
249d7567
DM
16571 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16572 loop to 256 bytes instead of 64 bytes and fix test signedness.
16573
18c9d62b
DM
16574 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16575 * sysdeps/sparc/sparc32/Makefile: rather than here...
16576 * sysdeps/sparc/sparc64/Makefile: and here.
16577
05f3d1f6
UD
165782012-03-28 Ulrich Drepper <drepper@gmail.com>
16579
16580 * malloc/mallocbug.c: Avoid warnings about unused variables.
16581
86ae07a8
JL
165822012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16583
16584 [BZ #13760]
16585 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16586 in the right place. Discard and retry query if response is
16587 larger than input buffer size.
16588
41bf21a1
JM
165892012-03-28 Joseph Myers <joseph@codesourcery.com>
16590
d6270972
JM
16591 [BZ #369]
16592 [BZ #2678]
16593 [BZ #3866]
16594 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16595 x for large integer exponent.
16596 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16597 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16598 sign of result as needed afterwards.
16599 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16600 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16601 result for underflowing pow the same as for overflow.
16602 (__kernel_standard_l): Handle powl overflow and underflow here
16603 rather than calling __kernel_standard.
16604 * math/libm-test.inc (pow_test): Add more tests.
16605
414fca03 16606 [BZ #3868]
41bf21a1
JM
16607 [BZ #13879]
16608 [BZ #13910]
16609 [BZ #13911]
16610 [BZ #13912]
16611 [BZ #13913]
16612 [BZ #13915]
16613 [BZ #13916]
16614 [BZ #13917]
16615 [BZ #13918]
16616 [BZ #13919]
16617 [BZ #13920]
16618 [BZ #13921]
16619 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16620 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16621 (__kernel_standard_l): New function.
16622 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16623 __kernel_standard.
16624 * math/w_acosl.c (__acosl): Likewise.
16625 * math/w_asinl.c (__asinl): Likewise.
16626 * math/w_atan2l.c (__atan2l): Likewise.
16627 * math/w_atanhl.c (__atanhl): Likewise.
16628 * math/w_coshl.c (__coshl): Likewise.
16629 * math/w_exp10l.c (__exp10l): Likewise.
16630 * math/w_exp2l.c (__exp2l): Likewise.
16631 * math/w_fmodl.c (__fmodl): Likewise.
16632 * math/w_hypotl.c (__hypotl): Likewise.
16633 * math/w_j0l.c (__j0l, __y0l): Likewise.
16634 * math/w_j1l.c (__j1l, __y1l): Likewise.
16635 * math/w_jnl.c (__jnl, __ynl): Likewise.
16636 * math/w_lgammal.c (__lgammal): Likewise.
16637 * math/w_log10l.c (__log10l): Likewise.
16638 * math/w_log2l.c (__log2l): Likewise.
16639 * math/w_logl.c (__logl): Likewise.
16640 * math/w_powl.c (__powl): Likewise.
16641 * math/w_remainderl.c (__remainderl): Likewise.
16642 * math/w_scalbl.c (sysv_scalbl): Likewise.
16643 * math/w_sinhl.c (__sinhl): Likewise.
16644 * math/w_sqrtl.c (__sqrtl): Likewise.
16645 * math/w_tgammal.c (__tgammal): Likewise.
16646 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16647 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16648 * math/libm-test.inc (acos_test): Add more tests.
16649 (acosh_test): Likewise.
16650 (asin_test): Likewise.
16651 (atanh_test): Likewise.
16652 (exp_test): Likewise.
16653 (exp10_test): Likewise.
16654 (exp2_test): Likewise.
16655 (expm1_test): Likewise.
16656 (lgamma_test): Likewise.
16657 (log_test): Likewise.
16658 (log10_test): Likewise.
16659 (log1p_test): Likewise.
16660 (log2_test): Likewise.
16661 (pow_test): Do not allow some spurious overflow exceptions.
16662 (sqrt_test): Add more tests.
16663 (tgamma_test): Likewise.
16664 (y0_test): Likewise.
16665 (y1_test): Likewise.
16666 (yn_test): Likewise.
16667
dd62fda6
AB
166682012-03-27 Anton Blanchard <anton@samba.org>
16669
16670 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16671 MAP_HUGETLB.
16672 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16673 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16674 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16675
1e3cdfda
AJ
166762012-03-27 David S. Miller <davem@davemloft.net>
16677
b855ab85
DM
16678 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16679
1e3cdfda
AJ
16680 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16681 have-as-vis3 check.
16682
166832012-03-27 Andreas Jaeger <aj@suse.de>
16684
16685 * sysdeps/x86_64/elf/configure.in: Moved to ...
16686 * sysdeps/x86_64/configure.in: ... here.
16687 * sysdeps/x86_64/elf/start.S: Moved to ...
16688 * sysdeps/x86_64/start.S: ... here.
16689 * sysdeps/x86_64/elf/configure: Delete.
16690
16691 * sysdeps/x86_64/configure.in: Merge contents from
16692 sysdeps/i386/configure.in (without i686 check).
16693
16694 * sysdeps/i386/elf/Versions: Merge into ...
16695 * sysdeps/i386/Versions: ... this.
16696 * sysdeps/i386/elf/Versions: Delete file.
16697 * sysdeps/i386/elf/start.S: Moved to ...
16698 * sysdeps/i386/start.S: ...here.
16699 * sysdeps/i386/elf/configure.in: Merge into...
16700 * sysdeps/i386/configure.in: ...here.
16701 * sysdeps/i386/elf/configure.in: Delete file.
16702 * sysdeps/i386/elf/configure: Delete file.
16703
16704 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16705 * debug/backtracesyms.c: ... here.
16706 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16707 * debug/backtracesymsfd.c: ... here.
16708 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16709 * sysdeps/generic/ifunc-sel.h: ... here.
16710
16711 * sysdeps/unix/i386/start.c: Delete file.
16712 * sysdeps/unix/sparc/start.c: Delete file.
16713 * sysdeps/unix/start.c: Delete file.
16714
16715 * sysdeps/sh/elf/configure.in: Moved to ...
16716 * sysdeps/sh/configure.in: ... here.
16717 * sysdeps/sh/elf/start.S: Moved to ...
16718 * sysdeps/sh/start.S: ... here.
16719 * sysdeps/sh/elf/configure: Delete file.
16720
16721 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16722 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16723 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16724 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16725 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16726 * sysdeps/powerpc/powerpc64/start.S: here.
16727 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16728 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16729 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16730 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16731 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16732
16733 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16734 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16735 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16736 * sysdeps/powerpc/powerpc32/start.S: ... here.
16737 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16738 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16739 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16740
16741 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16742 * sysdeps/powerpc/ifunc-sel.h: ... here.
16743 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16744 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16745
16746 * sysdeps/sparc/elf/configure.in: Moved to ...
16747 * sysdeps/sparc/configure.in: ... here.
16748 * sysdeps/sparc/elf/configure: Delete file.
16749 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16750 * sysdeps/sparc/sparc32/start.S: ... here.
16751 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16752 * sysdeps/sparc/sparc64/start.S: ... here.
16753 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16754 * sysdeps/sparc/sparc32/Makefile: ... this.
16755 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16756 * sysdeps/sparc/sparc64/Makefile: ... this.
16757
16758 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16759 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16760 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16761 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16762 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16763 * sysdeps/s390/s390-32/setjmp.S: ... here.
16764 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16765 * sysdeps/s390/s390-32/configure.in: ... here.
16766 * sysdeps/s390/s390-32/elf/configure: Delete file.
16767 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16768 * sysdeps/s390/s390-32/start.S: ... here.
16769
16770 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16771 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16772 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16773 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16774 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16775 * sysdeps/s390/s390-64/setjmp.S: ... here.
16776 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16777 * sysdeps/s390/s390-64/configure.in: ... here
16778 * sysdeps/s390/s390-64/elf/configure: Delete file.
16779 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16780 * sysdeps/s390/s390-64/start.S: ... here.
16781 * sysdeps/s390/s390-64/elf/configure: Delete.
16782
16783 * configure.in: Remove support for elf directories in sysdeps.
16784
16785 * configure: Regenerated.
16786 * sysdeps/i386/configure: Regenerated.
16787 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16788 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16789 * sysdeps/s390/s390-32/configure: Regenerated.
16790 * sysdeps/s390/s390-64/configure: Regenerated.
16791 * sysdeps/sh/configure: Regenerated.
16792 * sysdeps/sparc/configure: Regenerated.
16793 * sysdeps/x86_64/configure: Regenerated.
16794
a3f61311
AS
167952012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16796
c876e002
AS
16797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16798
a3f61311
AS
16799 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16800 denormal result into account.
16801
ac4c54f0
RM
168022012-03-25 Roland McGrath <roland@hack.frob.com>
16803
16804 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16805 Reported by Allan McRae <allan@archlinux.org>.
16806
6a9b9c02
JL
168072012-03-23 Jeff Law <law@redhat.com>
16808
16809 * nss/getnssent.c (__nss_getent): Fix typo.
16810
4c42a0c1
DM
168112012-03-23 David S. Miller <davem@davemloft.net>
16812
16813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16814
1532c7ac
L
168152012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16816
16817 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16818 to pad to uint64_t for each field.
16819 (dl_tls_index): Replace unsigned long with uint64_t.
16820
3ff42526
PP
168212012-03-23 Daniel Jacobowitz <dmj@google.com>
16822 Paul Pluzhnikov <ppluzhnikov@google.com>
16823
16824 [BZ #6528]
16825 * grp/Makefile (otherlibs): Don't set it.
16826 * inet/Makefile (otherlibs): Likewise.
16827 * login/Makefile (otherlibs): Likewise.
16828 * nscd/Makefile (otherlibs): Likewise.
16829 * posix/Makefile (otherlibs): Likewise.
16830 * pwd/Makefile (otherlibs): Likewise.
16831 * rt/Makefile (otherlibs): Likewise.
16832 * sunrpc/Makefile (otherlibs): Likewise.
16833 * nss/Makefile (otherlibs): Likewise.
16834 Add libnss_files to routines and static-only-routines.
16835 ($(objpfx)getent): Remove rule.
16836 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16837 static-only-routines.
16838
7c69cd14
JM
168392012-03-22 Joseph Myers <joseph@codesourcery.com>
16840
16841 [BZ #13892]
16842 * math/s_cexp.c: Include <float.h>.
16843 (__cexp): Handle exp result overflowing not necessarily
16844 overflowing both real and imaginary parts of result.
16845 * math/s_cexpf.c: Likewise.
16846 * math/s_cexpl.c: Likewise.
16847 * math/libm-test.inc (cexp_test): Add more tests.
16848 * sysdeps/i386/fpu/libm-test-ulps: Update.
16849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16850
81b035fe
L
168512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16852
16853 * include/link.h (ELFW): New macro.
16854 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16855 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16856
1da7940c
L
168572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16858
16859 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16860 with uint64_t.
16861
b749dbb9
L
168622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16863
16864 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16865 declaration.
16866 (struct La_x32_retval): Likewise.
16867
2ff87f3f
L
168682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16869
16870 * sysdeps/x86_64/preconfigure.in: New file.
16871 * sysdeps/x86_64/preconfigure: New generated file.
16872
c0df8e69
JM
168732012-03-22 Joseph Myers <joseph@codesourcery.com>
16874
48e44791
JM
16875 [BZ #13824]
16876 * math/e_exp2l.c: Include <float.h>.
16877 (__ieee754_exp2l): Handle overflow and underflow cases
16878 separately. Only pass fractional part of argument to
16879 __ieee754_expl.
16880 * math/libm-test.inc (exp2_test): Add more tests.
16881
c0df8e69
JM
16882 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16883 negating x to take absolute value.
16884 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16885 Likewise.
16886 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16887 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16888 Likewise.
16889 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16890 computing low part if x was negated.
16891 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16892
c8e43ba7
L
168932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16894
16895 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16896 la_x32_gnu_pltexit.
16897 (pltexit): Cast int_retval to ptrdiff_t.
16898 * elf/tst-auditmod3b.c: Likewise.
16899 * elf/tst-auditmod4b.c: Likewise.
16900 * elf/tst-auditmod5b.c: Likewise.
16901 * elf/tst-auditmod6b.c: Likewise.
16902 * elf/tst-auditmod6c.c: Likewise.
16903 * elf/tst-auditmod7b.c: Likewise.
16904
16905 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16906 and x32_gnu_pltexit.
16907
16908 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16909 __ELF_NATIVE_CLASS.
16910 (La_x32_regs): New macro.
16911 (La_x32_retval): Likewise.
16912 (la_x32_gnu_pltenter): New function prototype.
16913 (la_x32_gnu_pltexit): Likewise.
16914
7998fa78
AS
169152012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16916
dcb33988
AS
16917 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16918 exponent.
16919
233fc563
AS
16920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16921
7998fa78
AS
16922 * configure.in (libc_cv_cc_nofma): Check for option to disable
16923 generation of FMA instructions.
16924 * configure: Regenerate.
16925 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16926 * sysdeps/ieee754/dbl-64/Makefile: New file.
16927 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16928 Remove brandred-fma4.
16929 (CFLAGS-brandred-fma4.c): Remove.
16930 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16931 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16932 define.
16933 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16934 define.
16935
8e95c99a
L
169362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16937
16938 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16939 LLONG_MAX != LONG_MAX.
16940 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16941 (_fitoa_word): Likewise.
16942 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16943 LLONG_MAX != LONG_MAX.
16944 * stdio-common/_itowa.h: Include <_itoa.h>.
16945 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16946 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16947 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16948 only if not defined.
16949 (_ITOA_WORD_TYPE): Likewise.
16950 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16951 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16952
6f4db457
DM
169532012-03-21 David S. Miller <davem@davemloft.net>
16954
16955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16956
7785fe5a
L
169572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16958
16959 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16960 of x86_64 when setting libc_cv_slibdir, libdir and
16961 libc_cv_localedir.
16962 * sysdeps/unix/sysv/linux/configure: Regenerated.
16963
4535cd55
JM
169642012-03-21 Joseph Myers <joseph@codesourcery.com>
16965
16966 * manual/lang.texi (Old Varargs): Remove section.
16967 (How Variadic): Update menu.
16968 (va_start): Do not mention varargs.h.
16969
17228132
TS
169702012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16971 Joseph Myers <joseph@codesourcery.com>
16972
16973 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16974 link test.
16975 * configure: Regenerated.
16976
8149f976
TS
169772012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16978
05f3d1f6
UD
16979 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16980 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16981 conformtest.pl
8149f976 16982
1a4ac776
JM
169832012-03-21 Joseph Myers <joseph@codesourcery.com>
16984
be22ce65
JM
16985 * NOTES: Remove.
16986 * Makefile (files-for-dist): Remove NOTES.
16987 (NOTES): Remove rule.
16988 * README: Don't refer to NOTES.
16989 * manual/creature.texi: Don't include macros.texi.
16990 * manual/intro.texi (creature.texi): Remove comment referring to
16991 NOTES.
16992
40b601fb
JM
16993 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16994 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16995 * configure: Regenerated.
16996 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16997 LIBC_TRY_CC_OPTION.
16998 (libc_cv_as_i686): Likewise.
16999 (libc_cv_cc_avx): Likewise.
17000 (libc_cv_cc_sse2avx): Likewise.
17001 (libc_cv_cc_fma4): Likewise.
17002 (libc_cv_cc_novzeroupper): Likewise.
17003 * sysdeps/i386/configure: Regenerated.
17004
1a4ac776
JM
17005 [BZ #13883]
17006 * sysdeps/i386/fpu/s_cexp.S: Remove.
17007 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17008 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17009 * math/libm-test.inc (cexp_test): Add more tests.
17010 * sysdeps/i386/fpu/libm-test-ulps: Update.
17011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17012
a458e7fe
AM
170132012-03-21 Allan McRae <allan@archlinux.org>
17014
17015 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17016
0cb7efc5
JM
170172012-03-21 Joseph Myers <joseph@codesourcery.com>
17018
17019 [BZ #13871]
17020 * math/w_exp2.c: Do not include <float.h>.
17021 (o_threshold, u_threshold): Remove.
17022 (__exp2): Calculate result before checking finiteness and calling
17023 __kernel_standard.
17024 * math/w_exp2f.c: Likewise.
17025 * math/w_exp2l.c: Likewise.
17026 * math/libm-test.inc (exp2_test): Require overflow exception for
17027 1e6 input.
2460d3aa
JM
17028
17029 [BZ #3866]
17030 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17031 range of signed 64-bit integers before using fistpll. Remove
17032 checks for whether integers fit in mantissa bits.
17033 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17034 the range of signed 32-bit integers before using fistpl. Remove
17035 checks for whether integers fit in mantissa bits.
17036 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17037 (__ieee754_powl): Test for y outside the range of signed 64-bit
17038 integers before using fistpll. Reduce 64-bit values to 63-bit
17039 ones as needed.
17040 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17041 divide-by-zero is raised for zero to large negative powers.
17042 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17043 (__ieee754_powl): Test for y outside the range of signed 64-bit
17044 integers before using fistpll. Reduce 64-bit values to 63-bit
17045 ones as needed.
17046 * math/libm-test.inc (pow_test): Add more tests.
17047
eb96ffb0
L
170482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17049
17050 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17051 <stdio-common/_itoa.h>.
17052 * debug/segfault.c: Likewise.
17053 * elf/dl-cache.c: Likewise.
17054 * elf/dl-minimal.c: Likewise.
17055 * elf/dl-misc.c: Likewise.
17056 * elf/dl-sysdep.c: Likewise.
17057 * elf/dl-version.c: Likewise.
17058 * elf/rtld.c: Likewise.
17059 * hurd/hurdsock.c: Likewise.
17060 * hurd/lookup-retry.c: Likewise.
17061 * malloc/malloc.c: Likewise.
17062 * malloc/mtrace.c: Likewise.
17063 * nscd/nscd_getgr_r.c: Likewise.
17064 * nscd/nscd_getpw_r.c: Likewise.
17065 * nscd/nscd_getserv_r.c: Likewise.
17066 * posix/getopt_init.c: Likewise.
17067 * posix/wordexp.c: Likewise.
17068 * stdio-common/_itoa.c: Likewise.
17069 * stdio-common/printf_fphex.c: Likewise.
17070 * stdio-common/vfprintf.c: Likewise.
17071 * string/_strerror.c: Likewise.
17072 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17073 * sysdeps/i386/i686/hp-timing.h: Likewise.
17074 * sysdeps/mach/_strerror.c: Likewise.
17075 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17076 * sysdeps/mach/hurd/sethostid.c: Likewise.
17077 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17078 * sysdeps/mach/xpg-strerror.c: Likewise.
17079 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17080 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17081 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17082 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17083 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17084 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17085 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17086 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17087 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17088 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17089 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17090 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17091 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17092 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17093 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17094 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17095 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17096 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17097 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17098 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17099 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17100
17101 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17102
17103 * stdio-common/_itoa.h: Moved to ...
17104 * sysdeps/generic/_itoa.h: Here.
17105
17106 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17107
17108 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17109 instead of "_itoa.h" and "_itowa.h".
17110 * stdio-common/vfprintf.: Likewise.
17111
d1af992d
L
171122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17113
17114 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17115 <bits/wordsize.h>.
17116 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17117 (__signbit): Likwise.
17118 (llrintf): Likwise.
17119 (llrint): Likwise.
17120
114883e0
L
171212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17122
17123 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17124 __WORDSIZE != 64.
17125
c135cc1b
JM
171262012-03-20 Joseph Myers <joseph@codesourcery.com>
17127
17128 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17129 OVERFLOW_EXCEPTION_OK.
17130 * math/libm-test.inc ("Philosophy"): Update comment about
17131 exception testing.
17132 (OVERFLOW_EXCEPTION): Define.
17133 (OVERFLOW_EXCEPTION_OK): Likewise.
17134 (INVALID_EXCEPTION_OK): Renumber.
17135 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17136 (IGNORE_ZERO_INF_SIGN): Likewise.
17137 (test_exceptions): Handle FE_OVERFLOW.
17138 (exp10_test): Expect overflow exceptions.
17139 (exp2_test): Likewise.
17140 (expm1_test): Likewise.
17141 (nextafter_test): Likewise.
17142 (pow_test): Likewise.
17143 (scalbn_test): Likewise.
17144 (scalbln_test): Likewise.
17145
95443d88
L
171462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17147
17148 * sysdeps/x86_64/bits/atomic.h
17149 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17150 64bit integer.
17151 (atomic_exchange_acq): Likewise.
17152 (__arch_exchange_and_add_body): Likewise.
17153 (__arch_add_body): Likewise.
17154 (atomic_add_negative): Likewise.
17155 (atomic_add_zero): Likewise.
17156
490df6c4
L
171572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17158
c2722551 17159 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17160 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17161
5e52b189
L
171622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17163
17164 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17165 Check __x86_64__ instead of __WORDSIZE.
17166
a9879d4c
L
171672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17168
17169 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17170
5df98260
DM
171712012-03-19 David S. Miller <davem@davemloft.net>
17172
e1497744
DM
17173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17174
5df98260
DM
17175 * sysdeps/sparc/fpu/fenv_private.h: New file.
17176 * sysdeps/sparc/fpu/math_private.h: Use it.
17177 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17178 Remove.
17179 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17180 (libc_feholdexcept_setroundl): Remove.
17181 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17182 Remove.
17183 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17184 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17185
b4c35121
L
171862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17187
17188 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17189 int64_t instead of long int.
17190 (INSERT_WORDS64): Likwise.
17191
56965fd7
L
171922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17193
17194 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17195 _Unwind_GetCFA return to _Unwind_Ptr first.
17196
83d1aec8
JM
171972012-03-19 Joseph Myers <joseph@codesourcery.com>
17198
1897ad44
JM
17199 [BZ #13629]
17200 * math/s_clog.c: Include <float.h>.
17201 (__clog): Scale large or subnormal inputs.
17202 * math/s_clogf.c: Likewise.
17203 * math/s_clogl.c: Likewise.
17204 * math/s_clog10.c: Include <float.h>.
17205 (M_LOG10_2): Define.
17206 (__clog10): Scale large or subnormal inputs.
17207 * math/s_clog10f.c: Likewise.
17208 * math/s_clog10l.c: Likewise.
17209 * math/libm-test.inc (clog_test): Add more tests.
17210 (clog10_test): Likewise.
17211 * sysdeps/i386/fpu/libm-test-ulps: Update.
17212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17213
7726d6a9
JM
17214 [BZ #11451]
17215 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17216 x and y.
17217 * math/libm-test.inc (atan2_test): Add another test.
17218
83d1aec8
JM
17219 * Makerules (common-objdir-compile): Remove.
17220 * sysdeps/unix/Makefile (config-generated): Do not add
17221 $(unix-generated) to variable.
17222 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17223 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17224 Remove rule.
17225 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17226 Likewise.
17227 [generic bits/local_lim.h] (before-compile): Do not append to
17228 variable.
17229 [generic bits/local_lim.h] (common-generated): Likewise.
17230 [generic sys/param.h] (before-compile): Do not append to variable.
17231 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17232 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17233 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17234 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17235 include.
17236 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17237 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17238 [generic sys/param.h] ($(addprefix
17239 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17240 [generic sys/param.h] (common-generated): Do not append to
17241 variable.
17242 [generic sys/param.h] (sysdep_headers): Likewise.
17243 [generic bits/errno.h] (before-compile): Do not append to
17244 variable.
17245 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17246 rule.
17247 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17248 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17249 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17250 [generic bits/errno.h] (common-generated): Do not append to
17251 variable.
17252 [generic bits/ioctls.h] (before-compile): Do not append to
17253 variable.
17254 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17255 rule.
17256 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17257 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17258 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17259 rule.
17260 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17261 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17262 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17263 [generic bits/ioctls.h] (common-generated): Do not append to
17264 variable.
17265 [generic sys/syscall.h] (syscall.h): Remove variable.
17266 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17267 rule.
17268 [generic sys/syscall.h] (before-compile): Do not append to
17269 variable.
17270 [generic sys/syscall.h] (common-generated): Likewise.
17271 * sysdeps/unix/errnos-tmpl.c: Remove file.
17272 * sysdeps/unix/errnos.awk: Likewise.
17273 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17274 * sysdeps/unix/ioctls.awk: Likewise.
17275 * sysdeps/unix/mk-local_lim.c: Likewise.
17276 * sysdeps/unix/snarf-ioctls: Likewise.
17277
4851a949
RH
172782012-03-19 Richard Henderson <rth@twiddle.net>
17279
bd37f2ee
RH
17280 * sysdeps/i386/fpu/fenv_private.h: New file.
17281 * sysdeps/i386/fpu/math_private.h: Use it.
17282 (math_opt_barrier, math_force_eval): Remove.
17283 (libc_feholdexcept_setround_53bit): Remove.
17284 (libc_feupdateenv_53bit): Remove.
17285 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17286 (math_opt_barrier, math_force_eval): Remove.
17287 (libc_feholdexcept): Remove.
17288 (libc_feholdexcept_setround): Remove.
17289 (libc_fetestexcept, libc_fesetenv): Remove.
17290 (libc_feupdateenv_test): Remove.
17291 (libc_feupdateenv, libc_feholdsetround): Remove.
17292 (libc_feresetround): Remove.
17293
d0adc922
RH
17294 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17295 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17296
0fe0f1f8
RH
17297 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17298 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17299 (libc_feupdateenv_testl): New.
17300 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17301 (libc_feupdateenv_testf): New.
17302 (libc_feupdateenv): Use libc_feupdateenv_test.
17303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17304 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17305
eb92c487
RH
17306 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17307 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17308 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17309 (libc_feresetround_noex): New.
17310 (libc_feresetround_noexf): New.
17311 (libc_feresetround_noexl): New.
17312 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17313 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17314 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17315 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17316 SET_RESTORE_ROUND.
17317 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17318 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17319 (__cos): Likewise.
17320 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17321 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17322 SET_RESTORE_ROUND_NOEX.
17323 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17324 SET_RESTORE_ROUND_NOEXF.
17325 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17326 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17327 (libc_feholdsetroundf): New.
17328 (libc_feresetround, libc_feresetroundf): New.
17329
7d2e8012
RH
17330 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17331 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17332 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17333
b4dabbb4
RH
17334 * sysdeps/generic/math_private.h: Include <fenv.h>.
17335 (default_libc_feholdexcept): New.
17336 (default_libc_feholdexcept_setround): New.
17337 (default_libc_fesetenv, default_libc_feupdateenv): New.
17338 (libc_feholdexcept): Only define if undefined.
17339 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17340 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17341 (libc_feholdexcept_setroundl): Likewise.
17342 (libc_feholdexcept_setround_53bit): Likewise.
17343 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17344 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17345 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17346 (libc_feupdateenv_53bit): Likewise.
17347 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17348 (libc_feholdexcept): Convert from macro to inline function.
17349 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17350 (libc_fesetenv, libc_feupdateenv): Likewise.
17351
4851a949
RH
17352 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17353 not previously defined.
17354 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17355 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17356 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17357 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17358 * sysdeps/ieee754/flt-32/math_private.h: New file.
17359 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17360 math_private.h below SET_FLOAT_WORD.
17361 (__isnan, __isinf_ns, __finite): Remove.
17362 (__isnanf, __isinf_nsf, __finitef): Remove.
17363
e79d442e
AS
173642012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17365
17366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17367
90b80344
DM
173682012-03-17 David S. Miller <davem@davemloft.net>
17369
17370 [BZ #6471]
17371 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17372 for 2.16.
17373
edc21804
DM
173742012-03-16 David S. Miller <davem@davemloft.net>
17375
77e927af
DM
17376 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17377 warnings.
17378
374976dd
DM
17379 [BZ #6471]
17380 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17381 properly.
17382 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17383 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17384 sysdep_routines when subdir is sysvipc.
17385 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17386 __getshmlba helper.
17387
edc21804
DM
17388 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17389
473c3ef3
L
173902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17391
17392 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17393 [__LP64__].
17394
eb0f39b6
L
173952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17396
17397 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17398 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17399 (__lround): Renamed to ...
17400 (__llround): This. Replace long int with long long int.
17401 Define lround functions as aliases of llround functions.
17402 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17403
6b6cd74b
L
174042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17405
17406 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17407 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17408 adresses to uintptr_t. Replace "long int" and "unsigned long
17409 int" with "greg_t" on va_arg.
17410
f1a77b01
L
174112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17412
17413 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17414 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17415
17416 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17417 Move e_machine check before EI_CLASS check. Handle x32
17418 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17419 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17420 SKIP_EM_IA_64 and include
17421 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17422
17423 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17424 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17425 (add_system_dir): New macro.
17426
17427 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17428 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17429
11b90b9f
JM
174302012-03-16 Joseph Myers <joseph@codesourcery.com>
17431
c36e1d23
JM
17432 [BZ #2551]
17433 [BZ #2552]
17434 [BZ #2553]
17435 [BZ #2554]
17436 [BZ #2562]
17437 [BZ #2563]
17438 [BZ #2565]
17439 [BZ #2566]
17440 [BZ #2576]
17441 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17442 (y0): Likewise.
17443 * math/w_j0f.c (j0f): Likewise.
17444 (y0f): Likewise.
17445 * math/w_j0l.c (__j0l): Likewise.
17446 (__y0l): Likewise.
17447 * math/w_j1.c (j1): Likewise.
17448 (y1): Likewise.
17449 * math/w_j1f.c (j1f): Likewise.
17450 (y1f): Likewise.
17451 * math/w_j1l.c (__j1l): Likewise.
17452 (__y1l): Likewise.
17453 * math/w_jn.c (jn): Likewise.
17454 (yn): Likewise.
17455 * math/w_jnf.c (jnf): Likewise.
17456 (ynf): Likewise.
17457 * math/w_jnl.c (__jnl): Likewise.
17458 (__ynl): Likewise.
17459 * math/libm-test.inc (j0_test): Add more tests.
17460 (j1_test): Likewise.
17461 (jn_test): Likewise. Add trailing semicolon to existing test.
17462 (y0_test): Likewise.
17463 (y1_test): Likewise.
17464 * sysdeps/i386/fpu/libm-test-ulps: Update.
17465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17466
11b90b9f
JM
17467 [BZ #13851]
17468 [BZ #13854]
17469 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17470 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17471 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17472 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17473 (__tanl): Set errno for infinite argument.
17474 * sysdeps/i386/fpu/mptan.c: Remove.
17475 * sysdeps/i386/fpu/s_tan.S: Likewise.
17476 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17477 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17478 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17479 * math/libm-test.inc (tan_test): Add more tests and enable more
17480 tests for double and long double.
17481 * sysdeps/i386/fpu/libm-test-ulps: Update.
17482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17483
6a1bd2a1
JK
174842012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17485
17486 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17487 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17488
10a803e0
RM
174892012-03-16 Roland McGrath <roland@hack.frob.com>
17490
17491 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17492 * configure.in: Use it for both main tree and add-ons.
17493 * configure: Regenerated.
17494
f196c7f7
L
174952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17496
17497 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17498
8848d99d
JM
174992012-03-16 Joseph Myers <joseph@codesourcery.com>
17500
96cbe7f4
JM
17501 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17502 in comment.
17503
8848d99d
JM
17504 [BZ #13851]
17505 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17506 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17507 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17508 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17509 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17510 infinite argument.
17511 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17512 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17513 != 0 for prec == 2.
17514 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17515 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17516 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17517 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17518 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17519 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17520 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17521 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17522 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17523 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17524 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17525 * math/libm-test.inc (cos_test): Add more tests and enable more
17526 tests for long double.
17527 (sin_test): Likewise.
17528 (sincos_test): Likewise.
17529 * sysdeps/i386/fpu/libm-test-ulps: Update.
17530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17531
dd7f4703
DM
175322012-03-16 David S. Miller <davem@davemloft.net>
17533
17534 * sysdeps/sparc/fpu/math_private.h: New file.
17535
006f1daa
DM
175362012-03-15 David S. Miller <davem@davemloft.net>
17537
c0c83bc8
DM
17538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17539 file.
e6a62e18 17540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17542 file.
e6a62e18
DM
17543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17548 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17549 sysdep routines.
17550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17551
88cb87d9
DM
17552 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17553 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17554
006f1daa 17555 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17557 sparc-ifunc.h
006f1daa 17558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17560 Likewise.
17561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17562 Likewise.
006f1daa
DM
17563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17567 Likewise.
006f1daa
DM
17568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17573 Likewise.
17574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17575 Likewise.
006f1daa
DM
17576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17581 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17582 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17583 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17594 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17595 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17596 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17597 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17598 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17599 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17600
11e0098e
AS
176012012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17602
17603 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17604 scaling.
17605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17606
e85b09d0
AJ
176072012-03-15 Andreas Jaeger <aj@suse.de>
17608
17609 [BZ #13852]
17610 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17611 ieee754/flt-32 implementation for sin, cos and sincos.
17612 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17613 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17614 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17615 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17616 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17617 ieee754/flt-32 implementation for tan.
17618
17619 * math/libm-test.inc (cos_test): Enable some large input tests for
17620 float as well
17621 (sin_test): Likewise.
17622 (sincos_test): Likewise.
17623 (tan_test): Add tests for large input.
17624
17625 * sysdeps/i386/fpu/libm-test-ulps: Update.
17626
81c64153
AJ
176272012-03-15 Andreas Jaeger <aj@suse.de>
17628
17629 [BZ #13658]
17630 * math/libm-test.inc (cos_test): Add more test cases.
17631 (sin_test): Likewise.
17632 (sincos_test): Likewise.
17633
7bbfa5c6
AJ
176342012-03-15 Andreas Jaeger <aj@suse.de>
17635
17636 [BZ #13837]
17637 * math/libm-test.inc (cos_test): Add a test case for large input
17638 value.
17639 (sin_test): Likewise.
17640 (sincos_test): Likewise.
17641
176422012-03-15 Andreas Jaeger <aj@suse.de>,
17643 Joseph Myers <joseph@codesourcery.com>
17644
17645 [BZ #13658]
0671f479 17646 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17647 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17648 * sysdeps/i386/fpu/branred.c: Likewise.
17649 * sysdeps/i386/fpu/dosincos.c: Likewise.
17650 * sysdeps/i386/fpu/mpa.c: Likewise.
17651 * sysdeps/i386/fpu/s_cos.S: Likewise.
17652 * sysdeps/i386/fpu/s_sin.S: Likewise.
17653 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17654 * sysdeps/i386/fpu/sincos32.c: Likewise.
17655
17656 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17657 Define.
17658 (libc_feupdateenv_53bit): Define.
17659 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17660 Define.
17661 (libc_feupdateenv_53bit): Define.
17662
17663 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17664 53 bit (without extend i386 double precision).
17665
17666 * math/libm-test.inc (sincos_test): Add tests for large input.
17667 (sin): Likewise.
17668 (cos): Likewise.
17669
17670 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17671
9cad04ea
AS
176722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17673
17674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17675
f7062b9a
DM
176762012-03-15 David S. Miller <davem@davemloft.net>
17677
17678 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17679 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17680 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17681 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17694 file.
f7062b9a 17695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17697 file.
f7062b9a 17698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17700 file.
f7062b9a 17701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17703 file.
f7062b9a
DM
17704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17705 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17706 fmin/fmax sysdep routines.
17707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17708
7bd951ff
DM
177092012-03-14 David S. Miller <davem@davemloft.net>
17710
559398ab
DM
17711 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17715 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17716 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17717 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17718 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17719 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17720 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17721 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17731 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17732 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17735 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17736 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17739 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17740 routines.
17741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17742 file.
559398ab 17743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17745 file.
559398ab 17746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17748 file.
559398ab 17749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17751 file.
559398ab 17752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17754 file.
559398ab 17755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17757 file.
17758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17759 file.
17760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17761 file.
17762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17763 file.
17764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17765 New file.
17766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17767 file.
17768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17769 file.
559398ab 17770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17772 file.
559398ab 17773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17775 file.
559398ab 17776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17778 file.
559398ab 17779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17781 VIS3 routines.
559398ab
DM
17782
17783 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17784 New file.
17785
5a1c1e32
DM
17786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17787
eae47a36
DM
17788 * sysdeps/sparc/configure.in: New file.
17789 * sysdeps/sparc/configure: Generate.
17790 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17791 * configure: Regenerate.
17792 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17793 * config.make.in (have-as-vis3): New.
17794 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17795 available use -Av9d instead of -Av9a.
17796 * sysdeps/sparc/sparc64/Makefile: Likewise.
17797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17799 New file.
17800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17801 file.
17802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17803 New file.
17804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17805 file.
eae47a36
DM
17806 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17807 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17808 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17809 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17811
c0c83bc8
DM
17812 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17813 fzeros/fnegs to load 0x80000000 into a float register instead of
17814 using the stack.
7bd951ff
DM
17815 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17816
bd951ccb
JM
178172012-03-14 Joseph Myers <joseph@codesourcery.com>
17818
17819 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17820 bits/syscall.h.
17821 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17822 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17823 ($(inst_includedir)/bits/syscall.h): Remove rule.
17824 ($(objpfx)bits/syscall.d): Include instead of
17825 $(objpfx)syscall-list.d.
17826 (generated): Change syscall-list.h and syscall-list.d to
17827 bits/syscall.h and bits/syscall.d.
17828
bb4e6db2
RM
178292012-03-14 Roland McGrath <roland@hack.frob.com>
17830
17831 [BZ #13846]
17832 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17833
aa4a2ae1
JM
178342012-03-14 Joseph Myers <joseph@codesourcery.com>
17835
e456826d
JM
17836 [BZ #13841]
17837 * math/s_csqrt.c: Include <float.h>.
17838 (__csqrt): Scale large or subnormal inputs.
17839 * math/s_csqrtf.c: Likewise.
17840 * math/s_csqrtl.c: Likewise.
17841 * math/libm-test.inc (csqrt_test): Add more tests.
17842 * sysdeps/i386/fpu/libm-test-ulps: Update.
17843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17844
aa4a2ae1
JM
17845 [BZ #13840]
17846 * math/libm-test.inc (hypot_test): Add more tests.
17847
7c10fd35
DM
178482012-03-13 David S. Miller <davem@davemloft.net>
17849
17850 [BZ #13840]
17851 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17852 double-precision for the calculation instead of scaling.
17853
f453b98b
JM
178542012-03-13 Joseph Myers <joseph@codesourcery.com>
17855
17856 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17857 manipulate bits before adding and subtracting TWO52[sx].
17858 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17859 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17860 Likewise.
17861 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17862
09a3453f
DM
178632012-03-13 David S. Miller <davem@davemloft.net>
17864
8e59da90
DM
17865 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17866 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17867 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17868 rtld-global-offsets.h
17869 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17870
2a8ab7f2
DM
17871 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17872 large parameters.
17873
10f62770
DM
17874 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17875
5f0bdb18
DM
17876 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17877 'err' in the ifdef scope in which it is actually used.
17878
09a3453f
DM
17879 * nss/nss_db/db-init.c: Include string.h
17880
b4b2eb5e
DM
178812012-03-12 David S. Miller <davem@davemloft.net>
17882
98bb2f1c
DM
17883 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17884 masking out of the most significant byte of random value used.
17885 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17886 Fix coding style in previous change.
17887
b4b2eb5e
DM
17888 * sysdeps/unix/sysv/linux/kernel-features.h
17889 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17890 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17891 expression.
17892 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17893 later.
17894
6e226b09
DM
178952012-03-11 David S. Miller <davem@davemloft.net>
17896
a1bcbd40
DM
17897 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17898 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17899 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17900 for 'resultvar' otherwise things get truncated on 64-bit.
17901
cb9d6174
DM
17902 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17903 Fix masking out of the most significant byte of random value used.
17904
6e226b09
DM
17905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17906
058c132d
AS
179072012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17908
17909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17910
2d2cd515
DM
179112012-03-09 David S. Miller <davem@davemloft.net>
17912
17913 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17914 variables with appropriate CPP guards.
17915 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17916 frame pointer, not the stack pointer. Correct layout comments. Fix test
17917 on resulting framesize and the management of the outregs buffer for pltexit.
17918 Preserve floating point return values across _dl_call_pltexit call.
17919 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17920 framesize and the management of the outregs buffer for pltexit.
17921 Preserve floating point return values across _dl_call_pltexit
17922 call.
17923 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17924 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17925 (print_exit): Fix format string for return register value.
17926
9a07f9d0
JM
179272012-03-10 Joseph Myers <joseph@codesourcery.com>
17928
17929 * sunrpc/Makefile (others): Add rpcgen.
17930 ($(objpfx)rpcgen): Remove special build rule and dependency on
17931 libc.
17932 * sunrpc/rpcgen.c: New file.
17933
547b5e30
PE
179342012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17935
c524201a
PE
17936 [BZ #13673]
17937 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17938 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17939 * sysdeps/i386/crti.S: Likewise.
17940 * sysdeps/i386/crtn.S: Likewise.
17941 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17942 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17943 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17944 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17945 * sysdeps/sh/crti.S: Likewise.
17946 * sysdeps/sh/crtn.S: Likewise.
17947 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17948
7b6235f2
PE
17949 [BZ #13673]
17950 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17951 with URL.
17952 * locale/programs/locfile-kw.gperf: Likewise.
17953 * locale/programs/charmap-kw.h: Regenerated.
17954 * locale/programs/locfile-kw.h: Likewise.
17955
547b5e30
PE
17956 [BZ #13673]
17957 * intl/plural.y: Replace FSF snail mail address with URL.
17958 * intl/plural.c: Regenerated.
17959
5f0a5dae
RH
179602012-03-09 Richard Henderson <rth@twiddle.net>
17961
17962 * include/math_private.h: Remove file.
17963 * math/math_private.h: Move file ...
17964 * sysdeps/generic/math_private.h: ... here.
17965
b8c03620
RH
17966 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17967 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17968 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17969
4e234f5d 17970 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
17971 and <math_private.h>.
17972 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17973 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17974 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17975 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17976 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17977 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17978 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17979 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17980 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17981 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17982 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17983 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17984 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17985 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17987 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17988 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17989 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17990 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17991 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17992 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17993 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17994 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17995 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17996 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17997 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17998 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17999 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18000 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18001 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18002 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18003 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18004 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18005 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18006 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18007 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18008 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18009 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18010 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18011 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18012 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18013 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18014 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18015 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18016 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18017 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18018 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18019 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18020 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18021 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18022 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18023 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18024 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18025 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18026 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18027 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18028 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18030 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18031 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18032 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18033 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18034 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18035 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18036 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18037 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18038 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18039 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18040 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18041 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18042 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18043 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18044 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18045 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18047 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18048 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18049 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18050 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18051 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18052 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18053 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18054 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18055 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18056 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18060 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18061 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18062 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18063 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18064 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18065 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18066 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18067 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18068 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18069 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18070 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18071 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18072 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18073 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18074 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18075 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18076 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18077 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18078 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18079 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18080 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18081 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18082 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18083 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18084 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18085 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18086 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18087 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18088 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18089 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18090 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18091 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18092 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18093 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18094 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18095 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18096 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18097 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18098 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18099 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18100 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18101 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18102 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18103 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18104 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18105 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18106 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18107 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18108 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18109 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18110 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18111 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18112 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18113 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18114 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18115 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18116 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18117 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18118 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18119 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18120 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18121 * sysdeps/ieee754/k_standard.c: Likewise.
18122 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18123 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18124 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18125 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18126 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18127 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18128 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18129 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18130 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18131 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18132 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18133 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18134 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18135 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18157 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18158 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18159 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18161 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18162 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18205 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18208 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18210 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18211 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18212 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18213 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18215 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18220 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18222 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18224 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18225 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18226 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18227 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18237 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18241 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18242 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18243 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18244 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18247 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18248 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18249 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18251 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18252 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18253 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18254 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18255 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18256 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18257 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18258 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18262 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18263 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18265 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18266 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18268 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18270 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18271 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18272 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18273 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18274 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18278 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18279 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18280 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18281 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18282 * sysdeps/ieee754/s_lib_version.c: Likewise.
18283 * sysdeps/ieee754/s_matherr.c: Likewise.
18284 * sysdeps/ieee754/s_signgam.c: Likewise.
18285 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18286 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18287 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18288 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18289 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18290 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18291 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18292 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18293 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18294 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18295 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18296 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18297 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18298 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18299 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18300 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18301 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18302 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18303 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18304 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18305 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18306
1991fa03
JM
183072012-03-09 Joseph Myers <joseph@codesourcery.com>
18308
18309 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18310 * sunrpc/rpc_main.c: Likewise.
18311 * sunrpc/rpc_svcout.c: Likewise.
18312
60d6f5a6
DM
183132012-03-09 David S. Miller <davem@davemloft.net>
18314
18315 * include/math_private.h: New file.
18316
4962050e
JM
183172012-03-09 Joseph Myers <joseph@codesourcery.com>
18318
02a6f887
JM
18319 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18320 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18321 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18322 from <bits/socket_type.h>.
18323 (enum __socket_type): Don't define here.
18324 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18326 bits/socket_type.h.
18327
c6e013c1
JM
18328 [BZ #13566]
18329 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18330 checking __USE_GNU.
18331
4962050e
JM
18332 * Makerules ($(inst_includedir)/%.h): New rule.
18333 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18334 (install-others): Remove variable setting.
18335 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18336
38842f45
RH
183372012-03-08 Richard Henderson <rth@twiddle.net>
18338
67bb6da6
RH
18339 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18340 from macro to inline function; merge with the
18341 !__LIBC_INTERNAL_MATH_INLINES version.
18342 (__ieee754_sqrtf): Likewise.
18343
15194b4b
RH
18344 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18345 to inline function.
18346 (__rintf, __floor, __floorf): Likewise.
18347
64e21ede
RH
18348 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18349 macro to inline function.
18350 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18351
38842f45
RH
18352 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18353 not <math/math_private.h>.
18354
c64bf5fe
DM
183552012-03-08 David S. Miller <davem@davemloft.net>
18356
18357 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18358 copyright year.
18359 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18360
82d86f28
TS
183612012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18362
18363 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18364 normalization.
18365 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18366 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18367
aea5d727
UD
183682012-03-08 Ulrich Drepper <drepper@gmail.com>
18369
18370 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18371 be defined individually, they must be defined as a block. Define
18372 S for printing a string instead of hidint the different by using a
18373 macro for adding the 'l'.
18374 * stdio-common/tst-fphex-wide.c: Adjust.
18375
70bca0a3
MP
183762012-03-07 Marek Polacek <polacek@redhat.com>
18377
18378 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18379
65b81130
MP
183802012-03-08 Marek Polacek <polacek@redhat.com>
18381
18382 [BZ #13806]
18383 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18384 * stdio-common/tst-fphex.c: Define a few macros to make the
18385 test reusable. Use them.
18386 * stdio-common/tst-fphex-wide.c: New file.
18387
07037eeb
JM
183882012-03-08 Joseph Myers <joseph@codesourcery.com>
18389
a7a93d50
JM
18390 [BZ #6911]
18391 * manual/macros.texi (gnusystems): New macro.
18392 (nongnusystems): Likewise.
18393 (gnulinuxhurdsystems): Likewise.
18394 (gnuhurdsystems): Likewise..
18395 (gnulinuxsystems): Likewise.
18396 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18397 variants of the GNU system, not "GNU system".
18398 * manual/conf.texi: Likewise.
18399 * manual/errno.texi: Likewise. Update example of errno macro
18400 expansion.
18401 * manual/filesys.texi: Likewise.
18402 (getumask): Document as specific to GNU/Hurd.
18403 * manual/install.texi: Likewise. Reword some references to
18404 GNU/Linux.
18405 * manual/intro.texi: Likewise.
18406 * manual/io.texi: Likewise.
18407 (File Name Portability): Detail which constraints are inapplicable
18408 to all GNU systems and which are only inapplicable to GNU/Hurd.
18409 * manual/job.texi: Likewise.
18410 * manual/llio.texi: Likewise.
18411 (O_NOCTTY): Document as present on GNU/Linux.
18412 * manual/maint.texi: Likewise.
18413 * manual/memory.texi: Likewise.
18414 * manual/pattern.texi: Likewise.
18415 * manual/pipe.texi: Likewise.
18416 * manual/process.texi: Likewise.
18417 * manual/resource.texi: Likewise.
18418 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18419 child on GNU/Hurd.
18420 * manual/setjmp.texi: Likewise.
18421 * manual/signal.texi: Likewise.
18422 * manual/startup.texi: Likewise.
18423 * manual/stdio.texi: Likewise.
18424 * manual/terminal.texi: Likewise.
18425 (ONLCR): Document as POSIX.
18426 (OXTABS): Document availability on GNU/Linux as XTABS.
18427 (ONOEOT): Document availability separately from other bits.
18428 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18429 * manual/time.texi: Likewise.
18430 * manual/users.texi: Likewise.
18431 * INSTALL: Regenerated.
18432 * sysdeps/gnu/errlist.c: Regenerated.
18433
07037eeb
JM
18434 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18435 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18436 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18437 puts.
18438 * configure: Regenerated.
18439
d1d3431a
JM
184402012-03-07 Joseph Myers <joseph@codesourcery.com>
18441
af6a1e37
JM
18442 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18443 default includes instead of AC_HEADER_CHECK.
18444 * sysdeps/i386/configure: Regenerated.
18445
d1d3431a
JM
18446 [BZ #10716]
18447 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18448 * math/s_cacoshf.c (__cacoshf): Likewise.
18449 * math/s_cacoshl.c (__cacoshl): Likewise.
18450 * math/s_casinh.c (__casinh): Set signs of result from argument.
18451 * math/s_casinhf.c (__casinhf): Likewise.
18452 * math/s_casinhl.c (__casinhl): Likewise.
18453 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18454 (casinh_test): Add more tests.
18455 * sysdeps/i386/fpu/libm-test-ulps: Update.
18456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18457
482ff4da
UD
184582012-03-07 Ulrich Drepper <drepper@gmail.com>
18459
872fda05
UD
18460 * po/zh_TW.po: Update from translation team.
18461
a4300c7a
UD
18462 * login/Makefile (distribute): Remove variable.
18463 * catgets/Makefile: Likewise.
18464 * mach/Makefile: Likewise.
18465 * malloc/Makefile: Likewise.
18466 * misc/Makefile: Likewise.
18467 * iconv/Makefile: Likewise.
18468 * nscd/Makefile: Likewise.
18469 * hurd/Makefile: Likewise.
18470 * manual/Makefile: Likewise.
18471 * locale/Makefile: Likewise.
18472 * intl/Makefile: Likewise.
18473 * conform/Makefile: Likewise.
18474 * nss/Makefile: Likewise.
18475 * time/Makefile: Likewise.
18476 * soft-fp/Makefile: Likewise.
18477 * dirent/Makefile: Likewise.
18478 * gmon/Makefile: Likewise.
18479 * po/Makefile: Likewise.
18480 * rt/Makefile: Likewise.
18481 * socket/Makefile: Likewise.
18482 * math/Makefile: Likewise.
18483 * signal/Makefile: Likewise.
18484 * debug/Makefile: Likewise.
18485 * elf/Makefile: Likewise.
18486 * timezone/Makefile: Likewise.
18487 * stdlib/Makefile: Likewise.
18488 * iconvdata/Makefile: Likewise.
18489 * sunrpc/Makefile: Likewise.
18490 * io/Makefile: Likewise.
18491 * argp/Makefile: Likewise.
18492 * inet/Makefile: Likewise.
18493 * hesiod/Makefile: Likewise.
18494 * grp/Makefile: Likewise.
18495 * csu/Makefile: Likewise.
18496 * wctype/Makefile: Likewise.
18497 * crypt/Makefile: Likewise.
18498 * libio/Makefile: Likewise.
18499 * string/Makefile: Likewise.
18500 * nis/Makefile: Likewise.
18501 * resolv/Makefile: Likewise.
18502 * stdio-common/Makefile: Likewise.
18503 * wcsmbs/Makefile: Likewise.
18504 * dlfcn/Makefile: Likewise.
18505 * posix/Makefile: Likewise.
18506
3b7c4e74 18507 [BZ #6959]
482ff4da
UD
18508 * timezone/Makefile: Don't install timezone files, just the programs
18509 and scripts.
18510
f72ed77d
UD
185112012-03-06 Ulrich Drepper <drepper@gmail.com>
18512
a000466f
UD
18513 * nss/databases.def: Add missing gshadow entry.
18514
f72ed77d
UD
18515 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18516
a53b7a4e
MP
185172012-03-06 Marek Polacek <polacek@redhat.com>
18518
18519 [BZ #13726]
18520 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18521 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18522 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18523 * stdio-common/tst-long-dbl-fphex.c: New file.
18524
e9258400
DM
185252012-03-06 David S. Miller <davem@davemloft.net>
18526
18527 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18528 (set_obp_int): New function.
18529 (get_obp_int): New function.
18530 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18531 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18532 Avoid unused variable warnings on 'val' and use builtin_expect.
18533 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18534 __builtin_expect.
e9258400
DM
18535 (INLINE_CLONE_SYSCALL): Likewise.
18536
3bd2c723
DM
185372012-03-05 David S. Miller <davem@davemloft.net>
18538
18539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18540
bbb78d03
AS
185412012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18542
884c5db4
AS
18543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18544
bbb78d03
AS
18545 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18546 only for |x| >= 40.
18547 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18548
1c9f702a 185492012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18550
18551 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18552 Replace gettimeofday with __vdso_gettimeofday.
18553
7be16f82
RM
18554 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18555 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18556 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18557
18558 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18559 time with __vdso_time.
18560
ed58a00f
JM
185612012-03-05 Joseph Myers <joseph@codesourcery.com>
18562
18563 * manual/lang.texi (size_t): Note types to which size_t may be
18564 equivalent with the GNU C Library, but do not describe when
18565 differences between them are significant.
18566
30ee4ced
AJ
185672012-03-05 Andreas Jaeger <aj@suse.de>
18568
18569 * sysdeps/i386/fpu/libm-test-ulps: Update.
18570
b7cd39e8
JM
185712012-03-05 Joseph Myers <joseph@codesourcery.com>
18572
18573 [BZ #3976]
18574 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18575 (__ieee754_pow): Save and restore rounding mode and use
18576 round-to-nearest for main computations.
18577 * math/libm-test.inc (pow_test_tonearest): New function.
18578 (pow_test_towardzero): Likewise.
18579 (pow_test_downward): Likewise.
18580 (pow_test_upward): Likewise.
18581 (main): Call the new functions.
18582 * sysdeps/i386/fpu/libm-test-ulps: Update.
18583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18584
18585 [BZ #3976]
18586 * math/libm-test.inc (cosh_test_tonearest): New function.
18587 (cosh_test_towardzero): Likewise.
18588 (cosh_test_downward): Likewise.
18589 (cosh_test_upward): Likewise.
18590 (sinh_test_tonearest): Likewise.
18591 (sinh_test_towardzero): Likewise.
18592 (sinh_test_downward): Likewise.
18593 (sinh_test_upward): Likewise.
18594 (main): Call the new functions.
18595 * sysdeps/i386/fpu/libm-test-ulps: Update.
18596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18597
6c6a98c9
TV
185982012-03-05 Tom de Vries <tom@codesourcery.com>
18599
18600 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18601 default stack guard is set in last bytes.
18602 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18603
21bb2d2e 186042012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18605
21bb2d2e 18606 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18607
21bb2d2e
AJ
18608 [BZ #13656]
18609 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18610 possibly allocate from heap instead of stack.
18611 * stdio-common/bug-vfprintf-nargs.c: New file.
18612 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18613
c6922934
AS
186142012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18615
18616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18617
bc957d53
MP
186182012-03-03 Marek Polacek <polacek@redhat.com>
18619
18620 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18621 * math/math_private.h: Likewise.
18622 * stdlib/tst-strtod.c: Likewise.
18623 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18624 * sysdeps/x86_64/bits/atomic.h: Likewise.
18625
6358490d
DM
186262012-03-02 David S. Miller <davem@davemloft.net>
18627
18628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18632 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18633 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18634 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18635 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18636
01ae168d
RM
186372012-03-02 Roland McGrath <roland@hack.frob.com>
18638
d9a17c07
RM
18639 [BZ #13792]
18640 * manual/examples/README: New file, says the example source files
18641 can be used under GPL>=2.
18642 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18643 line containing just "*/".
18644 * manual/examples/add.c: Add copyright header (GPL>=2).
18645 * manual/examples/argp-ex1.c: Likewise.
18646 * manual/examples/argp-ex2.c: Likewise.
18647 * manual/examples/argp-ex3.c: Likewise.
18648 * manual/examples/argp-ex4.c: Likewise.
18649 * manual/examples/atexit.c: Likewise.
18650 * manual/examples/db.c: Likewise.
18651 * manual/examples/dir.c: Likewise.
18652 * manual/examples/dir2.c: Likewise.
18653 * manual/examples/execinfo.c: Likewise.
18654 * manual/examples/filecli.c: Likewise.
18655 * manual/examples/filesrv.c: Likewise.
18656 * manual/examples/fmtmsgexpl.c: Likewise.
18657 * manual/examples/genpass.c: Likewise.
18658 * manual/examples/inetcli.c: Likewise.
18659 * manual/examples/inetsrv.c: Likewise.
18660 * manual/examples/isockad.c: Likewise.
18661 * manual/examples/longopt.c: Likewise.
18662 * manual/examples/memopen.c: Likewise.
18663 * manual/examples/memstrm.c: Likewise.
18664 * manual/examples/mkfsock.c: Likewise.
18665 * manual/examples/mkisock.c: Likewise.
18666 * manual/examples/mygetpass.c: Likewise.
18667 * manual/examples/pipe.c: Likewise.
18668 * manual/examples/popen.c: Likewise.
18669 * manual/examples/rprintf.c: Likewise.
18670 * manual/examples/search.c: Likewise.
18671 * manual/examples/select.c: Likewise.
18672 * manual/examples/setjmp.c: Likewise.
18673 * manual/examples/sigh1.c: Likewise.
18674 * manual/examples/sigusr.c: Likewise.
18675 * manual/examples/stpcpy.c: Likewise.
18676 * manual/examples/strdupa.c: Likewise.
18677 * manual/examples/strftim.c: Likewise.
18678 * manual/examples/strncat.c: Likewise.
18679 * manual/examples/subopt.c: Likewise.
18680 * manual/examples/swapcontext.c: Likewise.
18681 * manual/examples/termios.c: Likewise.
18682 * manual/examples/testopt.c: Likewise.
18683 * manual/examples/testpass.c: Likewise.
18684 * manual/examples/timeval_subtract.c: Likewise.
18685
01ae168d
RM
18686 [BZ #13792]
18687 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18688 function to ...
18689 * manual/timeval_subtract.c.texi: ... here, new file.
18690
49efa33d
DM
186912012-03-02 David S. Miller <davem@davemloft.net>
18692
18693 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18694
28afd92d
JM
186952012-03-02 Joseph Myers <joseph@codesourcery.com>
18696
804360ed
JM
18697 [BZ #3976]
18698 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18699 (__sin): Save and restore rounding mode and use round-to-nearest
18700 for all computations.
18701 (__cos): Save and restore rounding mode and use round-to-nearest
18702 for all computations.
18703 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18704 <fenv.h>.
18705 (tan): Save and restore rounding mode and use round-to-nearest for
18706 all computations.
18707 * math/libm-test.inc (cos_test_tonearest): New function.
18708 (cos_test_towardzero): Likewise.
18709 (cos_test_downward): Likewise.
18710 (cos_test_upward): Likewise.
18711 (sin_test_tonearest): Likewise.
18712 (sin_test_towardzero): Likewise.
18713 (sin_test_downward): Likewise.
18714 (sin_test_upward): Likewise.
18715 (tan_test_tonearest): Likewise.
18716 (tan_test_towardzero): Likewise.
18717 (tan_test_downward): Likewise.
18718 (tan_test_upward): Likewise.
18719 (main): Call the new functions.
18720 * sysdeps/i386/fpu/libm-test-ulps: Update.
18721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18722
a6d06d7b
JM
18723 [BZ #10135]
18724 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18725 small n, then large n, before computing and testing k+n.
18726 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18727 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18728 Likewise.
18729 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18730 Likewise.
18731 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18732 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18733 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18734 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18735 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18736 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18737 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18738 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18739 * math/libm-test.inc (scalbn_test): Add more tests.
18740 (scalbln_test): Likewise.
18741
07e12bb3
JM
18742 * manual/filesys.texi (mode_t): Describe constraints on size and
18743 signedness, not exact equivalence to a particular type.
18744 (ino_t): Likewise.
18745 (ino64_t): Likewise.
18746 (dev_t): Likewise.
18747 (nlink_t): Likewise.
18748 (blkcnt_t): Likewise.
18749 (blkcnt64_t): Likewise.
18750 * manual/llio.texi (off_t): Likewise.
18751
28afd92d
JM
18752 [BZ #3976]
18753 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18754 (__ieee754_exp): Save and restore rounding mode and use
18755 round-to-nearest for all computations.
18756 * math/libm-test.inc (exp_test_tonearest): New function.
18757 (exp_test_towardzero): Likewise.
18758 (exp_test_downward): Likewise.
18759 (exp_test_upward): Likewise.
18760 (main): Call the new functions.
18761 * sysdeps/i386/fpu/libm-test-ulps: Update.
18762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18763
b1eeb65d
CD
187642012-03-01 Chris Demetriou <cgd@google.com>
18765
18766 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18767 have predictable order.
18768
53362a4b
DM
187692012-03-01 David S. Miller <davem@davemloft.net>
18770
3c969083
DM
18771 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18772
759707de
DM
18773 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18774 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18775 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18776 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18777
dfdb8ff2
DM
18778 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18779 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18780 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18782 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18783 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18784 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18785 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18786 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18787
ead89f96
DM
18788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18789
7f66bd07
DM
18790 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18791 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18792 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18793
53362a4b
DM
18794 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18795 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18796 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18797 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18798 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18799 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18800 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18801 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18802 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18803 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18804 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18805 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18806 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18807 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18808 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18809 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18810 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18811 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18812 * sysdeps/sparc/elf/configure: Regenerated.
18813
7b1902cb
JM
188142012-03-01 Joseph Myers <joseph@codesourcery.com>
18815
bec039bc
JM
18816 * configure.in (AS, LD): Require binutils 2.20 or later.
18817 * configure: Regenerated.
18818 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18819 as required minimum version.
18820 * INSTALL: Regenerated.
18821
7b1902cb
JM
18822 [BZ #2541]
18823 [BZ #4108]
18824 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18825 before squaring exponent.
18826 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18827 bottom long double and 27 bits of top long double before squaring
18828 exponent.
18829 * math/libm-test.inc (erfc_test): Add more tests.
18830 * sysdeps/i386/fpu/libm-test-ulps: Update.
18831 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18833
f775c276
KT
188342012-03-01 Kai Tietz <ktietz@redhat.com>
18835
18836 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18837 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18838 containing bit-fields.
18839 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18840 * soft-fp/single.h (_FP_UNION_S): Likewise.
18841 * soft-fp/double.h (_FP_UNION_D): Likewise.
18842
5b8a4d4a
JM
188432012-02-29 Joseph Myers <joseph@codesourcery.com>
18844
0bab47b6
JM
18845 [BZ #13786]
18846 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18847 not include ../strcmp.S.
18848 [USE_AS_STRNCASECMP_L]: Likewise.
18849 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18850 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18851 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18852 (__strncasecmp_l_ia32): Define as alias to
18853 __strncasecmp_l_nonascii.
18854
0fcad3e2
JM
18855 [BZ #5794]
18856 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18857 * sysdeps/i386/fpu/libm-test-ulps: Update.
18858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18859
5b8a4d4a
JM
18860 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18862
8fdceb2e
JL
188632012-02-29 Jeff Law <law@redhat.com>
18864
18865 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18866 out of bounds read.
18867
1f393a11
MP
188682012-02-29 Marek Polacek <polacek@redhat.com>
18869
18870 [BZ #13706]
18871 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18872 * elf/Makefile: Add rules to run tst-unused-dep.out.
18873
8847f037
DM
188742012-02-28 David S. Miller <davem@davemloft.net>
18875
18876 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18877 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18878 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18879 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18880 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18881 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18882
169d7f11
JM
188832012-02-29 Joseph Myers <joseph@codesourcery.com>
18884
18885 * math/libm-test.inc (llround_test): Move one test from
18886 lround_test. Use TEST_f_L in moved test.
18887 (lround_test): Move misplaced test to llround_test. Add testcase
18888 from bug 2561.
18889
39adf059
UD
188902012-02-28 Ulrich Drepper <drepper@gmail.com>
18891
18892 * sysdeps/x86_64/fpu/e_expf.S: New file.
18893 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18894
71b5d1c5
SB
188952012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18896
18897 [BZ #13637]
18898 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18899 of remain_len that may cause incomplete multi-byte character and
18900 false match.
18901 * posix/bug-regex33.c: New file.
18902 * posix/Makefile (tests): Add bug-regex33.
18903
1f77f049
JM
189042012-02-28 Joseph Myers <joseph@codesourcery.com>
18905
18906 * manual/macros.texi: New file.
18907 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18908 * manual/libc.texinfo: Include macros.texi.
18909 * manual/creatute.texi: Likewise.
18910 * manual/install.texi: Likewise.
18911 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18912 @glibcadj{} in references to the GNU C Library.
18913 * manual/charset.texi: Likewise.
18914 * manual/conf.texi: Likewise.
18915 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18916 when not using those macros.
18917 * manual/creature.texi: Likewise.
18918 * manual/crypt.texi: Likewise.
18919 * manual/errno.texi: Likewise.
18920 * manual/filesys.texi: Likewise.
18921 * manual/header.texi: Likewise.
18922 * manual/install.texi: Likewise.
18923 * manual/intro.texi: Likewise.
18924 * manual/io.texi: Likewise.
18925 * manual/job.texi: Likewise.
18926 * manual/lang.texi: Likewise.
18927 * manual/libc.texiinfo: Likewise.
18928 * manual/llio.texi: Likewise.
18929 * manual/locale.texi: Likewise.
18930 * manual/maint.texi: Likewise.
18931 * manual/math.texi: Likewise.
18932 * manual/memory.texi: Likewise.
18933 * manual/message.texi: Likewise.
18934 * manual/nss.texi: Likewise.
18935 * manual/pattern.texi: Likewise.
18936 * manual/process.texi: Likewise.
18937 * manual/resource.texi: Likewise.
18938 * manual/search.texi: Likewise.
18939 * manual/setjmp.texi: Likewise.
18940 * manual/signal.texi: Likewise.
18941 * manual/socket.texi: Likewise.
18942 * manual/startup.texi: Likewise.
18943 * manual/stdio.texi: Likewise.
18944 * manual/string.texi: Likewise.
18945 * manual/sysinfo.texi: Likewise.
18946 * manual/syslog.texi: Likewise.
18947 * manual/terminal.texi: Likewise.
18948 * manual/time.texi: Likewise.
18949 * manual/users.texi: Likewise.
18950 * INSTALL: Regenerated.
18951 * NOTES: Regenerated.
d40c5d54 18952 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 18953
450bf206
AS
189542012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18955
18956 * include/dirent.h: Include <dirstream.h> before
18957 <dirent/dirent.h>.
18958
741a235b
DM
189592012-02-28 David S. Miller <davem@davemloft.net>
18960
18961 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18962 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18963 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18964 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18965
d6b5aa58
DM
189662012-02-27 David S. Miller <davem@davemloft.net>
18967
1aff59a3
DM
18968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18970 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18971 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18972
d6b5aa58
DM
18973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18974 frame pointer instead of stack pointer relative arg slot.
18975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18976 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18977 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18978
433f48bf
CD
189792012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18980
18981 [BZ #3992]
18982 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18983
d674b76d
DM
189842012-02-27 David S. Miller <davem@davemloft.net>
18985
18986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18990 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18991 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18992 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18993 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18994
0e7727f7
JM
189952012-02-27 Joseph Myers <joseph@codesourcery.com>
18996
18997 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18998 later. Allow versions 5-9.
43be4ca2 18999 * configure: Regenerated.
0e7727f7
JM
19000 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19001 required minimum version and 4.6 as recommended version. Do not
19002 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19003 * INSTALL: Regenerated.
0e7727f7 19004
a78bc654
DM
190052012-02-27 David S. Miller <davem@davemloft.net>
19006
428d5830
DM
19007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19011 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19012 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19013 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19014 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19015
a78bc654
DM
19016 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19017 manipulate bits before adding and subtracting TWO112[sx].
19018 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19019
4579f81c
RM
190202012-02-27 Roland McGrath <roland@hack.frob.com>
19021
36c8acb4
RM
19022 [BZ #13775]
19023 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19024 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19025 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19026 being in POSIX, because they are in 1003.1-2008.
19027
84ad622b
RM
19028 * rt/tst-aio.c: Include <fcntl.h>.
19029 * rt/tst-aio7.c: Likewise.
19030 * rt/tst-aio64.c: Likewise.
19031
4579f81c
RM
19032 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19033
abd923db
JM
190342012-02-27 Joseph Myers <joseph@codesourcery.com>
19035
19036 * manual/install.texi (--with-headers): Describe headers as
19037 interface headers, not private headers.
19038 (Specific advice for GNU/Linux systems): Describe use of headers
19039 from "make headers_install", not private headers from older
19040 kernels.
43be4ca2 19041 * INSTALL: Regenerated.
abd923db
JM
19042 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19043 Change to 2.6.19.
19044 * sysdeps/unix/sysv/linux/configure: Regenerated.
19045
6664049b
JM
19046 * manual/llio.texi (fclean): Remove documentation.
19047
bb8b6697
JM
19048 * manual/Makefile (libc-texi-generated): New variable. Include
19049 version.texi.
19050 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19051 $(libc-texi-generated), not duplicated list of files.
19052 (version.texi, stamp-version): New rules.
19053 (realclean): Remove $(libc-texi-generated), not individual files
19054 from that list. Do not remove dir-add.texinfo.
19055 * manual/libc.texinfo: Comment out uses of edition numbers and
19056 references to printed manual. Remove last-updated dates.
19057 (EDITION): Comment out.
19058 (ISBN): Likewise.
19059 (VERSION, UPDATED): Remove.
19060 (version.texi): Include.
19061
12e5c3b9
AS
190622012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19063
19064 * sysdeps/posix/spawni.c: Include <signal.h>.
19065 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19066 * sysdeps/pthread/aio_fsync.c: Likewise.
19067
4efeffc1 190682012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19069
ba63ba08
UD
19070 * conform/Makefile (tests): Run only when not cross-compiling and
19071 when fast-check is not defined.
19072
d94a4670
UD
19073 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19074 * conform/data/limits.h-data: Fixes for POSIX2008.
19075 * conform/run-conformtest.sh: Run all tests.
19076 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19077 headers.
19078 * include/bits/dlfcn.h: Likewise.
19079 * include/langinfo.h: Likewise.
19080 * include/monetary.h: Likewise.
19081 * include/sys/poll.h: Likewise.
19082
19083 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19084 for __USE_GNU.
19085 * posix/spawn.h: Define __need_sigset_t.
19086 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19087 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19088 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19089 to get sigevent_t only.
19090 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19091 only for __USE_GNU.
19092 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19093 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19094 process_vm_writev only for __USE_GNU.
19095 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19096
19097 * conform/Makefile: For now ignore errors from run-conformtest.
19098 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19099 POSIX to avoid namespace pollution. Don't prepend headers.
19100 * conform/data/aio.h-data: Fixes for POSIX testing.
19101 * conform/data/fcntl.h-data: Likewise.
19102 * conform/data/glob.h-data: Likewise.
19103 * conform/data/grp.h-data: Likewise.
19104 * conform/data/pthread.h-data: Likewise.
19105 * conform/data/pwd.h-data: Likewise.
19106 * conform/data/signal.h-data: Likewise.
19107 * conform/data/spawn.h-data: Likewise.
19108 * conform/data/stdio.h-data: Likewise.
19109 * conform/data/stdlib.h-data: Likewise.
19110 * conform/data/stropts.h-data: Likewise.
19111 * conform/data/sys/mman.h-data: Likewise.
19112 * conform/data/sys/stat.h-data: Likewise.
19113 * conform/data/sys/types.h-data: Likewise.
19114 * conform/data/sys/wait.h-data: Likewise.
19115 * conform/data/time.h-data: Likewise.
19116 * conform/data/unistd.h-data: Likewise.
19117 * conform/data/utime.h-data: Likewise.
19118
19119 * io/sys/stat.h: fchmod was always in POSIX.
19120 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19121 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19122 * rt/aio.h: Define __need_timespec before including <time.h>.
19123 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19124 struct. Add forward declaration of pthread_attr_t and use it in
19125 sigevent.
19126 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19127 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19128 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19129 always remove CLK_TCK definition.
19130
c20105c3
AS
191312012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19132
19133 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19134
7a270350
UD
191352012-02-25 Ulrich Drepper <drepper@gmail.com>
19136
31341567
UD
19137 * conform/run-conformtest.sh: New file.
19138 * conform/Makefile: Run run-conformtest for tests.
19139 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19140 support.
19141
19142 * conform/data/uchar.h-data: New file.
19143 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19144 * conform/data/arpa/inet.h-data: Likewise.
19145 * conform/data/assert.h-data: Likewise.
19146 * conform/data/complex.h-data: Likewise.
19147 * conform/data/cpio.h-data: Likewise.
19148 * conform/data/ctype.h-data: Likewise.
19149 * conform/data/dirent.h-data: Likewise.
19150 * conform/data/dlfcn.h-data: Likewise.
19151 * conform/data/errno.h-data: Likewise.
19152 * conform/data/fcntl.h-data: Likewise.
19153 * conform/data/float.h-data: Likewise.
19154 * conform/data/fmtmsg.h-data: Likewise.
19155 * conform/data/fnmatch.h-data: Likewise.
19156 * conform/data/ftw.h-data: Likewise.
19157 * conform/data/glob.h-data: Likewise.
19158 * conform/data/grp.h-data: Likewise.
19159 * conform/data/iconv.h-data: Likewise.
19160 * conform/data/inttypes.h-data: Likewise.
19161 * conform/data/langinfo.h-data: Likewise.
19162 * conform/data/libgen.h-data: Likewise.
19163 * conform/data/limits.h-data: Likewise.
19164 * conform/data/locale.h-data: Likewise.
19165 * conform/data/math.h-data: Likewise.
19166 * conform/data/monetary.h-data: Likewise.
19167 * conform/data/mqueue.h-data: Likewise.
19168 * conform/data/ndbm.h-data: Likewise.
19169 * conform/data/net/if.h-data: Likewise.
19170 * conform/data/netdb.h-data: Likewise.
19171 * conform/data/netinet/in.h-data: Likewise.
19172 * conform/data/nl_types.h-data: Likewise.
19173 * conform/data/poll.h-data: Likewise.
19174 * conform/data/pthread.h-data: Likewise.
19175 * conform/data/pwd.h-data: Likewise.
19176 * conform/data/regex.h-data: Likewise.
19177 * conform/data/sched.h-data: Likewise.
19178 * conform/data/search.h-data: Likewise.
19179 * conform/data/semaphore.h-data: Likewise.
19180 * conform/data/setjmp.h-data: Likewise.
19181 * conform/data/signal.h-data: Likewise.
19182 * conform/data/spawn.h-data: Likewise.
19183 * conform/data/stdarg.h-data: Likewise.
19184 * conform/data/stdio.h-data: Likewise.
19185 * conform/data/stdlib.h-data: Likewise.
19186 * conform/data/string.h-data: Likewise.
19187 * conform/data/strings.h-data: Likewise.
19188 * conform/data/stropts.h-data: Likewise.
19189 * conform/data/sys/ipc.h-data: Likewise.
19190 * conform/data/sys/mman.h-data: Likewise.
19191 * conform/data/sys/msg.h-data: Likewise.
19192 * conform/data/sys/resource.h-data: Likewise.
19193 * conform/data/sys/select.h-data: Likewise.
19194 * conform/data/sys/sem.h-data: Likewise.
19195 * conform/data/sys/shm.h-data: Likewise.
19196 * conform/data/sys/socket.h-data: Likewise.
19197 * conform/data/sys/stat.h-data: Likewise.
19198 * conform/data/sys/statvfs.h-data: Likewise.
19199 * conform/data/sys/time.h-data: Likewise.
19200 * conform/data/sys/timeb.h-data: Likewise.
19201 * conform/data/sys/times.h-data: Likewise.
19202 * conform/data/sys/types.h-data: Likewise.
19203 * conform/data/sys/uio.h-data: Likewise.
19204 * conform/data/sys/un.h-data: Likewise.
19205 * conform/data/sys/utsname.h-data: Likewise.
19206 * conform/data/sys/wait.h-data: Likewise.
19207 * conform/data/syslog.h-data: Likewise.
19208 * conform/data/tar.h-data: Likewise.
19209 * conform/data/termios.h-data: Likewise.
19210 * conform/data/utime.h-data: Likewise.
19211 * conform/data/utmpx.h-data: Likewise.
19212 * conform/data/varargs.h-data: Likewise.
19213 * conform/data/wchar.h-data: Likewise.
19214 * conform/data/wctype.h-data: Likewise.
19215 * conform/data/wordexp.h-data: Likewise.
19216
19217 * include/stropts.h: New file.
19218 * include/uchar.h: New file.
19219 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19220 * include/assert.h: Likewise.
19221 * include/ctype.h: Likewise.
19222 * include/dirent.h: Likewise.
19223 * include/dlfcn.h: Likewise.
19224 * include/fcntl.h: Likewise.
19225 * include/fnmatch.h: Likewise.
19226 * include/glob.h: Likewise.
19227 * include/grp.h: Likewise.
19228 * include/libio.h: Likewise.
19229 * include/locale.h: Likewise.
19230 * include/math.h: Likewise.
19231 * include/net/if.h: Likewise.
19232 * include/netdb.h: Likewise.
19233 * include/netinet/in.h: Likewise.
19234 * include/pthread.h: Likewise.
19235 * include/pwd.h: Likewise.
19236 * include/regex.h: Likewise.
19237 * include/sched.h: Likewise.
19238 * include/search.h: Likewise.
19239 * include/setjmp.h: Likewise.
19240 * include/signal.h: Likewise.
19241 * include/stdio.h: Likewise.
19242 * include/stdlib.h: Likewise.
19243 * include/string.h: Likewise.
19244 * include/sys/cdefs.h: Likewise.
19245 * include/sys/mman.h: Likewise.
19246 * include/sys/msg.h: Likewise.
19247 * include/sys/resource.h: Likewise.
19248 * include/sys/select.h: Likewise.
19249 * include/sys/socket.h: Likewise.
19250 * include/sys/stat.h: Likewise.
19251 * include/sys/statvfs.h: Likewise.
19252 * include/sys/time.h: Likewise.
19253 * include/sys/times.h: Likewise.
19254 * include/sys/uio.h: Likewise.
19255 * include/sys/utsname.h: Likewise.
19256 * include/sys/wait.h: Likewise.
19257 * include/termios.h: Likewise.
19258 * include/time.h: Likewise.
19259 * include/ulimit.h: Likewise.
19260 * include/unistd.h: Likewise.
19261 * include/utime.h: Likewise.
19262 * include/wchar.h: Likewise.
19263 * include/wctype.h: Likewise.
19264 * include/wordexp.h: Likewise.
19265
19266 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19267
7a270350
UD
19268 * time/time.h: TIME_UTC must be a macro.
19269 Make timespec_get available for ISO C11 only as well.
19270
7724defc
UD
192712012-02-24 Ulrich Drepper <drepper@gmail.com>
19272
19273 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19274 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19275
6b1d1d46
JM
192762012-02-24 Joseph Myers <joseph@codesourcery.com>
19277
19278 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19279
0f8bbd69
JM
192802012-02-24 Joseph Myers <joseph@codesourcery.com>
19281
19282 * manual/texinfo.tex: Update to version 2012-01-19.16.
19283
66ab80bc
JM
192842012-02-24 Joseph Myers <joseph@codesourcery.com>
19285
19286 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19287
74981cc5
RM
192882012-02-24 Roland McGrath <roland@hack.frob.com>
19289
ee968201
RM
19290 [BZ #13738]
19291 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19292 * manual/fdl-1.3.texi: New file.
19293 * manual/fdl-1.1.texi: File removed.
19294
74981cc5
RM
19295 [BZ #13738]
19296 * manual/libc.texinfo (FDL_VERSION): New @set.
19297 Use it for mention of FDL in cover text.
19298 (Documentation License): Use it in @include file name.
19299
7bb764bc
JM
193002012-02-22 Joseph Myers <joseph@codesourcery.com>
19301 Roland McGrath <roland@hack.frob.com>
19302
19303 [BZ #5461]
19304 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19305 not LONG_LONG_MAX and LONG_LONG_MIN.
19306 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19307 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19308 name.
19309 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19310
6cbeae47
JM
193112012-02-22 Joseph Myers <joseph@codesourcery.com>
19312
19313 [BZ #2547]
19314 [BZ #11365]
19315 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19316 manipulate bits before adding and subtracting TWO23[sx].
19317 * math/libm-test.inc (nearbyint_test): Add more tests.
19318
fe45ce09
JM
193192012-02-22 Joseph Myers <joseph@codesourcery.com>
19320
19321 [BZ #2548]
19322 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19323 bits before adding and subtracting TWO23[sx].
19324 * math/libm-test.inc (rint_test): Add more tests.
19325 (rint_test_tonearest): Likewise.
19326 (rint_test_towardzero): Likewise.
19327 (rint_test_downward): Likewise.
19328 (rint_test_upward: Likewise.
19329
ff3b3d82
JM
193302012-02-22 Joseph Myers <joseph@codesourcery.com>
19331
19332 [BZ #10110]
19333 * include/stdc-predef.h: New file. Extracted from features.h.
19334 * include/features.h: Include stdc-predef.h.
19335 * Makefile (headers): Add stdc-predef.h.
19336 * CONFORMANCE (Compiler limitations): Update.
19337
ef0aab35
JM
193382012-02-22 Joseph Myers <joseph@codesourcery.com>
19339
19340 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19341
58639409
DM
193422012-02-21 David S. Miller <davem@davemloft.net>
19343
19344 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19345 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19346
c0e70b25
DM
193472012-02-20 David S. Miller <davem@davemloft.net>
19348
19349 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19350 using a normal save/restore sequence, rather than allocating a
19351 dummy stack frame just to store a frame pointer and restore.
19352 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19353
fb06851d
JM
193542012-02-21 Joseph Myers <joseph@codesourcery.com>
19355
19356 * manual/install.texi: Fix stray word in line-wrapped comment.
19357
7a8b71c3
DM
193582012-02-20 David S. Miller <davem@davemloft.net>
19359
d510c123
DM
19360 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19361 both binutils and gcc support GOTDATA.
19362
0722d7c2
DM
19363 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19364 "rd %pc" in the PIC register setup sequences.
19365
3d2b3019
DM
19366 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19367 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19368 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19369 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19370 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19371 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19372 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19373 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19374 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19375 (SYSCALL_ERROR_HANDLER): Likewise.
19376 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19377 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19379 (SYSCALL_ERROR_HANDLER): Likewise.
19380
c80098a9
DM
19381 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19382 (HAVE_GCC_GOTDATA): New.
19383 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19384 relocation support in both binutils and gcc.
19385 * sysdeps/sparc/elf/configure: Regenerate.
19386
3a2545a0
DM
19387 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19388 * sysdeps/sparc/sparc32/elf/configure: Delete.
19389 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19390 * sysdeps/sparc/sparc64/elf/configure: Delete.
19391 * sysdeps/sparc/elf/configure.in: New file.
19392 * sysdeps/sparc/elf/configure: Generate.
19393
7a8b71c3
DM
19394 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19395 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19396 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19397 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19398 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19399
f1e86fca
JM
194002012-02-21 Joseph Myers <joseph@codesourcery.com>
19401
19402 * manual/install.texi: Do not mention specific glibc version
19403 numbers.
19404 * manual/libc.texinfo (VERSION, UPDATED): Update.
19405 (@copying): Use @copyright{} and range of years.
19406
0e7dfaef
JM
194072012-02-21 Joseph Myers <joseph@codesourcery.com>
19408
19409 [BZ #13695]
19410 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19411 [crti.S not in sysdirs] (generated): Do not append.
19412 [crti.S not in sysdirs] (omit-deps): Likewise.
19413 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19414 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19415 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19416 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19417 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19418 Likewise.
19419 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19420 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19421 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19422 * csu/defs.awk: Remove file.
19423 * sysdeps/generic/initfini.c: Likewise.
19424 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19425 variable.
19426 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19427 Likewise.
19428
599af3ca
JM
194292012-02-20 Joseph Myers <joseph@codesourcery.com>
19430
19431 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19432 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19433 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19434 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19435 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19436 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19437 <bits/epoll.h>.
19438 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19439 (__EPOLL_PACKED): Define to empty if not defined by
19440 <bits/epoll.h>.
19441 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19443 bits/epoll.h.
19444
0e499750
JM
194452012-02-20 Joseph Myers <joseph@codesourcery.com>
19446
19447 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19448 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19449 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19450 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19451 <bits/timerfd.h>.
19452 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19454 bits/timerfd.h.
19455
5ad91f6e
JM
194562012-02-20 Joseph Myers <joseph@codesourcery.com>
19457
19458 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19459 in C locale.
19460 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19461 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19462 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19464
06b99b02
AJ
194652012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19466
19467 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19468 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19469
7638c0fd
AS
194702012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19471
19472 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19473 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19474 defined.
19475 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19476 Likewise.
19477 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19478 entry for 2.16.
19479
92221550
AJ
194802012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19481
19482 * math/w_acos.c: Use non-signaling floating-point comparisons.
19483 * math/w_acosf.c: Likewise.
19484 * math/w_acosh.c: Likewise.
19485 * math/w_acoshf.c: Likewise.
19486 * math/w_acoshl.c: Likewise.
19487 * math/w_acosl.c: Likewise.
19488 * math/w_asin.c: Likewise.
19489 * math/w_asinf.c: Likewise.
19490 * math/w_asinl.c: Likewise.
19491 * math/w_atanh.c: Likewise.
19492 * math/w_atanhf.c: Likewise.
19493 * math/w_atanhl.c: Likewise.
19494 * math/w_exp2.c: Likewise.
19495 * math/w_exp2f.c: Likewise.
19496 * math/w_exp2l.c: Likewise.
19497 * math/w_j0.c: Likewise.
19498 * math/w_j0f.c: Likewise.
19499 * math/w_j0l.c: Likewise.
19500 * math/w_j1.c: Likewise.
19501 * math/w_j1f.c: Likewise.
19502 * math/w_j1l.c: Likewise.
19503 * math/w_jn.c: Likewise.
19504 * math/w_jnf.c: Likewise.
19505 * math/w_log.c: Likewise.
19506 * math/w_log10.c: Likewise.
19507 * math/w_log10f.c: Likewise.
19508 * math/w_log10l.c: Likewise.
19509 * math/w_log2.c: Likewise.
19510 * math/w_log2f.c: Likewise.
19511 * math/w_log2l.c: Likewise.
19512 * math/w_logf.c: Likewise.
19513 * math/w_logl.c: Likewise.
19514 * math/w_sqrt.c: Likewise.
19515 * math/w_sqrtf.c: Likewise.
19516 * math/w_sqrtl.c: Likewise.
19517 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19518 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19519 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19520 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19521 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19522
ebaf36eb
JM
195232012-02-19 Joseph Myers <joseph@codesourcery.com>
19524
19525 [BZ #9739]
19526 * manual/string.texi (strnlen): Use correct parameter name in
19527 equivalent expression.
19528
71c254a6
JM
195292012-02-19 Joseph Myers <joseph@codesourcery.com>
19530
19531 [BZ #11174]
19532 * manual/users.texi (seteuid): Consistently use neweuid for
19533 argument name.
19534
16d2c631
JM
195352012-02-19 Joseph Myers <joseph@codesourcery.com>
19536
19537 [BZ #13704]
19538 * manual/nss.texi (Services in the NSS configuration): Correct
19539 list of services in example configuration file.
19540
cd837b09
NB
195412012-02-19 Nick Bowler <nbowler@draconx.ca>
19542
19543 [BZ #11322]
19544 * manual/arith.texi: Remove statements about negative zero
19545 behaving identically to zero.
19546
02c4bbad
JM
195472012-02-18 Joseph Myers <joseph@codesourcery.com>
19548
19549 [BZ #5993]
19550 * manual/install.texi: Do not document upgrading from libc5.
19551
366842e7
JM
195522012-02-18 Joseph Myers <joseph@codesourcery.com>
19553
19554 [BZ #4596]
19555 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19556
dd54084d
DM
195572012-02-18 David S. Miller <davem@davemloft.net>
19558
19559 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19560 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19561 %o7 across the call.
19562 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19563 instead.
19564 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19565 SETUP_PIC_REG_LEAF.
19566 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19567 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19568 * sysdeps/sparc/crtn.S: Likewise.
19569
2bcc53a3
UD
195702012-02-17 Ulrich Drepper <drepper@gmail.com>
19571
19572 * aout/Makefile: Remove.
19573
09c093b5
RK
195742012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19575
19576 [BZ #13058]
19577 * manual/examples/argp-ex1.c (main): Format definition in GNU
19578 style.
19579 * manual/examples/argp-ex2.c (main): Likewise.
19580 * manual/examples/argp-ex3.c (main): Likewise.
19581 * manual/examples/argp-ex4.c (main): Likewise.
19582 * manual/examples/longopt.c (main): Use new-style prototype
19583 definition.
19584 * manual/examples/strncat.c (main): Specify return type and use
19585 (void) for arguments.
19586 * manual/examples/subopt.c (main): Use char **argv argument.
19587
2ee633a2
JM
195882012-02-17 Joseph Myers <joseph@codesourcery.com>
19589
19590 [BZ #5077]
19591 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19592 rounding modes.
19593
0520adde
FB
195942012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19595
19596 [BZ #6907]
19597 * manual/string.texi (strchr): Change when strchrnul is
19598 recommended.
19599
3f4081cd
DGM
196002012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19601
19602 [BZ #174]
19603 * manual/locale.texi (setlocale): Document LOCPATH.
19604
d1b10e78
JM
196052012-02-17 Joseph Myers <joseph@codesourcery.com>
19606
19607 [BZ #10210]
19608 * manual/process.texi (execle): Move @dots{} before last argument.
19609
79c6869c
PB
196102012-02-17 Paul Bolle <pebolle@tiscali.nl>
19611
19612 [BZ #12047]
19613 * manual/charset.texi (Generic Charset Conversion): Fix typo
19614 (LC_TYPE -> LC_CTYPE).
19615
cc6e48bc
NB
196162012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19617
19618 [BZ #5805]
19619 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19620 (scalbnf): Likewise.
19621 (scalbnl): Likewise.
19622 (scalbln): Likewise.
19623 (scalblnf): Likewise.
19624 (scalblnl): Likewise.
19625 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19626 (vwarnx): Likewise.
19627 (verr): Likewise.
19628 (verrx): Likewise.
19629 * manual/filesys.texi (telldir): Use braces around return type.
19630 * manual/llio.texi (mmap): Add space after comma.
19631 (mmap64): Likewise.
19632 * manual/math.texi (jn): Use @var{} on parameter names.
19633 (jnf): Likewise.
19634 (jnl): Likewise.
19635 (yn): Likewise.
19636 (ynf): Likewise.
19637 (ynl): Likewise.
19638 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19639 line.
19640 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19641 "...".
19642 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19643 (sched_get_priority_max): Likewise.
19644 * manual/signal.texi (sigvec): Add space after comma.
19645 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19646 names.
19647 (if_indextoname): Likewise.
19648 (if_freenameindex): Likewise.
19649 (sendto): Use ',' instead of '.' in prototype.
19650 * manual/startup.texi (syscall): Use @dots{} instead of literal
19651 "...".
19652 * manual/stdio.texi (__fpending): Separate initial words of
19653 paragraph from @deftypefun line.
19654 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19655 "...".
19656 (vsyslog): Use @var{} on parameter names.
19657 * manual/terminal.texi (stty): Use @var{} on parameter names.
19658 * manual/users.texi (getutmp): Use @var{} on parameter names.
19659 (getutmpx): Likewise.
19660
5b23062f
JM
196612012-02-17 Joseph Myers <joseph@codesourcery.com>
19662
19663 [BZ #6884]
19664 * manual/stdio.texi (fopen): Fix typos in description of
19665 ",ccs=STRING".
19666
8dee4833
AJ
196672012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19668
19669 [BZ #4026]
19670 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19671 get clock_id definition.
19672
9078ce93
TS
196732012-02-17 Thomas Schwinge <thomas@schwinge.name>
19674
19675 [BZ #4822]
19676 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19677 (madvise): Cast every argument to void on its own.
19678
3835c55f
JM
196792012-02-17 Joseph Myers <joseph@codesourcery.com>
19680
19681 [BZ #9902]
19682 * manual/startup.texi (Exit Status): Fix typo.
19683
35c47e37
JM
196842012-02-17 Joseph Myers <joseph@codesourcery.com>
19685
19686 [BZ #10140]
19687 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19688 * manual/examples/argp-ex2.c: Likewise.
19689 * manual/examples/argp-ex3.c: Likewise.
19690
e3b69ca7
RH
196912012-02-16 Richard Henderson <rth@redhat.com>
19692
19693 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19694 * sysdeps/s390/s390-32/initfini.c: Remove.
19695 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19696 * sysdeps/s390/s390-64/initfini.c: Remove.
19697
df83af67
KK
196982012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19699
19700 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19701 compiler output for sysdeps/generic/initfini.c.
19702 * sysdeps/sh/elf/initfini.c: Remove file.
19703
f63f3380
DM
197042012-02-16 David S. Miller <davem@davemloft.net>
19705
fb59b3a4
DM
19706 [BZ #11494]
19707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19708
f63f3380
DM
19709 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19710 * sysdeps/sparc/crti.S: New file.
19711 * sysdeps/sparc/crtn.S: New file.
19712 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19713 * sysdeps/sparc/sparc64/Makefile: Likewise.
19714
df6a4a4a
MF
197152012-02-15 Mike Frysinger <vapier@gentoo.org>
19716
6dd8f3dc 19717 [BZ #3335]
df6a4a4a
MF
19718 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19719
1cac7236
RM
197202012-02-15 Roland McGrath <roland@hack.frob.com>
19721
d2c736f8
RM
19722 [BZ #4822]
19723 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19724
1cac7236
RM
19725 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19726 (write, read, close): Likewise.
19727 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19728
8e475601
JM
197292012-02-15 Joseph Myers <joseph@codesourcery.com>
19730
19731 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19732 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19733 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19734 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19735 <bits/signalfd.h>.
19736 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19738 bits/signalfd.h.
19739
ed656b40
MP
197402012-02-14 Marek Polacek <polacek@redhat.com>
19741
19742 * sysdeps/x86_64/crti.S: New file.
19743 * sysdeps/x86_64/crtn.S: New file.
19744 * sysdeps/x86_64/elf/initfini.c: Remove file.
19745
2a979d3a
JM
197462012-02-13 Joseph Myers <joseph@codesourcery.com>
19747
19748 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19749 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19750 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19751 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19752 <bits/inotify.h>.
19753 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19754 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19755 bits/inotify.h.
19756
2a418ac3
JM
197572012-02-13 Joseph Myers <joseph@codesourcery.com>
19758
19759 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19760 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19761 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19762 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19763 <bits/eventfd.h>.
19764 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19766 bits/eventfd.h.
19767
fb779be7
TS
197682012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19769
e19e83c5
RM
19770 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19771 __feraiseexcept instead of feraiseexcept.
7c35ffed 19772
fb779be7
TS
19773 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19774 nanosleep invocations.
19775 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19776 strings, and add error checking for a nanosleep invocations.
19777
59ba27a6
PE
197782012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19779
19780 Replace FSF snail mail address with URLs, as per GNU coding standards.
19781 Most of the snail mail addresses were wrong anyway, and omitting
19782 them makes the source code easier to maintain. Almost all of the
19783 changes are to license notices and to locale LC_IDENTIFICATION
19784 addresses, except for this one:
19785 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19786 not its snail mail address.
19787
57b957eb
RH
197882012-02-09 Richard Henderson <rth@twiddle.net>
19789
af850b1c
RH
19790 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19791 of kernel-features.h.
19792
57b957eb
RH
19793 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19794
6b73181a
MP
197952012-02-08 Marek Polacek <polacek@redhat.com>
19796
19797 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19798 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19799 * sysdeps/gnu/_G_config.h: Likewise.
19800 * sysdeps/generic/_G_config.h: Likewise.
19801
26ecc33a
AS
198022012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19803
6c6dbc63
AS
19804 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19805 tests.
19806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19807
e216c012
AS
19808 * sysdeps/powerpc/powerpc32/crti.S: New file.
19809 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19810 * sysdeps/powerpc/powerpc64/crti.S: New file.
19811 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19812
26ecc33a
AS
19813 * Makeconfig (have-initfini): Don't set.
19814 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19815 * configure.in (nopic_initfini): Don't substitute.
19816 * config.h.in (HAVE_INITFINI): Don't #undef.
19817 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19818 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19819
3add8e13
JM
198202012-02-08 Joseph Myers <joseph@codesourcery.com>
19821
19822 Support crti.S and crtn.S provided directly by architectures.
19823 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19824 [crti.S in sysdirs] (omit-deps): Likewise.
19825 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19826 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19827 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19828 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19829 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19830 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19831 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19832 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19833 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19834 compiler output for sysdeps/generic/initfini.c.
19835 * sysdeps/i386/elf/Makefile: Remove file.
19836 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19837
a22f12b4
MP
198382012-02-07 Marek Polacek <polacek@redhat.com>
19839
19840 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19841 * sysdeps/gnu/_G_config.h: Likewise.
19842 * sysdeps/mach/hurd/_G_config.h: Likewise.
19843
148cf100
MP
198442012-02-07 Marek Polacek <polacek@redhat.com>
19845
19846 * math/Makefile (tests): Add tst-CMPLX2.
19847 * math/tst-CMPLX2.c: New file.
19848
cfdc0dd7
AS
198492012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19850
84ba42c4
AS
19851 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19852
cfdc0dd7
AS
19853 * math/libm-test.inc (jn_test): Add missing L suffix.
19854
622c86f4
MP
198552012-02-06 Marek Polacek <polacek@redhat.com>
19856
19857 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19858 * sysdeps/i386/fpu/e_powf.S: Likewise.
19859 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19860 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19861 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19862 * sysdeps/i386/fpu/e_pow.S: Likewise.
19863 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19864 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19865 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19866 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19867 * sysdeps/i386/fpu/e_log2.S: Likewise.
19868 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19869 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19870 * sysdeps/i386/fpu/e_powl.S: Likewise.
19871 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19872 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19873 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19874 * sysdeps/i386/fpu/e_logl.S: Likewise.
19875 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19876 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19877 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19878 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19879 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19880 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19881 * sysdeps/i386/fpu/e_log.S: Likewise.
19882 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19883 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19884 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19885 * sysdeps/i386/fpu/e_logf.S: Likewise.
19886 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19887 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19888 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19889 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19890 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19891 * sysdeps/i386/fpu/e_log10.S: Likewise.
19892 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19893 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19894 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19895 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19896 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19897 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19898 * sysdeps/i386/asm-syntax.h: Likewise.
19899 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19900 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19901 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19902 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19903 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19904 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19905 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19906 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19907 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19908 * sysdeps/powerpc/sysdep.h: Likewise.
19909 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19910 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19911
d4a54ac6
JM
199122012-02-06 Joseph Myers <joseph@codesourcery.com>
19913
19914 [BZ #411]
19915 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19916
314054ea
JM
199172012-02-06 Joseph Myers <joseph@codesourcery.com>
19918
19919 * sysdeps/i386/sysdep.h: Include <features.h>.
19920 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19921 version.
19922
d8e0ca50
JM
199232012-02-05 Joseph Myers <joseph@codesourcery.com>
19924
19925 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19926 Define.
19927 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19928 LOAD_PIC_REG_STR.
19929
b1da7dd9
JM
199302012-02-03 Joseph Myers <joseph@codesourcery.com>
19931
19932 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19933 (SETUP_PIC_REG): Use GET_PC_THUNK.
19934 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19935 macro.
19936
9a1d9254
JM
199372012-02-03 Joseph Myers <joseph@codesourcery.com>
19938
19939 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19940 for non-PIC compilation.
19941 (SETUP_PIC_REG): Add .p2align directive.
19942 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19943 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19944 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19945 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19946 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19947 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19948 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19949 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19950 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19951 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19952 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19953 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19954 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19955 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19956 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19957 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19958 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19959 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19960 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19961 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19962 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19963 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19964 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19965 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19966 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19967 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19968 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19969 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19970 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19971 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19972 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19973 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19974 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19975 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19976 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19977 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19978 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19979 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19980 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19981 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19982 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19983
65dc3b75
JM
199842012-02-03 Joseph Myers <joseph@codesourcery.com>
19985
19986 * math/tst-CMPLX.c: Include <stdio.h>.
19987
d55bf177
JM
199882012-01-31 Joseph Myers <joseph@codesourcery.com>
19989
19990 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19991 float.
19992 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19993 * sysdeps/sparc/bits/mathdef.h: Likewise.
19994
69db4f8f
MP
199952012-01-31 Marek Polacek <polacek@redhat.com>
19996
19997 * libio/libio.h: Don't define _PARAMS.
19998 * locale/programs/config.h: Don't define PARAMS.
19999 * stdlib/strtol_l.c: Likewise.
20000 (__strtol_l): Remove PARAMS from the prototype.
20001
41b81892
UD
200022012-01-31 Ulrich Drepper <drepper@gmail.com>
20003
3b49edc0
UD
20004 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20005 names. Just use the correct names. Remove unnecessary wrapper
20006 functions.
20007 * malloc/arena.c: Likewise.
20008 * malloc/hooks.c: Likewise.
20009
41b81892
UD
20010 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20011 ARENA_TEST says not to. Simplify test for creation of a new arena.
20012 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20013
27a25b6e
UD
200142012-01-30 Ulrich Drepper <drepper@gmail.com>
20015
20016 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20017 into tail calls.
20018 (update_get_addr): New function.
20019 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20020 GET_ADDR_MODULE parameter.
20021
c8a89e7d
JM
200222012-01-30 Joseph Myers <joseph@codesourcery.com>
20023
20024 * crypt/cert.c: Remove __STDC__ conditionals.
20025 * crypt/crypt-entry.c: Likewise.
20026 * crypt/crypt_util.c: Likewise.
20027 * libio/filedoalloc.c: Likewise.
20028 * libio/fileops.c: Likewise.
20029 * libio/genops.c: Likewise.
20030 * libio/iofclose.c: Likewise.
20031 * libio/iofdopen.c: Likewise.
20032 * libio/iofopen.c: Likewise.
20033 * libio/iofopen64.c: Likewise.
20034 * libio/iogetdelim.c: Likewise.
20035 * libio/iopopen.c: Likewise.
20036 * libio/obprintf.c: Likewise.
20037 * libio/oldfileops.c: Likewise.
20038 * libio/oldiofclose.c: Likewise.
20039 * libio/oldiofdopen.c: Likewise.
20040 * libio/oldiofopen.c: Likewise.
20041 * libio/oldiopopen.c: Likewise.
20042 * libio/wfiledoalloc.c: Likewise.
20043 * libio/wgenops.c: Likewise.
20044 * locale/programs/xmalloc.c: Likewise.
20045 * misc/syslog.c: Likewise.
20046 * stdio-common/xbug.c: Likewise.
20047 * string/memchr.c: Likewise.
20048 * string/memcmp.c: Likewise.
20049 * string/memrchr.c: Likewise.
20050 * string/rawmemchr.c: Likewise.
20051 * sysdeps/posix/getcwd.c: Likewise.
20052 * time/strftime_l.c: Likewise.
20053
3b100462
JM
200542012-01-30 Joseph Myers <joseph@codesourcery.com>
20055
20056 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20057 * config.make.in (config-cflags-sse2avx): Define.
20058 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20059 Fix typo.
20060
607998af
CM
200612012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20062
20063 * scripts/config.guess: Update from upstream config git repository.
20064 * scripts/config.sub: Likewise.
20065
3601428f
CM
200662012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20067
3ac8b282
CM
20068 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20069 (EM_NUM): Update.
20070 (R_TILEPRO_*, R_TILEGX_*): New macros.
20071
e034841e
CM
20072 * scripts/firstversions.awk: Fix bug in version range handling.
20073
540d7568
CM
20074 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20075
3601428f
CM
20076 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20077
463de862
CM
20078 * include/sys/epoll.h: New file.
20079 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20080 libc_hidden_def.
20081
73139a76
UD
200822012-01-28 Ulrich Drepper <drepper@gmail.com>
20083
96bc5b45
UD
20084 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20085 Avoid unnecessary __WORDSIZE == 64 test.
20086 (fmaxf): Use VEX format if possible.
20087 (fmax): Likewise.
20088 (fminf): Likewise.
20089 (fmin): Likewise.
20090
56f6f6a2
UD
20091 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20092 * math/math_private.h: Remove libc_fegetround* and
20093 libc_fesetround*.
20094 * sysdeps/i386/configure.in: Check for -msse2avx.
20095 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20096 also if SSE2AVX is defined.
20097 Remove libc_fegetround* and libc_fesetround*.
20098 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20099 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20100 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20101 of HAS_YMM_USABLE.
20102 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20103 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20104 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20105 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20106 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20107
73139a76
UD
20108 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20109
d73f93a4
AZ
201102012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20111
20112 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20113 size is not set.
20114 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20115
6ee65ed6
UD
201162012-01-27 Ulrich Drepper <drepper@gmail.com>
20117
20118 [BZ #13618]
20119 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20120 relocation.
20121 * Makeconfig (libm): Define.
20122 * elf/Makefile: Add rules to build and run tst-relsort1.
20123 * elf/tst-relsort1.c: New file.
20124 * elf/tst-relsort1mod1.c: New file.
20125 * elf/tst-relsort1mod2.c: New file.
20126
8db21882
JM
201272012-01-27 Joseph Myers <joseph@codesourcery.com>
20128
20129 * math/s_ldexp.c: Remove __STDC__ conditionals.
20130 * math/s_ldexpf.c: Likewise.
20131 * math/s_ldexpl.c: Likewise.
20132 * math/s_nextafter.c: Likewise.
20133 * math/s_nexttowardf.c: Likewise.
20134 * math/s_significand.c: Likewise.
20135 * math/s_significandf.c: Likewise.
20136 * math/s_significandl.c: Likewise.
20137 * math/w_jnl.c: Likewise.
20138 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20139 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20140 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20141 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20142 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20143 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20144 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20145 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20146 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20147 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20148 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20149 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20150 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20151 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20152 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20153 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20154 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20155 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20156 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20157 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20158 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20159 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20160 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20161 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20162 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20163 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20164 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20165 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20166 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20167 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20168 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20169 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20170 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20171 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20172 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20173 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20174 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20175 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20176 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20177 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20178 * sysdeps/ieee754/k_standard.c: Likewise.
20179 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20180 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20181 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20182 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20183 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20184 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20185 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20186 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20187 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20188 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20189 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20190 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20191 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20192 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20193 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20194 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20195 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20196 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20197 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20198 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20199 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20200 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20201 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20202 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20203 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20204 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20205 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20206 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20207 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20208 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20209 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20210 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20211 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20212 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20213 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20214 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20215 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20216 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20217 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20218 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20219 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20220 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20221 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20222 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20223 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20224 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20225 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20226 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20227 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20228 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20229 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20230 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20231 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20232 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20233 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20234 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20235 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20236 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20237 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20238 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20239 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20240 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20241 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20242 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20243 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20244 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20245 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20246 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20247 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20248 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20249 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20250 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20251 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20252 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20253 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20254 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20255 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20256 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20257 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20258 * sysdeps/ieee754/s_matherr.c: Likewise.
20259 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20260 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20261 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20262 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20263
965a54a4
JM
202642012-01-26 Joseph Myers <joseph@codesourcery.com>
20265
20266 * crypt/md5.h: Remove __STDC__ conditionals.
20267 * libio/libioP.h: Likewise.
20268 * locale/programs/config.h: Likewise.
20269 * sysdeps/generic/sysdep.h: Likewise.
20270 * sysdeps/i386/asm-syntax.h: Likewise.
20271 * sysdeps/s390/asm-syntax.h: Likewise.
20272 * sysdeps/unix/sysdep.h: Likewise.
20273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20275
7071ad79
JM
202762012-01-26 Joseph Myers <joseph@codesourcery.com>
20277
20278 * libio/libio.h: Remove __STDC__ conditionals.
20279 * malloc/obstack.h: Likewise.
20280 * math/complex.h: Likewise.
20281 * math/math.h: Likewise.
20282 * sysdeps/generic/_G_config.h: Likewise.
20283 * sysdeps/gnu/_G_config.h: Likewise.
20284 * sysdeps/mach/hurd/_G_config.h: Likewise.
20285 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20286 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20287 * sysdeps/sparc/bits/mathdef.h: Likewise.
20288
afc5ed09
UD
202892012-01-26 Ulrich Drepper <drepper@gmail.com>
20290
20291 [BZ #13583]
20292 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20293 Clean up HAS_* macros.
afc5ed09 20294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20295 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20296 possible.
20297 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20298 HAS_AVX.
20299 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20300 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20301 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20302 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20303 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20304
bdb6de1d
JM
203052012-01-25 Joseph Myers <joseph@codesourcery.com>
20306
20307 * elf/tst-unique3.cc (gets): Remove declaration.
20308 * elf/tst-unique3lib.cc (gets): Likewise.
20309 * elf/tst-unique3lib2.cc (gets): Likewise.
20310 * elf/tst-unique4.cc (gets): Likewise.
20311
b15549e6
UD
203122012-01-24 Ulrich Drepper <drepper@gmail.com>
20313
20314 * include/stdio.h: Add C++ protection. Add gets declarations and
20315 definitions.
20316 * debug/tst-chk1.c: Don't declare gets here.
20317 * stdio-common/tst-gets.c: Likewise.
20318
a037381f
JM
203192012-01-24 Joseph Myers <joseph@codesourcery.com>
20320
20321 * posix/glob: Remove directory.
20322
f1d4aa75
JM
203232012-01-24 Joseph Myers <joseph@codesourcery.com>
20324
20325 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20326
81c0c964
PT
203272012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20328
20329 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20330 of the non-standard EPFNOSUPPORT.
20331
0ea698ae
ST
203322011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20333
20334 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20335 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20336 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20337
d220b117
UD
203382012-01-21 Ulrich Drepper <drepper@gmail.com>
20339
20340 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20341
3e1aa84e
UD
203422012-01-20 Ulrich Drepper <drepper@gmail.com>
20343
20344 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20345 transient errors.
20346 * nscd/grpcache.c (cache_addgr): Likewise.
20347 * nscd/hstcache.c (cache_addhst): Likewise.
20348 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20349 * nscd/pwdcache.c (cache_addpw): Likewise.
20350 * nscd/servicescache.c (cache_addserv): Likewise.
20351
400aa020
UD
203522012-01-16 Ulrich Drepper <drepper@gmail.com>
20353
d77e7869
UD
20354 * malloc/malloc.c: Various cleanups.
20355 * malloc/hooks.c: Likewise.
20356
400aa020
UD
20357 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20358 * stdlib/bug-fmtmsg1.c: New file.
20359
20360 * stdlib/fmtmsg.c (init): Add missing unlock.
20361 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20362
e0a309cf
MP
203632012-01-12 Marek Polacek <polacek@redhat.com>
20364
20365 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20366 and _GNU_SOURCE.
20367
929d11c7
WS
203682012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20369
20370 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20371 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20372 macro to ensure uniqueness of label name.
20373 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20374 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20375
41d0e869
UD
203762012-01-11 Ulrich Drepper <drepper@gmail.com>
20377
0cc5ed3b
UD
20378 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20379
41d0e869
UD
20380 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20381 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20382 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20383 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20384
a47a831a
UD
203852012-01-10 Ulrich Drepper <drepper@gmail.com>
20386
daa891c0
UD
20387 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20388
20389 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20390 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20391 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20392
e58ef0f2
UD
20393 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20394
a47a831a 20395 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20396 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20397 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20398 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20399
20400 * math/bits/math-finite.h: Add ldexp support.
20401
a0bfc9c7
MP
204022012-01-10 Marek Polacek <polacek@redhat.com>
20403
20404 * locale/programs/localedef.h (show_archive_content): Add noreturn
20405 attribute.
20406
d6e97a1d
UD
204072012-01-09 Ulrich Drepper <drepper@gmail.com>
20408
20409 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20410
d5835c26
UD
204112012-01-08 Ulrich Drepper <drepper@gmail.com>
20412
e5f484c6
UD
20413 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20414
d5835c26
UD
20415 * io/Makefile (headers): Add bits/poll2.h.
20416
d1f741e9
WS
204172011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20418
20419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20420 typo #include statement.
20421
ec09c1c4
UD
204222012-01-08 Ulrich Drepper <drepper@gmail.com>
20423
20424 * include/sys/cdefs.h: Define __attribute_alloc_size.
20425 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20426 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20427 * elf/pldd.c: Likewise.
20428 * iconv/iconv_charmap.c: Likewise.
20429 * iconv/iconvconfig.c: Likewise.
20430 * iconv/strtab.c: Likewise.
20431 * locale/programs/locale.c: Likewise.
20432 * locale/programs/localedef.h: Likewise.
20433 * locale/programs/simple-hash.c: Likewise.
20434 * nscd/nscd.h: Likewise.
20435 * nss/makedb.c: Likewise.
20436 * sysdeps/generic/ldconfig.h: Likewise.
20437 * locale/programs/localedef.c: Remove xmalloc prototype.
20438 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20439
20b38e03
PP
204402012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20441
20442 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20443 appropriate.
20444
a0da5fe1
UD
204452012-01-08 Ulrich Drepper <drepper@gmail.com>
20446
1d5a644a 20447 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20448 * math/tst-CMPLX.c: New file.
1d5a644a 20449
8784a6db
UD
20450 * math/complex.h (CMPLXL): Fix typo.
20451
d9a216c0
UD
20452 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20453 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20454 GLIBC_2.16.
20455 * debug/tst-chk1.c: Add poll and ppoll tests.
20456 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20457 * include/sys/poll.h: Add hidden proto for ppoll.
20458 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20459 * sysdeps/mach/hurd/ppoll.c: Likewise.
20460 * io/ppoll.c: Likewise.
20461 * debug/poll_chk.c: New file.
20462 * debug/ppoll_chk.c: New file.
20463 * include/bits/poll2.h: New file.
20464 * io/bits/poll2.h: New file.
20465
ac097f5c
UD
20466 [BZ #1350]
20467 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20468
2119dcfa
UD
20469 * configure.in: static is always set to yes. Remove.
20470 * config.make.in: Don't set build-static.
20471 * Makeconfig: Remove use of build-static.
20472 * dlfcn/Makefile: Likewise.
20473 * elf/Makefile: Likewise.
20474 * math/Makefile: Likewise.
20475 * misc/Makefile: Likewise.
20476 * nptl/Makefile: Likewise.
20477 * sysdeps/mach/hurd/Makefile: Likewise.
20478
121766a9
UD
20479 * configure.in: PWD_P is not used anymore.
20480 * config.make.in: Remove PWD_P entry.
20481
51a1d39c 20482 * configure.in: Remove last remnants of RANLIB.
8720d066 20483 No need to check for signed size_t anymore.
215f4bdc
UD
20484 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20485 and IA-64.
3857022a 20486 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20487 * aclocal.m4: Likewise.
20488
d3ed7225
UD
20489 * wcsmbs/mbrtoc16.c: Implement using towc function.
20490 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20491 * wcsmbs/wcsmbsload.c: Likewise.
20492 * iconv/gconv_simple.c: Likewise.
20493 * iconv/gconv_int.h: Likewise.
20494 * iconv/gconv_builtin.h: Likewise.
20495 * iconv/iconv_prog.c: Remove CHAR16 handling.
20496
20497 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20498
20499 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20500
a0da5fe1
UD
20501 * configure.in: Remove --with-elf and --enable-bounded options.
20502 Dont set base_machine for ia64. More non-ELF conditions removed.
20503 Remove testing and setting of leading underscore information.
20504 * config.make.in (build-bounded): Set to no.
20505 * config.h.in: Remove NO_UNDERSCORES entry.
20506 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20507 them.
20508 * csu/start.c: Remove !NO_UNDERSCORE code.
20509 * locale/localeinfo.h: Likewise.
20510 * sysdeps/generic/machine-gmon.h: Likewise.
20511 * sysdeps/generic/sysdep.h: Likewise.
20512 * sysdeps/i386/sysdep.h: Likewise.
20513 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20514 * sysdeps/mach/sysdep.h: Likewise.
20515 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20516 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20517 * sysdeps/sh/sysdep.h: Likewise.
20518 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20519 * sysdeps/unix/i386/sysdep.S: Likewise.
20520 * sysdeps/unix/sparc/start.c: Likewise.
20521 * sysdeps/unix/sparc/sysdep.S: Likewise.
20522 * sysdeps/unix/sparc/sysdep.h: Likewise.
20523 * sysdeps/unix/start.c: Likewise.
20524 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20525 * sysdeps/x86_64/sysdep.h: Likewise.
20526
df78418a
UD
205272012-01-07 Ulrich Drepper <drepper@gmail.com>
20528
a784e502
UD
20529 [BZ #13553]
20530 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20531 for non-gcc.
20532 * argp/argp-fmtstream.h: Use const instead __const.
20533 * argp/argp.h: Likewise.
20534 * assert/assert.h: Likewise.
20535 * bits/fenv.h: Likewise.
20536 * bits/sched.h: Likewise.
20537 * bits/sigset.h: Likewise.
20538 * bits/sigthread.h: Likewise.
20539 * catgets/nl_types.h: Likewise.
20540 * conform/data/pthread.h-data: Likewise.
20541 * crypt/crypt-private.h: Likewise.
20542 * crypt/crypt.h: Likewise.
20543 * crypt/crypt_util.c: Likewise.
20544 * ctype/ctype.h: Likewise.
20545 * debug/execinfo.h: Likewise.
20546 * debug/mbsnrtowcs_chk.c: Likewise.
20547 * debug/mbsrtowcs_chk.c: Likewise.
20548 * debug/wcsnrtombs_chk.c: Likewise.
20549 * debug/wcsrtombs_chk.c: Likewise.
20550 * debug/wcstombs_chk.c: Likewise.
20551 * dirent/dirent.h: Likewise.
20552 * dlfcn/dlfcn.h: Likewise.
20553 * elf/neededtest4.c: Likewise.
20554 * grp/grp.h: Likewise.
20555 * gshadow/gshadow.h: Likewise.
20556 * iconv/gconv.h: Likewise.
20557 * iconv/gconv_int.h: Likewise.
20558 * iconv/gconv_simple.c: Likewise.
20559 * iconv/iconv.h: Likewise.
20560 * iconv/loop.c: Likewise.
20561 * iconv/skeleton.c: Likewise.
20562 * include/aio.h: Likewise.
20563 * include/aliases.h: Likewise.
20564 * include/argz.h: Likewise.
20565 * include/arpa/inet.h: Likewise.
20566 * include/assert.h: Likewise.
20567 * include/dirent.h: Likewise.
20568 * include/dlfcn.h: Likewise.
20569 * include/execinfo.h: Likewise.
20570 * include/fcntl.h: Likewise.
20571 * include/fenv.h: Likewise.
20572 * include/glob.h: Likewise.
20573 * include/grp.h: Likewise.
20574 * include/libintl.h: Likewise.
20575 * include/mntent.h: Likewise.
20576 * include/netdb.h: Likewise.
20577 * include/pwd.h: Likewise.
20578 * include/rpc/netdb.h: Likewise.
20579 * include/sched.h: Likewise.
20580 * include/search.h: Likewise.
20581 * include/shadow.h: Likewise.
20582 * include/signal.h: Likewise.
20583 * include/stdio.h: Likewise.
20584 * include/stdlib.h: Likewise.
20585 * include/string.h: Likewise.
20586 * include/sys/socket.h: Likewise.
20587 * include/sys/stat.h: Likewise.
20588 * include/sys/statfs.h: Likewise.
20589 * include/sys/statvfs.h: Likewise.
20590 * include/sys/syslog.h: Likewise.
20591 * include/sys/time.h: Likewise.
20592 * include/sys/uio.h: Likewise.
20593 * include/time.h: Likewise.
20594 * include/unistd.h: Likewise.
20595 * include/utmp.h: Likewise.
20596 * include/wchar.h: Likewise.
20597 * include/wctype.h: Likewise.
20598 * inet/aliases.h: Likewise.
20599 * inet/arpa/inet.h: Likewise.
20600 * inet/netinet/ether.h: Likewise.
20601 * inet/netinet/in.h: Likewise.
20602 * intl/libintl.h: Likewise.
20603 * io/bits/fcntl2.h: Likewise.
20604 * io/fcntl.h: Likewise.
20605 * io/ftw.h: Likewise.
20606 * io/sys/poll.h: Likewise.
20607 * io/sys/stat.h: Likewise.
20608 * io/sys/statfs.h: Likewise.
20609 * io/sys/statvfs.h: Likewise.
20610 * io/utime.h: Likewise.
20611 * libio/bits/stdio.h: Likewise.
20612 * libio/bits/stdio2.h: Likewise.
20613 * libio/libio.h: Likewise.
20614 * libio/libioP.h: Likewise.
20615 * libio/stdio.h: Likewise.
20616 * locale/lc-ctype.c: Likewise.
20617 * locale/locale.h: Likewise.
20618 * login/utmp.h: Likewise.
20619 * malloc/arena.c: Likewise.
20620 * malloc/malloc.c: Likewise.
20621 * malloc/malloc.h: Likewise.
20622 * malloc/mcheck.c: Likewise.
20623 * malloc/mtrace.c: Likewise.
20624 * math/bits/mathcalls.h: Likewise.
20625 * math/fenv.h: Likewise.
20626 * math/math_private.h: Likewise.
20627 * misc/bits/error.h: Likewise.
20628 * misc/bits/syslog.h: Likewise.
20629 * misc/err.h: Likewise.
20630 * misc/error.h: Likewise.
20631 * misc/fstab.h: Likewise.
20632 * misc/mntent.h: Likewise.
20633 * misc/regexp.h: Likewise.
20634 * misc/search.h: Likewise.
20635 * misc/sgtty.h: Likewise.
20636 * misc/sys/mman.h: Likewise.
20637 * misc/sys/syslog.h: Likewise.
20638 * misc/sys/uio.h: Likewise.
20639 * misc/sys/xattr.h: Likewise.
20640 * misc/ttyent.h: Likewise.
20641 * nis/rpcsvc/ypclnt.h: Likewise.
20642 * nss/nss.h: Likewise.
20643 * posix/bits/unistd.h: Likewise.
20644 * posix/fnmatch.h: Likewise.
20645 * posix/glob.h: Likewise.
20646 * posix/sched.h: Likewise.
20647 * posix/spawn.h: Likewise.
20648 * posix/sys/wait.h: Likewise.
20649 * posix/unistd.h: Likewise.
20650 * posix/wordexp.h: Likewise.
20651 * pwd/pwd.h: Likewise.
20652 * resolv/netdb.h: Likewise.
20653 * resource/sys/resource.h: Likewise.
20654 * rt/aio.h: Likewise.
20655 * rt/bits/mqueue2.h: Likewise.
20656 * rt/mqueue.h: Likewise.
20657 * shadow/shadow.h: Likewise.
20658 * signal/signal.h: Likewise.
20659 * socket/send.c: Likewise.
20660 * socket/sendto.c: Likewise.
20661 * socket/sys/socket.h: Likewise.
20662 * stdio-common/printf.h: Likewise.
20663 * stdlib/bits/stdlib.h: Likewise.
20664 * stdlib/fmtmsg.h: Likewise.
20665 * stdlib/monetary.h: Likewise.
20666 * stdlib/stdlib.h: Likewise.
20667 * stdlib/ucontext.h: Likewise.
20668 * streams/stropts.h: Likewise.
20669 * string/argz.h: Likewise.
20670 * string/bits/string2.h: Likewise.
20671 * string/string.h: Likewise.
20672 * string/strings.h: Likewise.
20673 * sunrpc/rpc/auth.h: Likewise.
20674 * sunrpc/rpc/auth_des.h: Likewise.
20675 * sunrpc/rpc/clnt.h: Likewise.
20676 * sunrpc/rpc/netdb.h: Likewise.
20677 * sunrpc/rpc/pmap_clnt.h: Likewise.
20678 * sunrpc/rpc/xdr.h: Likewise.
20679 * sysdeps/generic/inttypes.h: Likewise.
20680 * sysdeps/generic/net/if.h: Likewise.
20681 * sysdeps/generic/sys/swap.h: Likewise.
20682 * sysdeps/gnu/net/if.h: Likewise.
20683 * sysdeps/gnu/utmpx.h: Likewise.
20684 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20685 * sysdeps/i386/i486/bits/string.h: Likewise.
20686 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20687 * sysdeps/s390/bits/string.h: Likewise.
20688 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20689 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20690 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20691 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20692 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20693 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20694 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20695 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20696 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20697 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20698 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20699 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20700 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20701 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20702 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20703 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20704 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20705 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20706 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20707 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20708 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20709 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20710 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20711 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20712 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20713 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20714 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20715 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20716 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20717 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20718 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20719 * sysvipc/sys/ipc.h: Likewise.
20720 * sysvipc/sys/msg.h: Likewise.
20721 * sysvipc/sys/sem.h: Likewise.
20722 * sysvipc/sys/shm.h: Likewise.
20723 * termios/termios.h: Likewise.
20724 * time/sys/time.h: Likewise.
20725 * time/time.h: Likewise.
20726 * wcsmbs/bits/wchar2.h: Likewise.
20727 * wcsmbs/uchar.h: Likewise.
20728 * wcsmbs/wchar.h: Likewise.
20729 * wctype/wctype.h: Likewise.
20730
0269750c
UD
20731 [BZ #13551]
20732 * Makeconfig: Remove all but ELF support including AIX support.
20733 * Makerules: Likewise.
20734 * config.h.in: Likewise.
20735 * config.make.in: Likewise.
20736 * configure: Likewise.
20737 * configure.in: Likewise.
20738 * csu/Makefile: Likewise.
20739 * csu/version.c: Likewise.
20740 * debug/Makefile: Likewise.
20741 * dlfcn/Makefile: Likewise.
20742 * elf/Makefile: Likewise.
20743 * extra-lib.mk: Likewise.
20744 * iconv/Makefile: Likewise.
20745 * include/libc-symbols.h: Likewise.
20746 * include/shlib-compat.h: Likewise.
20747 * resolv/Makefile: Likewise.
20748 * resolv/res_libc.c: Likewise.
20749 * rt/Makefile: Likewise.
20750 * sysdeps/i386/asm-syntax.h: Likewise.
20751 * sysdeps/i386/sysdep.h: Likewise.
20752 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20753 * sysdeps/mach/sysdep.h: Likewise.
20754 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20755 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20756 * sysdeps/s390/asm-syntax.h: Likewise.
20757 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20758 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20759 * sysdeps/sh/sysdep.h: Likewise.
20760 * sysdeps/unix/sparc/sysdep.h: Likewise.
20761 * sysdeps/wordsize-32/divdi3.c: Likewise.
20762 * sysdeps/x86_64/sysdep.h: Likewise.
20763
00bbd29b
UD
20764 * argp/Versions: Remove _argp_unlock_xxx.
20765
20766 [BZ #13559]
20767 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20768 * abilist/libBrokenLocale.abilist: Likewise.
20769 * abilist/libanl.abilist: Likewise.
20770 * abilist/libc.abilist: Likewise.
20771 * abilist/libcrypt.abilist: Likewise.
20772 * abilist/libdl.abilist: Likewise.
20773 * abilist/libm.abilist: Likewise.
20774 * abilist/libnsl.abilist: Likewise.
20775 * abilist/libpthread.abilist: Likewise.
20776 * abilist/libresolv.abilist: Likewise.
20777 * abilist/librt.abilist: Likewise.
20778 * abilist/libthread_db.abilist: Likewise.
20779 * abilist/libutil.abilist: Likewise.
20780 * abilist/libnss_db.abilist: New file.
20781
20782 * scripts/abilist.awk: Add support for indirect functions.
20783
a2693a0e
UD
20784 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20785
3f05895f
UD
20786 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20787
ecb6fb48
UD
20788 * shlib-versions: Remove entries for ports architectures.
20789
664f8cb9
UD
20790 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20791 files in ports.
20792 * elf/stackguard-macros.h: Remove support for IA-64.
20793 * elf/tst-auditmod1.c: Likewise.
20794 * sysdeps/generic/ldsodefs.h: Likewise.
20795
7ae81d88
UD
20796 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20797 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20798 configure files.
20799
bdeba135
UD
20800 [BZ #13552]
20801 * configure.in: Remove --enable-omitfp support.
20802 * FAQ.in: Adjust.
20803 * config.make.in: Likewise.
20804 * Makeconfig: Likewise.
20805 * manual/install.texi: Likewise.
20806
d75a0a62
UD
20807 In case anyone cares, the IA-64 architecture could move to ports.
20808 * sysdeps/ia64/*: Removed.
20809 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20810 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20811
dcc9756b
UD
20812 [BZ #13555]
20813 * configure.in: Remove entries for unsupported architectures.
20814
d3761ebc 20815 [BZ #13533]
9954432e
UD
20816 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20817 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20818 routines.
20819 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20820 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20821 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20822 fall back to using wcrtomb.
20823 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20824 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20825 renaming.
20826 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20827 * wcsmbs/tst-c16c32-1.c: New file.
20828
20829 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20830 local variable.
20831
c3a87236
UD
20832 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20833
28926a1b
UD
20834 * elf/tst-unique3.cc: Add explicit declaration of gets.
20835 * elf/tst-unique3lib.cc: Likewise.
20836 * elf/tst-unique3lib2.cc: Likewise.
20837 * elf/tst-unique4.cc: Likewise.
20838
df78418a
UD
20839 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20840
8ecd6b2a
JM
208412012-01-06 Joseph Myers <joseph@codesourcery.com>
20842
20843 [BZ #13566]
20844 * assert/assert.h (static_assert): Don't define for C++.
20845 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20846 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20847
9f115170
UD
208482012-01-03 Ulrich Drepper <drepper@gmail.com>
20849
5e0d0300
UD
20850 * iconv/loop.c (single loop): Fix assertion in storing of
20851 remaining bytes.
20852
9f115170
UD
20853 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20854
81fb02b0
UD
208552012-01-01 Ulrich Drepper <drepper@gmail.com>
20856
20857 * posix/getconf.c: Update copyright year.
20858 * nss/getent.c: Likewise.
a316c1f6 20859 * nss/makedb.c: Likewise.
81fb02b0
UD
20860 * iconv/iconvconfig.c: Likewise.
20861 * iconv/iconv_prog.c: Likewise.
20862 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20863 * elf/pldd.c: Likewise.
20864 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20865 * catgets/gencat.c: Likewise.
20866 * csu/version.c: Likewise.
20867 * elf/ldd.bash.in: Likewise.
20868 * elf/sprof.c (print_version): Likewise.
20869 * locale/programs/locale.c: Likewise.
20870 * locale/programs/localedef.c: Likewise.
a316c1f6 20871 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20872 * nscd/nscd.c (print_version): Likewise.
20873 * debug/xtrace.sh: Likewise.
20874 * malloc/memusage.sh: Likewise.
20875 * malloc/mtrace.pl: Likewise.
20876 * debug/catchsegv.sh: Likewise.
20877
2ba92745
JJ
208782011-12-30 Jakub Jelinek <jakub@redhat.com>
20879
20880 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20881 pure attribute.
20882
dadebdae
UD
208832011-12-24 Ulrich Drepper <drepper@gmail.com>
20884
d3761ebc 20885 [BZ #13533]
db6af3eb
UD
20886 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20887 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20888 transformations.
20889 * iconv/gconv_int.h: Likewise.
20890 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20891 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20892 from libc for GLIBC_2.16.
20893 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20894 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20895 * wcsmbs/uchar.h: Really define mbstate_t.
20896 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20897 * wcsmbs/c16rtomb.c: New file.
20898 * wcsmbs/mbrtoc16.c: New file.
20899 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20900 for C/POSIX locale.
20901 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20902 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20903
dadebdae
UD
20904 * wcsmbs/wchar.h: Add missing __restrict.
20905
67371b56
UD
209062011-12-23 Ulrich Drepper <drepper@gmail.com>
20907
74033a25
UD
20908 [BZ #13532]
20909 * time/Makefile (routines): Add timespec_get.
20910 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20911 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20912 timespec for ISO C11.
20913 * time/timespec_get.c: New file.
20914 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20915 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20916
380d7e87
UD
20917 [BZ #13531]
20918 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20919 * stdlib/stdlib.h: Declare aligned_alloc.
20920 * Versions.def: Add GLIBC_2.16 for libc.
20921 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20922
4e9e7a35
UD
20923 [BZ 13527]
20924 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20925 ISO C11.
20926
380d7e87 20927 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20928 code.
20929
03a71829
UD
20930 [BZ #13528]
20931 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20932
839e283e
UD
20933 [BZ #13529]
20934 * assert/assert.h (static_assert): Define.
20935
ce5294e2 20936 * version.h: Update for 2.16 development version.
90fa7312 20937
8d44e150 20938 [BZ #13526]
d7809905
UD
20939 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20940 _ISOC11_SOURCE.
20941
c0da14cd
UD
20942 * version.h (RELEASE): Bump for 2.15 release.
20943 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20944
530a3249
MP
20945 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20946 Patch by Marek Polacek <mpolacek@redhat.com>.
20947
67371b56
UD
20948 * bits/byteswap.h: Protect long long constants with __extension__.
20949 * sysdeps/i386/bits/byteswap.h: Likewise.
20950 * sysdeps/ia64/bits/byteswap.h: Likewise.
20951 * sysdeps/s390/bits/byteswap.h: Likewise.
20952 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20953
15db4de1
LD
209542011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20955
20956 [BZ #13540]
bbe315ea
LD
20957 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20958 destination buffer.
15db4de1
LD
20959 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20960
2b2596b1
MP
209612011-12-23 Marek Polacek <polacek@redhat.com>
20962
20963 * elf/dl-addr.c (determine_info): Add inline keyword.
20964 * elf/tst-auditmod4b.c (check_avx): Likewise.
20965 * elf/tst-auditmod6b.c (check_avx): Likewise.
20966 * elf/tst-auditmod6c.c (check_avx): Likewise.
20967 * elf/tst-auditmod7b.c (check_avx): Likewise.
20968
70c6c246
UD
209692011-12-23 Ulrich Drepper <drepper@gmail.com>
20970
20971 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20972 !__SSE_MATH__.
20973
c044cf14
LD
209742011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20975
15db4de1 20976 [BZ #13540]
c044cf14
LD
20977 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20978 processing for last bytes.
20979
6b13d9d9
BH
209802011-08-06 Bruno Haible <bruno@clisp.org>
20981
d455f537
BH
20982 [BZ #13061]
20983 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20984 U+0385, not to U+1FEE.
20985
6b13d9d9
BH
20986 [BZ #13062]
20987 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20988 entry for U+00A5 U+0301.
20989
db910efd
UD
209902011-12-22 Ulrich Drepper <drepper@gmail.com>
20991
27deeafc
UD
20992 [BZ #13166]
20993 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20994 buffer for the output is too small.
20995
aed9d171
UD
20996 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20997 optimization.
20998
db910efd
UD
20999 [BZ #13185]
21000 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21001 SSE flags if possible.
21002
2bd779ae
LD
210032011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21004
e7f9dac3 21005 [BZ #13540]
2bd779ae
LD
21006 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21007 processing for last bytes.
21008
154bfc16
JM
210092011-12-22 Joseph Myers <joseph@codesourcery.com>
21010
21011 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21012 (syscall-list-default-options, syscall-list-default-condition)
21013 (syscall-list-includes): Define.
21014 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21015 list of ABIs and options and #if conditions for each ABI. Do not
21016 handle common syscalls between ABIs specially.
21017 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21018 Remove.
21019 (syscall-list-variants, syscall-list-32bit-options)
21020 (syscall-list-32bit-condition, syscall-list-64bit-options)
21021 (syscall-list-64bit-condition): Define.
21022 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21023 (syscall-list-variants, syscall-list-32bit-options)
21024 (syscall-list-32bit-condition, syscall-list-64bit-options)
21025 (syscall-list-64bit-condition): Define.
21026 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21027 Remove.
21028 (syscall-list-variants, syscall-list-32bit-options)
21029 (syscall-list-32bit-condition, syscall-list-64bit-options)
21030 (syscall-list-64bit-condition): Define.
21031 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21032 Remove.
21033 (syscall-list-variants, syscall-list-32bit-options)
21034 (syscall-list-32bit-condition, syscall-list-64bit-options)
21035 (syscall-list-64bit-condition): Define.
21036
21eaf3a5
UD
210372011-12-22 Ulrich Drepper <drepper@gmail.com>
21038
16c6f992
UD
21039 * locale/iso-639.def: Add brx entry.
21040
41043168
UD
21041 [BZ #13328]
21042 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21043 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21044
21eaf3a5
UD
21045 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21046 __feraiseexcept_renamed.
21047
e3a851a2
UD
210482011-12-21 Ulrich Drepper <drepper@gmail.com>
21049
4920765e
UD
21050 [BZ #13538]
21051 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21052 EPOLLET with unsigned values.
21053 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21054 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21055
e3a851a2
UD
21056 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21057 to large cancellation.
21058 * math/s_cacoshf.c: Likewise.
21059 * math/s_cacoshl.c: Likewise.
21060
b27e24b8
RK
210612011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21062
21063 [BZ #13305]
aebefeee 21064 [BZ #12786]
b27e24b8
RK
21065 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21066 * math/s_cacoshf.c: Likewise.
21067 * math/s_cacoshl.c: Likewise.
21068
ee190f67
UD
210692011-12-21 Ulrich Drepper <drepper@gmail.com>
21070
21071 [BZ #13439]
21072 * iconv/gconv.h: Define __GCONV_SWAP.
21073 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21074 * iconvdata/utf-16.c: Likewise.
21075 * iconvdata/utf-32.c: Likewise.
21076
707f25df
AS
210772011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21078
21079 [BZ #13524]
21080 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21081 numerator after shifting it by one limb.
21082
d2daaa1e
RÁE
210832011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21084
21085 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21086 under [__USE_EXTERN_INLINES].
21087
a4647e72
UD
210882011-12-17 Ulrich Drepper <drepper@gmail.com>
21089
21090 [BZ #13446]
21091 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21092
f0b264f1
AZ
210932011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21094
21095 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21096 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21097 optimized code.
21098 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21099 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21100 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21101 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21102 for strncasecmp/strncasecmp_l compilation.
21103 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21104 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21105
8ef4f244
MP
211062011-12-08 Marek Polacek <mpolacek@redhat.com>
21107
21108 [BZ #13484]
21109 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21110 of __asm__.
21111
97ac2654
UD
211122011-12-17 Ulrich Drepper <drepper@gmail.com>
21113
21114 [BZ #13506]
21115 * time/tzfile.c (__tzfile_read): Check values from file header.
21116
91d2a845
WS
211172011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21118
21119 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21120 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21121 * powerpc/powerpc32/dl-start.S: Likewise.
21122 * powerpc/powerpc32/elf/start.S: Likewise.
21123 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21124 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21125 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21126 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21127 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21128 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21129 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21130 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21131 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21132 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21133 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21134 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21135 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21136 * powerpc/powerpc32/memset.S: Likewise.
21137 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21138 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21139 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21140 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21141 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21142 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21143 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21144 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21145 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21146 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21147 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21148 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21149 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21150
a1267ba1
AZ
211512011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21152
21153 * math/libm-test.inc: Added more nearbyint tests.
21154 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21155 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21156 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21157 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21158
ad8ac1bd
RL
211592011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21160
21161 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21162 FD_CLOEXEC.
21163
1d3e4b61
UD
211642011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21165
21166 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21167 Add wcscpy-ssse3 wcscpy-c.
21168 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21169 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21170 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21171 * sysdeps/x86_64/wcschr.S: New file.
21172 * sysdeps/x86_64/wcsrchr.S: New file.
21173 * string/test-strcmp.c: Remove checking of wcscmp function for
21174 wrong alignments.
21175 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21176 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21177 wcsrchr-sse2 wcsrchr-c.
21178 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21179 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21180 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21181 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21182 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21183 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21184 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21185 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21186 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21187 * wcsmbc/wcschr.c (WCSCHR): New macro.
21188
5b330a2d
UD
211892011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21190
21191 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21192 * wcsmbs/test-wcsrchr.c: New file.
21193 * string/test-strrchr.c: Add wcsrchr support.
21194 (WIDE): New macro.
21195 * wcsmbs/test-wcscpy.c: New file.
21196 * string/test-strcpy.c: Add wcscpy support.
21197 (WIDE): New macro.
26428b7c 21198
f039c043
UD
211992011-12-10 Ulrich Drepper <drepper@gmail.com>
21200
21201 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21202 the inner loop.
21203
850fb039
AS
212042011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21205
21206 [BZ #13472]
21207 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21208
4efbd5cb
UD
212092011-12-04 Ulrich Drepper <drepper@gmail.com>
21210
52ff5dd0 21211 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21212 Minor optimizations.
52ff5dd0 21213
4efbd5cb
UD
21214 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21215 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21216 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21217
8a426e12
UD
212182011-12-03 Ulrich Drepper <drepper@gmail.com>
21219
aff2453d
UD
21220 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21221 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21222 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21223 for gcc to avoid warnings.
21224 * inet/Makefile (tests): Add tst-checks.
21225 * inet/tst-checks.c: New file.
21226
21227 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21228 warning.
21229
21230 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21231 __wmemcmp_sse2.
21232
21233 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21234 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21235
8a426e12
UD
21236 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21237
9bea3473
UD
212382011-12-02 Ulrich Drepper <drepper@gmail.com>
21239
3a965496
UD
21240 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21241 problem.
21242
9bea3473
UD
21243 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21244
f101631b
UD
212452011-11-29 Joseph Myers <joseph@codesourcery.com>
21246
21247 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21248 conditional on GCC version.
21249 (__arch_compare_and_exchange_val_8_acq)
21250 (__arch_compare_and_exchange_val_16_acq)
21251 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21252 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21253 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21254
a98275aa
UD
212552011-12-02 Joseph Myers <joseph@codesourcery.com>
21256
21257 * sysdeps/sh/backtrace.c: New file.
21258
d4cc29a2
AS
212592011-12-02 Andreas Schwab <schwab@redhat.com>
21260
21261 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21262 parenthesis.
21263
6257af2d
AS
212642011-12-01 Andreas Schwab <schwab@redhat.com>
21265
21266 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21267 falling back to utime.
21268
b5f44c1a
AS
212692011-11-30 Andreas Schwab <schwab@redhat.com>
21270
21271 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21272 expectations for float.
21273
f3a6cc0a
AS
212742011-11-29 Andreas Schwab <schwab@redhat.com>
21275
21276 * locale/weight.h (findidx): Add parameter len.
21277 * locale/weightwc.h (findidx): Likewise.
21278 * posix/fnmatch_loop.c (FCT): Adjust caller.
21279 * posix/regcomp.c (build_equiv_class): Likewise.
21280 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21281 * posix/regexec.c (check_node_accept_bytes): Likewise.
21282 * string/strcoll_l.c (STRCOLL): Likewise.
21283 * string/strxfrm_l.c (STRXFRM): Likewise.
21284
9d65ea3a
UD
212852011-11-17 Ulrich Drepper <drepper@gmail.com>
21286
21287 * Makefile.in: Remove CVSOPT handling.
21288 * configure.in: Remove use of AC_REVISION.
21289 * iconvdata/Makefile (distribute): No need to filter out CVS.
21290 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21291 handling.
21292
5583a086
AS
212932011-11-16 Andreas Schwab <schwab@redhat.com>
21294
21295 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21296 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21297 [USE_AS_STRNCASECMP_L]: Likewise.
21298 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21299 NO_TLS_DIRECT_SEG_REFS.
21300 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21301 Fix argument offsets for non-PIC.
21302 [USE_AS_STRNCASECMP_L]: Likewise.
21303 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21304 NO_TLS_DIRECT_SEG_REFS.
21305
d62a8200
UD
213062011-11-15 Ulrich Drepper <drepper@gmail.com>
21307
9d65ea3a 21308 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21309 O_CLOEXEC.
21310 * locale/loadlocale.c (_nl_load_locale): Likewise.
21311
09f93bd3
AS
213122011-11-15 Andreas Schwab <schwab@redhat.com>
21313
446514f9
AS
21314 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21315 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21316 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21317 (SYSCALL_GETTIME): Set errno on error.
21318
09f93bd3
AS
21319 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21320 count references to noai6ai_cached.
21321
312be3f9
UD
213222011-11-15 Ulrich Drepper <drepper@gmail.com>
21323
21324 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21325
21326 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21327 FD_CLOEXEC for /proc/self/maps.
21328
21329 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21330 FD_CLOEXEC for /proc/meminfo.
21331
21332 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21333 gai.conf.
21334
21335 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21336 FD_CLOEXEC for given file.
21337
21338 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21339
21340 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21341 FD_CLOEXEC for /etc/hosts.
21342 (_gethtent): Likewise.
21343
21344 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21345
21346 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21347 cancellation and set FD_CLOEXEC for /etc/netgroup.
21348
21349 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21350 reading /etc/publickey.
21351
21352 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21353 allow cancellation when reading /etc/group.
21354
21355 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21356 cancellation.
21357 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21358
21359 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21360 when using data file.
21361
21362 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21363
21364 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21365 (write_nis_obj): Use "c" and "e" in fopen.
21366
21367 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21368
21369 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21370
21371 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21372
21373 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21374
21375 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21376 locale.alias.
21377
21378 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21379
21380 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21381
21382 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21383
21384 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21385 file parsing and set FD_CLOEXEC.
21386
82af0fa8
UD
213872011-11-14 Ulrich Drepper <drepper@gmail.com>
21388
21389 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21390
a5fb313c
AS
213912011-11-14 Andreas Schwab <schwab@redhat.com>
21392
21393 * malloc/arena.c (arena_get2): Don't call reused_arena when
21394 _int_new_arena failed.
21395
6abf3465
UD
213962011-11-14 Ulrich Drepper <drepper@gmail.com>
21397
21398 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21399 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21400 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21401 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21402 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21403 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21404 to compile strcasecmp and strncasecmp.
21405 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21406 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21407
21408 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21409
76e3966e
UD
214102011-11-13 Ulrich Drepper <drepper@gmail.com>
21411
21412 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21413 locale-defines.sym to gen-as-const-headers.
21414 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21415 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21416 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21417 to compile strcasecmp and strncasecmp.
21418 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21419 strcasecmp_l and strncasecmp_l.
21420 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21421 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21422 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21423 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21424 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21425 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21426 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21427 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21428 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21429 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21430 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21431
ab26144e
UD
214322011-11-12 Ulrich Drepper <drepper@gmail.com>
21433
7edb22ef
UD
21434 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21435 result of SYSDEP_GETTIME_CPU to retval.
21436 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21437 parameter list to macro. Remove trailing semicolon. Adjust users.
21438
9694fc44
UD
21439 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21440 variable.
21441
8ad89ef8
UD
21442 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21443 mantissa words.
21444 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21445
0c822ef9
UD
21446 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21447 from unused variable.
21448
874e0564
UD
21449 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21450 DWARF definitions.
21451 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21452 for assembling.
21453
3a2edc79
UD
21454 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21455 over namespaces.
21456
f3c2577f
UD
21457 * sunrpc/rpc_prot.c (rejected): Fix case value.
21458
294ce126
UD
21459 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21460 unsigned long long int to avoid warnings in shift.
21461
5e2b63c6
UD
21462 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21463 of use of trans.
21464 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21465 variable tmp.
21466
e7f4b08e
UD
21467 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21468 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21469 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21470
ab26144e
UD
21471 * nis/nis_table.c (nis_list): Use variable of correct type for
21472 result of __follow_path call.
21473
8a6d5255
AZ
214742011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21475
21476 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21477 of math functions ceil, trunc, floor, round, and sqrt, when
21478 avaliable on the platform.
21479 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21480 name clash.
21481 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21482 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21483 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21484
aaddc98c
MP
214852011-10-30 Marek Polacek <mpolacek@redhat.com>
21486
21487 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21488 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21489
95b7042b
RM
214902011-11-11 Roland McGrath <roland@hack.frob.com>
21491
21492 * include/unistd.h: Fix __readlink return type.
21493 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21494
57769839
UD
214952011-11-11 Ulrich Drepper <drepper@gmail.com>
21496
21497 * stdlib/ucontext.h: Undo last change for makecontext.
21498
edc5984d
AS
214992011-11-11 Andreas Schwab <schwab@redhat.com>
21500
98591e58
AS
21501 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21502
edc5984d
AS
21503 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21504 * setjmp/setjmp.h: Mark functions as non-leaf.
21505 * setjmp/bits/setjmp2.h: Likewise.
21506 * stdlib/ucontext.h: Likewise.
21507
77cdc054
AS
215082011-11-10 Andreas Schwab <schwab@redhat.com>
21509
21510 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21511 (reused_arena): Don't check arena limit.
21512 (arena_get2): Atomically check arena limit.
21513
fe72eebd
UD
215142011-11-08 Ulrich Drepper <drepper@gmail.com>
21515
5f078c32
UD
21516 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21517 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21518
fe72eebd
UD
21519 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21520 instructions.
21521
ae1bc2fa
AS
215222011-11-07 Andreas Schwab <schwab@redhat.com>
21523
7583a88d
AS
21524 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21525 handler when locking.
21526
ae1bc2fa
AS
21527 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21528 Fix size of allocated buffer.
21529
10fb0bfa
AS
215302011-11-04 Andreas Schwab <schwab@redhat.com>
21531
998832a4
AS
21532 [BZ #10103]
21533 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21534 declarations for long double functions.
21535 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21536
10fb0bfa
AS
21537 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21538
3d7ba52b
AS
215392011-11-03 Andreas Schwab <schwab@redhat.com>
21540
a9ae54a1
AS
21541 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21542 installed.
21543
3d7ba52b
AS
21544 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21545 is disabled.
21546
bc8db248
ST
215472011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21548
21549 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21550
45b96dd6
AS
215512011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21552
647776f6
AS
21553 * include/alloca.h (stackinfo_alloca_round): Define.
21554 (extend_alloca): Use it.
21555 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21556 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21557 here.
21558
d91a8b93
AS
21559 * scripts/check-local-headers.sh: Ignore libaudit.h.
21560
45b96dd6
AS
21561 * nscd/Makefile (extra-objs): Make recursively expanded.
21562
432d41ce
UD
215632011-11-01 Ulrich Drepper <drepper@gmail.com>
21564
34372fc6
UD
21565 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21566 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21567
fadb59f8
UD
21568 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21569 * posix/tst-rfc3484-2.c: Likewise.
21570 * posix/tst-rfc3484-3.c: Likewise.
21571
78239589
UD
21572 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21573 process_vm_writev.
21574 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21575 process_vm_writev.
21576 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21577 process_vm_writev from libc using GLIBC_2.15 version.
21578
432d41ce
UD
21579 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21580
02f9c6cf
PP
215812011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21582
21583 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21584 stack usage.
21585
3a2c0242
UD
215862011-10-31 Ulrich Drepper <drepper@gmail.com>
21587
f4ec4833
UD
21588 [BZ #13367]
21589 * nss/getent.c (initgroups_keys): Show error message in case no group
21590 names are given.
21591
3a2c0242
UD
21592 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21593 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21594 __bump_nl_timestamp.
21595 * nscd/connections (nscd_init): When host database is served open
21596 netlink socket and request notification about configuration changes.
21597 (main_loop_poll): Track netlink file descriptor and bump timestamp
21598 in case data becomes available.
21599 (main_loop_epoll): Likewise.
21600 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21601 (database_pers_head): Add extra_data fileds.
21602 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21603 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21604 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21605 Adjust caller.
21606 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21607 in6ai data, call __free_in6ai.
21608 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21609 Add -DHAVE_NETLINK.
21610 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21611 interface information. Reuse previous data if netlink timestamp
21612 is not changed.
21613 (__bump_nl_timestamp): New function.
21614 (__free_in6ai): New function.
21615
636064eb
UD
216162011-10-30 Ulrich Drepper <drepper@gmail.com>
21617
21618 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21619 close_not_cancel_no_status here.
21620 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21621
9beb2334
UD
216222011-10-29 Ulrich Drepper <drepper@gmail.com>
21623
6ef76f3b
UD
21624 [BZ #13276]
21625 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21626 return value.
21627
0ffc4f3e 21628 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21629 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21630 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21631
cb95113e
UD
216322011-07-03 Andreas Jaeger <aj@suse.de>
21633
21634 [BZ #10709]
21635 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21636 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21637 * math/libm-test.inc (sin_test): Add test case.
21638
a1b560ff
UD
216392011-10-29 Ulrich Drepper <drepper@gmail.com>
21640
c9aaface
UD
21641 [BZ #13337]
21642 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21643 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21644
d272e7f1
UD
21645 * elf/chroot_canon.c (chroot_canon): Cleanups.
21646
1bc33071
UD
21647 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21648
1760874d
TJ
21649 [BZ #13335]
21650 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21651 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21652
51d91b18
UD
21653 * string/test-strchr.c: Make usable for strchrnul testing.
21654 * string/test-strchrnul.c: New file.
21655 * string/Makefile (strop-tests): Add strchrnul.
21656
a1b560ff 21657 * po/it.po: Update from translation team.
b611fb81 21658 * po/es.po: Likewise.
a1b560ff 21659
a5b81e1f
UD
216602011-10-28 Ulrich Drepper <drepper@gmail.com>
21661
fd52bc6d
UD
21662 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21663 the three constants needed as parameters. Drop the others.
21664 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21665 __m128i_strloadu_tolower.
52e4b9eb
UD
21666 Create and initialize variable zero and use it in all the places
21667 where _mm_setzero_si128 was used.
fd52bc6d 21668
a5b81e1f
UD
21669 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21670 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21671 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21672 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21673 anymore.
21674 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21675 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21676 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21677 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21678 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21679 __mpranred, __mptan.
21680 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21681 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21682 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21683 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21684 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21685 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21686 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21687 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21688 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21689
b4343346
AS
216902011-10-28 Andreas Schwab <schwab@redhat.com>
21691
0c92d8a8
AS
21692 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21693 redefine if SHARED.
21694 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21695
b4343346
AS
21696 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21697 wide char related routines to wcsmbs subdir.
21698
3871f58f
AS
216992011-10-27 Andreas Schwab <schwab@redhat.com>
21700
21701 [BZ #13344]
21702 * misc/sys/cdefs.h (__THROWNL): Define.
21703 * posix/unistd.h: Use __THREADNL instead of __THREAD
21704 for memory synchronization functions.
21705
94d44d9f
RM
217062011-10-26 Roland McGrath <roland@hack.frob.com>
21707
21b64b15 21708 [BZ #13349]
94d44d9f
RM
21709 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21710 doesn't exist.
21711 * manual/stdio.texi (Obstack Streams): Node removed.
21712
f6ce9294
AS
217132011-10-26 Andreas Schwab <schwab@redhat.com>
21714
80479147
AS
21715 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21716 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21717 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21718
f6ce9294
AS
21719 * math/math_private.h (math_force_eval): Allow non-addressable
21720 arguments.
21721 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21722
618280a1
UD
217232011-10-25 Ulrich Drepper <drepper@gmail.com>
21724
e0016b11
UD
21725 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21726 file is not needed.
21727
21728 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21729 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21730 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21731 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21732 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21733 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21734 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21735 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21736 Add AVX variants.
21737 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21738 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21739 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21740 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21741 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21742 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21743 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21744 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21745 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21746 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21747 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21748 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21749 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21750 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21751 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21752 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21753 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21754 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21755 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21756
21757 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21758 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21759
618280a1
UD
21760 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21761 place. Use VEX encoding when compiling for AVX.
21762
37822576
AS
217632011-10-25 Andreas Schwab <schwab@redhat.com>
21764
1f1e1947
AS
21765 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21766 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21767
37822576
AS
21768 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21769
31ea014d
UD
217702011-10-25 Ulrich Drepper <drepper@gmail.com>
21771
d7826aa1 21772 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21773 useless if() expression.
d7826aa1
UD
21774 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21775 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21776 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21777 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21778 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21779 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21780 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21781 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21782 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21783 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21784 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21785 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21786 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21787 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21788 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21789 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21790 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21792 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21793
31ea014d
UD
21794 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21795
16437fec
AS
217962011-10-25 Andreas Schwab <schwab@redhat.com>
21797
21798 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21799 condition.
21800 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21801
31d3cc00
UD
218022011-10-25 Ulrich Drepper <drepper@gmail.com>
21803
21804 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21805 .text section. Avoid duplicate constants.
21806 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21807 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21808 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21810 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21811 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21812 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21813 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21814 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21815 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21816 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21817 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21818 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21819 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21820 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21821 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21822 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21823 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21824 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21825 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21826 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21827 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21828 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21829 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21830 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21831 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21832 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21833 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21834 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21835 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21836 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21837 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21838 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21839 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21840 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21841 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21842 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21843 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21844 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21845 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21846 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21847 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21848 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21849 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21850 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21851
58985aa9
UD
218522011-10-24 Ulrich Drepper <drepper@gmail.com>
21853
202c9deb
UD
21854 * sysdeps/x86_64/dla.h: Move to ...
21855 * sysdeps/x86_64/fpu/dla.h: ...here.
21856 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21857 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21858
af968f62
UD
21859 * config.make.in: Add have-mfma4 entry.
21860 * configure.in: Substitute libc_cv_cc_fma4.
21861 * math/Makefile (dbl-only-routines): Add sincostab.
21862 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21863 Use __sincostab not sincos.
21864 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21865 name is a macro.
21866 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21867 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21868 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21869 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21870 using __copysign.
21871 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21872 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21873 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21874 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21875 and __inv.
21876 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21877 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21878 __copysign.
21879 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21880 define aliases when function name is a macro.
21881 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21882 sysdeps/ieee754/dbl-64/sincos.tbl.
21883 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21884 fma4-enabled routines.
21885 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21886 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21887 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21888 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21889 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21890 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21891 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21892 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21893 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21894 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21895 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21896 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21897 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21898 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21899 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21900 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21901 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21902 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21903 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21904 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21905 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21906 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21907 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21908 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21909 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21910 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21911 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21912 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21913 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21914 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21915
58985aa9
UD
21916 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21917 rename.
21918 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21919 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21920 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21921 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21922 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21923 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21924 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21925 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21926
a201fbcf
AS
219272011-10-24 Andreas Schwab <schwab@redhat.com>
21928
21929 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21930
fc2ee42a
LD
219312011-10-23 Ulrich Drepper <drepper@gmail.com>
21932
bb3129bd
UD
21933 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21934
0275fff8
UD
21935 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21936 prediction.
21937 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21938
2fa2ae85
UD
21939 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21940 Remove unused variable magic_bits.
21941 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21942
fc2ee42a
LD
21943 * string/strnlen.c: Define and use STRNLEN macro.
21944 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21945 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21946 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21947 * wcsmbs/wcslen.c: Define and use WCSLEN.
21948 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21949 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21950 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21951 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21952 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21953 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21954 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21955
ce7dd29f
LD
219562011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21957
21958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21959 strnlen-sse2-no-bsf.
21960 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21961 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21962 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21963 Add strnlen support.
21964 (USE_AS_STRNLEN): New macro.
21965 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21966 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21967 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21968 * sysdeps/x86_64/wcslen.S: New file.
21969
979c70a3
MZ
219702011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21971
21972 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21973 XMM-moves are used for copying on small sizes.
21974
2d09f82f
LD
219752011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21976
21977 * wcsmbs/Makefile (strop-tests): Add wcschr.
21978 * wcsmbs/test-wcschr.c: New file.
21979 * string/test-strchr.c: Update.
21980 Add wcschr support.
21981 (WIDE): New macro.
21982
619fccca
LD
219832011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21984
2d09f82f 21985 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
21986 * wcsmbs/test-wcslen.c: New file.
21987 * string/test-strlen.c: Update.
21988 Add wcslen support.
21989 (WIDE): New macro.
21990
09f699ea
UD
219912011-10-23 Ulrich Drepper <drepper@gmail.com>
21992
21993 * po/it.po: Update from translation team.
21994
95584d3b
LD
219952011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21996
21997 * sysdeps/x86_64/wcscmp.S: Update.
21998 Fix wrong comparison semantics.
21999 wcscmp shall use signed comparison not unsigned.
22000 Don't use substraction to avoid overflow bug.
22001 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22002 * wcsmbc/wcscmp.c: Likewise.
22003 * string/test-strcmp.c: Likewise.
22004 Add new tests to check cases with negative values.
22005
c8b3296b
UD
220062011-10-23 Ulrich Drepper <drepper@gmail.com>
22007
22008 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22009 * sysdeps/x86_64/dla.h: ...here. New file.
22010 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22011 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22012 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22013 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22014 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22015 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22016 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22017 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22018 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22019
246ad57a
AS
220202011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22021
22022 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22023 __ynl_finite aliases.
22024
a1a87169
UD
220252011-10-22 Ulrich Drepper <drepper@gmail.com>
22026
0d355eb7
UD
22027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22028
a1a87169
UD
22029 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22030 define DLA_FMA.
22031 [DLA_FMA] (EMULV): Use DLA_FMA.
22032 [DLA_FMA] (MUL12): Use EMULV.
22033 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22034 that are not needed.
22035 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22036 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22037 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22038 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22039 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22040 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22041 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22042
ee2aafe0
AS
220432011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22044
22045 * math/s_nan.c: Undef __nan.
22046 * math/s_nanf.c: Undef __nanf.
22047 * math/s_nanl.c: Undef __nanl.
22048 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22049 "math_private.h".
22050
bc62c2fb
UD
220512011-10-22 Ulrich Drepper <drepper@gmail.com>
22052
77425c63
UD
22053 * math/s_catan.c: Add branch predictions.
22054 * math/s_catanf.c: Likewise.
22055 * math/s_catanh.c: Likewise.
22056 * math/s_catanhf.c: Likewise.
22057 * math/s_catanhl.c: Likewise.
22058 * math/s_catanl.c: Likewise.
22059 * math/s_cexp.c: Likewise.
22060 * math/s_cexpf.c: Likewise.
22061 * math/s_cexpl.c: Likewise.
22062 * math/s_clog.c: Likewise.
22063 * math/s_clog10.c: Likewise.
22064 * math/s_clog10f.c: Likewise.
22065 * math/s_clog10l.c: Likewise.
22066 * math/s_clogf.c: Likewise.
22067 * math/s_clogl.c: Likewise.
22068 * math/s_csqrt.c: Likewise.
22069 * math/s_csqrtf.c: Likewise.
22070 * math/s_csqrtl.c: Likewise.
22071 * math/s_ctanf.c: Likewise.
22072 * math/s_ctanh.c: Likewise.
22073 * math/s_ctanhf.c: Likewise.
22074 * math/s_ctanhl.c: Likewise.
22075 * math/s_ctanl.c: Likewise.
22076
bc62c2fb
UD
22077 * math/math_private.h: Define __nan, __nanf, __nanl.
22078 * math/s_cacosh.c: Include <math_private.h>.
22079 * math/s_cacoshl.c: Likewise.
22080 * math/s_casinh.c: Likewise.
22081 * math/s_casinhf.c: Likewise.
22082 * math/s_casinhl.c: Likewise.
22083 * math/s_ccos.c: Rely entire on ccosh.
22084 * math/s_ccosf.c: Rely entire on ccoshf.
22085 * math/s_ccosl.c: Rely entirely on ccoshl.
22086 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22087 Remove tests for FE_INVALID.
22088 * math/s_ccoshf.c: Likewise.
22089 * math/s_ccoshl.c: Likewise.
22090 * math/s_csin.c: Likewise.
22091 * math/s_csinf.c: Likewise.
22092 * math/s_csinh.c Likewise.
22093 * math/s_csinhf.c: Likewise.
22094 * math/s_csinhl.c: Likewise.
22095 * math/s_csinl.c: Likewise.
22096 * math/s_ctan.c: Likewise.
22097 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22098 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22099 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22100
8ec250a4
UD
221012011-10-21 Ulrich Drepper <drepper@gmail.com>
22102
c196fed8
UD
22103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22104 compilation problems.
22105
8ec250a4
UD
22106 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22107 __builtin_expect.
22108
8d4f46c6
UD
221092011-10-20 Ulrich Drepper <drepper@gmail.com>
22110
ed72b654
UD
22111 * sysdeps/i386/configure.in: Test for -mfma4 option.
22112 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22113 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22114 COMMON_CPUID_INDEX_80000001.
22115 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22116 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22117 use it if FMA3 is not supported.
22118 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22119
8d4f46c6
UD
22120 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22121 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22122
d45c60c2
AS
221232011-10-20 Andreas Schwab <schwab@redhat.com>
22124
22125 [BZ #12892]
22126 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22127 it would create a cycle with a link time dependency.
22128
d9a4d2ab
UD
221292011-10-19 Ulrich Drepper <drepper@gmail.com>
22130
855d1560
UD
22131 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22132 instruction.
22133 * string/Makefile (strop-tests): Add rawmemchr.
22134 * string/test-rawmemchr.c: New file.
22135
d9a4d2ab
UD
22136 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22137 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22138 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22139 when compiling str{,n}casecmp and when AVX is available. Hook up
22140 new optimized code in initializers.
22141
8f3b1ffe
AS
221422011-10-19 Andreas Schwab <schwab@redhat.com>
22143
22144 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22145 __feraiseexcept instead of feraiseexcept.
22146
d38f1dba
UD
221472011-10-18 Ulrich Drepper <drepper@gmail.com>
22148
d9a8d0ab
UD
22149 * math/math_private.h: Define defaults for libc_fetestexcept and
22150 libc_feupdateenv.
22151 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22152 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22153 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22154 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22155 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22156 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22157 libc_fetestexcept and libc_feupdateenv.
22158
4855e3dd
UD
22159 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22160 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22161 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22162 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22163 libc_feholdexcept_setround.
22164
581d30e3
UD
22165 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22166 Add s_nearbyint-c and s_nearbyintf-c.
22167 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22168 nearbyintf inlines.
22169 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22170 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22171 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22172 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22173
d38f1dba
UD
22174 * math/math_private.h: Define defaults for libc_fegetround,
22175 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22176 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22177 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22178 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22179 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22180 standard functions.
22181 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22182 Remove comments and hacks for old compiler versions.
22183 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22184 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22185 libc_feholdexceptl.
22186
caa6c9d8
AS
221872011-10-18 Andreas Schwab <schwab@redhat.com>
22188
22189 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22190 (__feraiseexcept_renamed): Add __NTH.
22191 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22192 namespace violations.
22193
97c066e6
UD
221942011-10-17 Ulrich Drepper <drepper@gmail.com>
22195
99ce7b04
UD
22196 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22197
1004d182
UD
22198 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22199
228a984d
UD
22200 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22201 recently added interfaces.
22202 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22203
c8553a6a
UD
22204 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22205 about macro parameter expansion.
22206
ed22dcf6
UD
22207 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22208 __NO_MATH_INLINES is defined. Cleanups.
22209
22210 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22211 and __floorf is target has SSE4.1.
22212 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22213 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22214 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22215 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22216
b171c137
UD
22217 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22218 name.
22219 (floorf): Likewise.
22220
97c066e6
UD
22221 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22222
629f62ef
AS
222232011-10-17 Andreas Schwab <schwab@redhat.com>
22224
49a43d80
AS
22225 * misc/sys/cdefs.h: Fix last change.
22226
629f62ef
AS
22227 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22228 database lookup.
22229
e453f6cd
UD
222302011-10-16 Ulrich Drepper <drepper@gmail.com>
22231
aa78043a
UD
22232 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22233
ad0f5cad
UD
22234 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22235 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22236 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22237 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22238 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22239 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22240 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22241 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22242 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22243 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22244 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22245 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22246 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22247 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22248 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22249 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22250 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22251 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22252 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22253 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22254 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22255 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22256
22257 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22258 ceil, ceilf, floor, floorf.
22259
22260 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22261 Perform IRELATIVE relocations last.
22262
e453f6cd
UD
22263 * elf/do-rel.h: Add another parameter nrelative, replacing the
22264 local variable with the same name. Change name of the function
22265 to end in Rel or Rela (uppercase).
22266 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22267 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22268 elf_dynamic_do_##reloc function.
22269
fd5bdc09
UD
222702011-10-15 Ulrich Drepper <drepper@gmail.com>
22271
79b195b5
UD
22272 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22273 is sufficient, at least on modern CPUs.
22274
d4a28569
UD
22275 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22276
b61099b5
UD
22277 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22278 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22279
bcf01e6d
UD
22280 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22281 __expl_finite.
22282 * math/bits/math-finite.h: Add entries for exp.
22283 * math/e_expl.c: Add __*_finite alias.
22284 * sysdeps/i386/fpu/e_exp.S: Likewise.
22285 * sysdeps/i386/fpu/e_expf.S: Likewise.
22286 * sysdeps/i386/fpu/e_expl.c: Likewise.
22287 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22288 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22289 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22290 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22291 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22292 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22293 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22294
ba1a0d59
UD
22295 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22296 is sufficient, at least on modern CPUs.
22297
fd5bdc09
UD
22298 * ctype/ctype-info.c (__ctype_init): Define.
22299 * include/ctype.h (__ctype_init): Declare.
22300 (__ctype_b_loc): The variable is always initialized.
22301 (__ctype_toupper_loc): Likewise.
22302 (__ctype_tolower_loc): Likewise.
22303 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22304 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22305
7872cfb0
AS
223062011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22307
b468825a
AS
22308 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22309
7872cfb0
AS
22310 * configure.in: Also look in $cxxmachine/include for C++ system
22311 headers.
22312
be13f7bf
LD
223132011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22314
22315 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22316 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22317 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22318 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22319 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22320 (USE_AS_WMEMCMP): New macro.
22321 Fixing indents.
22322 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22323 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22324 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22325 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22326 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22327 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22328 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22329 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22330 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22331 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22332 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22333 (USE_AS_WMEMCMP): New macro.
22334 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22335 * sysdeps/string/test-memcmp.c: Update.
22336 Fix simple_wmemcmp.
22337 Add new tests.
22338 * wcsmbs/wmemcmp.c: Update.
22339 (WMEMCMP): New macro.
22340 Fix overflow bug.
22341
556a2007
AJ
223422011-10-12 Andreas Jaeger <aj@suse.de>
22343
22344 [BZ #13268]
22345 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22346
538faaa7
UD
223472011-10-15 Ulrich Drepper <drepper@gmail.com>
22348
ab6737ff
UD
22349 * libio/iofwide.c (do_length): Avoid warning.
22350
538faaa7
UD
22351 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22352
396a21b1
UD
223532011-10-14 Ulrich Drepper <drepper@gmail.com>
22354
cdf2901f
UD
22355 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22356
38ad40ce
UD
22357 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22358 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22359 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22360 * sysdeps/i386/i686/fpu/e_log.S: New file.
22361 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22362 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22363
396a21b1
UD
22364 * ctype/ctype.h: Add support for inlined isXXX functions when
22365 compiling C++ code.
22366
6b1f68c9
AS
223672011-10-14 Andreas Schwab <schwab@redhat.com>
22368
349290c0
AS
22369 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22370
6b1f68c9
AS
22371 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22372
f2282d42
RM
223732011-10-13 Roland McGrath <roland@hack.frob.com>
22374
22375 [BZ #13291]
22376 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22377
5298ffa8
AS
223782011-10-13 Andreas Schwab <schwab@redhat.com>
22379
714fad23
AS
22380 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22381 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22382 feraiseexcept.
22383
81dcc7fb
AS
22384 * sysdeps/x86_64/memrchr.S: Check for zero size.
22385
5298ffa8
AS
22386 * string/stratcliff.c: Add memrchr tests.
22387
951fbcec
LD
223882011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22389
22390 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22391 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22392 rawmemchr-sse2 rawmemchr-sse2-bsf.
22393 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22394 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22395 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22396 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22397 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22398 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22399 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22400 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22401 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22402 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22403 * string/memrchr.c (MEMRCHR): New macro.
22404
0ac5ae23
UD
224052011-10-12 Ulrich Drepper <drepper@gmail.com>
22406
22407 Add integration with gcc's -ffinite-math-only and optimize wrapper
22408 functions in libm.
22409 * Versions.def: Define GLIBC_2.15 version for libm.
22410 * math/Makefile (headers): Add bits/math-finite.h.
22411 * math/bits/math-finite.h: New file.
22412 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22413 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22414 * math/e_acoshl.c: Add __*_finite alias.
22415 * math/e_acosl.c: Likewise.
22416 * math/e_asinl.c: Likewise.
22417 * math/e_atan2l.c: Likewise.
22418 * math/e_atanhl.c: Likewise.
22419 * math/e_coshl.c: Likewise.
22420 * math/e_exp10.c: Likewise.
22421 * math/e_exp10f.c: Likewise.
22422 * math/e_exp10l.c: Likewise.
22423 * math/e_exp2l.c: Likewise.
22424 * math/e_fmodl.c: Likewise.
22425 * math/e_gammal_r.c: Likewise.
22426 * math/e_hypotl.c: Likewise.
22427 * math/e_j0l.c: Likewise.
22428 * math/e_j1l.c: Likewise.
22429 * math/e_jnl.c: Likewise.
22430 * math/e_lgammal_r.c: Likewise.
22431 * math/e_log10l.c: Likewise.
22432 * math/e_log2l.c: Likewise.
22433 * math/e_logl.c: Likewise.
22434 * math/e_powl.c: Likewise.
22435 * math/e_sinhl.c: Likewise.
22436 * math/e_sqrtl.c: Likewise.
22437 * math/e_scalb.c: Completely rewritten and optimized.
22438 * math/e_scalbf.c: Likewise.
22439 * math/e_scalbl.c: Likewise.
22440 * math/w_acos.c: Likewise.
22441 * math/w_acosf.c: Likewise.
22442 * math/w_acosl.c: Likewise.
22443 * math/w_acosh.c: Likewise.
22444 * math/w_acoshf.c: Likewise.
22445 * math/w_acoshl.c: Likewise.
22446 * math/w_asin.c: Likewise.
22447 * math/w_asinf.c: Likewise.
22448 * math/w_asinl.c: Likewise.
22449 * math/w_atan2.c: Likewise.
22450 * math/w_atan2f.c: Likewise.
22451 * math/w_atan2l.c: Likewise.
22452 * math/w_atanh.c: Likewise.
22453 * math/w_atanhf.c: Likewise.
22454 * math/w_atanhl.c: Likewise.
22455 * math/w_exp10.c: Likewise.
22456 * math/w_exp10f.c: Likewise.
22457 * math/w_exp10l.c: Likewise.
22458 * math/w_fmod.c: Likewise.
22459 * math/w_fmodf.c: Likewise.
22460 * math/w_fmodl.c: Likewise.
22461 * math/w_j0.c: Likewise.
22462 * math/w_j0f.c: Likewise.
22463 * math/w_j0l.c: Likewise.
22464 * math/w_j1.c: Likewise.
22465 * math/w_j1f.c: Likewise.
22466 * math/w_j1l.c: Likewise.
22467 * math/w_jn.c: Likewise.
22468 * math/w_jnf.c: Likewise.
22469 * math/w_log.c: Likewise.
22470 * math/w_logf.c: Likewise.
22471 * math/w_logl.c: Likewise.
22472 * math/w_log10.c: Likewise.
22473 * math/w_log10f.c: Likewise.
22474 * math/w_log10l.c: Likewise.
22475 * math/w_log2.c: Likewise.
22476 * math/w_log2f.c: Likewise.
22477 * math/w_log2l.c: Likewise.
22478 * math/w_pow.c: Likewise.
22479 * math/w_powf.c: Likewise.
22480 * math/w_powl.c: Likewise.
22481 * math/w_remainder.c: Likewise.
22482 * math/w_remainderf.c: Likewise.
22483 * math/w_remainderl.c: Likewise.
22484 * math/w_scalb.c: Likewise.
22485 * math/w_scalbf.c: Likewise.
22486 * math/w_scalbl.c: Likewise.
22487 * math/w_sqrt.c: Likewise.
22488 * math/w_sqrtf.c: Likewise.
22489 * math/w_sqrtl.c: Likewise.
22490 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22491 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22492 used.
22493 * math/math_private.h: Declare __kernel_standard_f.
22494 * math/w_cosh.c: Remove cruft and optimize a bit.
22495 * math/w_coshf.c: Likewise.
22496 * math/w_coshl.c: Likewise.
22497 * math/w_exp2.c: Likewise.
22498 * math/w_exp2f.c: Likewise.
22499 * math/w_exp2l.c: Likewise.
22500 * math/w_hypot.c: Likewise.
22501 * math/w_hypotf.c: Likewise.
22502 * math/w_hypotl.c: Likewise.
22503 * math/w_lgamma.c: Likewise.
22504 * math/w_lgamma_r.c: Likewise.
22505 * math/w_lgammaf.c: Likewise.
22506 * math/w_lgammaf_r.c: Likewise.
22507 * math/w_lgammal.c: Likewise.
22508 * math/w_lgammal_r.c: Likewise.
22509 * math/w_sinh.c: Likewise.
22510 * math/w_sinhf.c: Likewise.
22511 * math/w_sinhl.c: Likewise.
22512 * math/w_tgamma.c: Likewise.
22513 * math/w_tgammaf.c: Likewise.
22514 * math/w_tgammal.c: Likewise.
22515 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22516 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22517 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22518 Minor optimizations. Pretty printing. Remove cruft.
22519 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22520 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22521 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22522 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22523 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22524 * sysdeps/i386/fpu/e_asin.S: Likewise.
22525 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22526 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22527 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22528 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22529 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22530 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22531 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22532 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22533 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22534 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22535 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22536 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22537 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22538 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22539 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22540 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22541 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22542 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22543 * sysdeps/i386/fpu/e_log.S: Likewise.
22544 * sysdeps/i386/fpu/e_log10.S: Likewise.
22545 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22546 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22547 * sysdeps/i386/fpu/e_log2.S: Likewise.
22548 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22549 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22550 * sysdeps/i386/fpu/e_logf.S: Likewise.
22551 * sysdeps/i386/fpu/e_logl.S: Likewise.
22552 * sysdeps/i386/fpu/e_pow.S: Likewise.
22553 * sysdeps/i386/fpu/e_powf.S: Likewise.
22554 * sysdeps/i386/fpu/e_powl.S: Likewise.
22555 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22556 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22557 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22558 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22559 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22560 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22561 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22562 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22563 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22564 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22565 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22566 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22567 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22568 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22569 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22570 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22571 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22572 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22573 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22574 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22575 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22576 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22577 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22578 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22579 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22580 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22581 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22582 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22583 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22584 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22585 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22586 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22587 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22588 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22589 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22590 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22591 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22592 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22593 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22594 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22595 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22596 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22597 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22598 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22599 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22600 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22601 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22602 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22603 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22604 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22605 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22606 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22607 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22608 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22609 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22610 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22611 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22612 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22613 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22614 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22615 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22616 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22617 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22618 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22619 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22621 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22622 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22623 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22624 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22625 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22626 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22627 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22628 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22629 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22630 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22631 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22632 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22633 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22634 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22635 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22636 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22637 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22638 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22639 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22640 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22641 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22642 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22643 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22644 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22645 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22646 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22647 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22648 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22649 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22650 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22651 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22652 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22653 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22655 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22656 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22657 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22658 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22659 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22660 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22661 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22662 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22663 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22664 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22665 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22666 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22667 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22668 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22669 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22670 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22671 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22672 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22673 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22674 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22675 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22676 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22677 (__isnanf): Likewise.
22678 (__isinf_ns): Likewise.
22679 (__isinf_nsf): Likewise.
22680 (__finite): Likewise.
22681 (__finitef): Likewise.
22682 (__ieee754_sqrt): Define as macro.
22683 (__ieee754_sqrtf): Define as macro.
22684 (__ieee754_sqrtl): Define as macro.
22685 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22686 inlined copy.
22687 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22688 __FINITE_MATH_ONLY__ consistent.
22689 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22690
12cc2fcd
AS
226912011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22692
a843a204
AS
22693 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22694 of rawmemchr.
22695
12cc2fcd
AS
22696 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22697
c853acd5
UD
226982011-10-09 Ulrich Drepper <drepper@gmail.com>
22699
22700 * po/ja.po: Update from translation team.
22701
c658d255
RM
227022011-10-08 Roland McGrath <roland@hack.frob.com>
22703
110946e4
RM
22704 * locale/programs/locarchive.c (prepare_address_space): New function.
22705 (create_archive, enlarge_archive, open_archive): Use it.
22706
50604220
RM
22707 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22708 inside [SHARED], where it is used.
22709
c658d255
RM
22710 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22711
22712 * nss/getent.c (netgroup_keys): Remove unused variable.
22713 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22714
6a621eb7
UD
227152011-10-08 Ulrich Drepper <drepper@gmail.com>
22716
7edb55ce
UD
22717 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22718 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22719 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22720 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22721 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22722 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22723 * math/Makefile (libm-calls): Add s_isinf_ns.
22724 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22725 * math/multc3.c: Likewise.
22726 * math/s_casin.c: Likewise.
22727 * math/s_casinf.c: Likewise.
22728 * math/s_casinl.c: Likewise.
22729 * math/s_ccos.c: Likewise.
22730 * math/s_ccosf.c: Likewise.
22731 * math/s_ccosl.c: Likewise.
22732 * math/s_ctan.c: Likewise.
22733 * math/s_ctanf.c: Likewise.
22734 * math/s_ctanh.c: Likewise.
22735 * math/s_ctanhf.c: Likewise.
22736 * math/s_ctanhl.c: Likewise.
22737 * math/s_ctanl.c: Likewise.
22738 * math/w_fmod.c: Likewise.
22739 * math/w_fmodf.c: Likewise.
22740 * math/w_fmodl.c: Likewise.
22741 * math/w_remainder.c: Likewise.
22742 * math/w_remainderf.c: Likewise.
22743 * math/w_remainderl.c: Likewise.
22744 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22745 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22746 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22747 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22748 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22749 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22750 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22751 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22752
187da0ae
UD
22753 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22754 of the number.
22755 * stdio-common/printf_fphex.c: Likewise.
22756 * stdio-common/printf_size.c: Likewise.
22757
9277c064
UD
22758 * math/e_exp10.c: Include math_private.h using <...> not "...".
22759 * math/e_exp10f.c: Likewise.
22760 * math/e_exp10l.c: Likewise.
22761 * math/e_exp2l.c: Likewise.
22762 * math/e_j0l.c: Likewise.
22763 * math/e_j1l.c: Likewise.
22764 * math/e_jnl.c: Likewise.
22765 * math/e_lgammal_r.c: Likewise.
22766 * math/e_rem_pio2l.c: Likewise.
22767 * math/e_scalb.c: Likewise.
22768 * math/e_scalbf.c: Likewise.
22769 * math/e_scalbl.c: Likewise.
22770 * math/k_cosl.c: Likewise.
22771 * math/k_sinl.c: Likewise.
22772 * math/k_tanl.c: Likewise.
22773 * math/s_cacoshf.c: Likewise.
22774 * math/s_catan.c: Likewise.
22775 * math/s_catanf.c: Likewise.
22776 * math/s_catanh.c: Likewise.
22777 * math/s_catanhf.c: Likewise.
22778 * math/s_catanhl.c: Likewise.
22779 * math/s_catanl.c: Likewise.
22780 * math/s_ccosh.c: Likewise.
22781 * math/s_ccoshf.c: Likewise.
22782 * math/s_ccoshl.c: Likewise.
22783 * math/s_cexp.c: Likewise.
22784 * math/s_cexpf.c: Likewise.
22785 * math/s_cexpl.c: Likewise.
22786 * math/s_clog.c: Likewise.
22787 * math/s_clog10.c: Likewise.
22788 * math/s_clog10f.c: Likewise.
22789 * math/s_clog10l.c: Likewise.
22790 * math/s_clogf.c: Likewise.
22791 * math/s_clogl.c: Likewise.
22792 * math/s_csin.c: Likewise.
22793 * math/s_csinf.c: Likewise.
22794 * math/s_csinh.c: Likewise.
22795 * math/s_csinhf.c: Likewise.
22796 * math/s_csinhl.c: Likewise.
22797 * math/s_csinl.c: Likewise.
22798 * math/s_csqrt.c: Likewise.
22799 * math/s_csqrtf.c: Likewise.
22800 * math/s_csqrtl.c: Likewise.
22801 * math/s_ctan.c: Likewise.
22802 * math/s_ctanf.c: Likewise.
22803 * math/s_ctanh.c: Likewise.
22804 * math/s_ctanhf.c: Likewise.
22805 * math/s_ctanhl.c: Likewise.
22806 * math/s_ctanl.c: Likewise.
22807 * math/s_ldexp.c: Likewise.
22808 * math/s_ldexpf.c: Likewise.
22809 * math/s_ldexpl.c: Likewise.
22810 * math/s_significand.c: Likewise.
22811 * math/s_significandf.c: Likewise.
22812 * math/s_significandl.c: Likewise.
22813 * math/w_acos.c: Likewise.
22814 * math/w_acosf.c: Likewise.
22815 * math/w_acosh.c: Likewise.
22816 * math/w_acoshf.c: Likewise.
22817 * math/w_acoshl.c: Likewise.
22818 * math/w_acosl.c: Likewise.
22819 * math/w_asin.c: Likewise.
22820 * math/w_asinf.c: Likewise.
22821 * math/w_asinl.c: Likewise.
22822 * math/w_atan2.c: Likewise.
22823 * math/w_atan2f.c: Likewise.
22824 * math/w_atan2l.c: Likewise.
22825 * math/w_atanh.c: Likewise.
22826 * math/w_atanhf.c: Likewise.
22827 * math/w_atanhl.c: Likewise.
22828 * math/w_cosh.c: Likewise.
22829 * math/w_coshf.c: Likewise.
22830 * math/w_coshl.c: Likewise.
22831 * math/w_dremf.c: Likewise.
22832 * math/w_exp10.c: Likewise.
22833 * math/w_exp10f.c: Likewise.
22834 * math/w_exp10l.c: Likewise.
22835 * math/w_exp2.c: Likewise.
22836 * math/w_exp2f.c: Likewise.
22837 * math/w_fmod.c: Likewise.
22838 * math/w_fmodf.c: Likewise.
22839 * math/w_fmodl.c: Likewise.
22840 * math/w_hypot.c: Likewise.
22841 * math/w_hypotf.c: Likewise.
22842 * math/w_hypotl.c: Likewise.
22843 * math/w_j0.c: Likewise.
22844 * math/w_j0f.c: Likewise.
22845 * math/w_j0l.c: Likewise.
22846 * math/w_j1.c: Likewise.
22847 * math/w_j1f.c: Likewise.
22848 * math/w_j1l.c: Likewise.
22849 * math/w_jn.c: Likewise.
22850 * math/w_jnf.c: Likewise.
22851 * math/w_jnl.c: Likewise.
22852 * math/w_lgamma.c: Likewise.
22853 * math/w_lgamma_r.c: Likewise.
22854 * math/w_lgammaf.c: Likewise.
22855 * math/w_lgammaf_r.c: Likewise.
22856 * math/w_lgammal.c: Likewise.
22857 * math/w_lgammal_r.c: Likewise.
22858 * math/w_log.c: Likewise.
22859 * math/w_log10.c: Likewise.
22860 * math/w_log10f.c: Likewise.
22861 * math/w_log10l.c: Likewise.
22862 * math/w_log2.c: Likewise.
22863 * math/w_log2f.c: Likewise.
22864 * math/w_log2l.c: Likewise.
22865 * math/w_logf.c: Likewise.
22866 * math/w_logl.c: Likewise.
22867 * math/w_pow.c: Likewise.
22868 * math/w_powf.c: Likewise.
22869 * math/w_powl.c: Likewise.
22870 * math/w_remainder.c: Likewise.
22871 * math/w_remainderf.c: Likewise.
22872 * math/w_remainderl.c: Likewise.
22873 * math/w_scalb.c: Likewise.
22874 * math/w_scalbf.c: Likewise.
22875 * math/w_scalbl.c: Likewise.
22876 * math/w_sinh.c: Likewise.
22877 * math/w_sinhf.c: Likewise.
22878 * math/w_sinhl.c: Likewise.
22879 * math/w_sqrt.c: Likewise.
22880 * math/w_sqrtf.c: Likewise.
22881 * math/w_sqrtl.c: Likewise.
22882 * math/w_tgamma.c: Likewise.
22883 * math/w_tgammaf.c: Likewise.
22884 * math/w_tgammal.c: Likewise.
22885
6a621eb7
UD
22886 * po/ja.po: Update from translation team.
22887
bf582445
AJ
228882011-09-29 Andreas Jaeger <aj@suse.de>
22889
f9efbf3a
AJ
22890 [BZ #13179]
22891 * sunrpc/netname.c (netname2host): Fix logic.
22892
bf582445
AJ
22893 [BZ #6779]
22894 [BZ #6783]
22895 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22896 correctly.
22897 * math/w_remainder.c (__remainder): Likewise.
22898 * math/w_remainderf.c (__remainderf): Likewise.
22899 * math/libm-test.inc (remainder_test): Add test cases.
22900
48693bea
AK
229012011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22902
22903 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22904 sdiv_qrnnd.
22905
42622229
LD
229062011-10-07 Ulrich Drepper <drepper@gmail.com>
22907
22908 * string/test-memcmp.c: Avoid unncessary #defines.
22909 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22910
093ecf92
LD
229112011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22912
22913 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22914 Use new sse2 version for core i3 - i7 as it's faster
22915 than sse42 version.
22916 (bit_Prefer_PMINUB_for_stringop): New.
22917 * sysdeps/x86_64/rawmemchr.S: Update.
22918 Replace with faster SSE2 version.
22919 * sysdeps/x86_64/memrchr.S: New file.
22920 * sysdeps/x86_64/memchr.S: Update.
22921 Replace with faster SSE2 version.
22922
fde56e5c
MP
229232011-09-12 Marek Polacek <mpolacek@redhat.com>
22924
22925 * elf/dl-load.c (lose): Add cast to avoid warning.
22926
21fd49a9
UD
229272011-10-07 Ulrich Drepper <drepper@gmail.com>
22928
5a06e643
UD
22929 * po/ca.po: Update from translation team.
22930
684ae515
UD
22931 * inet/getnetgrent_r.c: Hook up nscd.
22932 * nscd/Makefile (routines): Add nscd_netgroup.
22933 (nscd-modules): Add netgroupcache.
22934 (CFLAGS-netgroupcache.c): Define.
22935 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22936 (cache_search): Add const to second parameter.
22937 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22938 INNETGR.
22939 (dbs): Add netgrdb entry.
22940 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22941 (verify_persistent_db): Handle netgrdb.
22942 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22943 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22944 GETFDNETGR.
22945 (netgroup_response_header): Define.
22946 (innetgroup_response_header): Define.
22947 (datahead): Add netgroup_response_header and innetgroup_response_header
22948 elements.
22949 * nscd/nscd.conf: Add entries for netgroup cache.
22950 * nscd/nscd.h (dbtype): Add netgrdb.
22951 (_PATH_NSCD_NETGROUP_DB): Define.
22952 (netgroup_iov_disabled): Declare.
22953 (xmalloc, xcalloc, xrealloc): Move declarations here.
22954 (cache_search): Adjust prototype.
22955 Add netgroup-related prototypes.
22956 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22957 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22958 (__nscd_innetgr): Declare.
22959 * nscd/selinux.c (perms): Use access_vector_t as element type and
22960 add netgroup-related initializers.
22961 * nscd/netgroupcache.c: New file.
22962 * nscd/nscd_netgroup.c: New file.
22963 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22964 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22965 For four parameters use innetgr.
22966 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22967 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22968 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22969 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22970
21fd49a9
UD
22971 * nscd/connections.c (register_traced_file): Don't register file
22972 for disabled databases.
22973
054c0457
UD
229742011-10-06 Ulrich Drepper <drepper@gmail.com>
22975
32b63198
UD
22976 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22977
054c0457
UD
22978 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22979 from tree and freeing node.
22980
64031225
JO
229812011-09-25 Jiri Olsa <jolsa@redhat.com>
22982
22983 * nss/nsswitch.c (__nss_database_lookup): Handle
22984 nss_parse_service_list out of memory case.
22985
0490345c
JO
229862011-09-15 Jiri Olsa <jolsa@redhat.com>
22987
22988 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22989 out of memory case.
22990
3a62d00d
AS
229912011-10-04 Andreas Schwab <schwab@redhat.com>
22992
22993 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22994 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22995 pass it down.
22996 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22997 elf_machine_rela, elf_machine_lazy_rel.
22998 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22999 (ELF_DYNAMIC_DO_REL): Likewise.
23000 (ELF_DYNAMIC_DO_RELA): Likewise.
23001 (ELF_DYNAMIC_RELOCATE): Likewise.
23002 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23003 to ELF_DYNAMIC_DO_REL.
23004 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23005 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23006 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23007 elf_machine_rela.
23008 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23009 skip_ifunc, don't call ifunc function if non-zero.
23010 (elf_machine_rela): Likewise.
23011 (elf_machine_lazy_rel): Likewise.
23012 (elf_machine_lazy_rela): Likewise.
23013 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23014 (elf_machine_lazy_rel): Likewise.
23015 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23016 Likewise.
23017 (elf_machine_lazy_rel): Likewise.
23018 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23019 Likewise.
23020 (elf_machine_lazy_rel): Likewise.
23021 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23022 (elf_machine_lazy_rel): Likewise.
23023 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23024 (elf_machine_lazy_rel): Likewise.
23025 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23026 (elf_machine_lazy_rel): Likewise.
23027 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23028 (elf_machine_lazy_rel): Likewise.
23029 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23030 (elf_machine_lazy_rel): Likewise.
23031 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23032 (elf_machine_lazy_rel): Likewise.
23033
68577918
UD
230342011-09-28 Ulrich Drepper <drepper@gmail.com>
23035
23036 * nss/nss_files/files-init.c (_nss_files_init): Use static
23037 initialization for all the *_traced_file variables.
23038
68822d74
AS
230392011-09-28 Andreas Schwab <schwab@redhat.com>
23040
23041 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23042
2056100b
RM
230432011-09-27 Roland McGrath <roland@hack.frob.com>
23044
23045 [BZ #13226]
23046 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23047
32c76b63
AS
230482011-09-27 Andreas Schwab <schwab@redhat.com>
23049
23050 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23051 Reread the line before reparsing it.
23052
bf972c9d
AS
230532011-09-26 Andreas Schwab <schwab@redhat.com>
23054
23055 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23056
e057a1b5
JM
230572011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23058 Maxim Kuvyrkov <maxim@codesourcery.com>
23059 Joseph Myers <joseph@codesourcery.com>
23060
23061 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23062 if needed for __stack_chk_guard.
23063
bc7e1c36
RM
230642011-09-19 Roland McGrath <roland@hack.frob.com>
23065
ecb1482f
RM
23066 * sysdeps/posix/spawni.c (script_execute): Always define it.
23067 It will be optimized away if unused.
23068 (maybe_script_execute): New function.
23069 (__spawni): Call it.
23070
bc7e1c36
RM
23071 * Makerules: Don't include tls.make.
23072 (config-tls): Always set to thread.
23073 * tls.make.c: File removed.
23074
1c3b002b
MF
230752011-09-19 Mike Frysinger <vapier@gentoo.org>
23076
23077 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23078 * config.make.in (CPPFLAGS-config): New substituted variable.
23079
2840865d
UD
230802011-09-15 Ulrich Drepper <drepper@gmail.com>
23081
88738eb6
UD
23082 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23083
cbf645a6 23084 [BZ #13192]
2840865d
UD
23085 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23086 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23087
b402e91a
RM
230882011-09-15 Roland McGrath <roland@hack.frob.com>
23089
23090 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23091 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23092 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23093 (CALL_FAIL): Likewise.
23094 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23095 (CALL_FAIL): Macro removed.
23096 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23097
4c1a1f71
UD
230982011-09-15 Ulrich Drepper <drepper@gmail.com>
23099
23100 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23101 for __FINITE_MATH_ONLY__ == 1.
23102
edc121be
AS
231032011-09-15 Andreas Schwab <schwab@redhat.com>
23104
23105 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23106 __ieee754_sqrt instead of sqrt.
23107 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23108 __ieee754_sqrtf instead of sqrtf.
23109 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23110 __floorf instead of floorf.
23111 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23112 __floorf, __truncf instead of floorf, truncf.
23113
cd205654
UD
231142011-09-14 Ulrich Drepper <drepper@gmail.com>
23115
ee4d0315
UD
23116 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23117
cd205654
UD
23118 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23119 __extern_always_inline.
23120 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23121 32-bit.
23122
48b67d71
AS
231232011-09-14 Andreas Schwab <schwab@redhat.com>
23124
23125 * elf/rtld.c (dl_main): Also relocate in dependency order when
23126 doing symbol dependency testing.
23127
1ae12c75
AS
231282011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23129
23130 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23131 Always define `refsym'.
23132
995a80df
AS
231332011-09-13 Andreas Schwab <schwab@redhat.com>
23134
e529793b
AS
23135 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23136 (__FD_ELT): Renamed from __FDELT.
23137 * misc/bits/select2.h (__FD_ELT): Likewise.
23138 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23139 __FD_MASK instead of __FDELT, __FDMASK.
23140 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23141 Likewise.
23142 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23143 Likewise.
23144
52d4fef8
AS
23145 * elf/Makefile (gen-ldd): Fix pattern.
23146
995a80df
AS
23147 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23148 (init_tls): Likewise.
23149
8682f8b0
UD
231502011-09-12 Ulrich Drepper <drepper@gmail.com>
23151
23152 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23153
de82006d
AS
231542011-09-12 Andreas Schwab <schwab@redhat.com>
23155
a7c8e6a1
AS
23156 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23157 `struct cmsghdr *' instead of `void *'.
23158 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23159 Likewise.
23160
0f31fe77
AS
231612011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23162
23163 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23164 if non-absolute.
23165 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23166 ldd_rewrite_script.
0f31fe77 23167
32b4c839
UD
231682011-09-11 Ulrich Drepper <drepper@gmail.com>
23169
83cd1420
UD
23170 * configure.in: Remove --with-tls option.
23171 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23172 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23173 out in case it is missing.
23174 * sysdeps/ia64/elf/configure.in: Likewise.
23175 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23176 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23177 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23178 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23179 * sysdeps/sh/elf/configure.in: Likewise.
23180 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23181 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23182 * sysdeps/x86_64/elf/configure.in: Likewise.
23183 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23184 * sysdeps/mach/hurd/tls.h: Likewise.
23185
633f745d
UD
23186 [BZ #13067]
23187 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23188
f318beb8
UD
23189 [BZ #13090]
23190 * configure.in: Fix use of AC_INIT.
23191
32b4c839
UD
23192 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23193
3ce1f295
UD
231942011-09-10 Ulrich Drepper <drepper@gmail.com>
23195
bb016596
UD
23196 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23197 __set_errno.
8e58439c
UD
23198 * malloc/hooks.c: Likewise.
23199
aebae053 23200 [BZ #11929]
02d46fc4
UD
23201 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23202 variables statically.
23203 (narenas): Initialize.
23204 (list_lock): Initialize.
bb016596
UD
23205 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23206 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23207 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23208 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23209 Add initializers to main_arena and mp_.
23210 (malloc_state): Remove pagesize member. Change all users to use
23211 GLRO(dl_pagesize).
23212
23213 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23214 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23215 is always initialized.
23216
22a89187
UD
23217 * malloc/malloc.c: Removed unused configurations and dead code.
23218 * malloc/arena.c: Likewise.
23219 * malloc/hooks.c: Likewise.
02d46fc4 23220 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23221
d063d164
UD
23222 * include/tls.h: Removed. USE___THREAD must always be defined.
23223 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23224 * elf/dl-libc.c: Likewise.
23225 * elf/dl-tsd.c: Likewise.
23226 * include/errno.h: Likewise.
23227 * include/netdb.h: Likewise.
23228 * include/resolv.h: Likewise.
23229 * inet/herrno-loc.c: Likewise.
23230 * inet/herrno.c: Likewise.
23231 * malloc/arena.c: Likewise.
23232 * malloc/hooks.c: Likewise.
23233 * malloc/malloc.c: Likewise.
23234 * resolv/res-state.c: Likewise.
23235 * resolv/res_libc.c: Likewise.
23236 * sysdeps/i386/dl-machine.h: Likewise.
23237 * sysdeps/ia64/dl-machine.h: Likewise.
23238 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23239 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23240 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23241 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23242 * sysdeps/sh/dl-machine.h: Likewise.
23243 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23244 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23245 * sysdeps/unix/i386/sysdep.S: Likewise.
23246 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23247 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23248 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23249 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23250 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23251 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23252 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23253 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23254 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23255 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23256 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23257 * sysdeps/x86_64/dl-machine.h: Likewise.
23258 * tls.make.c: Likewise.
23259
3ce1f295
UD
23260 * configure.in: Remove --with-__thread option. Make tests for
23261 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23262 tls_model attribute fail if no support is available. Remove
23263 USE_IN_LIBIO.
23264 * Makeconfig: Adjust for dropped configure option. All features are
23265 now mandatory.
23266 * Makerules: Likewise.
23267 * Versions.def: Likewise.
23268 * argp/argp-fmtstream.c: Likewise.
23269 * argp/argp-fmtstream.h: Likewise.
23270 * argp/argp-help.c: Likewise.
23271 * assert/assert.c: Likewise.
23272 * config.h.in: Likewise.
23273 * config.make.in: Likewise.
23274 * configure: Likewise.
23275 * configure.in: Likewise.
23276 * csu/Versions: Likewise.
23277 * csu/init.c: Likewise.
23278 * elf/tst-audit2.c: Likewise.
23279 * elf/tst-tls10.c: Likewise.
23280 * elf/tst-tls10.h: Likewise.
23281 * elf/tst-tls11.c: Likewise.
23282 * elf/tst-tls12.c: Likewise.
23283 * elf/tst-tls14.c: Likewise.
23284 * elf/tst-tlsmod11.c: Likewise.
23285 * elf/tst-tlsmod12.c: Likewise.
23286 * elf/tst-tlsmod13.c: Likewise.
23287 * elf/tst-tlsmod13a.c: Likewise.
23288 * elf/tst-tlsmod14a.c: Likewise.
23289 * elf/tst-tlsmod15b.c: Likewise.
23290 * elf/tst-tlsmod16a.c: Likewise.
23291 * elf/tst-tlsmod16b.c: Likewise.
23292 * elf/tst-tlsmod7.c: Likewise.
23293 * elf/tst-tlsmod8.c: Likewise.
23294 * elf/tst-tlsmod9.c: Likewise.
23295 * gmon/gmon.c: Likewise.
23296 * grp/fgetgrent_r.c: Likewise.
23297 * grp/putgrent.c: Likewise.
23298 * hurd/fopenport.c: Likewise.
23299 * include/libc-symbols.h: Likewise.
23300 * include/tls.h: Likewise.
23301 * intl/gettextP.h: Likewise.
23302 * intl/loadinfo.h: Likewise.
23303 * locale/global-locale.c: Likewise.
23304 * locale/localeinfo.h: Likewise.
23305 * mach/devstream.c: Likewise.
23306 * malloc/arena.c: Likewise.
23307 * malloc/set-freeres.c: Likewise.
23308 * misc/err.c: Likewise.
23309 * misc/getttyent.c: Likewise.
23310 * misc/mntent_r.c: Likewise.
23311 * posix/getopt.c: Likewise.
23312 * posix/wordexp.c: Likewise.
23313 * pwd/fgetpwent_r.c: Likewise.
23314 * resolv/Versions: Likewise.
23315 * resolv/res_hconf.c: Likewise.
23316 * shadow/fgetspent_r.c: Likewise.
23317 * shadow/putspent.c: Likewise.
23318 * stdio-common/printf_fphex.c: Likewise.
23319 * stdio-common/tmpfile.c: Likewise.
23320 * stdlib/abort.c: Likewise.
23321 * stdlib/fmtmsg.c: Likewise.
23322 * sunrpc/auth_unix.c: Likewise.
23323 * sunrpc/clnt_perr.c: Likewise.
23324 * sunrpc/clnt_tcp.c: Likewise.
23325 * sunrpc/clnt_udp.c: Likewise.
23326 * sunrpc/clnt_unix.c: Likewise.
23327 * sunrpc/openchild.c: Likewise.
23328 * sunrpc/svc_simple.c: Likewise.
23329 * sunrpc/svc_tcp.c: Likewise.
23330 * sunrpc/svc_udp.c: Likewise.
23331 * sunrpc/svc_unix.c: Likewise.
23332 * sunrpc/xdr.c: Likewise.
23333 * sunrpc/xdr_array.c: Likewise.
23334 * sunrpc/xdr_rec.c: Likewise.
23335 * sunrpc/xdr_ref.c: Likewise.
23336 * sunrpc/xdr_stdio.c: Likewise.
23337
1248c1c4
PB
233382011-09-09 Ulrich Drepper <drepper@gmail.com>
23339
23340 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23341
233422011-07-03 Andreas Jaeger <aj@suse.de>
23343
23344 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23345 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23346 regenerate with gen-libm-tests.pl.
23347
233482010-05-12 Petr Baudis <pasky@suse.cz>
23349
23350 [BZ #11589]
23351 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23352 around j0() zero points by switching to j1().
23353 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23354 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23355 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23356 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23357
f22e1074
UD
233582011-09-09 Ulrich Drepper <drepper@gmail.com>
23359
f19009c1
UD
23360 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23361 instead of 0.
23362 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23363 instead of 0.
f19009c1
UD
23364 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23365 Patch in part by Pavel Roskin <proski@gnu.org>.
23366
3f8cc204
UD
23367 [BZ #13138]
23368 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23369 realloc.
23370 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23371 Free memory block if necessary.
23372
f22e1074
UD
23373 [BZ #12847]
23374 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23375 be NULL. Don't lock in this case.
23376
0a2349f9
RM
233772011-09-09 Roland McGrath <roland@hack.frob.com>
23378
23379 * elf/elf.h (ELFOSABI_GNU): New macro.
23380 (ELFOSABI_LINUX): Define to that.
23381
f3cdd467
DZ
233822011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23383
23384 * string/strncat.c (strncat): Undef the symbol in case it has been
23385 defined in bits/string.h.
23386
74718d13
UD
233872011-09-09 Ulrich Drepper <drepper@gmail.com>
23388
633e9e0f
UD
23389 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23390
0a2349f9 23391 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23392 link map.
23393
f9924780
AJ
233942011-08-17 Andreas Jaeger <aj@suse.de>
23395
23396 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23397
7f5517aa
PP
233982011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23399 Ian Lance Taylor <iant@google.com>
23400
23401 * math/libm-test.inc (lround_test): New testcase.
23402 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23403
762011fe
UD
234042011-09-08 Ulrich Drepper <drepper@gmail.com>
23405
92963737
UD
23406 * Makefile: Remove support for automatic cvs check-ins.
23407 * Makerules: Likewise.
23408 * config.make.in: Likewise.
23409 * configure.in: Likewise.
23410 * intl/Makefile: Likewise.
23411 * locale/Makefile: Likewise.
23412 * po/Makefile: Likewise.
23413 * posix/Makefile: Likewise.
23414 * sysdeps/gnu/Makefile: Likewise.
23415 * sysdeps/mach/hurd/Makefile: Likewise.
23416 * sysdeps/sparc/sparc32/Makefile: Likewise.
23417
b0727fd8
JS
23418 [BZ #13118]
23419 * posix/Makefile (bug-regex32-ENV): Define.
23420 Patch by John Stanley <jpsinthemix@verizon.net>.
23421
a0f33f99
UD
23422 * misc/Makefile (headers): Add bits/select2.h.
23423 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23424 * misc/bits/select2.h: New file.
23425 * include/bits/select2.h: New file.
23426 * debug/Makefile (routines): Add fdelt_chk.
23427 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23428 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23429 FD_ISSET.
23430 * debug/fdelt_chk.c: New file.
23431
762011fe
UD
23432 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23433 * wcsmbs/test-wmemcmp.c: Likewise.
23434 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23435 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23436
234372011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23438
23439 * string/Makefile (strop-tests): Add memcmp.
23440 * string/test-wmemcmp.c: New file.
23441 * string/test-memcmp.c: Add wmemcmp support.
23442
7f513ec8
RM
234432011-09-08 Roland McGrath <roland@hack.frob.com>
23444
0442afb4
RM
23445 [BZ #13153]
23446 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23447 2011-07-19 change.
23448
7f513ec8
RM
23449 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23450 garbage value in a __mach_port_mod_refs call in the cases of the
23451 task-self and thread-self ports.
23452
a12b2239
ST
234532011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23454
23455 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23456
610f9ab4
AS
234572011-09-08 Andreas Schwab <schwab@redhat.com>
23458
7f513ec8 23459 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23460
48882a1a
LD
234612011-09-07 Ulrich Drepper <drepper@gmail.com>
23462
b49865be
UD
23463 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23464
fdc86bc9
UD
23465 * elf/dl-libc.c (dlerror_run): Pass back error code from
23466 dl_catch_error.
23467
c966526a
UD
23468 [BZ #13123]
23469 * elf/dl-load.c (lose): Free l_origin if it is valid.
23470
48882a1a
LD
23471 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23472 names.
23473 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23474 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23475 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23476 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23477 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23478 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23479
77a2a8b4
AZ
234802011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23481
23482 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23483 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23484 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23485 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23486 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23487 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23488 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23489 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23490 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23491 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23492
24f579d8
AM
234932011-08-15 Alan Modra <amodra@gmail.com>
23494
23495 [BZ #13092]
23496 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23497 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23498 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23499 ppc_mcount to static-only-routines.
23500 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23501 __mcount_internal.
23502 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23503 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23504
3d4837df
UD
235052011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23506
23507 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23508 for finite and infinity parameters.
23509
22700377
WS
235102011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23511
23512 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23513 and add nop instructions for throughput optimization.
23514 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23515
5025581e
WS
235162011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23517
23518 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23519 aligned copy for power7 with vector-scalar instructions.
23520 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23521
08a300c9
L
235222011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23523
23524 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23525 AVX check.
23526
59178ef9
AS
235272011-09-07 Andreas Schwab <schwab@redhat.com>
23528
23529 [BZ #13144]
23530 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23531 last change.
23532
e38ba7ab
UD
235332011-09-07 Ulrich Drepper <drepper@gmail.com>
23534
23535 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23536 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23537 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23538 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23539 clock_gettime.
23540
d53a73ac
UD
235412011-09-06 Ulrich Drepper <drepper@gmail.com>
23542
fc8bffcc
UD
23543 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23544 Forgot to demangle the pointer.
23545
ceaa0c5d
UD
23546 * sysdeps/i386/sysdep.h: Define atom_text_section.
23547 * sysdeps/x86_64/sysdep.h: Likewise.
23548 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23549 section with atom_text_section.
23550 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23551 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23552 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23553 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23554 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23555
a77d3c17
UD
23556 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23557 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23558 already be defined. Change to take two parameters and don't assign
23559 result to variable. Adjust all users.
23560 Define INTERNAL_GETTIME if not already defined.
23561 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23562 call.
23563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23564 HAVE_CLOCK_GETTIME_VSYSCALL.
23565 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23566
d53a73ac
UD
23567 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23568 gettimeofday vsyscall, just use time.
23569
a8f84144
AS
235702011-09-06 Andreas Schwab <schwab@redhat.com>
23571
23572 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23573 <errno.h>.
23574
ef606249
UD
235752011-09-06 Ulrich Drepper <drepper@gmail.com>
23576
23577 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23578 syscall on x86-64.
23579 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23580 syscall.
23581 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23582 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23583 syscall if possible.
23584
6585cb60
UD
235852011-09-05 Ulrich Drepper <drepper@gmail.com>
23586
23587 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23588 e_ident. Don't pass to find_mapsXX.
23589 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23590
a5f524e4
LD
235912011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23592
23593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23594 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23595 * sysdeps/x86_64/multiarch/strchr.S: Update.
23596 Check bit_slow_BSF bit.
23597 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23598 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23599 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23600
554881ef
UD
236012011-09-05 Ulrich Drepper <drepper@gmail.com>
23602
d96de963
UD
23603 [BZ #13134]
23604 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23605 before glibc 2.15.
23606 (tryshell): Define.
23607 (__spawni): Change last parameter to be flag. Test
23608 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23609 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23610 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23611 * posix/spawni.c: Likewise.
23612 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23613 * posix/spawnp.c: Likewise. Change normal version to use
23614 SPAWN_XFLAGS_USE_PATH.
23615 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23616 SPAWN_XFLAGS_TRY_SHELL.
23617
d48e5868
UD
23618 [BZ #13150]
23619 * posix/glob.h: Remove gcc 1.x support.
23620
554881ef
UD
23621 [BZ #13068]
23622 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23623
693fb948
LD
236242011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23625
23626 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23627 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23628 strrchr-sse2-bsf
23629 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23630 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23631 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23632 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23633 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23634 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23635
1b48c537
UD
236362011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23637
49d42c37
UD
23638 * sysdeps/x86_64/wcscmp.S: New file.
23639
1b48c537
UD
23640 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23641 wcscmp-c wcscmp-sse2
23642 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23643 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23644 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23645 * wcsmbs/wcscmp.c: Allow renaming.
23646
15c95c5d
DM
236472011-09-05 David S. Miller <davem@davemloft.net>
23648
23649 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23650 stack slot, rather than the struct return pointer slot.
23651 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23652 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23654 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23655
2f0ad8f3
UD
236562011-09-05 Ulrich Drepper <drepper@gmail.com>
23657
d88ae418
UD
23658 * po/ja.po: Update from translation team.
23659
2f0ad8f3
UD
23660 [BZ #13144]
23661 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23662 kernel in 64-bit binaries.
23663
5f4318d1
DM
236642011-09-01 David S. Miller <davem@davemloft.net>
23665
23666 * elf/elf.h (HWCAP_SPARC_*): Move to..
23667 * sysdeps/sparc/sysdep.h: this new file and add new values.
23668 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23669 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23670 _DL_HWCAP_COUNT to 24.
23671 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23672 entries.
23673 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23674 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23675 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23676 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23677 instead of magic constants.
23678 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23679
3ba57516
DM
236802011-08-31 David S. Miller <davem@davemloft.net>
23681
23682 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23683 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23684 Reimplement to do errno handling inline.
23685 (SYSCALL_ERROR_HANDLER): New macro.
23686 (__SYSCALL_STRING): Do not do errno handling in asm.
23687 (__CLONE_SYSCALL_STRING): Delete.
23688 (__INTERNAL_SYSCALL_STRING): Delete.
23689 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23690 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23691 (PSEUDO): Reimplement to do errno handling inline.
23692 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23693 (SYSCALL_ERROR_HANDLER): New macro.
23694 (__SYSCALL_STRING): Do not do errno handling in asm.
23695 (__CLONE_SYSCALL_STRING): Delete.
23696 (__INTERNAL_SYSCALL_STRING): Delete.
23697 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23698 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23699 i386.
23700 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23701 (inline_syscall*): Add 'err' argument.
23702 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23703 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23704 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23705 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23706
23707 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23708 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23709
2bc17433
AS
237102011-08-30 Andreas Schwab <schwab@redhat.com>
23711
23712 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23713
fbeb5f4d
JO
237142011-08-29 Jiri Olsa <jolsa@redhat.com>
23715
23716 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23717 directive.
23718
ad69cc26
DM
237192011-08-24 David S. Miller <davem@davemloft.net>
23720
23721 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23722
39dd69df
AS
237232011-08-24 Andreas Schwab <schwab@redhat.com>
23724
23725 * elf/Makefile: Add rules to build and run unload8 test.
23726 * elf/unload8.c: New file.
23727 * elf/unload8mod1.c: New file.
23728 * elf/unload8mod1x.c: New file.
23729 * elf/unload8mod2.c: New file.
23730 * elf/unload8mod3.c: New file.
23731
23732 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23733 it wasn't used.
23734
2c0b250a
DM
237352011-08-23 David S. Miller <davem@davemloft.net>
23736
23737 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23738 subtract stack bias.
23739 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23740 %sp not %fp in calculations.
23741 (_JMPBUF_UNWINDS_ADJ): Likewise.
23742
22044b48
DM
23743 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23744 (aio_suspend): Call it to force an exception region around the
23745 AIO_MISC_WAIT() invocation.
23746
2cae4995
AS
237472011-08-23 Andreas Schwab <schwab@redhat.com>
23748
23749 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23750 backslash.
23751
873a772e
AJ
237522011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23753
23754 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23755 protection macro.
23756 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23757 and <dl-machine.h>.
23758 (Elf64_FuncDesc): Remove.
23759
25ad0df1
DM
237602011-08-22 David S. Miller <davem@davemloft.net>
23761
23762 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23763 sigaltstack check, add missing cfi directives.
23764 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23765 missing cfi directives, and sigaltstack handling.
23766
e888bcbe
AS
237672011-08-16 Andreas Schwab <schwab@redhat.com>
23768
23769 [BZ #11724]
23770 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23771 object is seen twice.
23772 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23773
23774 * elf/Makefile (distribute): Add tst-initorder2.c.
23775 (tests): Add tst-initorder2.
23776 (modules-names): Add tst-initorder2a tst-initorder2b
23777 tst-initorder2c tst-initorder2d. Add rules to build them.
23778 ($(objpfx)tst-initorder2.out): New rule.
23779 * elf/tst-initorder2.c: New file.
23780 * elf/tst-initorder2.exp: New file.
23781
87162f46
AS
237822011-08-22 Andreas Schwab <schwab@redhat.com>
23783
70538b7f
AS
23784 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23785
f55ffe58
AS
23786 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23787 dependencies back to end of function.
23788
87162f46
AS
23789 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23790 $(elfobjdir)/ld.so.
23791
91b392a4
UD
237922011-08-21 Ulrich Drepper <drepper@gmail.com>
23793
23794 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23795 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23796 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23797 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23798 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23799 of __vdso_gettimeofday.
23800 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23801 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23802 attribute_hidden.
23803 (_libc_vdso_platform_setup): Remove initialization of
23804 __vdso_gettimeofday and __vdso_time.
23805
5c43483f
UD
238062011-08-20 Ulrich Drepper <drepper@gmail.com>
23807
775a77e7
UD
23808 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23809 and fgetc_unlocked.
23810 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23811 getc_unlocked.
89f447ed 23812
49c74ba9
UD
23813 * elf/dl-open.c (add_to_global): Report additions to the global scope
23814 for LD_DEBUG=scopes.
23815 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23816 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23817
5c43483f
UD
23818 [BZ #13114]
23819 * stdio-common/Makefile (tests): Add bug24.
23820 * stdio-common/bug24.c: New file.
23821
a101b025
AJ
238222011-08-19 Andreas Jaeger <aj@suse.de>
23823
23824 [BZ #13114]
23825 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23826 non-existant file when using close-on-exec mode.
23827
c88f1766
UD
238282011-08-20 Ulrich Drepper <drepper@gmail.com>
23829
0276a718
UD
23830 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23831 the very first instruction.
23832
c88f1766
UD
23833 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23834 the CFI state in the end.
23835 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23836 inclusion of dl-trampoline.h.
23837 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23838
51ccffa0
AS
238392011-08-19 Andreas Schwab <schwab@redhat.com>
23840
94d7165f
AS
23841 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23842 expectations for long double.
23843
51ccffa0
AS
23844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23845 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23846
fd708658 238472011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23848
23849 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23850 artificual limit depends upon the system page size.
23851
44f0a71e
UD
238522011-08-17 Ulrich Drepper <drepper@gmail.com>
23853
23854 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23855 * resolv/Makefile: Define CFLAGS-libresolv.
23856
8de79a24
AS
238572011-08-17 Andreas Schwab <schwab@redhat.com>
23858
23859 * nss/makedb.c (compute_tables): Make variables used in nested
23860 function static.
23861
27724598
UD
238622011-08-17 Ulrich Drepper <drepper@gmail.com>
23863
c5305d88
UD
23864 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23865 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23866 if buffer was too small.
23867
27724598
UD
23868 * elf/pldd.c (main): Attach to all threads in the process.
23869 Rewrite /proc handling to use *at functions.
23870
076fe015
UD
238712011-08-16 Ulrich Drepper <drepper@gmail.com>
23872
174baab3
UD
23873 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23874 specifies first scope to show.
23875 (dl_open_worker): Update callers. Move printing scope of new
23876 object to before the relocation.
44f0a71e 23877 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23878 * sysdeps/generic/ldsodefs.h: Update declaration.
23879
076fe015
UD
23880 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23881 string for the scope number.
23882
a60df2c3
UD
238832011-08-14 Ulrich Drepper <drepper@gmail.com>
23884
23885 * nscd/servicescache.c (cache_addserv): Make sure written is always
23886 initialized.
23887
5e4287d1
RM
238882011-08-14 Roland McGrath <roland@hack.frob.com>
23889
85ae0589
RM
23890 * sysdeps/i386/i486/bits/atomic.h
23891 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23892 statement expression, so as to suppress "set but not used" warning.
23893 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23894
69f63097
RM
23895 * string/strncat.c (STRNCAT): Use prototype definition.
23896
675456ef
RM
23897 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23898 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23899 -Iprograms here.
23900 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23901 (localedef-modules): Add localedef.
23902 (locale-modules): Add locale.
23903
5e4287d1
RM
23904 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23905 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23906 to avoid a warning.
23907
9c96ff23
DM
239082011-08-14 David S. Miller <davem@davemloft.net>
23909
23910 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23911 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23912
f9ddf089
UD
239132011-08-13 Ulrich Drepper <drepper@gmail.com>
23914
44f0a71e 23915 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23916 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23917 * elf/rtld.c (dl_main): Set l_name of vDSO.
23918 Call _dl_show_scope when DL_DEBUG_SCOPES.
23919 (process_dl_debug): Recognize scopes flag and also set it for all.
23920 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23921 Declare _dl_show_scope.
23922
1dc27704
UD
23923 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23924 (do_dlopen): Pass caller_dlopen to dl_open.
23925 (__libc_dlopen_mode): Initialize caller_dlopen.
23926
f9ddf089
UD
23927 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23928 of libc. Make tolower call locale-independent. Optimize a bit by
23929 using isdigit instead of isalnum.
23930 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23931
9ac533d3
UD
239322011-08-12 Ulrich Drepper <drepper@gmail.com>
23933
23934 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23935 was a dependency or dynamically loaded.
23936
89edf2e9
UD
239372011-08-11 Ulrich Drepper <drepper@gmail.com>
23938
8e999d29
UD
23939 * intl/l10nflist.c: Allow architecture-specific pop function.
23940 * sysdeps/x86_64/l10nflist.c: New file.
23941
89edf2e9
UD
23942 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23943 classification.
23944
14d96785
AS
239452011-08-10 Andreas Schwab <schwab@redhat.com>
23946
23947 * include/dirent.h: Add libc_hidden_proto for scandirat and
23948 scandirat64. Don't declare __scandirat64.
23949 * dirent/scandirat.c: Add libc_hidden_def.
23950 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23951 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23952
6761ac04
DM
239532011-08-10 David S. Miller <davem@davemloft.net>
23954
23955 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23956 enum.
23957 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23958 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23959 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23960
c55fbd1e
UD
239612011-08-09 Ulrich Drepper <drepper@gmail.com>
23962
23963 * Versions.def [libc]: Add GLIBC_2.15.
23964 * dirent/Makefile (routines): Add scandirat and scandirat64.
23965 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23966 GLIBC_2.15.
23967 * dirent/dirent.h: Declare scandirat and scandirat64.
23968 * dirent/scandirat.c: New file.
23969 * dirent/scandirat64.c: New file.
23970 * sysdeps/wordsize-64/scandirat.c: New file.
23971 * sysdeps/wordsize-64/scandirat64.c: New file.
23972 * dirent/opendir.c: Define opendirat.
23973 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23974 using scandirat.
23975 * dirent/scandir64.c: Adjust for scandir.c change.
23976 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23977 __scandirat64, and __scandir_cancel_handler.
23978 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23979 additional parameter and use openat instead of open (outside of ld.so).
23980 Add new __opendir as wrapper around __opendirat.
23981 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23982 here without requiring old scandirat implementation.
23983
879165f2
UD
239842011-08-08 Ulrich Drepper <drepper@gmail.com>
23985
23986 * dirent/scandir.c (cancel_handler): Renamed to
23987 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23988 defined. Adjust users.
23989 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23990 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23991
cb7e923b
UD
239922011-08-04 Ulrich Drepper <drepper@gmail.com>
23993
16292edd
UD
23994 * string/test-string.h (IMPL): Use __STRING to expand name and then
23995 stringify it.
23996
cb7e923b
UD
23997 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23998 of cleanups.
23999
cff82933
LD
240002011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24001
24002 * string/Makefile: Update.
24003 (strop-tests): Append strncat.
24004 * string/test-wcscmp.c: New file.
24005 New comprehensive test for wcscmp.
24006 * string/test-strcmp.c: Update.
24007 (WIDE): New define.
24008
9be9bfcc
AS
240092011-07-22 Andreas Schwab <schwab@redhat.com>
24010
24011 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24012 line.
24013
2e96f1c7
AS
240142011-07-26 Andreas Schwab <schwab@redhat.com>
24015
24016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24017 encoding to ACE if AI_IDN.
24018
85188888
JJ
240192011-08-01 Jakub Jelinek <jakub@redhat.com>
24020
24021 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24022 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24023
5fa16e9b
LD
240242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24025
24026 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24027 Fix overflow bug in strncat.
24028 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24029
24030 * string/test-strncat.c: Update.
24031 Add new tests for checking overflow bugs.
24032
240332011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24034
24035 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24036 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24037 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24038 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24039 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24040 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24041 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24042 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24043 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24044
24045 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24046 (USE_AS_STRCAT): Define.
24047 Add strcat and strncat support.
24048 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24049
8c1a459f
AS
240502011-07-25 Andreas Schwab <schwab@redhat.com>
24051
24052 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24053 __n bigger than INT_MAX+1.
24054 (__strncmp_g): Likewise.
24055
bba33c28
UD
240562011-07-23 Ulrich Drepper <drepper@gmail.com>
24057
798be72d
UD
24058 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24059 * libio/stido.h: Likewise.
24060
8accd4dc
UD
24061 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24062 (AF_NFC): Define.
24063 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24064 (AF_NFC): Define.
24065
cbff0d96
UD
24066 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24067 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24068 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24069 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24070 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24071
9191c04a
UD
24072 [BZ #13021]
24073 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24074 installed.
24075
bba33c28
UD
24076 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24077 typo.
24078 (_dl_x86_64_save_sse): Likewise.
24079
90f139dd
UD
240802011-07-22 Ulrich Drepper <drepper@gmail.com>
24081
1aae088a
UD
24082 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24083 OSXSAVE.
24084 (_dl_x86_64_save_sse): Likewise.
24085
8e2045f5
UD
24086 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24087
90f139dd
UD
24088 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24089
1d002f25
AS
240902011-07-21 Andreas Schwab <schwab@redhat.com>
24091
24092 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24093 change.
24094 (_dl_x86_64_save_sse): Use correct AVX check.
24095
21137f89
UD
240962011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24097
24098 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24099 bug in strncpy/strncat.
24100 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24101
a65c0b7a
UD
241022011-07-21 Ulrich Drepper <drepper@gmail.com>
24103
24104 * string/tester.c (test_strcat): Add tests for different alignments
24105 of source and destination.
24106 (test_strncat): Likewise.
24107
6986b98a
UD
241082011-07-20 Ulrich Drepper <drepper@gmail.com>
24109
90bb2039
UD
24110 [BZ #12852]
24111 * posix/glob.c (glob): Check passed in values before using them in
24112 expressions to avoid some overflows.
24113 (glob_in_dir): Likewise.
24114
5644ef54
UD
24115 [BZ #13007]
24116 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24117 check for AVX enablement so that we don't crash with old kernels and
24118 new hardware.
24119 * elf/tst-audit4.c: Add same checks here.
24120 * elf/tst-audit6.c: Likewise.
24121
24122 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24123
bfc9dc9b
AS
241242011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24125
24126 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24127
702e64bb
UD
241282011-07-20 Ulrich Drepper <drepper@gmail.com>
24129
24130 * po/cs.po: Update from translation team.
24131 * po/bg.po: Likewise.
24132
295e904f
MP
241332011-07-12 Marek Polacek <mpolacek@redhat.com>
24134
24135 * misc/sys/cdefs.h: Add support for const attribute.
24136 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24137 to gnu_dev_{major,minor,makedev} functions.
24138
3ff94596
MP
241392011-07-20 Marek Polacek <mpolacek@redhat.com>
24140
24141 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24142
28b59fca
AS
241432011-07-20 Andreas Schwab <schwab@redhat.com>
24144
24145 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24146 strlen results.
24147
19df733e
AK
241482011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24149
24150 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24151 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24152 register in order to avoid conflicts with the soft frame pointer
24153 being held in r11 when necessary.
24154 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24155 (INTERNAL_VSYSCALL_NCS): Likewise.
24156
c8835729
MP
241572011-07-14 Marek Polacek <mpolacek@redhat.com>
24158
24159 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24160 * elf/dl-fini.c (_dl_fini): Adjust caller.
24161 * elf/dl-close.c (_dl_close_worker): Likewise.
24162 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24163
b902330c
MP
241642011-07-15 Marek Polacek <mpolacek@redhat.com>
24165
8991e135
MP
24166 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24167 "aux_cache->nlibs < 0".
24168
b902330c
MP
24169 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24170 in the reload-count case.
24171
99710781
LD
241722011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24173
24174 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24175 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24176 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24177 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24178 * sysdeps/x86_64/multiarch/strcat.S: New file.
24179 * sysdeps/x86_64/multiarch/strncat.S: New file.
24180 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24181 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24182 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24183 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24184 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24185 (USE_AS_STRCAT): Define.
24186 Add strcat and strncat support.
24187 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24188 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24189 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24190 * string/strncat.c: Update.
24191 (USE_AS_STRNCAT): Define.
24192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24193 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24194 and i7.
24195 * sysdeps/x86_64/multiarch/init-arch.h
24196 (bit_Prefer_PMINUB_for_stringop): New.
24197 (index_Prefer_PMINUB_for_stringop): Likewise.
24198 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24199 bit_Prefer_PMINUB_for_stringop.
24200
7dc6bd90
UD
242012011-07-19 Ulrich Drepper <drepper@gmail.com>
24202
24203 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24204 buffer64.
24205 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24206 of casting of buffer.
24207 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24208 buffer32 and buffer64.
24209 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24210 writes instead of casting of buffer.
24211 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24212 buffer32.
24213 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24214 casting of buffer.
24215
e0e72284
AS
242162011-07-19 Andreas Schwab <schwab@redhat.com>
24217
24218 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24219
feb1eb0b
UD
242202011-07-19 Ulrich Drepper <drepper@gmail.com>
24221
24222 * nscd/nscd.c (termination_handler): Don't do anything for a database
24223 if it has not yet been initialized.
24224
298711ff
UD
242252011-07-18 Ulrich Drepper <drepper@gmail.com>
24226
24227 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24228
242292011-07-15 Marek Polacek <mpolacek@redhat.com>
24230
24231 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24232
f9d68389
UD
242332011-07-18 Ulrich Drepper <drepper@gmail.com>
24234
24235 * po/nl.po: Update from translation team.
24236 * po/sv.po: Likewise.
24237
db290cf5
RM
242382011-07-16 Roland McGrath <roland@hack.frob.com>
24239
24240 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24241 now disallowed by GCC.
5c550700 24242
fd5e21c7
RM
24243 * configure.in (use-default-link): Default to yes if a test -shared
24244 link meets our qualifications.
24245 * configure: Regenerated.
24246
5c550700
RM
24247 * config.make.in (output-format): New variable.
24248 * configure.in: Check for ld --print-output-format support.
24249 * configure: Regenerated.
24250 * Makerules ($(common-objpfx)format.lds)
24251 [$(output-format) != unknown]: Just use $(output-format),
24252 instead of the linker-script munging.
24253
9fa2c032
RM
242542011-07-14 Roland McGrath <roland@hack.frob.com>
24255
a6928d51
RM
24256 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24257 of $(common-objpfx)shlib.lds.
24258 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24259
661607b3
RM
24260 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24261 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24262
9fa2c032
RM
24263 * configure.in (-z relro check): Adjust test code to add a large
24264 writable data section after it.
24265 * configure: Regenerated.
24266
defe9061
RM
242672011-07-11 Roland McGrath <roland@hack.frob.com>
24268
24269 * configure.in (-z relro check): Fix test code to make the variable
24270 truly const.
24271 * configure: Regenerated.
24272
319b9ad4
UD
242732011-07-11 Ulrich Drepper <drepper@gmail.com>
24274
24275 * nscd/nscd.h (struct traced_file): Define.
24276 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24277 elements. Add traced_files.
24278 (inotify_fd): Declare.
24279 (register_traced_file): Declare.
24280 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24281 (inotify_fd): Export.
24282 (resolv_conf_descr): Remove.
24283 (nscd_init): Move inotify descriptor creation to main.
24284 Don't register files for notification here.
24285 (register_traced_file): New function.
24286 (invalidate_cache): Don't use reset_res to determine whether to call
24287 res_init, go through the list of registered files.
24288 (main_loop_poll): The inotify descriptors are now stored in the
24289 structures for the traced files.
24290 (main_loop_epoll): Likewise
24291 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24292 to __nss_disable_nscd.
24293 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24294 for a database anymore. Check the records for all the registered
24295 files instead.
24296 * nss/Makefile (libnss_files-routines): Add files-init.
24297 (libnss_db-routines): Add db-init.
24298 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24299 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24300 * nss/nss_db/db-init.c: New file.
24301 * nss/nss_files/files-init.c: New file.
24302 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24303 __nss_lookup_function.
24304 (__nss_lookup_function): Call nss_load_library.
24305 (nss_load_all_libraries): New function.
24306 (__nss_disable_nscd): Take parameter with callback function for files
24307 to register. Set is_nscd. Load all the DSOs for the NSS modules
24308 used for the cached services.
24309 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24310 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24311 options for features to all the files in nscd.
24312
24313 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24314
23bee3e8
RM
243152011-07-10 Roland McGrath <roland@hack.frob.com>
24316
24317 * csu/elf-init.c (__libc_csu_init): Comment typo.
24318
46a5b7f0
UD
243192011-07-09 Ulrich Drepper <drepper@gmail.com>
24320
24321 * po/pl.po: Update from translation team.
24322 * po/ja.po: Likewise.
24323 * po/ru.po: Likewise.
24324 * po/ko.po: Likewise.
24325 * po/fr.po: Likewise.
24326
d30cf5bb
RM
243272011-07-09 Roland McGrath <roland@hack.frob.com>
24328
113ddea4
RM
24329 * configure.in (.ctors/.dtors header and trailer check):
24330 Use an empirical test on a built program.
24331 * configure: Regenerated.
24332
574920b4
RM
24333 * configure.in (-z relro check): Use an empirical test on a built DSO.
24334 Detect, but do not require, on ia64.
24335 * configure: Regenerated.
24336
d30cf5bb
RM
24337 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24338 Update tests that use readelf to use $READELF instead.
24339 * configure: Regenerated.
24340
8538fdb3
UD
243412011-07-08 Ulrich Drepper <drepper@gmail.com>
24342
24343 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24344 if the result is not used.
24345
04d08991
AJ
243462011-07-05 Andreas Jaeger <aj@suse.de>
24347
24348 [BZ#9696]
24349 * stdlib/tst-strtod.c: Add testcase.
24350
de283087
AD
243512011-07-07 Ulrich Drepper <drepper@gmail.com>
24352
4e5f31c8 24353 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24354 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24355 The latter has a higher limit. Take additional parameter to pass to
24356 the new function.
24357 (__pathconf): Pass file to __statfs_link_max.
24358 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24359 __statfs_link_max.
24360 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24361 __statfs_link_max.
24362
de283087
AD
24363 [BZ #12868]
24364 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24365 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24366 Handle Lustre.
24367 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24368 (__statfs_filesize_max): Likewise.
24369 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24370
c75fa153
AJ
243712011-07-05 Andreas Jaeger <aj@suse.de>
24372
24373 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24374
1a544854
UD
243752011-07-06 Marek Polacek <mpolacek@redhat.com>
24376
24377 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24378 `status' variable.
24379 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24380 Likewise.
24381
6f0eec67
UD
243822011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24383
24384 * Makefile (strop-tests): Add strncat.
24385 * string/test-strncat.c: New file.
24386
aae30307
UD
243872011-06-30 Marek Polacek <mpolacek@redhat.com>
24388
24389 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24390
c0cfb5eb
UD
243912011-06-21 Andreas Jaeger <aj@suse.de>
24392
24393 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24394 Copy rule from iconvdata/Makefile.
24395
01636b21
UD
243962011-07-06 Ulrich Drepper <drepper@gmail.com>
24397
24398 [BZ #12922]
24399 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24400 but no long options are defined, just return 'W'.
24401
9895c8bc
UD
244022011-06-22 Marek Polacek <mpolacek@redhat.com>
24403
24404 [BZ #9696]
24405 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24406
5d4cf042
UD
244072011-07-06 Ulrich Drepper <drepper@gmail.com>
24408
24409 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24410 netgroups to read.
960e5535 24411 (innetgr): Likewise.
5d4cf042 24412
751eb97e
RM
244132011-07-05 Roland McGrath <roland@hack.frob.com>
24414
24415 * config.make.in (install_root): Default to $(DESTDIR).
24416
f15f1e45
UD
244172011-07-05 Ulrich Drepper <drepper@gmail.com>
24418
24419 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24420
4e34ac6a
RM
244212011-07-02 Roland McGrath <roland@hack.frob.com>
24422
5e9b6af4
RM
24423 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24424
84f9ea0f
RM
24425 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24426 containing directory rather than embedding absolute directory names.
24427
ea5ee9f7
RM
24428 * scripts/check-local-headers.sh: Rewritten using awk.
24429 Match by word, not by line. Print error messages for matches.
24430 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24431
1b74661a
RM
24432 * Makerules [shlib-lds-flags empty]:
24433 ($(common-objpfx)libc_pic.opts): New target.
24434 ($(common-objpfx)libc_pic.os.clean): New target.
24435 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24436
24437 * config.make.in (OBJCOPY): New variable.
24438 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24439 * configure: Regenerated.
24440
f781ef40
RM
24441 * config.make.in (use-default-link): New variable.
24442 * configure.in (use_default_link): Grok --with-default-link to set it.
24443 * configure: Regenerated.
24444 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24445 (shlib-lds, shlib-lds-flags): Define to empty.
24446
2d4fa81e
RM
24447 * Makerules (shlib-lds): New variable.
24448 (shlib-lds-flags): New variable.
24449 (build-shlib, build-moduile, build-module-asneeded): Use it.
24450 ($(common-objpfx)libc.so): Use $(shlib-lds).
24451 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24452 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24453
31fffa6b
RM
24454 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24455 DT_FLAGS/DT_FLAGS_1 with zero flags.
24456
4e34ac6a
RM
24457 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24458 linker script munging.
24459
fcfc776b
UD
244602011-07-02 Ulrich Drepper <drepper@gmail.com>
24461
24462 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24463 as 128-bit value.
24464 * crypt/sha512.c (sha512_process_block): Perform total addition using
24465 128-bit if possible.
24466 (__sha512_finish_ctx): Likewise.
24467 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24468 as 64-bit value.
24469 * crypt/sha256.c (SWAP64): Define.
24470 (sha256_process_block): Perform total addition using 64-bit if
24471 possible.
24472 (__sha256_finish_ctx): Likewise.
24473
99231d9a
UD
244742011-07-01 Ulrich Drepper <drepper@gmail.com>
24475
24476 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24477 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24478 * nscd/hstcache.c (cache_addhst): Likewise.
24479 * nscd/grpcache.c (cache_addgr): Likewise.
24480 * nscd/aicache.c (addhstaiX): Likewise
24481 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24482
445b4a53
TK
244832011-07-01 Thorsten Kukuk <kukuk@suse.de>
24484
24485 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24486 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24487 * nscd/hstcache.c (cache_addhst): Likewise.
24488 * nscd/grpcache.c (cache_addgr): Likewise.
24489 * nscd/aicache.c (addhstaiX): Likewise
24490
6d4d8e8e
AS
244912011-07-01 Andreas Schwab <schwab@redhat.com>
24492
24493 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24494 domain only when needed.
24495
89f654c5
AS
244962011-06-30 Andreas Schwab <schwab@redhat.com>
24497
24498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24499 is always restored.
24500
cf3b23ff
UD
245012011-06-29 Ulrich Drepper <drepper@gmail.com>
24502
24503 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24504 are re-adding the entry.
24505 * nscd/servicescache.c (cache_addserv): Likewise.
24506
751626f9
AJ
245072011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24508
24509 * sysdeps/generic/dl-irel.h: fix protection against multiple
24510 inclusions.
24511 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24512
9113ea1f
UD
245132011-06-28 Ulrich Drepper <drepper@gmail.com>
24514
5c0b8d90
UD
24515 [BZ #12935]
24516 * malloc/memusage.sh: Fix quoting in message.
24517 * debug/xtrace.sh: Likewise.
24518
9113ea1f
UD
24519 * configure.in: Remove support for --experimental-malloc option, make
24520 it the default.
24521 * config.make.in: Likewise.
24522 * malloc/Makefile: Likewise.
24523
a4172181
AS
245242011-06-27 Andreas Schwab <schwab@redhat.com>
24525
24526 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24527 two-byte characters.
24528
78a7eee7
RM
245292011-06-27 Roland McGrath <roland@hack.frob.com>
24530
62bede13
RM
24531 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24532 AC_CACHE_CHECK invocation.
24533 * configure: Regenerated.
24534
78a7eee7
RM
24535 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24536
5ce33a62
UD
245372011-06-27 Ulrich Drepper <drepper@gmail.com>
24538
034807a9
UD
24539 [BZ #12350]
24540 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24541 bit from old_res_options.
24542
4902da17
UD
24543 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24544
5ce33a62
UD
24545 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24546 value type for setfct.
24547
c2344f56
L
245482011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24549
24550 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24551 __gettimeofday instead of gettimeofday.
24552
68468076
UD
245532011-06-26 Ulrich Drepper <drepper@gmail.com>
24554
24555 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24556
acb0d739
L
245572011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24558
24559 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24560
24561 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24562 info.
24563
8912479f
L
245642011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24565
24566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24567 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24568 strcpy-sse2-unaligned strncpy-sse2-unaligned
24569 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24570 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24571 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24572 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24573 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24574 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24575 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24576 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24577 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24578 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24579 (STRCPY): Support SSE2 and SSSE3 versions.
24580
d5495a11
UD
245812011-06-24 Ulrich Drepper <drepper@gmail.com>
24582
24583 [BZ #12874]
24584 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24585 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24586 kernels which artificially limit size of requests.
24587
0b1cbaae
L
245882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24589
24590 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24591 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24592 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24593 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24594 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24595 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24596 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24597 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24598 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24599 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24600 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24601 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24602 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24603 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24604 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24606 Enable unaligned load optimization for Intel Core i3, i5 and i7
24607 processors.
24608 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24609 Define.
24610 (index_Fast_Unaligned_Load): Define.
24611 (HAS_FAST_UNALIGNED_LOAD): Define.
24612
07f494a0
MP
246132011-06-23 Marek Polacek <mpolacek@redhat.com>
24614
24615 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24616
fa3fc0fe
UD
246172011-06-22 Ulrich Drepper <drepper@gmail.com>
24618
24619 [BZ #12907]
24620 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24621 until it is clear that the information is realy needed.
24622 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24623
e12df166
AS
246242011-06-22 Andreas Schwab <schwab@redhat.com>
24625
24626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24627
852eb34d
UD
246282011-06-22 Ulrich Drepper <drepper@gmail.com>
24629
84e2a551
UD
24630 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24631 /sys/devices/system/cpu/online if it is usable.
24632
852eb34d
UD
24633 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24634 reading the information from the /proc filesystem to once a second.
24635
6e502e19
UD
246362011-06-21 Andreas Jaeger <aj@suse.de>
24637
24638 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24639 NULL after inclusion of kernel headers.
24640
75d39ff2
UD
246412011-06-21 Ulrich Drepper <drepper@gmail.com>
24642
51f9aa6a
UD
24643 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24644 calls to internal_setent.
24645
c0244a9d
UD
24646 [BZ #12885]
24647 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24648 addresses using gethostbyname4_r ignore IPv4 addresses.
24649
c5e3c2ae
UD
24650 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24651 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24652
75d39ff2
UD
24653 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24654
42675c6f
DM
246552011-06-20 David S. Miller <davem@davemloft.net>
24656
24657 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24658 inclusions.
24659 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24660
24661 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24662 (elf_irel): Use it.
24663 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24664 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24665 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24666 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24667 * sysdeps/x86_64/dl-irel.h: Likewise.
24668
24669 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24670 * elf/dl-sym.c: Likewise.
24671
57912a71
UD
246722011-06-15 Ulrich Drepper <drepper@gmail.com>
24673
24674 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24675 need to dereference resplen2.
24676
ee22793d
AS
246772011-06-14 Andreas Schwab <schwab@redhat.com>
24678
24679 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24680
a9e836b0
UD
246812011-06-15 Ulrich Drepper <drepper@gmail.com>
24682
77fb9117
UD
24683 * Makeconfig: Define vardbdir and inst_vardbdir.
24684 * nss/Makefile: Add rules to install db-Makefile.
24685
40c1b22c
UD
24686 * nss/nss_db/db-XXX.c: Cleanup.
24687
9f2da732
UD
24688 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24689 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24690 GLIBC_PRIVATE.
24691 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24692 * nss/makedb.c: Implement -g option to specify that value strings
24693 are generated and should not be added to table iterated over for
24694 get*ent calls.
24695 * nss/nss_db/db-initgroups.c: New file.
24696
82e9a1f7
UD
24697 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24698 interface.
24699
c41af17e
UD
24700 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24701 (internal_getgrouplist): Adjust to name change.
24702 Update use_initgroups_entry if this is not the first call.
24703 * nss/databases.def: Add initgroups entry.
24704
a9e836b0
UD
24705 * nss/makedb.c (compute_tables): Check result of multiple hash table
24706 sizes to minimize maximum chain length.
24707
2666d441
UD
247082011-06-14 Ulrich Drepper <drepper@gmail.com>
24709
24710 * Versions.def: Add entry for libnss_db.
24711 * shlib-versions: Likewise.
24712 * nss/Makefile: Add rules to build libnss_db.
24713 * nss/Versions: Add libnss_db information. Organize libnss_files
24714 entries better.
24715 * nss/db-Makefile: Add gshadow support. Change rules for the new
24716 makedb progra. Some minor improvements to generate smaller files.
24717 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24718 here from...
24719 * nss/makedb.c: ...here.
24720 Improve database format to be smaller and require less memory at
24721 runtime.
24722 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24723 db anymore.
24724 * nss/nss_db/db-netgrp.c: Likewise.
24725 * nss/nss_db/db-open.c: Likewise.
24726 * nss/nss_files/flies-XXX.x: Adjust comments.
24727 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24728 * nss/nss_files/files-grp.c: Likewise.
24729 * nss/nss_files/files-hosts.c: Likewise.
24730 * nss/nss_files/files-network.c: Likewise.
24731 * nss/nss_files/files-proto.c: Likewise.
24732 * nss/nss_files/files-pwd.c: Likewise.
24733 * nss/nss_files/files-rpc.c: Likewise.
24734 * nss/nss_files/files-service.c: Likewise.
24735 * nss/nss_files/files-sgrp.c: Likewise.
24736 * nss/nss_files/files-spwd.c: Likewise.
24737 * nss/nss_db/db-alias.c: Removed.
24738 * nss/nss_db/dummy-db.h: Removed.
24739
9ee76b5a
UD
247402011-06-02 Ulrich Drepper <drepper@gmail.com>
24741
24742 * nss/makedb.c: Rewritten to not use database library.
24743 * nss/Makefile: Update to build new makedb program.
24744
c71ca1f8
AJ
247452011-06-14 Andreas Jaeger <aj@suse.de>
24746
24747 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24748 memset declaration.
24749
3154bfb8
UD
247502011-06-10 Andreas Schwab <schwab@redhat.com>
24751
24752 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24753 tmpbuf.
24754
b350afab
RM
247552011-06-10 Roland McGrath <roland@hack.frob.com>
24756
decd4e50
RM
24757 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24758 * elf/Makefile ($(objpfx)ld.so): Likewise.
24759
5615eaf2
RM
24760 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24761 Don't list ld.so twice in dependencies.
24762
24763 * posix/bug-regex31.c: Include <stdlib.h>.
24764
24765 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24766
24767 * nis/nss_compat/compat-spwd.c
24768 (getspent_next_nss_netgr): Remove unused variable.
24769 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24770
24771 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24772 nonmembers" output to use the right array.
24773
24774 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24775
24776 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24777
24778 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24779 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24780 * catgets/gencat.c (read_input_file): Likewise.
24781 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24782
24783 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24784 variable definition inside #if's controlling its use.
24785
24786 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24787
24788 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24789
24790 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24791
24792 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24793 unreachable code.
24794
24795 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24796
b68e08db
RM
24797 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24798 * configure: Regenerated.
24799
b350afab
RM
24800 * Makerules: Revert last change.
24801 * elf/Makefile: Likewise.
24802
28368601
RM
248032011-06-09 Roland McGrath <roland@hack.frob.com>
24804
24805 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24806 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24807 (reloc-link): Likewise.
24808
11988f8f
UD
248092011-06-09 Ulrich Drepper <drepper@gmail.com>
24810
24811 * elf/Makefile: Add rules to build pldd.
24812 * elf/pldd.c: New file.
24813 * elf/pldd-xx.c: New file.
24814
e80fab37
UD
248152011-06-07 Ulrich Drepper <drepper@gmail.com>
24816
24817 * version.h: Update for 2.15 development version.
24818
9b849836
DM
248192011-06-07 David S. Miller <davem@davemloft.net>
24820
24821 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24822 ifuncs.
24823 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24824 elf_machine_lazy_rel): Likewise.
24825 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24826 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24827 elf_machine_lazy_rel): Likewise.
24828 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24829 dl_hwcap via passed in argument.
24830 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24831 Likewise.
24832
5a31b283
AK
248332011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24834
24835 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24836
069e52f8
RM
248372011-06-06 Roland McGrath <roland@hack.frob.com>
24838
24839 [BZ #12849]
24840 * manual/fdl-1.1.texi: New file, verbatim from:
24841 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24842 * manual/lgpl-2.1.texi: New file, verbatim from:
24843 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24844 * manual/Makefile (licenses): New variable, list those new file names.
24845 (texis): Use it.
24846 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24847
24848 * manual/fdl.texi: File removed.
24849 * manual/lesser.texi: File removed.
24850 * manual/libc.texinfo (Copying, Documentation License):
24851 Use new @include file names, put @appendix directive before @include.
24852
f16846a5
JJ
248532011-06-04 Jakub Jelinek <jakub@redhat.com>
24854
24855 [BZ #12841]
24856 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24857 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24858 (mq_open): Add __NTH.
24859
3d29045b
L
248602011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24861
24862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24863 Assume Intel Core i3/i5/i7 processor if AVX is available.
24864
8c297311
UD
248652011-05-31 Ulrich Drepper <drepper@gmail.com>
24866
24867 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24868 typo.
24869
c8fc0c91
UD
248702011-05-31 Andreas Schwab <schwab@redhat.com>
24871
24872 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24873 memory. Use alloca_account. Fix memory leak when retrying.
24874
5b27a807
UD
248752011-05-31 Ulrich Drepper <drepper@gmail.com>
24876
356f8bc6
UD
24877 * version.h (RELEASE): Bump for 2.14 release.
24878 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24879
5b27a807
UD
24880 * config.make.in (RANLIB): Remove entry.
24881
01f16ab0
UD
248822011-05-30 Ulrich Drepper <drepper@gmail.com>
24883
41fce8bd
UD
24884 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24885 (libc.pot): Work around missing support for .ksh extension in xgettext.
24886
4769ae77
UD
24887 [BZ #12684]
24888 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24889 if both request failed.
24890 (send_dg): In case of server errors clear resplen or *resplen2.
24891
6b1e7d19
UD
24892 [BZ #12454]
24893 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24894 when there are multiple maps.
24895 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24896 (_dl_fini): Remove test here.
24897
01f16ab0
UD
24898 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24899
b1ebd700
UD
249002011-05-29 Ulrich Drepper <drepper@gmail.com>
24901
7ae22829
UD
24902 [BZ #12350]
24903 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24904 bit from old_res_options.
24905 (gaih_inet): Likewise.
24906
553149f6 24907 [BZ #11099]
18a84741 24908 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24909 as signed.
24910
652ffab1
UD
24911 * resolv/res_init.c (res_setoptions): Make the code more compact.
24912
16985fd0
UD
24913 [BZ #11558]
24914 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24915 set RES_USEVC.
24916
0464f746
UD
24917 [BZ #11634]
24918 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24919
7d17596c
UD
24920 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24921
cf6bbbd7
UD
24922 [BZ #11781]
24923 * malloc/malloc.h: Declare malloc hook variables as volatile.
24924
13f1ab36
UD
24925 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24926 in last patch.
24927
b1ebd700
UD
24928 [BZ #11799]
24929 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24930 raise in the comment.
80e2212d
UD
24931 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24932 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24933 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24934
ce67228d
UD
249352011-05-28 Ulrich Drepper <drepper@gmail.com>
24936
8887a920
UD
24937 [BZ #12811]
24938 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24939 grow the buffers more if it already has to be sufficient.
24940 (build_wcs_upper_buffer): Likewise.
24941 * posix/regexec.c (check_matching): Likewise.
24942 (clean_state_log_if_needed): Likewise.
24943 (extend_buffers): Don't enlarge buffers beyond size of the input
24944 buffer.
24945 Patches mostly by Emil Wojak <emil@wojak.eu>.
24946 * posix/bug-regex32.c: New file.
24947 * posix/Makefile (tests): Add bug-regex32.
24948
4f031072
UD
24949 * locale/findlocale.c (_nl_find_locale): Return right away if
24950 _nl_explode_name failed.
24951 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24952
d0478f0c
UD
24953 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24954
de81b246
UD
24955 * debug/xtrace.sh: Unify messages.
24956 * malloc/memusage.sh: Likewise.
24957
c738465a
UD
24958 [BZ #12813]
24959 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24960 time symbol from vDSO. Substitute with vsyscall if not available.
24961 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24962 __vdso_time.
24963
f1f929d7
UD
24964 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24965 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24966 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24967 Add sendmmsg and internal_sendmmsg.
24968 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24969 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24970 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24971
ce67228d
UD
24972 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24973 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24974 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24975
e57420c6
UD
249762011-05-27 Ulrich Drepper <drepper@gmail.com>
24977
a8509ca5
UD
24978 [BZ #12813]
24979 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24980 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24981 available.
24982 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24983 __vdso_getcpu.
24984
e57420c6
UD
24985 [BZ #12814]
24986 * iconvdata/Makefile (tests): Add bug-iconv9.
24987 * iconvdata/bug-iconv9.c: New file.
24988
4d07db15
AS
249892011-05-27 Andreas Schwab <schwab@redhat.com>
24990
24991 [BZ #12814]
24992 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24993
ea486f69
JJ
249942011-05-25 Jakub Jelinek <jakub@redhat.com>
24995
24996 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24997 (struct user_regs_struct): Change intcs field back to cs.
24998
6f038433
UD
249992011-05-25 Ulrich Drepper <drepper@gmail.com>
25000
25001 * po/ja.po: Update from translation team.
25002
67f86a25
UD
250032011-05-23 Ulrich Drepper <drepper@gmail.com>
25004
25005 [BZ #12795]
25006 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25007 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25008
def7fbd6
AS
250092011-05-20 Andreas Schwab <schwab@redhat.com>
25010
25011 * stdlib/longlong.h: Update from GCC.
25012
f50ef8f1
AS
250132011-05-23 Andreas Schwab <schwab@redhat.com>
25014
25015 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25016 parameter name.
25017 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25018 Add parameter name.
25019 (__sysconf): Pass it down.
25020
de7ce8f1
UD
250212011-05-22 Ulrich Drepper <drepper@gmail.com>
25022
f2962a71
UD
25023 [BZ #12671]
25024 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25025 some situations.
25026 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25027 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25028 add in in __libc_use_alloca calls. Adjust callers.
25029 (glob): Use malloc in some situations.
25030
de7ce8f1
UD
25031 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25032 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25033 pltexit.
25034
aec84f53
UD
250352011-05-21 Ulrich Drepper <drepper@gmail.com>
25036
05bb4a68
UD
25037 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25038 and CLOCK_BOOTTIME_ALARM.
25039
7ea72f99
UD
25040 [BZ #12782]
25041 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25042 is returned.
25043
7e4afad5
UD
25044 * string/_strerror.c (__strerror_r): Print negative errors as signed
25045 numbers.
25046
8e211fec
UD
25047 [BZ #12777]
25048 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25049 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25050 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25051
f7d82dc9
UD
25052 * configure.in: Fix typo in redirection and correct removal of test
25053 files in two cases.
25054
cc9e536d
UD
25055 [BZ #12788]
25056 * locale/setlocale.c (new_composite_name): Fix test to check for
25057 identical name of all categories.
25058
aec84f53
UD
25059 [BZ #12792]
25060 * libio/filedoalloc.c (local_isatty): New function.
25061 (_IO_file_doallocate): Use local_isatty.
25062 * stdio-common/perror.c (perror): In case a new stream is used
25063 forward the stream error.
25064 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25065 error flag.
25066
78e64fdc
RT
250672011-05-20 Ulrich Drepper <drepper@gmail.com>
25068
34a9094f
UD
25069 [BZ #11869]
25070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25071 alloca.
25072 * include/alloca.h (extend_alloca_account): Define.
25073
78e64fdc
RT
25074 [BZ #11857]
25075 * posix/regex.h: Fix comments with documentation of user-accessible
25076 fields after compilation and describe correct free'ing of pattern
25077 after re_compile_pattern.
25078 Patch by Reuben Thomas <rrt@sc3d.org>.
25079
457bddfc
RA
250802011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25081
25082 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25083 and -mno-altivec to prevent the compiler from using Altivec and/or
25084 VSX instructions when the corresponding registers are not available.
25085
a4527b51
AS
250862011-05-19 Andreas Schwab <schwab@redhat.com>
25087
25088 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25089
ed690b2f
UD
250902011-05-19 Ulrich Drepper <drepper@gmail.com>
25091
25092 * libio/freopen.c (freopen): Use __dup2, not dup2.
25093 * libio/freopen64.c (freopen64): Likewise.
25094
8db73634
L
250952011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25096
25097 [BZ #12775]
25098 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25099 * math/Makefile (tests): Add test-powl.
25100 (CFLAGS-test-powl.c): Define.
25101 * math/test-powl.c: New file.
25102
0a197a9d
L
251032011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25104
25105 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25106
ee30c380
UD
251072011-05-17 Ulrich Drepper <drepper@gmail.com>
25108
25109 [BZ #11837]
25110 * iconvdata/gb18030.c: Update to GB18020-2005.
25111
6ce75379
UD
251122011-05-16 Ulrich Drepper <drepper@gmail.com>
25113
a4b89fd8
AR
25114 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25115 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25116 Patch by Aharon Robbins <arnold@skeeve.com>.
25117
ea389b12
UD
25118 [BZ #11892]
25119 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25120 on the stack.
25121
68a3f91f
UD
25122 [BZ #11895]
25123 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25124 through underflows.
25125
15cc7dd1
UD
25126 [BZ #12766]
25127 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25128 point to strings before performing equality test for error_one_per_line
25129 mode.
25130
f3799213
UD
25131 [BZ #11697]
25132 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25133
d79a9c94
UD
25134 [BZ #11820]
25135 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25136 (struct user_fpregs_struct): Avoid __uint*_t types.
25137
56e5eb46
UD
25138 [BZ #6420]
25139 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25140 symbol info. Use it instead of calling _dl_addr locally.
25141 (lock_and_info): New function.
25142 (tr_freehook): Call lock_and_info and pass symbol info as additional
25143 parameter to tr_where.
25144 (tr_mallochook): Likewise.
25145 (tr_reallochook): Likewise.
25146 (tr_memalignhook): Likewise.
25147
6ce75379
UD
25148 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25149 used and couldn't be at all thread-safe.
25150
f8a3b5bf
UD
251512011-05-15 Ulrich Drepper <drepper@gmail.com>
25152
94b7cc37
UD
25153 * libio/freopen.c (freopen): Don't close old file descriptor
25154 before the new one is opened. Instead dup the new file descriptor
25155 to the old one after the new stream is created.
25156 * libio/freopen64.c (freopen64): Likewise.
25157 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25158 * libio/fileops.c (_IO_new_file_close_it): Handle new
25159 _IO_FLAGS2_NOCLOSE flag.
25160 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25161 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25162 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25163 _IO_FLAGS2_NOCLOSE flag.
25164 * include/unistd.h: Add hidden_proto for dup3.
25165 Define __have_dup3.
25166 * io/dup3.c: Define hidden symbol.
25167 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25168
bd25564e
UD
25169 [BZ #7101]
25170 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25171 when an incomplete long option is used.
25172 * posix/tst-getopt_long1.c: New file.
25173 * posix/Makefile (tests): Add tst-getopt_long1.
25174
c84cfef4
UD
25175 [BZ #10138]
25176 * scripts/config.guess: Update from autoconf-2.68.
25177 * scripts/config.sub: Likewise.
25178
3b85df27
UD
25179 [BZ #10157]
25180 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25181 tests into ...
25182 (has_cpuclock): ...this. New function.
25183 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25184 macro here based on has_cpuclock code.
25185
15a856b1
UD
25186 [BZ #10149]
25187 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25188 First byte (not low byte) is now always NUL.
25189 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25190
05f399e6
UD
25191 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25192 Use non-cancelable interfaces.
25193
10a52685 25194 [BZ #9809]
94ecc67d
UD
25195 * locale/iso-639.def: Add entry for Sorani.
25196
f8a3b5bf
UD
25197 [BZ #11901]
25198 * include/stdlib.h: Move include protection to the right place.
25199 Define abort_msg_s. Declare __abort_msg with it.
25200 * stdlib/abort.c (__abort_msg): Adjust type.
25201 * assert/assert.c (__assert_fail_base): New function. Majority
25202 of code from __assert_fail. Allocate memory for __abort_msg with
25203 mmap.
25204 (__assert_fail): Now call __assert_fail_base.
25205 * assert/assert-perr.c: Remove bulk of implementation. Use
25206 __assert_fail_base.
25207 * include/assert.hL Declare __assert_fail_base.
25208 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25209 mmap.
25210 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25211
1af4e298
UD
252122011-05-14 Ulrich Drepper <drepper@gmail.com>
25213
f8a3b5bf 25214 [BZ #11952]
d26dfc60
MG
25215 [BZ #12453]
25216 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25217 until all modules are registered in the DTV.
25218 * elf/Makefile: Add rules to build and run tst-tls19.
25219 * elf/tst-tls19.c: New file.
25220 * elf/tst-tls19mod1.c: New file.
25221 * elf/tst-tls19mod2.c: New file.
25222 * elf/tst-tls19mod3.c: New file.
25223 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25224
2fc54d6f
UD
25225 [BZ #12083]
25226 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25227 correctly.
25228
98d76b46
UD
25229 [BZ #12601]
25230 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25231 two-byte sequence errors.
25232 * iconvdata/Makefile (tests): Add bug-iconv8.
25233 * iconvdata/bug-iconv8.c: New file.
25234
da3c19ef
UD
25235 [BZ #12626]
25236 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25237 buf2 definition.
25238
ca408c15
UD
25239 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25240
d6f67f7d
UD
25241 [BZ #12432]
25242 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25243 (dummy_getcfa): New function.
25244 (init): Get _Unwind_GetCFA address, use dummy if not found.
25245 (backtrace_helper): In recursion check, also check whether CFA changes.
25246 (__backtrace): Completely initialize arg.
25247
1af4e298 25248 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25249 storing incomplete byte sequence in state object. Avoid testing for
25250 guaranteed too small input if we know there is enough data available.
1af4e298 25251
da62f81b
AS
252522011-05-11 Andreas Schwab <schwab@redhat.com>
25253
25254 * Makeconfig (+link-pie): Indent.
25255 * Rules (binaries-pie): Define if $(have-fpie) and
25256 $(build-shared).
25257 (binaries-shared): Also filter out $(binaries-pie).
25258 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25259 * nscd/Makefile (others-pie): Add nscd.
25260 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25261 ($(objpfx)nscd): Remove command override.
25262 * login/Makefile (others-pie): Add pt_chown.
25263 ($(objpfx)pt_chown): Remove command override.
25264 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25265 remove command overrides.
25266
fcabc0f8
UD
252672011-05-13 Ulrich Drepper <drepper@gmail.com>
25268
20030ae6
UD
25269 * libio/tst_putwc.c: Fix error messages.
25270
fcabc0f8
UD
25271 [BZ #12724]
25272 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25273 currently writing and seek to current position when not.
25274 * libio/Makefile (tests): Add bug-fclose1.
25275 * libio/bug-fclose1.c: New file.
25276
320a5dc0
PB
252772011-05-12 Ulrich Drepper <drepper@gmail.com>
25278
25279 [BZ #12511]
25280 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25281 don't set DF_1_NODELETE here.
25282 (do_lookup_x): When entering new entry test for copy relocation
25283 and if necessary set DF_1_NODELETE flag.
25284 * elf/tst-unique4.cc: New file.
25285 * elf/tst-unique4.h: New file.
25286 * elf/tst-unique4lib.cc: New file.
25287 * elf/Makefile: Add rules to build and run tst-unique4.
25288 Patch by Piotr Bury <pbury@goahead.com>.
25289
22836f52
UD
252902011-05-11 Ulrich Drepper <drepper@gmail.com>
25291
f574184a
UD
25292 [BZ #12052]
25293 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25294
e1fb097f
UD
25295 [BZ #12625]
25296 * misc/mntent_r.c (addmntent): Flush the stream after the output
25297
22836f52
UD
25298 [BZ #12393]
25299 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25300 (is_trusted_path_normalize): Skip initial colon. Append slash
25301 to empty buffer. Duplicate is_trusted_path code but allow
25302 constructed patch to be prefix.
25303 (is_dst): Allow $ORIGIN followed by /.
25304 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25305 Correct testing of result of is_trusted_path_normalize
25306 (decompose_rpath): Fix warning.
25307
7b3b0b2a
UD
253082011-05-10 Ulrich Drepper <drepper@gmail.com>
25309
25310 [BZ #11257]
25311 * grp/initgroups.c (internal_getgrouplist): When we found the service
25312 list through the initgroups entry in nsswitch.conf do not always
25313 continue on a successful lookup. Don't always use the
eac80ce2 25314 __nss_group_database value if it is set.
7b3b0b2a
UD
25315 * nss/nsswitch.conf (initgroups): Change action for successful db
25316 lookup to continue for compatibility.
25317
2a81eaa5
UD
253182011-05-09 Ulrich Drepper <drepper@gmail.com>
25319
be97a69e
UD
25320 [BZ #11532]
25321 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25322 and CP774 modules.
25323 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25324 and CP774 modules.
25325 * iconvdata/tst-tables.sh: Likewise.
25326 * iconvdata/cp770.c: New file.
25327 * iconvdata/cp771.c: New file.
25328 * iconvdata/cp772.c: New file.
25329 * iconvdata/cp773.c: New file.
25330 * iconvdata/cp774.c: New file.
25331 * iconvdata/testdata/CP770: New file.
25332 * iconvdata/testdata/CP770..UTF8: New file.
25333 * iconvdata/testdata/CP771: New file.
25334 * iconvdata/testdata/CP771..UTF8: New file.
25335 * iconvdata/testdata/CP772: New file.
25336 * iconvdata/testdata/CP772..UTF8: New file.
25337 * iconvdata/testdata/CP773: New file.
25338 * iconvdata/testdata/CP773..UTF8: New file.
25339 * iconvdata/testdata/CP774: New file.
25340 * iconvdata/testdata/CP774..UTF8: New file.
25341
25342 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25343 END CHARMAP line.
25344 * iconvdata/gen-8bit-gap.sh: Likewise.
25345 * iconvdata/gen-8bit.sh: Likewise.
25346
c1e9e399
UD
25347 * locale/iso-639.def: Add ary entry.
25348
24c55fb3 25349 [BZ #11258]
96b4b1b0
UD
25350 * locale/C-translit.h.in: Add U20A1 transliteration.
25351
bdc2f971
KB
25352 [BZ #12178]
25353 * locale/iso-639.def: Add wae entry.
25354 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25355
2952b117
UD
25356 [BZ #12545]
25357 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25358 for n.
25359
2a81eaa5
UD
25360 [BZ #12711]
25361 * locale/C-translit.h.in: Add entry for U20B9.
25362 Patch by pravin.d.s@gmail.com.
25363
28377d1b
UD
253642011-05-08 Ulrich Drepper <drepper@gmail.com>
25365
7fb90fb8
UD
25366 [BZ #12713]
25367 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25368 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25369 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25370 in rtld. Use *stat64.
7fb90fb8 25371 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25372 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25373 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25374 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25375 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25376 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25377 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25378 __fstatat64 macros.
7fb90fb8
UD
25379 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25380 * dirent/rewinddir.c: Add libc_hidden_def.
25381 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25382 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25383
28377d1b
UD
25384 * include/dirent.h (__alloc_dir): Add flags parameter.
25385 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25386 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25387 __alloc_dir.
25388 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25389 from fdopendir if O_CLOEXEC is already set.
25390
66bdbaa4
AM
253912011-03-15 Alan Modra <amodra@gmail.com>
25392
25393 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25394 l_tls_firstbyte_offset non-zero. Save padding offset in
25395 l_tls_firstbyte_offset for later use.
25396 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25397 freeing static tls block.
25398
95721191
JN
253992011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25400
25401 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25402 where #ifdef was intended. The intent is to prevent ARG_MAX from
25403 being defined by the kernel headers.
25404
f87dfb1f
UD
254052011-05-07 Ulrich Drepper <drepper@gmail.com>
25406
25407 [BZ #12734]
25408 * resolv/resolv.h: Define RES_NOTLDQUERY.
25409 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25410 no-tld-query and set RES_NOTLDQUERY.
25411 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25412 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25413 modern BIND to search name as TLD unless forbidden.
25414
47c3cd7a
UD
254152011-05-07 Petr Baudis <pasky@suse.cz>
25416 Ulrich Drepper <drepper@gmail.com>
25417
25418 [BZ #12393]
25419 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25420 (is_trusted_path): ...to here.
c1e9ea35 25421 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25422 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25423 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25424
8a35c912
PP
254252011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25426
25427 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25428 __BEGIN/__END_DECLS.
25429
acd41f47
UD
254302011-05-06 Ulrich Drepper <drepper@gmail.com>
25431
25432 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25433 NSS_STATUS_NOTFOUND if no record was found.
25434
597df647
AS
254352011-05-05 Andreas Schwab <schwab@redhat.com>
25436
25437 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25438 (headers-not-in-tirpc): Remove rpc/netdb.h
25439 * resolv/netdb.h: Revert last change.
25440
b9af1301
PP
254412011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25442
25443 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25444 circular dependency between libgcc.a and libc.a.
25445
4e34d5f5
AS
254462011-05-05 Andreas Schwab <schwab@redhat.com>
25447
25448 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25449 * nis/Makefile: Don't install rpcsvc/*.
25450 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25451 instead of <rpc/types.h>.
25452 (MAXHOSTNAMELEN): Define.
25453
00ee369c
AS
254542011-05-03 Andreas Schwab <schwab@redhat.com>
25455
25456 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25457
0b592a30
MB
254582011-04-28 Maciej Babinski <mbabinski@google.com>
25459
25460 [BZ #12714]
25461 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25462 gethostbyname4_r when IPv6 results are possible.
25463
6e04cbbe
UD
254642011-05-02 Ulrich Drepper <drepper@gmail.com>
25465
25466 [BZ #12723]
25467 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25468 _PC_PIPE_BUF handling.
25469
e4ecafe0
BH
254702011-04-30 Bruno Haible <bruno@clisp.org>
25471
25472 [BZ #12717]
25473 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25474 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25475 to 'int'.
25476 * inet/getnameinfo.c (getnameinfo): Likewise.
25477
125ee683
UD
254782011-04-29 Ulrich Drepper <drepper@gmail.com>
25479
25480 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25481 to groups setting in database lookup.
25482 * nss/nsswitch.conf: Add initgroups entry.
25483
b722481a
EB
254842011-04-22 Ulrich Drepper <drepper@gmail.com>
25485
25486 [BZ #12685]
25487 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25488 mode string.
25489 Patch by Eric Blake <eblake@redhat.com>.
25490
4df46dbd
L
254912011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25492
25493 * sunrpc/Makefile (need-export-routines): Add svc_run.
25494 (routines): Remove svc_run.
25495 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25496 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25497 * sunrpc/svc_run.c (svc_run): Likewise.
25498 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25499
e84142d2
UD
255002011-04-21 Ulrich Drepper <drepper@gmail.com>
25501
25502 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25503 problem in reallocation in last patch.
25504
877175d8
UD
255052011-04-20 Ulrich Drepper <drepper@gmail.com>
25506
25507 * sunrpc/Makefile: Move inclusion of Rules.
25508
ab8eed78
UD
255092011-04-19 Ulrich Drepper <drepper@gmail.com>
25510
25511 * nss/nss_files/files-initgroups.c: New file.
25512 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25513 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25514 _nss_files_initgroups_dyn.
25515
e3d8f584
RS
255162011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25517
25518 * elf/elf.h (R_ARM_IRELATIVE): Define.
25519
af190f45
UD
255202011-04-19 Ulrich Drepper <drepper@gmail.com>
25521
25522 * po/ru.po: Update from translation team.
25523
53cf59ef
UD
255242011-04-17 Ulrich Drepper <drepper@gmail.com>
25525
25526 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25527 dependencies.
25528
4c559bcd
MF
255292011-02-06 Mike Frysinger <vapier@gentoo.org>
25530
25531 [BZ #12653]
25532 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25533 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25534 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25535 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25536 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25537
4420675c
AS
255382011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25539
25540 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25541 differing bytes.
25542 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25543 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25544 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25545
75ea32ab
UD
255462011-04-17 Ulrich Drepper <drepper@gmail.com>
25547
25548 [BZ #12420]
25549 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25550 storing it.
25551 * stdlib/bug-getcontext.c: New file.
25552 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25553
27390476
AK
255542011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25555
25556 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25557 instructions into .machine "z9-109".
25558 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25559 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25560
10442705
AK
255612011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25562
25563 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25564 between environment variables and auxiliary vector.
25565
7b57bfe5
UD
255662011-04-16 Ulrich Drepper <drepper@gmail.com>
25567
25568 * Makefile: Add rules to build linkobj/libc.so.
25569 * include/libc-symbols.h: Define libc_hidden_nolink.
25570 * include/rpc/auth.h: Mark functions which are to be hidden.
25571 * include/rpc/auth_des.h: Likewise.
25572 * include/rpc/auth_unix.h: Likewise.
25573 * include/rpc/clnt.h: Likewise.
25574 * include/rpc/des_crypt.h: Likewise.
25575 * include/rpc/key_prot.h: Likewise.
25576 * include/rpc/pmap_clnt.h: Likewise.
25577 * include/rpc/pmap_prot.h: Likewise.
25578 * include/rpc/pmap_rmt.h: Likewise.
25579 * include/rpc/rpc_msg.h: Likewise.
25580 * include/rpc/svc.h: Likewise.
25581 * include/rpc/svc_auth.h: Likewise.
25582 * include/rpc/xdr.h: Likewise.
25583 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25584 * nss/Makefile: Likewise.
25585 * sunrpc/Makefile: Don't install headers. Build library with normal
25586 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25587 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25588 for the compat linking library. Remove use of INTDEF/INTUSE.
25589 * sunrpc/auth_none.c: Likewise.
25590 * sunrpc/auth_unix.c: Likewise.
25591 * sunrpc/authdes_prot.c: Likewise.
25592 * sunrpc/authuxprot.c: Likewise.
25593 * sunrpc/clnt_gen.c: Likewise.
25594 * sunrpc/clnt_perr.c: Likewise.
25595 * sunrpc/clnt_raw.c: Likewise.
25596 * sunrpc/clnt_simp.c: Likewise.
25597 * sunrpc/clnt_tcp.c: Likewise.
25598 * sunrpc/clnt_udp.c: Likewise.
25599 * sunrpc/clnt_unix.c: Likewise.
25600 * sunrpc/des_crypt.c: Likewise.
25601 * sunrpc/des_soft.c: Likewise.
25602 * sunrpc/get_myaddr.c: Likewise.
25603 * sunrpc/key_call.c: Likewise.
25604 * sunrpc/key_prot.c: Likewise.
25605 * sunrpc/netname.c: Likewise.
25606 * sunrpc/pm_getmaps.c: Likewise.
25607 * sunrpc/pm_getport.c: Likewise.
25608 * sunrpc/pmap_clnt.c: Likewise.
25609 * sunrpc/pmap_prot.c: Likewise.
25610 * sunrpc/pmap_prot2.c: Likewise.
25611 * sunrpc/pmap_rmt.c: Likewise.
25612 * sunrpc/publickey.c: Likewise.
25613 * sunrpc/rpc_cmsg.c: Likewise.
25614 * sunrpc/rpc_common.c: Likewise.
25615 * sunrpc/rpc_dtable.c: Likewise.
25616 * sunrpc/rpc_prot.c: Likewise.
25617 * sunrpc/rpc_thread.c: Likewise.
25618 * sunrpc/rtime.c: Likewise.
25619 * sunrpc/svc.c: Likewise.
25620 * sunrpc/svc_auth.c: Likewise.
25621 * sunrpc/svc_authux.c: Likewise.
25622 * sunrpc/svc_raw.c: Likewise.
25623 * sunrpc/svc_run.c: Likewise.
25624 * sunrpc/svc_simple.c: Likewise.
25625 * sunrpc/svc_tcp.c: Likewise.
25626 * sunrpc/svc_udp.c: Likewise.
25627 * sunrpc/svc_unix.c: Likewise.
25628 * sunrpc/svcauth_des.c: Likewise.
25629 * sunrpc/xcrypt.c: Likewise.
25630 * sunrpc/xdr.c: Likewise.
25631 * sunrpc/xdr_array.c: Likewise.
25632 * sunrpc/xdr_float.c: Likewise.
25633 * sunrpc/xdr_intXX_t.c: Likewise.
25634 * sunrpc/xdr_mem.c: Likewise.
25635 * sunrpc/xdr_rec.c: Likewise.
25636 * sunrpc/xdr_ref.c: Likewise.
25637 * sunrpc/xdr_sizeof.c: Likewise.
25638 * sunrpc/xdr_stdio.c: Likewise.
25639
e6c61494
UD
256402011-04-10 Ulrich Drepper <drepper@gmail.com>
25641
25642 [BZ #12650]
25643 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25644 * sysdeps/ia64/dl-tls.h: Likewise.
25645 * sysdeps/powerpc/dl-tls.h: Likewise.
25646 * sysdeps/s390/dl-tls.h: Likewise.
25647 * sysdeps/sh/dl-tls.h: Likewise.
25648 * sysdeps/sparc/dl-tls.h: Likewise.
25649 * sysdeps/x86_64/dl-tls.h: Likewise.
25650 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25651
34fe483e
AS
256522011-03-14 Andreas Schwab <schwab@redhat.com>
25653
25654 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25655 rpath element also skip the following colon.
25656 (expand_dynamic_string_token): Add is_path parameter and pass
25657 down to DL_DST_REQUIRED and _dl_dst_substitute.
25658 (decompose_rpath): Call expand_dynamic_string_token with
25659 non-zero is_path. Ignore empty rpaths.
25660 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25661 with zero is_path.
25662
f12a32e6
AS
256632011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25664
25665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25666 Make cancelable.
25667
38a7d692
UD
256682011-04-09 Ulrich Drepper <drepper@gmail.com>
25669
25670 [BZ #12655]
25671 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25672 Patch by Filipe David Manana <fdmanana@apache.org>.
25673
e451d22b
AS
256742011-04-07 Andreas Schwab <schwab@redhat.com>
25675
25676 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25677 Maintain aligned stack.
25678 (CHECK_RSP): Remove unused macro.
25679
dedc7c7b
UD
256802011-04-03 Ulrich Drepper <drepper@gmail.com>
25681
25682 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25683 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25684
94521213
UD
256852011-04-02 Ulrich Drepper <drepper@gmail.com>
25686
25687 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25688
8cb700c0 25689 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25690
0354e355
L
256912011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25692
25693 [BZ #12518]
25694 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25695 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25696 * sysdeps/x86_64/memmove.c: New file.
25697 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25698 (memcpy): Renamed to ...
25699 (__new_memcpy): This.
25700 (memcpy): Provide GLIBC_2_14 memcpy.
25701 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25702 (memcpy): Provide GLIBC_2_2_5 memcpy.
25703
8593482f
UD
257042011-04-01 Ulrich Drepper <drepper@gmail.com>
25705
25706 [BZ #12631]
25707 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25708
81a5726b
AS
257092011-03-30 Andreas Schwab <schwab@redhat.com>
25710
25711 * misc/syncfs.c: New file.
25712 * misc/Makefile (routines): Add syncfs.
25713 * posix/unistd.h: Declare syncfs.
25714 * sysdeps/unix/syscalls.list: Add syncfs.
25715
00e5419f
AS
257162011-04-01 Andreas Schwab <schwab@redhat.com>
25717
25718 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25719 open_by_handle_at.
25720 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25721 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25722 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25723 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25725 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25726 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25727
748876bf
UD
257282011-04-01 Ulrich Drepper <drepper@gmail.com>
25729
658e451d
UD
25730 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25731 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25732 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25733 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25734 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25735 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25736 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25737
748876bf
UD
25738 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25739 sync_file_range.c with -fexceptions.
25740 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25741 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25742 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25743 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25744 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25745 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25746 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25747 sync_file_range as cancellation point
25748 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25749 now a wrapper around __call_sync_file_range with cancellation handling.
25750 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25751 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25752 function name to __call_sync_file_range.
25753 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25754 Add call_sync_file_range.
748876bf 25755
6e63d5e1
AS
257562011-04-01 Andreas Schwab <schwab@redhat.com>
25757
25758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25759 bits/timex.h.
6e63d5e1 25760
46998f74
UD
257612011-04-01 Ulrich Drepper <drepper@gmail.com>
25762
4c1423ed
UD
25763 * iconv/iconv.h: Fix typo in comment.
25764 * io/fcntl.h: Likewise.
25765 * libio/stdio.h: Likewise.
25766 * posix/spawn.h: Likewise.
25767 * posix/unistd.h: Likewise.
25768 * stdlib/stdlib.h: Likewise.
25769 * time/time.h: Likewise.
25770 * wcsmbs/wchar.h: Likewise.
25771
158648c0
UD
25772 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25773 open_by_handle): Add.
25774 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25775 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25776 Augment a few comments.
25777 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25778 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25779 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25780 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25781 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25782 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25783 open_by_handle.
25784
46998f74
UD
25785 * io/fcntl.h (AT_EMPTY_PATH): Define.
25786
83fe108b
UD
257872011-03-30 Ulrich Drepper <drepper@gmail.com>
25788
25789 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25790 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25791 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25792 to...
25793 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25794 * Versions.def: Add GLIBC_2.14.
25795 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25796 Export.
83fe108b 25797
bb242059
UD
257982011-03-22 Ulrich Drepper <drepper@gmail.com>
25799
25800 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25801 round counter.
25802 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25803
c97a1282
L
258042011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25805
25806 [BZ #12597]
25807 * string/test-strncmp.c (do_page_test): New function.
25808 (check2): Likewise.
25809 (test_main): Call check2.
25810 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25811
2a115601
UD
258122011-03-20 Ulrich Drepper <drepper@gmail.com>
25813
25814 [BZ #12587]
25815 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25816 Handle cache information in CPU leaf 4.
25817 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25818
8126d904
UD
258192011-03-18 Ulrich Drepper <drepper@gmail.com>
25820
042c49c6 25821 [BZ #12583]
8126d904
UD
25822 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25823 character representation.
25824 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25825
ccfe366e
RA
258262011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25827
25828 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25829 END(__isnan) to END(__isnanf) to match function entry point/label
25830 EALIGN(__isnanf,...).
25831
c6e13027
JJ
258322011-03-10 Jakub Jelinek <jakub@redhat.com>
25833
25834 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25835
33f85a3f
UD
258362011-03-10 Ulrich Drepper <drepper@gmail.com>
25837
028478fa
UD
25838 [BZ #12510]
25839 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25840 copy from the symbol referenced in the relocation to initialize the
25841 used variable.
25842 Patch by Piotr Bury <pbury@goahead.com>.
25843 * elf/Makefile: Add rules to build and tst-unique3.
25844 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25845 * elf/tst-unique3.cc: New file.
25846 * elf/tst-unique3.h: New file.
25847 * elf/tst-unique3lib.cc: New file.
25848 * elf/tst-unique3lib2.cc: New file.
25849
33f85a3f
UD
25850 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25851
03592fc7
MF
258522011-03-10 Mike Frysinger <vapier@gentoo.org>
25853
25854 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25855 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25856 to _start.
03592fc7 25857
6a5ee102
UD
258582011-03-06 Ulrich Drepper <drepper@gmail.com>
25859
25860 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25861 to-be-loaded object along a path to loader is ld.so.
25862
7e4ba49c
HJ
258632011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25864 Ulrich Drepper <drepper@gmail.com>
25865
25866 * sysdeps/x86_64/memset.S: After aligning destination, code
25867 branches to different locations depending on the value of
25868 misalignment, when multiarch is enabled. Fix this.
25869
258702011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25871
25872 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25873 Set _x86_64_preferred_memory_instruction for AMD processsors.
25874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25875 Set bit_Prefer_SSE_for_memop for AMD processors.
25876
13a804de
UD
258772011-03-04 Ulrich Drepper <drepper@gmail.com>
25878
25879 * libio/fmemopen.c (fmemopen): Optimize a bit.
25880
9d25c392
AS
258812011-03-03 Andreas Schwab <schwab@redhat.com>
25882
25883 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25884
a5543c6a
RM
258852011-03-03 Roland McGrath <roland@redhat.com>
25886
25887 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25888
012d35f7
DM
258892011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25890
7e4ba49c 25891 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25892 __bzero_ultra1 instead of __memset_ultra1.
25893
4bff6e01
AS
258942011-02-23 Andreas Schwab <schwab@redhat.com>
25895 Ulrich Drepper <drepper@gmail.com>
25896
25897 [BZ #12509]
25898 * include/link.h (struct link_map): Add l_orig_initfini.
25899 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25900 returning unsuccessfully.
25901 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25902 close of a file loaded at startup, restore the original l_initfini
25903 list.
25904 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25905 list, store the pointer.
25906 * elf/Makefile ($(objpfx)noload-mem): New rule.
25907 (noload-ENV): Define.
25908 (tests): Add $(objpfx)noload-mem.
25909 * elf/noload.c: Include <memcheck.h>.
25910 (main): Call mtrace. Close all opened handles.
25911
f2092faf
AS
259122011-02-17 Andreas Schwab <schwab@redhat.com>
25913
25914 [BZ #12454]
25915 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25916 dependencies are missing.
25917
6c8a2e88
ST
259182011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25919
f2092faf 25920 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25921 Hurd needs munmap.
25922 * sysdeps/mach/hurd/ifreq.h: New file.
25923
84a42118
PB
259242011-01-27 Petr Baudis <pasky@suse.cz>
25925 Ulrich Drepper <drepper@gmail.com>
25926
071f805e 25927 [BZ 12445]#
84a42118
PB
25928 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25929 to extend_alloca().
25930 * stdio-common/bug23.c: New file.
25931 * stdio-common/Makefile (tests): Add bug23.
25932
e23fe25b
AS
259332010-09-28 Andreas Schwab <schwab@redhat.com>
25934 Ulrich Drepper <drepper@gmail.com>
25935
25936 [BZ #12489]
25937 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25938 before performing relro protection. At old place add assertion
25939 to make sure nothing changed.
25940
d3f02e10
NS
259412011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25942 Glauber de Oliveira Costa <glommer@gmail.com>
25943
25944 * elf/elf.h: Add new ARM TLS relocs.
25945
d55fd7a5
RA
259462011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25947
25948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25949 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25950 cast from r3.
25951 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25952 'tests' variable.
25953 * sysdeps/wordsize-64/tst-writev.c: New file.
25954
2206397e
RA
259552011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25956
25957 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25958 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25959 insns in _dl_start to prevent a TOC reference before relocs are
25960 resolved.
25961
e9433893
UD
259622011-02-15 Ulrich Drepper <drepper@gmail.com>
25963
25964 [BZ #12469]
25965 * Makeconfig: Remove RANLIB definition.
25966 * Makerules: Don't use RANLIB.
25967 * aclocal.m4: Remove ranlib test.
25968 * configure.in: No need to check for ranlib.
25969 * elf/rtld-Rules: Don't use RANLIB.
25970
f75286c6
ST
259712011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25972
8e31c82d
ST
25973 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25974 protection macro.
25975 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25976 inclusion protection macro.
25977
f75286c6
ST
25978 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25979 SIGRTMIN and SIGRTMAX and print information in that case only when
25980 SIGRTMIN is defined.
25981
c1d0e639
JJ
259822011-02-11 Jakub Jelinek <jakub@redhat.com>
25983
25984 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25985 arginfo fn returning -1.
25986
25987 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25988 and thousands string is zero terminated.
25989
edf9294e
AS
259902011-02-03 Andreas Schwab <schwab@redhat.com>
25991
25992 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25993 sysdeps/unix/sysv/linux/bits/socket.h.
25994
2b7e92df
ST
259952011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25996
edf9294e
AS
25997 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25998 (__CPU_COUNT): Remove old macros.
25999 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26000 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26001 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26002 (__sched_cpualloc, __sched_cpufree): Add declarations.
26003
a4c7ea7b
UD
260042011-02-05 Ulrich Drepper <drepper@gmail.com>
26005
26006 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26007 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26008 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26009 (readdhstai): Return value of addhstaiX call.
26010 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26011 (addgrbyX): Return value returned by cache_addgr.
26012 (readdgrbyname): Return value returned by addgrbyX.
26013 (readdgrbygid): Likewise.
26014 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26015 (addpwbyX): Return value returned by cache_addpw.
26016 (readdpwbyname): Return value returned by addhstbyX.
26017 (readdpwbyuid): Likewise.
26018 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26019 (addservbyX): Return value returned by cache_addserv.
26020 (readdservbyname): Return value returned by addservbyX:
26021 (readdservbyport): Likewise.
26022 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26023 (addhstbyX): Return value returned by cache_addhst.
26024 (readdhstbyname): Return value returned by addhstbyX.
26025 (readdhstbyaddr): Likewise.
26026 (readdhstbynamev6): Likewise.
26027 (readdhstbyaddrv6): Likewise.
26028 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26029 (readdinitgroups): Return value returned by addinitgroupsX.
26030 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26031 (prune_cache): Keep track of timeout value of re-added entries.
26032 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26033 * nscd/nscd.h: Adjust prototypes of readd* functions.
26034
a0bf67cc
RM
260352011-02-04 Roland McGrath <roland@redhat.com>
26036
26037 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26038 (nis_stats): Likewise.
26039 * nis/nis_modify.c (nis_modify): Likewise.
26040 * nis/nis_remove.c (nis_remove): Likewise.
26041 * nis/nis_add.c (nis_add): Likewise.
26042
26043 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26044
26045 * posix/fnmatch_loop.c: Add some consts.
26046
26047 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26048
435b95eb
L
260492011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26050
26051 [BZ #12460]
26052 * config.make.in (config-cflags-novzeroupper): Define.
26053 * configure.in: Substitute libc_cv_cc_novzeroupper.
26054 * elf/Makefile (AVX-CFLAGS): Define.
26055 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26056 (CFLAGS-tst-auditmod4a.c): Likewise.
26057 (CFLAGS-tst-auditmod4b.c): Likewise.
26058 (CFLAGS-tst-auditmod6b.c): Likewise.
26059 (CFLAGS-tst-auditmod6c.c): Likewise.
26060 (CFLAGS-tst-auditmod7b.c): Likewise.
26061 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26062
8517b15e
UD
260632011-02-02 Ulrich Drepper <drepper@gmail.com>
26064
26065 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26066 function to the callback.
26067 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26068
10a656fe
AS
260692011-02-02 Andreas Schwab <schwab@redhat.com>
26070
26071 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26072 of errno.
26073
968dad0a
UD
260742011-01-19 Ulrich Drepper <drepper@gmail.com>
26075
9f94d2ea 26076 [BZ #11724]
968dad0a
UD
26077 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26078 of constructors.
26079 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26080 of destructors.
26081 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26082
26083 [BZ #11724]
26084 * elf/Makefile: Add rules to build and run new test.
26085 * elf/tst-initorder.c: New file.
26086 * elf/tst-initorder.exp: New file.
26087 * elf/tst-initordera1.c: New file.
26088 * elf/tst-initordera2.c: New file.
26089 * elf/tst-initordera3.c: New file.
26090 * elf/tst-initordera4.c: New file.
26091 * elf/tst-initorderb1.c: New file.
26092 * elf/tst-initorderb2.c: New file.
26093 * elf/tst-order-a1.c: New file.
26094 * elf/tst-order-a2.c: New file.
26095 * elf/tst-order-a3.c: New file.
26096 * elf/tst-order-a4.c: New file.
26097 * elf/tst-order-b1.c: New file.
26098 * elf/tst-order-b2.c: New file.
26099 * elf/tst-order-main.c: New file.
26100 New test case by George Gensure <werkt0@gmail.com>.
26101
86e92359
UD
261022010-10-01 Andreas Schwab <schwab@redhat.com>
26103
26104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26105 decoding ACE if AI_CANONIDN.
26106
5d5732b0
UD
261072011-01-18 Ulrich Drepper <drepper@gmail.com>
26108
26109 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26110
a77e8cbc
UD
261112011-01-17 Ulrich Drepper <drepper@gmail.com>
26112
6392473f
UD
26113 * version.h (RELEASE): Bump for 2.13 release.
26114 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26115
620a0529
UD
26116 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26117
18ba70a5
UD
26118 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26119 MADV_NOHUGEPAGE.
32465c3e
UD
26120 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26121 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26122 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26123 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26124 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26125 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26126
c0dafcf1
UD
26127 * posix/getconf.c: Update copyright year.
26128 * catgets/gencat.c: Likewise.
26129 * csu/version.c: Likewise.
26130 * debug/catchsegv.sh: Likewise.
26131 * debug/xtrace.sh: Likewise.
26132 * elf/ldconfig.c: Likewise.
26133 * elf/ldd.bash.in: Likewise.
26134 * elf/sprof.c (print_version): Likewise.
26135 * iconv/iconv_prog.c: Likewise.
26136 * iconv/iconvconfig.c: Likewise.
26137 * locale/programs/locale.c: Likewise.
26138 * locale/programs/localedef.c: Likewise.
26139 * malloc/memusage.sh: Likewise.
26140 * malloc/mtrace.pl: Likewise.
26141 * nscd/nscd.c (print_version): Likewise.
26142 * nss/getent.c: Likewise.
26143
a77e8cbc
UD
26144 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26145 PF_CAIF, and PF_ALG.
26146 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26147
77e8bddf
AS
261482011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26149
1f20b93a
AS
26150 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26151 (modules-names): Use them.
26152 (ifunc-test-modules, ifunc-pie-tests): Define.
26153 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26154 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26155 (test-extras): Likewise.
26156 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26157 $(compile-command.c).
26158 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26159 (all-built-dso): Define.
26160 (check-textrel.out, check-execstack.out): Depend on it.
26161
77e8bddf
AS
26162 * configure.in: Don't override --enable-multi-arch.
26163
bc425b33
UD
261642011-01-15 Ulrich Drepper <drepper@gmail.com>
26165
26166 [BZ #6812]
26167 * nscd/hstcache.c (tryagain): Define.
26168 (cache_addhst): Return tryagain not notfound for temporary errors.
26169 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26170 failed.
26171
794c3ad3
UD
261722011-01-14 Ulrich Drepper <drepper@gmail.com>
26173
70181fdd
UD
26174 [BZ #10563]
26175 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26176 to make the syscall.
26177 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26178
794c3ad3
UD
26179 [BZ #12378]
26180 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26181 and fall back to matching as normal character if the string ends before
26182 the matching ']' is found. This is what POSIX requires.
26183 * posix/testfnm.c: Adjust test result.
26184 * posix/globtest.sh: Adjust test result. Add new test.
26185 * posix/tst-fnmatch.input: Likewise.
26186 * posix/tst-fnmatch2.c: Add new test.
26187
68dc9497
AS
261882010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26189
26190 * elf/Makefile (check-execstack): Revert last change. Depend on
26191 check-execstack.h.
26192 (check-execstack.h): New target.
26193 (generated): Add check-execstack.h.
26194 * elf/check-execstack.c: Include "check-execstack.h".
26195 (main): Revert last change.
26196 (handle_file): Return zero if GNU_STACK is absent and
26197 DEFAULT_STACK_PERMS doesn't include PF_X.
26198
451f001b
UD
261992011-01-13 Ulrich Drepper <drepper@gmail.com>
26200
cfa28e56
UD
26201 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26202 in child fails because the descriptor is already closed.
8cf8ce17
UD
26203 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26204 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26205 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26206
1086d70d
UD
26207 [BZ #12397]
26208 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26209 syscall.
26210
451f001b
UD
26211 [BZ #10484]
26212 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26213 temporary buffer used to handle multi lookups locally.
a85b5cb4 26214 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26215
08769175
UD
262162011-01-12 Ulrich Drepper <drepper@gmail.com>
26217
26218 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26219 loader is ld.so.
26220
5e49c52e
UD
262212011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26222
26223 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26224 alignment for SSE2.
26225
60522a5f
UD
262262011-01-12 Ulrich Drepper <drepper@gmail.com>
26227
26228 [BZ #12394]
26229 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26230 characters. When rounding increased number of integer digits recompute
26231 number of groups.
26232 * stdio-common/tst-grouping.c: New file.
26233 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26234
f257bbd7
UD
262352011-01-09 Ulrich Drepper <drepper@gmail.com>
26236
26237 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26238 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26239
26240 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26241 void.
26242 * bits/select.h: Likewise.
26243
fa9c15cb
UD
262442011-01-08 Ulrich Drepper <drepper@gmail.com>
26245
26246 * po/ja.po: Update from translation team.
26247
16c2895f
DM
262482011-01-04 David S. Miller <davem@sunset.davemloft.net>
26249
26250 [BZ #11155]
26251 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26252 implementation just like for lxstat, fxstatat, et al.
26253
2543fef2
JM
262542010-12-27 Jim Meyering <meyering@redhat.com>
26255
26256 [BZ #12348]
26257 * posix/regexec.c (build_trtable): Return failure indication upon
26258 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26259
98727dbe
UD
262602010-12-25 Ulrich Drepper <drepper@gmail.com>
26261
5bd6dc5c
UD
26262 [BZ #12201]
26263 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26264 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26265 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26266 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26267
97983464
UD
26268 [BZ #12207]
26269 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26270
98727dbe
UD
26271 [BZ #12204]
26272 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26273 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26274
4a531bb0
L
262752010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26276
26277 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26278 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26279 script has SORT_BY_INIT_PRIORITY.
26280 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26281 NO_CTORS_DTORS_SECTIONS is defined.
26282 * elf/soinit.c: Likewise.
26283 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26284 NO_CTORS_DTORS_SECTIONS is defined.
26285 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26286 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26287 * sysdeps/sh/init-first.c: Likewise.
26288 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26289
07eb4b71
UD
262902010-12-24 Ulrich Drepper <drepper@gmail.com>
26291
26292 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26293 always use the slow path.
26294
30950a5f
RA
262952010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26296
26297 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26298 similar rule which adds the sysdep directories to the header search in
26299 order to pick up the correct platform stackinfo.h.
26300 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26301 perform test if it is, otherwise return successfully without testing.
26302 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26303 DEFAULT_STACK_PERMS define in stackinfo.h.
26304 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26305 defined in stackinfo.h.
26306 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26307 DEFAULT_STACK_PERMS defined in stackinfo.h.
26308 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26309 * sysdeps/ia64/stackinfo.h: Likewise.
26310 * sysdeps/s390/stackinfo.h: Likewise.
26311 * sysdeps/sh/stackinfo.h: Likewise.
26312 * sysdeps/sparc/stackinfo.h: Likewise.
26313 * sysdeps/x86_64/stackinfo.h: Likewise.
26314 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26315 PF_X for powerpc64. Retain PF_X for powerpc32.
26316
db753e2c
UD
263172010-12-19 Ulrich Drepper <drepper@gmail.com>
26318
14b697f7
UD
26319 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26320 accurately.
db753e2c
UD
26321 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26322 GETDENTS_64BIT_ALIGNED.
26323
28300719
UD
263242010-12-14 Ulrich Drepper <dreper@gmail.com>
26325
14b697f7 26326 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26327
4f197237
AS
263282010-12-10 Andreas Schwab <schwab@redhat.com>
26329
dbb0472f
AS
26330 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26331 _GNU_SOURCE.
26332
4f197237
AS
26333 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26334 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26335 Remove __restrict.
26336 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26337 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26338
fb88ac72
UD
263392010-12-09 Ulrich Drepper <drepper@gmail.com>
26340
26341 [BZ #11655]
26342 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26343 are initialized.
26344
42acbb92
JJ
263452010-12-09 Jakub Jelinek <jakub@redhat.com>
26346
26347 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26348
c038d98d
UD
263492010-12-03 Ulrich Drepper <drepper@gmail.com>
26350
26351 * po/it.po: Update from translation team.
26352
3a4a2499
L
263532010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26354
26355 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26356 unused codes.
26357
1e24cf6e
UD
263582010-11-30 Ulrich Drepper <drepper@gmail.com>
26359
26360 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26361
a7690819
AS
263622010-11-24 Andreas Schwab <schwab@redhat.com>
26363
26364 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26365 specially.
26366 (gaih_getanswer_slice): Likewise.
26367
3bf8d1b1
JJ
263682010-10-20 Jakub Jelinek <jakub@redhat.com>
26369
26370 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26371
6db52fbb
PB
263722010-05-31 Petr Baudis <pasky@suse.cz>
26373
26374 [BZ #11149]
26375 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26376 silently even in the chroot mode.
26377
eaca7569
UD
263782010-11-22 Ulrich Drepper <drepper@gmail.com>
26379
26380 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26381 last patch a bit. Pretty printing
26382
3056dcdb
UD
263832010-05-31 Petr Baudis <pasky@suse.cz>
26384
26385 [BZ #10085]
26386 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26387 initialization of skip_initgroups_dyn.
26388
cf7c9078
UD
263892010-11-19 Ulrich Drepper <drepper@gmail.com>
26390
26391 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26392 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26393
a1fb5e3e
UD
263942010-11-16 Ulrich Drepper <drepper@gmail.com>
26395
26396 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26397
3540d66b
AS
263982010-11-11 Andreas Schwab <schwab@redhat.com>
26399
26400 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26401 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26402 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26403 ($(objpfx)tst-fnmatch-mem): New rule.
26404 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26405 * posix/tst-fnmatch.c (main): Call mtrace.
26406
13b69574
L
264072010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26408
26409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26410 Support Intel processor model 6 and model 0x2c.
26411
da93d214
LM
264122010-11-10 Luis Machado <luisgpm@br.ibm.com>
26413
26414 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26415 signed comparison.
26416
8ca52c6e
L
264172010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26418
26419 [BZ #12205]
26420 * string/test-strncasecmp.c (check_result): New function.
26421 (do_one_test): Use it.
26422 (check1): New function.
26423 (test_main): Use it.
26424 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26425 Support strcasecmp and strncasecmp.
26426
69da074d
UD
264272010-11-08 Ulrich Drepper <drepper@gmail.com>
26428
26429 [BZ #12194]
26430 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26431 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26432
ff02d528
L
264332010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26434
26435 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26436 IFUNC support.
26437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26438 memset-x86-64.
26439 * sysdeps/x86_64/multiarch/bzero.S: New file.
26440 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26441 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26442 * sysdeps/x86_64/multiarch/memset.S: New file.
26443 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26445 Set bit_Prefer_SSE_for_memop for Intel processors.
26446 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26447 Define.
26448 (index_Prefer_SSE_for_memop): Define.
26449 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26450
344d0b54
LM
264512010-11-04 Luis Machado <luisgpm@br.ibm.com>
26452
26453 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26454 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26455
c0dde15b
UD
264562010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26457
26458 [BZ #12191]
26459 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26460 (__x86_64_raw_data_cache_size_half): Likewise.
26461 (__x86_64_raw_shared_cache_size): Likewise.
26462 (__x86_64_raw_shared_cache_size_half): Likewise.
26463
26464 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26465 (__x86_64_raw_data_cache_size_half): Likewise.
26466 (__x86_64_raw_shared_cache_size): Likewise.
26467 (__x86_64_raw_shared_cache_size_half): Likewise.
26468 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26469 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26470 and __x86_64_raw_shared_cache_size_half. Round
26471 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26472 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26473 to multiple of 256 bytes.
26474
0e516e0e
MS
264752010-11-03 Ulrich Drepper <drepper@gmail.com>
26476
26477 [BZ #12167]
26478 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26479 of inacessible symlinks. Verify result of symlink before returning it.
26480 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26481 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26482
0e012e87
ER
264832010-10-28 Erich Ritz <erichritz@gmail.com>
26484
26485 * math/math.h (isinf): Fix typo in comment.
26486
de0ff7bc
UD
264872010-11-01 Ulrich Drepper <drepper@gmail.com>
26488
26489 * po/da.po: Update from translation team.
26490
fa41c84d
UD
264912010-10-26 Ulrich Drepper <drepper@gmail.com>
26492
26493 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26494 is added to the list.
26495
f0967738
AK
264962010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26497 Ulrich Drepper <drepper@gmail.com>
26498
26499 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26500 the global list here. Move code to...
26501 (_dl_add_to_namespace_list): ...here. New function.
26502 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26503 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26504 * elf/dl-load.c (lose): Don't remove the element from the list.
26505 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26506 (_dl_map_object): Likewise.
26507
265082010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26509
26510 [BZ #12159]
26511 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26512 into all bytes of SSE register.
26513 Patch by Richard Li <richardpku@gmail.com>.
26514
f0967738 265152010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26516
26517 [BZ #12140]
26518 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26519 perturbing.
26520
d0b9e94f
MB
265212010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26522
26523 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26524 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26525 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26526 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26528 submachine.
26529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26530
8e9f92e9
AS
265312010-10-22 Andreas Schwab <schwab@redhat.com>
26532
26533 * include/dlfcn.h (__RTLD_SECURE): Define.
26534 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26535 mode & __RTLD_SECURE instead.
26536 (open_path): Rename preloaded parameter to secure.
26537 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26538 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26539 * elf/dl-deps.c (openaux): Likewise.
26540 * elf/rtld.c (struct map_args): Remove is_preloaded.
26541 (map_doit): Don't use it.
26542 (dl_main): Likewise.
26543 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26544 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26545
bc96fbda
AS
265462010-09-09 Andreas Schwab <schwab@redhat.com>
26547
26548 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26549 (sysd-rules-targets): Remove duplicates.
26550 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26551 rtld-%.$o dependency.
26552
22cd1c9b
AS
265532010-10-18 Andreas Schwab <schwab@redhat.com>
26554
26555 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26556 _dl_map_object do it.
26557
18edac48
UD
265582010-10-19 Ulrich Drepper <drepper@gmail.com>
26559
26560 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26561 fast fma builtins, define the macros in the C99 standard.
26562 (FP_FAST_FMAF): Likewise.
26563 (FP_FAST_FMAL): Likewise.
26564 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26565
26566 * bits/mathdef.h: Update copyright year.
26567 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26568
d2050124
MM
265692010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26570
26571 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26572 builtins, define the macros in the C99 standard.
26573 (FP_FAST_FMAF): Likewise.
26574 (FP_FAST_FMAL): Likewise.
26575 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26576 multiply/add.
26577 (FP_FAST_FMAF): Likewise.
26578
475facd1
JJ
265792010-10-15 Jakub Jelinek <jakub@redhat.com>
26580
26581 [BZ #3268]
26582 * math/libm-test.inc (fma_test): Some new testcases.
26583 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26584 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26585 y and infinite z. Do multiplication by C already in long double.
26586 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26588 y and infinite z. Do bitwise or of inexact bit into u.d.
26589 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26590 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26591 * sysdeps/i386/fpu/s_fma.S: Removed.
26592 * sysdeps/i386/fpu/s_fmal.S: Removed.
26593
7c08a05c
JJ
265942010-10-16 Jakub Jelinek <jakub@redhat.com>
26595
26596 [BZ #3268]
26597 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26598 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26599 computation is not scheduled after fetestexcept. Fix value
26600 of minimum denormal long double.
26601
f3f7372d
JJ
266022010-10-14 Jakub Jelinek <jakub@redhat.com>
26603
26604 [BZ #3268]
26605 * math/libm-test.inc (fma_test): Add some more tests.
26606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26607 correctly.
26608
14d43591
AS
266092010-10-15 Andreas Schwab <schwab@redhat.com>
26610
26611 * scripts/data/localplt-s390-linux-gnu.data: New file.
26612 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26613
5e908464
JJ
266142010-10-13 Jakub Jelinek <jakub@redhat.com>
26615
26616 [BZ #3268]
26617 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26618 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26619 instead of dbl-64.
26620 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26621 inlines.
26622 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26624 if one of x and y is very large and the other is subnormal.
26625 * sysdeps/s390/fpu/s_fmaf.c: New file.
26626 * sysdeps/s390/fpu/s_fma.c: New file.
26627 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26628 * sysdeps/powerpc/fpu/s_fma.S: New file.
26629 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26630 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26631 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26632
266332010-10-12 Jakub Jelinek <jakub@redhat.com>
26634
26635 [BZ #3268]
26636 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26637 fma tests.
26638 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26639 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26640 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26641 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26642 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26643 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26644 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26645
b833d51f
UD
266462010-10-12 Ulrich Drepper <drepper@redhat.com>
26647
26648 [BZ #12078]
26649 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26650 * posix/bug-regex31.input: Add test case.
26651
1751705d
UD
266522010-10-11 Ulrich Drepper <drepper@gmail.com>
26653
e9b9cbf5
UD
26654 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26655 * posix/bug-regex31.input: New file.
26656
26657 [BZ #12078]
26658 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26659 (parse_sub_exp): Fix last change, use postorder.
26660
ef06edbe
UD
26661 * posix/bug-regex31.c: New file.
26662 * posix/Makefile: Add rules to build and run bug-regex31.
26663
a129c80d
UD
26664 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26665
26666 [BZ #12078]
26667 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26668
b76b818e
UD
26669 [BZ #12108]
26670 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26671 to have entries in sys_siglist.
26672
1751705d
UD
26673 [BZ #12093]
26674 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26675 be NULL.
26676
9ff8d36f
JJ
266772010-10-07 Jakub Jelinek <jakub@redhat.com>
26678
26679 [BZ #3268]
26680 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26681 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26682 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26683 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26684 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26685 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26686 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26687 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26688 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26689 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26690 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26691 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26692 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26693 * math/ftestexcept.c (fetestexcept): Likewise.
26694 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26695 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26696 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26697 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26698 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26699 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26700 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26701
af325969
UD
267022010-10-11 Ulrich Drepper <drepper@gmail.com>
26703
c579b202 26704 [BZ #12107]
af325969
UD
26705 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26706 newline.
26707
67a67b95
UD
267082010-10-06 Ulrich Drepper <drepper@gmail.com>
26709
26710 * string/bug-strstr1.c: New file.
26711 * string/Makefile: Add rules to build and run bug-strstr1.
26712
5fb308bc
EB
267132010-10-05 Eric Blake <eblake@redhat.com>
26714
26715 [BZ #12092]
26716 * string/str-two-way.h (two_way_long_needle): Always clear memory
26717 when skipping input due to the shift table.
26718
45db99c7
UD
267192010-10-03 Ulrich Drepper <drepper@gmail.com>
26720
3b111893
UD
26721 [BZ #12005]
26722 * malloc/mcheck.c: Handle large requests.
26723
45db99c7
UD
26724 [BZ #12077]
26725 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26726 for strncmp and strncasecmp.
26727 * string/stratcliff.c: Add tests for strcmp and strncmp.
26728 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26729
cf7a1eb8
NI
267302010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26731
26732 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26733 __set_fpscr.
26734
6484ba5e
AJ
267352010-09-30 Andreas Jaeger <aj@suse.de>
26736
26737 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26738 (CGROUP_SUPER_MAGIC): Define.
26739 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26740 Handle btrfs and cgroup file systems.
26741 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26742 Likewise.
26743
91c42559
LM
267442010-09-27 Luis Machado <luisgpm@br.ibm.com>
26745
26746 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26747 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26748
87a97932
AK
267492010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26750
26751 [BZ #12067]
26752 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26753 trying to locate the ELF header.
26754
c21cc9bc
AS
267552010-09-27 Andreas Schwab <schwab@redhat.com>
26756
26757 [BZ #11611]
26758 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26759 Mask out sign-bit copies when constructing f_fsid.
26760
315970f6
PB
267612010-09-24 Petr Baudis <pasky@suse.cz>
26762
26763 * debug/stack_chk_fail_local.c: Add missing licence exception.
26764 * debug/warning-nop.c: Likewise.
26765
1ac7a2c7
JM
267662010-09-15 Joseph Myers <joseph@codesourcery.com>
26767
26768 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26769 implementing getdents64 using getdents syscall, set d_type if
26770 __ASSUME_GETDENTS32_D_TYPE.
26771
56801c50
AS
267722010-09-16 Andreas Schwab <schwab@redhat.com>
26773
26774 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26775 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26776
dda51327
UD
267772010-09-21 Ulrich Drepper <drepper@redhat.com>
26778
26779 [BZ #12037]
26780 * posix/unistd.h: Undo change of feature selection for ftruncate from
26781 2010-01-11.
26782
8ffcee4a
UD
267832010-09-20 Ulrich Drepper <drepper@redhat.com>
26784
a545ecd9 26785 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26786 detection.
26787
e24f0a8b
AS
267882010-09-20 Andreas Schwab <schwab@redhat.com>
26789
26790 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26791 fanotify_mark.
26792 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26793
7291c56f
AS
267942010-09-14 Andreas Schwab <schwab@redhat.com>
26795
26796 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26797 variables after CHECK_SP call.
26798 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26799
bc5fb037
AS
268002010-09-13 Andreas Schwab <schwab@redhat.com>
26801 Ulrich Drepper <drepper@redhat.com>
26802
26803 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26804 re-relocationg ld.so.
26805 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26806 _dl_init_paths call.
26807 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26808 here anymore.
26809
e66e7419
UD
268102010-09-14 Ulrich Drepper <drepper@redhat.com>
26811
26812 * resolv/res_init.c (__res_vinit): Count the default server we added.
26813
c044aa75
CLT
268142010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26815 Ulrich Drepper <drepper@redhat.com>
26816
26817 [BZ #11968]
26818 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26819 (____longjmp_chk): Use %ebx for saving value across system call.
26820 Add unwind info.
26821
32cf4069
AS
268222010-09-06 Andreas Schwab <schwab@redhat.com>
26823
26824 * manual/Makefile: Don't mix pattern rules with normal rules.
26825
817328ee
AS
268262010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26827
26828 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26829 operation.
26830 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26831 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26832 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26833 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26834 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26835 Likewise.
26836
29fddf61
UD
268372010-09-04 Ulrich Drepper <drepper@redhat.com>
26838
26839 [BZ #11979]
26840 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26841 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26842
0959ffc9
UD
268432010-09-02 Ulrich Drepper <drepper@redhat.com>
26844
26845 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26846 * sysdeps/x86_64/addmul_1.S: Likewise.
26847 * sysdeps/x86_64/lshift.S: Likewise.
26848 * sysdeps/x86_64/mul_1.S: Likewise.
26849 * sysdeps/x86_64/rshift.S: Likewise.
26850 * sysdeps/x86_64/sub_n.S: Likewise.
26851 * sysdeps/x86_64/submul_1.S: Likewise.
26852
ece29840
ST
268532010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26854
0959ffc9
UD
26855 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26856 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26857 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26858 * bits/sched.h [__need_schedparam]
ece29840 26859 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26860 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26861 (__defined_schedparam): Define to 1.
ece29840
ST
26862 (__sched_param): New structure, identical to sched_param.
26863 (__need_schedparam): Undefine.
26864
e53a31fe
MF
268652010-08-31 Mike Frysinger <vapier@gentoo.org>
26866
fdc0c10d
MF
26867 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26868 (epoll_create1): Declare.
26869
e53a31fe
MF
26870 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26871
a726d796
AS
268722010-08-31 Andreas Schwab <schwab@redhat.com>
26873
26874 [BZ #7066]
26875 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26876 shifting retval into place.
26877
2f3e3dc7
UD
268782010-09-01 Ulrich Drepper <drepper@redhat.com>
26879
f2933da9
UD
26880 * nis/rpcsvc/nis.h: Update copyright notice.
26881 * nis/rpcsvc/nis.x: Likewise.
26882 * nis/rpcsvc/nis_callback.h: Likewise.
26883 * nis/rpcsvc/nis_callback.x: Likewise.
26884 * nis/rpcsvc/nis_object.x: Likewise.
26885 * nis/rpcsvc/nis_tags.h: Likewise.
26886 * nis/rpcsvc/yp.h: Likewise.
26887 * nis/rpcsvc/yp.x: Likewise.
26888 * nis/rpcsvc/ypupd.h: Likewise.
26889 * nis/yp_xdr.c: Likewise.
26890 * nis/ypupdate_xdr.c: Likewise.
26891
2f3e3dc7
UD
26892 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26893 mainly the body of pmap_getport. Add parameters to specify timeouts.
26894 (pmap_getport): Use __libc_rpc_getport.
26895 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26896 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26897 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26898
f3dcc2f9
AS
268992010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26900
26901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26902 fanotify_mark.
26903
6d34eb5b
RM
269042010-08-27 Roland McGrath <roland@redhat.com>
26905
26906 * sysdeps/i386/i686/multiarch/Makefile
26907 (CFLAGS-varshift.c): New variable.
26908
9ea3de11
UD
269092010-08-27 Ulrich Drepper <drepper@redhat.com>
26910
c96d23fc
UD
26911 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26912 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26913
9ea3de11
UD
26914 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26915
26916 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26917
623aac7f
L
269182010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26919
26920 * sysdeps/x86_64/strlen.S: Unroll the loop.
26921 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26922 strlen-sse2 strlen-sse2-bsf.
26923 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26924 __strlen_no_bsf if bit_Slow_BSF is set.
26925 (__strlen_sse42): Removed.
26926 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26927 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26928
8b2b7715
RM
269292010-08-25 Roland McGrath <roland@redhat.com>
26930
26931 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26932 * sysdeps/x86_64/multiarch/varshift.c: New file.
26933 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26934 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26935 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26936 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26937
e73015f2
L
269382010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26939
26940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26941 strlen-sse2 strlen-sse2-bsf.
26942 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26943 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26944 (__strlen_sse2): Removed.
26945 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26946 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26948 bit_Slow_BSF for Atom.
26949 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26950 (index_Slow_BSF): Define.
26951 (HAS_SLOW_BSF): Define.
26952
df24a73e
UD
269532010-08-25 Ulrich Drepper <drepper@redhat.com>
26954
26955 [BZ #10851]
26956 * resolv/res_init.c (__res_vinit): When no server address at all
26957 is given default to loopback.
26958
f2ac4868
RM
269592010-08-24 Roland McGrath <roland@redhat.com>
26960
09055553
RM
26961 * configure.in: Remove config-name.h generation.
26962 * configure: Regenerated.
26963 * config-name.in: File removed.
26964 * scripts/config-uname.sh: New file.
26965 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26966 ($(objdir)config-name.h): New target.
26967
f2ac4868
RM
26968 * sunrpc/rpc_parse.h: Avoid nested comment.
26969
73f27d5e
RH
269702010-08-24 Richard Henderson <rth@redhat.com>
26971 Ulrich Drepper <drepper@redhat.com>
26972 H.J. Lu <hongjiu.lu@intel.com>
26973
26974 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26975 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26976 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26977 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26978 _mm_alignr_epi8 with _mm_loadu_si128.
26979 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26980 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26981 (__m128i_shift_right): Removed.
26982 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26983 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26984 * sysdeps/x86_64/multiarch/varshift.h: New file.
26985 * sysdeps/x86_64/multiarch/varshift.S: New file.
26986
84b9230c
MF
269872010-08-21 Mike Frysinger <vapier@gentoo.org>
26988
26989 * configure.in: Move assembler checks to before sysdep dir checking.
26990
9bbd0ddc
PB
269912010-08-20 Petr Baudis <pasky@suse.cz>
26992
26993 * LICENSES: Sync the sunrpc license.
26994
9da4bb31
UD
269952010-08-19 Ulrich Drepper <drepper@redhat.com>
26996
a7ab6ec8
UD
26997 * sunrpc/auth_des.c: Update copyright notice once again.
26998 * sunrpc/auth_none.c: Likewise.
26999 * sunrpc/auth_unix.c: Likewise.
27000 * sunrpc/authdes_prot.c: Likewise.
27001 * sunrpc/authuxprot.c: Likewise.
27002 * sunrpc/bindrsvprt.c: Likewise.
27003 * sunrpc/clnt_gen.c: Likewise.
27004 * sunrpc/clnt_perr.c: Likewise.
27005 * sunrpc/clnt_raw.c: Likewise.
27006 * sunrpc/clnt_simp.c: Likewise.
27007 * sunrpc/clnt_tcp.c: Likewise.
27008 * sunrpc/clnt_udp.c: Likewise.
27009 * sunrpc/clnt_unix.c: Likewise.
27010 * sunrpc/des_crypt.c: Likewise.
27011 * sunrpc/des_soft.c: Likewise.
27012 * sunrpc/get_myaddr.c: Likewise.
27013 * sunrpc/getrpcport.c: Likewise.
27014 * sunrpc/key_call.c: Likewise.
27015 * sunrpc/key_prot.c: Likewise.
27016 * sunrpc/openchild.c: Likewise.
27017 * sunrpc/pm_getmaps.c: Likewise.
27018 * sunrpc/pm_getport.c: Likewise.
27019 * sunrpc/pmap_clnt.c: Likewise.
27020 * sunrpc/pmap_prot.c: Likewise.
27021 * sunrpc/pmap_prot2.c: Likewise.
27022 * sunrpc/pmap_rmt.c: Likewise.
27023 * sunrpc/rpc/auth.h: Likewise.
27024 * sunrpc/rpc/auth_unix.h: Likewise.
27025 * sunrpc/rpc/clnt.h: Likewise.
27026 * sunrpc/rpc/des_crypt.h: Likewise.
27027 * sunrpc/rpc/key_prot.h: Likewise.
27028 * sunrpc/rpc/netdb.h: Likewise.
27029 * sunrpc/rpc/pmap_clnt.h: Likewise.
27030 * sunrpc/rpc/pmap_prot.h: Likewise.
27031 * sunrpc/rpc/pmap_rmt.h: Likewise.
27032 * sunrpc/rpc/rpc.h: Likewise.
27033 * sunrpc/rpc/rpc_des.h: Likewise.
27034 * sunrpc/rpc/rpc_msg.h: Likewise.
27035 * sunrpc/rpc/svc.h: Likewise.
27036 * sunrpc/rpc/svc_auth.h: Likewise.
27037 * sunrpc/rpc/types.h: Likewise.
27038 * sunrpc/rpc/xdr.h: Likewise.
27039 * sunrpc/rpc_clntout.c: Likewise.
27040 * sunrpc/rpc_cmsg.c: Likewise.
27041 * sunrpc/rpc_common.c: Likewise.
27042 * sunrpc/rpc_cout.c: Likewise.
27043 * sunrpc/rpc_dtable.c: Likewise.
27044 * sunrpc/rpc_hout.c: Likewise.
27045 * sunrpc/rpc_main.c: Likewise.
27046 * sunrpc/rpc_parse.c: Likewise.
27047 * sunrpc/rpc_parse.h: Likewise.
27048 * sunrpc/rpc_prot.c: Likewise.
27049 * sunrpc/rpc_sample.c: Likewise.
27050 * sunrpc/rpc_scan.c: Likewise.
27051 * sunrpc/rpc_scan.h: Likewise.
27052 * sunrpc/rpc_svcout.c: Likewise.
27053 * sunrpc/rpc_tblout.c: Likewise.
27054 * sunrpc/rpc_util.c: Likewise.
27055 * sunrpc/rpc_util.h: Likewise.
27056 * sunrpc/rpcinfo.c: Likewise.
27057 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27058 * sunrpc/rpcsvc/key_prot.x: Likewise.
27059 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27060 * sunrpc/rpcsvc/mount.x: Likewise.
27061 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27062 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27063 * sunrpc/rpcsvc/rex.x: Likewise.
27064 * sunrpc/rpcsvc/rstat.x: Likewise.
27065 * sunrpc/rpcsvc/rusers.x: Likewise.
27066 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27067 * sunrpc/rpcsvc/spray.x: Likewise.
27068 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27069 * sunrpc/rtime.c: Likewise.
27070 * sunrpc/svc.c: Likewise.
27071 * sunrpc/svc_auth.c: Likewise.
27072 * sunrpc/svc_authux.c: Likewise.
27073 * sunrpc/svc_raw.c: Likewise.
27074 * sunrpc/svc_run.c: Likewise.
27075 * sunrpc/svc_simple.c: Likewise.
27076 * sunrpc/svc_tcp.c: Likewise.
27077 * sunrpc/svc_udp.c: Likewise.
27078 * sunrpc/svc_unix.c: Likewise.
27079 * sunrpc/svcauth_des.c: Likewise.
27080 * sunrpc/xcrypt.c: Likewise.
27081 * sunrpc/xdr.c: Likewise.
27082 * sunrpc/xdr_array.c: Likewise.
27083 * sunrpc/xdr_float.c: Likewise.
27084 * sunrpc/xdr_mem.c: Likewise.
27085 * sunrpc/xdr_rec.c: Likewise.
27086 * sunrpc/xdr_ref.c: Likewise.
27087 * sunrpc/xdr_sizeof.c: Likewise.
27088 * sunrpc/xdr_stdio.c: Likewise.
27089
9da4bb31
UD
27090 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27091 handling.
27092
bdaa77bc
AS
270932010-08-19 Andreas Schwab <schwab@redhat.com>
27094
27095 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27096
fe2f79db
LM
270972010-08-19 Luis Machado <luisgpm@br.ibm.com>
27098
27099 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27100 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27101 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27102 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27103 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27104 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27105 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27106 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27107 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27108 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27109 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27110 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27111 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27112 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27113
b9b42ee0
AB
271142010-07-26 Anton Blanchard <anton@samba.org>
27115
27116 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27117 * malloc/arena.c (heap_trim): Likewise.
27118
1c06ba31
UD
271192010-08-16 Ulrich Drepper <drepper@redhat.com>
27120
27121 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27122 here. Not...
27123 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27124 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27125
f8392f40
L
271262010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27127
27128 * sysdeps/i386/elf/Makefile: New file.
27129
3162f12e
AS
271302010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27131
27132 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27133 from fanotify_init.
27134 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27135 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27136
28c90b2c
UD
271372010-08-15 Ulrich Drepper <drepper@redhat.com>
27138
27139 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27140 of strncasecmp_l.
1feccb6c 27141 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27142
ca6bb004
UD
271432010-08-14 Ulrich Drepper <drepper@redhat.com>
27144
e9f82e0d
UD
27145 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27146 strncase_l-nonascii.
27147 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27148 Add strncase_l-ssse3.
27149 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27150 * sysdeps/x86_64/strcmp.S: Likewise.
27151 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27152 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27153 * sysdeps/x86_64/strncase.S: New file.
27154 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27155 * sysdeps/x86_64/strncase_l.S: New file.
27156 * string/Makefile (strop-tests): Add strncasecmp.
27157 * string/test-strncasecmp.c: New file.
27158
27159 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27160 warning.
27161
ca6bb004
UD
27162 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27163 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27164
052fa7b3
AS
271652010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27166
27167 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27168
962dba78
UD
271692010-08-12 Ulrich Drepper <drepper@redhat.com>
27170
27171 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27172 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27173 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27174
bebff237
AM
271752010-05-01 Alan Modra <amodra@gmail.com>
27176
27177 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27178 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27179 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27180 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27181 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27182 tidying. Don't tail-call __sigjmp_save for static lib.
27183 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27184 save location.
27185 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27186 (CALL_MCOUNT): Add eh info, and nop after bl.
27187 (TAIL_CALL_SYSCALL_ERROR): New macro.
27188 (PSEUDO_RET): Use it.
27189 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27190 Correct save location of integer regs and cr.
27191 (_dl_profile_resolve): Correct cr save location. Delete nops
27192 after bl when SHARED. Reduce cfi size a little by better
27193 placement of cfi directives.
27194 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27195 make a stack frame. Instead use parm save area as a temp.
27196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27197 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27199 Don't make a stack frame for parent, use parm save area.
27200 Increase child stack frame to 112 bytes. Don't save unused reg,
27201 and adjust reg usage. Set up cfi on error recovery and
27202 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27204 (__makecontext): Add dummy nop after jump to exit.
27205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27206 Use correct parm save area and cr save, reduce stack frame.
27207 Correct cfi for possible PSEUDO_RET frame setup.
27208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27209 Branch to local label emitted by PSEUDO_RET rather than
27210 __syscall_error.
27211
02637374
AS
272122010-08-12 Andreas Schwab <schwab@redhat.com>
27213
27214 [BZ #11904]
27215 * locale/programs/locale.c (print_assignment): New function.
27216 (show_locale_vars): Use it.
27217
c3e2f19b
UD
272182010-08-11 Ulrich Drepper <drepper@redhat.com>
27219
3cdaa6ad
UD
27220 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27221 field.
27222 (struct statfs64): Likewise.
27223 (_STATFS_F_FLAGS): Define.
27224 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27225 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27226 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27227 (ST_VALID): Define locally.
27228 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27229 __statvfs_getflags, use the provided value.
27230 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27231 __ASSUME_STATFS_F_FLAGS.
27232
754f7da3
UD
27233 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27234
10b3bedc
UD
27235 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27236 Add sys/fanotify.h.
27237 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27238 fanotify_mask for GLIBC_2.13.
27239 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27240 fanotify_init and fanotify_mark.
27241 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27242 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27243
c08fb0d7
UD
27244 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27245 Add prlimit.
27246 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27247 prlimit64 for GLIBC_2.13.
27248 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27249 prlimit64.
27250 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27251 syscall.
27252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27253 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27254 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27255 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27256 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27257 add prlimit alias.
27258 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27259
15bac72b
UD
27260 [BZ #11903]
27261 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27262 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27263
c3e2f19b
UD
27264 * nss/Makefile: Add rules to build and run tst-nss-test1.
27265 * shlib-versions: Add entry for libnss_test1.
27266 * nss/nss_test1.c: New file.
27267 * nss/tst-nss-test1.c: New file.
27268
27269 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27270 (__nss_configure_lookup): Set appropriate entry in
27271 __nss_configure_lookup to true.
27272 * nss/nsswitch.h: Define enum with indeces of databases in
27273 databases and __nss_database_custom arrays. Declare
27274 __nss_database_custom.
27275 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27276 to avoid using nscd when custom rules are installed.
27277 * nss/getXXbyYY_r.c: Likewise.
27278 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27279
27280 * nss/nss_files/files-parse.c: Whitespace fixes.
27281
f15ce4d8
UD
272822010-08-09 Ulrich Drepper <drepper@redhat.com>
27283
27284 [BZ #11883]
27285 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27286 * posix/fnmatch_loop.c: Likewise.
27287
d22e4cc9
AK
272882010-07-17 Andi Kleen <ak@linux.intel.com>
27289
27290 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27291 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27292 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27293 * Versions.def [GLIBC_2.13]: Add.
27294
805bc17d
UD
272952010-08-06 Ulrich Drepper <drepper@redhat.com>
27296
27297 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27298 Also fail if tpwd after pwuid call is NULL.
27299
5a42321d
ST
273002010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27301
27302 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27303 when converting to ms.
27304
fd3ebeda
ST
273052010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27306
27307 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27308 EOPNOTSUPP errors with ENOTTY.
27309 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27310 EOPNOTSUPP errors with ENOTTY.
27311
73507d3a
UD
273122010-07-31 Ulrich Drepper <drepper@redhat.com>
27313
27314 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27315 Add strcasecmp_l-ssse3.
27316 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27317 strcasecmp.
27318 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27319 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27320 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27321
fe36dd02
UD
273222010-07-30 Ulrich Drepper <drepper@redhat.com>
27323
66f6765a
UD
27324 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27325
42e08a54
UD
27326 * string/Makefile (strop-tests): Add strcasecmp.
27327 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27328 strcasecmp_l-nonascii.
27329 (gen-as-const-headers): Add locale-defines.sym.
27330 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27331 * sysdeps/x86_64/strcasecmp.S: New file.
27332 * sysdeps/x86_64/strcasecmp_l.S: New file.
27333 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27334 * sysdeps/x86_64/locale-defines.sym: New file.
27335 * string/test-strcasecmp.c: New file.
27336
fe36dd02
UD
27337 * string/test-strcasestr.c: Test both ends of the range of characters.
27338 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27339
48cbc0d6
RM
273402010-07-29 Roland McGrath <roland@redhat.com>
27341
76e6d6bc 27342 [BZ #11856]
48cbc0d6
RM
27343 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27344
880113d9
UD
273452010-07-27 Ulrich Drepper <drepper@redhat.com>
27346
27347 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27348 for ld.so.
27349
deb9cabb
AS
273502010-07-27 Andreas Schwab <schwab@redhat.com>
27351
27352 * manual/memory.texi (Malloc Tunable Parameters): Document
27353 M_PERTURB.
27354
1c7570ff
RM
273552010-07-26 Roland McGrath <roland@redhat.com>
27356
27357 [BZ #11840]
27358 * configure.in (-fgnu89-inline check): Set and substitute
27359 gnu89_inline, not libc_cv_gnu89_inline.
27360 * configure: Regenerated.
27361 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27362
24fb0f88
UD
273632010-07-26 Ulrich Drepper <drepper@redhat.com>
27364
27365 * string/test-strnlen.c: New file.
27366 * string/Makefile (strop-tests): Add strnlen.
27367 * string/tester.c (test_strnlen): Add a few more test cases.
27368 * string/tst-strlen.c: Better error reporting.
27369
27370 * sysdeps/x86_64/strnlen.S: New file.
27371
8e96b93a
UD
273722010-07-24 Ulrich Drepper <drepper@redhat.com>
27373
27374 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27375 lower-latency instructions.
27376
dbc676d4
UD
273772010-07-23 Ulrich Drepper <drepper@redhat.com>
27378
27379 * string/test-strcasestr.c: New file.
27380 * string/test-strstr.c: New file.
27381 * string/Makefile (strop-tests): Add strstr and strcasestr.
27382 * string/str-two-way.h: Don't undefine MAX.
27383 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27384
f6a31e0e
AS
273852010-07-21 Andreas Schwab <schwab@redhat.com>
27386
27387 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27388 strcasestr-nonascii.
27389 (CFLAGS-strcasestr-nonascii.c): Define.
27390 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27391 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27392 Remove unused attribute.
27393
5dbc3b6c
RM
273942010-07-20 Roland McGrath <roland@redhat.com>
27395
27396 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27397 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27398 ld.so.cache was broken. With it, there is no way to disable dsocaps
27399 like LD_HWCAP_MASK can disable hwcaps.
27400
23d101d8
EPM
274012010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27402
27403 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27404
cc9f2e47
UD
274052010-07-16 Ulrich Drepper <drepper@redhat.com>
27406
27407 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27408 call in strcasestr.
27409 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27410 __strcasestr_sse42_nonascii.
27411 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27412 strcasestr-nonascii.c.
27413 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27414
77c1b069
LM
274152010-06-15 Luis Machado <luisgpm@br.ibm.com>
27416
27417 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27418 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27419 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27420 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27421
440566c3
UD
274222010-07-09 Ulrich Drepper <drepper@redhat.com>
27423
27424 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27425 fcntl.
27426
5be9d05d
AS
274272010-07-06 Andreas Schwab <schwab@redhat.com>
27428
c30b7ee2 27429 [BZ #11577]
5be9d05d
AS
27430 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27431 dl_signal_cerror.
27432
8a492a67
UD
274332010-07-06 Ulrich Drepper <drepper@redhat.com>
27434
27435 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27436 _PC_PIPE_BUF using F_GETPIPE_SZ.
27437
713df3d5
RM
274382010-07-05 Roland McGrath <roland@redhat.com>
27439
27440 * manual/arith.texi (Rounding Functions): Fix rint description
27441 implicit in round description.
27442
702e8f14
UD
274432010-07-02 Ulrich Drepper <drepper@redhat.com>
27444
27445 * elf/Makefile: Fix linking for a few tests to make recent linker
27446 happy.
27447
52ed8be9
AS
274482010-06-30 Andreas Schwab <schwab@redhat.com>
27449
27450 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27451 $(common-objpfx)libc_nonshared.a.
27452
f47c9a11
LM
274532010-06-21 Luis Machado <luisgpm@br.ibm.com>
27454
27455 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27456 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27457 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27458 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27459 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27460 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27461 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27462 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27477 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27478 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27479 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27480 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27481 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27482 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27483 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27484 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27485 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27486 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27487 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27488 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27503
6fb8cbcb
L
275042010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27505
27506 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27507 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27508 * string/memmove.c (memmove): Renamed to ...
27509 (MEMMOVE): ...this. Default to memmove.
27510 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27511 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27512 (END_CHK): Define.
27513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27514 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27515 mempcpy-ssse3-back memmove-ssse3-back.
27516 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27517 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27518 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27519 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27520 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27521 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27522 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27523 * sysdeps/x86_64/multiarch/memmove.c: New file.
27524 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27525 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27526 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27527 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27528 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27529 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27530 Define.
27531 (index_Fast_Copy_Backward): Define.
27532 (HAS_ARCH_FEATURE): Define.
27533 (HAS_FAST_REP_STRING): Define.
27534 (HAS_FAST_COPY_BACKWARD): Define.
27535
4e733bac 275362010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27537
27538 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27539 Restore proper fallback handling.
27540
63c4ed22
UD
275412010-06-19 Ulrich Drepper <drepper@redhat.com>
27542
ac2b484c
UD
27543 [BZ #11701]
27544 * posix/group_member.c (__group_member): Correct checking loop.
27545
63c4ed22
UD
27546 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27547 OOM in getpwuid_r correctly. Return error number when the caller
27548 should return, otherwise -1.
27549 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27550 call returning > 0 value.
27551 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27552
765ade4b
AS
275532010-06-07 Andreas Schwab <schwab@redhat.com>
27554
27555 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27556 libc_nonshared.a from targets in modules-names.
27557
80da2e09
KS
275582010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27559
27560 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27561 requires it.
27562
158db122
LM
275632010-06-10 Luis Machado <luisgpm@br.ibm.com>
27564
27565 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27566 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27567 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27568 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27569
caa78cf8
AS
275702010-06-02 Andreas Schwab <schwab@redhat.com>
27571
27572 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27573
b2ef2c01
UD
275742010-06-14 Ulrich Drepper <drepper@redhat.com>
27575
27576 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27577 and F_GETPIPE_SZ.
27578 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27579 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27580 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27581 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27582 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27583 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27584
fbd643b6
RM
275852010-06-14 Roland McGrath <roland@redhat.com>
27586
27587 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27588
f32f2869
JJ
275892010-06-07 Jakub Jelinek <jakub@redhat.com>
27590
27591 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27592 __REDIRECT followed by __THROW.
27593 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27594 * posix/getopt.h (getopt): Likewise.
27595
2a50c078
EPM
275962010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27597
27598 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27599 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27600 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27601 in AT_FLAGS.
27602 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27603 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27604
eb5ad2eb
LM
276052010-05-28 Luis Machado <luisgpm@br.ibm.com>
27606
27607 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27608
3c88fe1e
L
276092010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27610
27611 [BZ #11640]
27612 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27613 Properly check family and model.
27614
d2f73151
TY
276152010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27616
27617 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27618
ebd2e13d
LM
276192010-05-24 Luis Machado <luisgpm@br.ibm.com>
27620
27621 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27622
b32b8b45
UD
276232010-05-21 Ulrich Drepper <drepper@redhat.com>
27624
27625 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27626 symbol reference.
27627
9acbe24d
AS
276282010-05-19 Andreas Schwab <schwab@redhat.com>
27629
27630 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27631 symbol reference.
27632
f0ccf6ea
AS
276332010-05-21 Andreas Schwab <schwab@redhat.com>
27634
3d04ff3a
AS
27635 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27636 and internal_recvmmsg.
27637 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27638 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27639 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27640 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27641
f0ccf6ea
AS
27642 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27643 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27644 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27645
5b08ac57
AS
276462010-05-20 Andreas Schwab <schwab@redhat.com>
27647
27648 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27649
4828935d
LM
276502010-05-17 Luis Machado <luisgpm@br.ibm.com>
27651
27652 POWER7 optimizations.
27653 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27654 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27655
373d545e
UD
276562010-05-19 Ulrich Drepper <drepper@redhat.com>
27657
27658 * version.h: Update for 2.13 development version.
27659
21a2b1ae
AS
276602010-05-12 Andrew Stubbs <ams@codesourcery.com>
27661
27662 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27663 exceptions. Return 0.
27664
3f7dcb2b
RM
276652010-05-07 Roland McGrath <roland@redhat.com>
27666
27667 * elf/ldconfig.c (main): Add a const.
27668
5f24d53a 276692010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27670
a160f8d8
UD
27671 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27672 (args_options): Add no-idn option.
27673 (ahosts_keys_int): Add idn_flags to ai_flags.
27674 (parse_option): Handle 'i' option to clear idn_flags.
27675
5f24d53a
UD
27676 * malloc/malloc.c (_int_free): Possible race in the most recently
27677 added check. Only act on the data if no current modification
27678 happened.
265bb1ce
UD
27679
27680See ChangeLog.17 for earlier changes.