]> sourceware.org Git - glibc.git/blame - ChangeLog
[BZ #15335, #15342] Fix standard compliance. Don't use hard-coded qNaN values.
[glibc.git] / ChangeLog
CommitLineData
bf0f50df
TS
12013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2
8b43a0c9
TS
3 [BZ #15335, #15342]
4 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6 input NaN values or generate a qNaN by arithmetic operation.
7
d91da4ce
TS
8 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9 unreachable code.
10
bf0f50df
TS
11 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12 definitions.
13
05e166c8
JM
142013-04-03 Joseph Myers <joseph@codesourcery.com>
15
16 [BZ #14478]
17 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18 underflowed result.
19 * math/s_cexpf.c (__cexpf): Likewise.
20 * math/s_cexpl.c (__cexpl): Likewise.
21 * math/libm-test.inc (cexp_test): Add more tests.
22
1cef1b19
AS
232013-04-03 Andreas Schwab <schwab@suse.de>
24
25 [BZ #15330]
26 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27 order arrays from heap if bigger than alloca cutoff.
28
74d87055
TS
292013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30
31 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32 (SNAN_TESTS_double): Refer to GCC PR56831.
33 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34 GCC PR56828.
35
d755bba4
SP
362013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37
90d5d5bb
SP
38 * Rules (bench): Move bench.out after the run is complete.
39
73e0cd5d
SP
40 * Rules (bench): Echo currently running benchmark.
41
64aabd4b
SP
42 * benchtests/Makefile (bench): Add atan and slowatan.
43 * benchtests/atan-inputs: New file.
44 * benchtests/slowatan-inputs: New file.
45 * benchtests/slowatan.c: New file.
46
c871eccd
SP
47 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
48 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
49 its value.
50
d755bba4
SP
51 [BZ #15305]
52 * sysdeps/unix/sysv/linux/kernel-features.h
53 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
54 __ASSUME_XFS_RESTRICTED_CHOWN.
55 * sysdeps/unix/sysv/linux/pathconf.c
56 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
57 Save and restore errno.
58
52ce4860
JM
592013-04-02 Joseph Myers <joseph@codesourcery.com>
60
61 [BZ #15327]
62 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
63 arguments using __kernel_casinh.
64 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
65 arguments using __kernel_casinhf.
66 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
67 arguments using __kernel_casinhl.
68 * math/libm-test.inc (cacosh_test): Add more tests.
69 * sysdeps/i386/fpu/libm-test-ulps: Update.
70 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71
81f311c2
SP
722013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
73
e7906a47
SP
74 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
75 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
76
92e3664b
SP
77 * bench/Makefile (bench): Add sin and slowsin.
78 * benchtests/sin-inputs: New file.
79 * benchtests/slowsin-inputs: New file.
80 * benchtests/slowsin.c: New file.
81
81f311c2
SP
82 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
83 (bench): Add slowexp and slowpow.
84 (exp-ITER): Increase iterations.
85 (pow-ITER): Likewise.
86 * benchtests/exp-inputs: Change input.
87 * benchtests/pow-inputs: Likewise.
88 * benchtests/slowexp-inputs: New file.
89 * benchtests/slowexp.c: New file.
90 * benchtests/slowpow-inputs: New file.
91 * benchtests/slowpow.c: New file.
92
ab0f1aa9
AZ
932013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
94
95 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
96 instructions.
97 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
98 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
99 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
100 * benchtests/Makefile: Add rint benchtest.
101 * benchtests/rint-inputs: Input for rint benchtest.
102
57267616
TS
1032013-04-02 Thomas Schwinge <thomas@codesourcery.com>
104
105 * Versions.def (libm): Add GLIBC_2.18.
106 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
107 hidden libm prototypes.
108 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
109 * math/Makefile (libm-calls): Add s_issignaling.
110 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
111 __issignalingf, __issignalingl. Adjust all libm.abilist files.
112 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
113 declaration.
114 * math/math.h [__USE_GNU] (issignaling): New macro.
115 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
116 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
117 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
118 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
119 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
120 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
121 * manual/arith.texi (issignaling): New section.
122 * manual/libm-err-tab.pl (@all_functions): Update comment.
123 * math/gen-libm-test.pl (parse_args): Apply special handling for
124 issignaling.
125 * math/libm-test.inc (print_float, issignaling_test): New
126 functions.
127 (check_float_internal): Add issignaling checks.
128 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
129 default definition.
130 * sysdeps/powerpc/math-tests.h: New file.
131 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
132 tests.
133 * math/test-snan.c (TEST_FUNC): Likewise.
134
6142896d
DM
1352013-03-30 David S. Miller <davem@davemloft.net>
136
137 * po/de.po: Update from translation team.
138
ccc8cadf
JM
1392013-03-30 Joseph Myers <joseph@codesourcery.com>
140
141 [BZ #10357]
142 * math/k_casinh.c (__kernel_casinh): Handle arguments with
143 imaginary part less than 1.0 and real part less than 0.5
144 specially.
145 * math/k_casinhf.c (__kernel_casinhf): Likewise.
146 * math/k_casinhl.c (__kernel_casinhl): Likewise.
147 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
148 (cacos_test): Add more tests.
149 (casin_test): Likewise.
150 (casinh_test): Likewise.
151 * sysdeps/i386/fpu/libm-test-ulps: Update.
152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
153
0f6a8d4b
SP
1542013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
155
0d1029de
SP
156 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
157 ONE with its value.
158
c2d94018
SP
159 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
160 (__pow_mp): Replace ONE and MONE with their values.
161 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
162 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
163 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
164 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
165 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
166 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
167
27ec37f1
SP
168 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
169
a64d7e0e
SP
170 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
171 (__pow_mp): Replace ZERO and MZERO with their values.
172 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
173 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
174 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
175 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
176 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
177 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
178 (__sqr): Likewise.
179
d26dd3eb
SP
180 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
181
0f6a8d4b
SP
182 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
183
e57b0c61
RM
1842013-03-28 Roland McGrath <roland@hack.frob.com>
185
186 * include/stdlib.h [!SHARED] (__call_tls_dtors):
187 Declare with __attribute__ ((weak)).
188 * stdlib/exit.c (__libc_atexit) [!SHARED]:
189 Call __call_tls_dtors only if it's not NULL.
190
356b3480
RM
1912013-03-28 Roland McGrath <roland@hack.frob.com>
192
288f7d79
RM
193 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
194 didn't do it already, then set _dl_phdr and _dl_phnum based on the
195 magic __ehdr_start linker symbol if it's defined.
196 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
197 them up here if it was already done.
198
dc0a0263
RM
199 * elf/dl-support.c (_dl_phdr): Make pointer to const.
200 (_dl_aux_init): Use const in cast when setting it.
201 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
202 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
203 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
204
3d3436ae
RM
205 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
206 Declare them here.
207 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
208 * csu/libc-tls.c: Nor here.
209 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
210
356b3480
RM
211 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
212 (__libc_message): Never call vsyslog.
213
b0f1246a
AM
2142013-03-28 Alan Modra <amodra@gmail.com>
215
216 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
217 Define as empty.
218 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
219 Likewise.
220
fbbe2b9a
AZ
2212013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
222
223 [BZ #15214]
224 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
225 underflow.
226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
227
1728ab37
SP
2282013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
229
7a86be6e
SP
230 [BZ #15304]
231 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
232 Don't add gid passed as argument.
233
1728ab37
SP
234 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
235
3a7182a1
JM
2362013-03-27 Joseph Myers <joseph@codesourcery.com>
237
238 [BZ #15307]
239 * math/k_casinh.c (__kernel_casinh): Handle arguments with
240 imaginary part between 1.0 and 1.5 and real part less than 0.5
241 specially.
242 * math/k_casinhf.c (__kernel_casinhf): Likewise.
243 * math/k_casinhl.c (__kernel_casinhl): Likewise.
244 * math/libm-test.inc (cacos_test): Add more tests.
245 (casin_test): Likewise.
246 (casinh_test): Likewise.
247 * sysdeps/i386/fpu/libm-test-ulps: Update.
248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
249
6f2e90e7
SP
2502013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
251
5739f705
SP
252 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
253 constants.
254 (norm): Likewise.
255 (denorm): Likewise.
256 (__dbl_mp): Likewise.
257 (add_magnitudes): Likewise.
258 (sub_magnitudes): Likewise.
259 (__add): Likewise.
260 (__sub): Likewise.
261 (__mul): Likewise.
262 (__sqr): Likewise.
263 (__inv): Likewise.
264 (__dvd): Likewise.
265
e375e83d
SP
266 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
267 commented code.
268 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
269 (__dubcos): Likewise.
270 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
271 (__ieee754_acos): Likewise.
272 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
273 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
274 (__exp1): Likewise.
275 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
276 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
277 (log1): Likewise.
278 (my_log2): Likewise.
279 (checkint): Likewise.
280 * sysdeps/ieee754/dbl-64/e_remainder.c
281 (__ieee754_remainder): Likewise.
282 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
283 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
284 (bsloww): Likewise.
285 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
286
6f2e90e7
SP
287 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
288 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
289 MANTISSA_STORE_T to store computations on mantissa. Use
290 macros for rounding and division.
291 (denorm): Likewise.
292 (__dbl_mp): Likewise.
293 (add_magnitudes): Likewise.
294 (sub_magnitudes): Likewise.
295 (__mul): Likewise.
296 (__sqr): Likewise.
297 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
298 powers of two in terms of TWOPOW macro.
299 (mp_no): Make type of mantissa as MANTISSA_T.
300 [!RADIXI]: Define RADIXI.
301 [!TWO52]: Define TWO52.
302 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
303
fce14d4e
AZ
3042013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
305
306 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
307 llroundl symbol when building for PPC32.
308
9ad027fb
MW
3092013-03-24 Mark H Weaver <mhw@netris.org>
310
311 * manual/arith.texi (Normalization Functions): Fix prototypes for
312 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
313
e42a38dd
AZ
3142013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
315
316 [BZ #13889]
317 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
318 high value to check if expl overflow.
319 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
320 to check for underflow and overflow.
321 * math/libm-test.inc: Add exp test.
322
2e0fb521
DL
3232013-03-21 Dmitry V. Levin <ldv@altlinux.org>
324
325 [BZ #11120]
326 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
327 with NOT_IN_libc.
328
b5784d95
AZ
3292013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
330
331 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
332 symbol.
333
5aa4a1a1
TS
3342013-03-21 Thomas Schwinge <thomas@codesourcery.com>
335
bdef0be7
TS
336 * math/gen-libm-test.pl (parse_args, special_functions): Properly
337 wrap blocks consisting of several statements.
338
5aa4a1a1
TS
339 * sysdeps/generic/math-tests.h: New file.
340 * sysdeps/i386/fpu/math-tests.h: Likewise.
341 * math/test-snan.c: Include it.
342 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
343
98c48fe5
JM
3442013-03-21 Joseph Myers <joseph@codesourcery.com>
345
346 [BZ #15285]
347 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
348 (__ieee754_j0l): Do not improve calculations using cos of twice
349 input for inputs above LDBL_MAX / 2.0L.
350 (__ieee754_y0l): Likewise.
351 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
352 (__ieee754_j1l): Do not improve calculations using cos of twice
353 input for inputs above LDBL_MAX / 2.0L.
354 (__ieee754_y1l): Likewise.
355 * math/libm-test.inc (j0_test): Add another test.
356 (j1_test): Likewise.
357 (y0_test): Likewise.
358 (y1_test): Likewise.
359 * sysdeps/i386/fpu/libm-test-ulps: Update.
360
3775a8bc
SP
3612013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
362
363 * Rules ($(objpfx)bench-%.c): Include code from a C source
364 file.
365
0a1b2ae6
JM
3662013-03-21 Joseph Myers <joseph@codesourcery.com>
367
368 [BZ #15287]
369 * math/k_casinh.c (__kernel_casinh): Handle arguments with
370 imaginary part 1.0 and real part less than 0.5 specially.
371 * math/k_casinhf.c (__kernel_casinhf): Likewise.
372 * math/k_casinhl.c (__kernel_casinhl): Likewise.
373 * math/libm-test.inc (cacos_test): Add more tests.
374 (casin_test): Likewise.
375 (casinh_test): Likewise.
376 * sysdeps/i386/fpu/libm-test-ulps: Update.
377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
378
b33d4ce4
SP
3792013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
380
381 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
382 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
383
bef0b507
JM
3842013-03-20 Joseph Myers <joseph@codesourcery.com>
385
386 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
387 * config.make.in (config-cflags-sse4): Remove variable.
388 (config-cflags-avx): Likewise.
389 (config-cflags-sse2avx): Likewise.
390 (config-cflags-novzeroupper): Likewise.
391 (config-asflags-i686): Likewise.
392 (have-mfma4): Likewise.
393 (have-as-vis3): Likewise.
394 (MIG): Likewise.
395 * configure.in (MIG): Do not AC_SUBST.
396 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
397 (libc_cv_cc_sse4): Do not AC_SUBST.
398 (libc_cv_cc_avx): Likewise.
399 (libc_cv_cc_sse2avx): Likewise.
400 (libc_cv_cc_novzeroupper): Likewise.
401 (libc_cv_cc_fma4): Likewise.
402 (libc_cv_as_i686): Likewise.
403 (libc_cv_sparc_as_vis3): Likewise.
404 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
405 LIBC_CONFIG_VAR.
406 (config-asflags-i686): Likewise.
407 (config-cflags-avx): Likewise.
408 (config-cflags-sse2avx): Likewise.
409 (have-mfma4): Likewise.
410 (config-cflags-novzeroupper): Likewise.
411 * sysdeps/mach/configure.in (MIG): Likewise.
412 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
413 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
414 LIBC_CONFIG_VAR.
415 (config-cflags-avx): Likewise.
416 (config-cflags-sse2avx): Likewise.
417 (have-mfma4): Likewise.
418 (config-cflags-novzeroupper): Likewise.
419 * configure: Regenerated.
420 * sysdeps/i386/configure: Likewise.
421 * sysdeps/mach/configure: Likewise.
422 * sysdeps/sparc/configure: Likewise.
423 * sysdeps/x86_64/configure: Likewise.
424
912cc4b3
RM
4252013-03-20 Roland McGrath <roland@hack.frob.com>
426
427 [BZ #14812]
428 * locale/programs/localedef.c (options): Put N_ translation marker
429 on argument names, not just descriptions.
430
04eed2b0
MS
4312013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
432
433 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
434
a065ceff
OB
4352013-03-20 Ondřej Bílka <neleai@seznam.cz>
436
9bb2a810 437 [BZ #14176]
a065ceff
OB
438 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
439
a600e5ce
RM
4402013-03-19 Roland McGrath <roland@hack.frob.com>
441
442 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
443 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
444 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
445 [!BEFORE_ABORT] (before_abort): New function.
446 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
447 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
448 (writev_for_fatal): New function.
449 (WRITEV_FOR_FATAL): New macro; call that.
450 (backtrace_and_maps): New function.
451 (BEFORE_ABORT): New macro; call that.
452 (struct str_list): Type removed.
453 (__libc_message, __libc_fatal): Functions removed.
454 Include <sysdeps/posix/libc_fatal.c> instead.
455
6b18bea6
JM
4562013-03-19 Joseph Myers <joseph@codesourcery.com>
457
458 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
459 constants.
460 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
461 double constants.
462
aaa8cb4b
AS
4632013-03-19 Andreas Schwab <schwab@suse.de>
464
44673770
AS
465 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
466 * sysdeps/gnu/configure: Regenerate.
467
aaa8cb4b
AS
468 * configure.in: Substitute libc_cv_rtlddir.
469 * configure: Regenerate.
470 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
471 * Makeconfig (rtlddir, inst_rtlddir): New variables.
472 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
473 * elf/Makefile (install-others, CFLAGS-interp.c)
474 (ldso_install, common-ldd-rewrite): Likewise.
475 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
476 $(inst_slibdir)/$(rtld-installed-name).
477 * scripts/rellns-sh: Add -p option.
478 * Makerules (make-shlib-link): Use rellns-sh to get relative name
479 for source.
480
d3cfc668
SP
4812013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
482
483 * manual/nptl.texi: Renamed to ...
484 * manual/threads.texi: ... this.
485 * manual/Makefile (chapters): Update.
486
0e2b9cdd
RM
4872013-03-18 Roland McGrath <roland@hack.frob.com>
488
489 [BZ #14812]
490 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
491 on argument names, not just descriptions.
0e2b9cdd
RM
492 * malloc/memusagestat.c (options): Likewise.
493 * nss/getent.c (options): Likewise.
63270c24
RM
494
4952013-03-18 Benno Schulenberg <bensberg@justemail.net>
496
497 [BZ #14812]
498 * iconv/iconv_prog.c (options): Put N_ translation marker
499 on argument names, not just descriptions.
500 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 501
b2e1393c
OB
5022013-03-18 Ondrej Bilka <neleai@seznam.cz>
503
504 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
505 implementation which is faster on all x86_64 architectures.
506 Tested on AMD, Intel Nehalem, SNB, IVB.
507 * sysdeps/x86_64/strnlen.S: Likewise.
508
509 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
510 Remove all multiarch strlen and strnlen versions.
511 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
512 Remove strlen and strnlen related parts.
513
514 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
515 Inline strlen part.
516 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
517
518 * sysdeps/x86_64/multiarch/strlen.S: Remove.
519 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
520 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
521 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
522 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
523 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
524
ec4ff04d
CD
5252013-03-17 Carlos O'Donell <carlos@redhat.com>
526
527 * manual/memory.texi (Malloc Tunable Parameters):
528 Sort parameters alphabetically. Add comments for missing entries.
529
cd18e90a
DM
5302013-03-17 David S. Miller <davem@davemloft.net>
531
532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
533
2a185d32
JM
5342013-03-16 Joseph Myers <joseph@codesourcery.com>
535
d2f9799e
JM
536 [BZ #15283]
537 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
538 for arguments at most half maximum finite value.
539 * math/libm-test.inc (j0_test): Add more tests.
540 (j1_test): Likewise.
541 (y0_test): Likewise.
542 (y1_test): Likewise.
543 * sysdeps/i386/fpu/libm-test-ulps: Update.
544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
545
2a185d32
JM
546 [BZ #14155]
547 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
548 1 / x and functions P and Q for arguments above 0x1p256L.
549 (__ieee754_y0l): Likewise.
550 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
551 (__ieee754_y1l): Likewise.
552 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
553 (j1_test): Likewise.
554 (y0_test): Likewise.
555 (y1_test): Likewise.
556
6cbec759
TS
5572013-03-16 Thomas Schwinge <thomas@codesourcery.com>
558
559 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
560 variable.
561
bc16e260
RM
5622013-03-15 Roland McGrath <roland@hack.frob.com>
563
aefc9b8c
RM
564 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
565 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
566 zero since it's initialized to EXEC_PAGESIZE.
567
bc16e260
RM
568 * sysdeps/unix/sysv/linux/ldsodefs.h
569 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
570 * sysdeps/generic/ldsodefs.h: ... here.
571
a57da955
TS
5722013-03-15 Thomas Schwinge <thomas@codesourcery.com>
573
af00a34d
TS
574 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
575
495ded2c
TS
576 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
577 math/test-snan.c.
578 * math/test-snan.c: Renamed from
579 sysdeps/powerpc/fpu/test-powerpc-snan.c.
580 * math/Makefile (tests): Add test-snan.
581 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
582 test-powerpc-snan.
583
777b0332
TS
584 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
585 SUFFIX. Initialize qNaN_var with __builtin_nan family of
586 functions.
587 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
588 __builtin_nan family of functions.
589 * math/libm-test.inc (initialize): Initialize qnan_value with
590 __builtin_nan family of functions.
591 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
592 Remove variables.
593 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
594 Remove functions.
595 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
596 storage class. Initialize qNaN_var and sNaN_var with
597 __builtin_nan and __builtin_nans families of functions,
598 respectively.
599
64d063b8
TS
600 * math/libm-test.inc (acosh_test): Also test with qNaN input.
601 (sqrt_test): Remove duplicate test with qNaN input.
602 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
603 (round_test, signbit_test, significand_test): Note missing +/-Inf
604 as well as qNaN tests.
605
67e971f1
TS
606 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
607 qNaN_var. Fix a few strings, too.
608 * math/libm-test.inc (nan_value): Rename to qnan_value.
609 * math/gen-libm-test.pl (%beautify): Adjust to that.
610 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
611 * math/test-misc.c (main): Likewise.
612 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
613 to __qnan_bytes, and __qnan_union, respectively.
614 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
615 Likewise.
616 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
617 and lqnanval, respectively.
618 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
619 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
620 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
621 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
622
64487e12
TS
623 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
624 * math/test-misc.c (main) [__x86_64__]: Enable test for long
625 doubles.
626
e015e27b
TS
627 * math/test-misc.c (main): Fix copy'n'pastos.
628 * misc/tst-efgcvt.c (special): Likewise.
629
a57da955
TS
630 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
631 Remove declarations.
632
1e380345
SP
6332013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
634
635 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
636 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
637 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
638 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
639
ef26eece
AZ
6402013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
641
642 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
643 macro to return vdso values correctly in IFUNC implementations.
644 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
645 Optimization by using IFUNC.
646
8cfdb7e0
SP
6472013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
648 Richard Henderson <rth@redhat.com>
649 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
650
651 * Makefile.in (bench): New target.
652 * NEWS: Mention the benchmark framework.
653 * Rules (bench): Likewise.
654 (binaries-bench): Generate binaries for functions to
655 benchmark.
656 * benchtests/Makefile: New makefile for benchmark tests.
657 * benchtests/bench-skeleton.c: New skeleton file for benchmark
658 programs.
659 * benchtests/exp-inputs: New input file for EXP function.
660 * benchtests/pow-inputs: New input file for POW function.
661 * scripts/bench.pl: New script to generate source files for
662 benchmark programs.
663
bcda9880
SP
6642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
665
d22ca8cd
SP
666 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
667 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
668 computations on mantissa. Use macros for rounding and
669 division.
670 (denorm): Likewise.
671 (__dbl_mp): Likewise.
672 (add_magnitudes): Likewise.
673 (sub_magnitudes): Likewise.
674 (__mul): Likewise.
675 (__sqr): Likewise.
676 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
677 powers of two in terms of TWOPOW macro.
678 (mp_no): Make type of mantissa as MANTISSA_T.
679 [!RADIXI]: Define RADIXI.
680 [!TWO52]: Define TWO52.
681 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
682
bcda9880
SP
683 * manual/nptl.texi (cindex): Modify threads to pthreads.
684
06d5adfb
JM
6852013-03-15 Joseph Myers <joseph@codesourcery.com>
686
687 * sysdeps/x86_64/preconfigure: Regenerated.
688
41c7328e
JM
6892013-03-14 Joseph Myers <joseph@codesourcery.com>
690
691 [BZ #14155]
692 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
693 0x1p28 and above.
694 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
695 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
696 0x1p28 and above.
697 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
698 * math/libm-test.inc (j0_test): Do not allow one spurious
699 underflow exception.
700 (y1_test): Likewise.
701
e25cfa60
SP
7022013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
703
0409959c
SP
704 * manual/Makefile (chapters): Add nptl.
705 * manual/debug.texi (Debugging Support): Add link to Threads
706 chapter.
707 * manual/nptl.texi: New file.
708
e25cfa60
SP
709 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
710
58a1335e
PB
7112013-03-14 Petr Baudis <pasky@ucw.cz>
712
713 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
714 for non-NULL pointer before the memory validity test. Pointed
715 out by Holger Brunck <holger.brunck@keymile.com>.
716
9dc7c64f
AS
7172013-03-13 Andreas Schwab <schwab@suse.de>
718
719 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
720 instead of .os.
721
54206aa6
JM
7222013-03-13 Joseph Myers <joseph@codesourcery.com>
723
724 * timezone/zic.c: Update from tzcode 2013b.
725
e98cdb38
CD
7262013-03-12 Carlos O'Donell <carlos@redhat.com>
727
728 * manual/install.texi (Configuring and compiling):
729 Mention i686 and i586.
730 * INSTALL: Regenerate.
731
9967e003
RM
7322013-03-12 Roland McGrath <roland@hack.frob.com>
733
734 * sysdeps/init_array/elf-init.c: New file.
735 * csu/elf-init.c
736 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
737 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
738
739 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
740 __gmon_start__ as global, but as static with a .preinit_array pointer.
741 * sysdeps/init_array/gmon-start.c: New file. Use that.
742 * sysdeps/init_array/crti.S: New file, empty except for comments.
743 * sysdeps/init_array/crtn.S: Likewise.
744
e6b5a293 7452013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
746
747 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
748 definining bcopy.
80f844c9
OB
749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
750 Remove Prefer_SSE_for_memop.
751 * sysdeps/x86_64/multiarch/init-arch.h: Remove
752 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
753 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
755 memset-x86-64.
80f844c9 756 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 757 Remove bzero, memset ifunc support.
80f844c9
OB
758 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
759 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
760 * sysdeps/x86_64/multiarch/memset.S: Likewise.
761 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
762
fb6b0fcb
AS
7632013-03-11 Andreas Schwab <schwab@suse.de>
764
765 [BZ #15234]
766 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
767 by SHLIB_COMPAT.
768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
769 (GLIBC_2.16): Remove pthread_atfork.
770
3e6bd4b1
PP
7712013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
772
773 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
774 (ptestcases.h): Likewise.
775
222d7f00
RM
7762013-03-08 Roland McGrath <roland@hack.frob.com>
777
778 * Makeconfig ($(common-objpfx)config.status): Depend on
779 sysdeps/*/preconfigure{,.in} too.
780
1ba4f030
JM
7812013-03-08 Joseph Myers <joseph@codesourcery.com>
782
a222d91a
JM
783 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
784 (__free_hook): Use void * instead of __malloc_ptr_t.
785 (__malloc_hook): Likewise.
786 (__realloc_hook): Likewise.
787 (__memalign_hook): Likewise.
788 (__after_morecore_hook): Likewise.
789 * malloc/arena.c (save_malloc_hook): Likewise.
790 (save_free_hook): Likewise.
791 * malloc/hooks.c (malloc_hook_ini): Likewise.
792 (realloc_hook_ini): Likewise.
793 (memalign_hook_ini): Likewise.
794 * malloc/malloc.c (malloc_hook_ini): Likewise.
795 (realloc_hook_ini): Likewise.
796 (memalign_hook_ini): Likewise.
797 (__free_hook): Likewise.
798 (__malloc_hook): Likewise.
799 (__realloc_hook): Likewise.
800 (__memalign_hook): Likewise.
801 (__libc_malloc): Likewise.
802 (__libc_free): Likewise.
803 (__libc_realloc): Likewise.
804 (__libc_memalign): Likewise.
805 (__libc_valloc): Likewise.
806 (__libc_pvalloc): Likewise.
807 (__libc_calloc): Likewise.
808 (__posix_memalign): Likewise.
809 * malloc/morecore.c (__sbrk): Likewise.
810 (__default_morecore): Likewise.
811
5cc45e10
JM
812 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
813
dd54b864
JM
814 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
815 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
816 __malloc_ptrdiff_t.
817
1ba4f030
JM
818 * malloc/malloc.h (__malloc_size_t): Remove macro.
819 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
820 __malloc_size_t.
821 (old_memalign_hook): Likewise.
822 (old_realloc_hook): Likewise.
823 (struct hdr): Likewise.
824 (flood): Likewise.
825 (mallochook): Likewise.
826 (memalignhook): Likewise.
827 (reallochook): Likewise.
828 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
829 (tr_old_realloc_hook): Likewise.
830 (tr_old_memalign_hook): Likewise.
831 (tr_mallochook): Likewise.
832 (tr_reallochook): Likewise.
833 (tr_memalignhook): Likewise.
834
edf66e57
AZ
8352013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
836
837 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
838 default_ldbl_pack and using as default implementation.
839 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
840 implementation.
841 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
842 redundant definition.
843 (ldbl_insert_mantissa): Likewise.
844 (ldbl_canonicalize): Likewise.
845 (ldbl_nearbyint): Likewise.
846 (ldbl_pack): Rename to ldbl_pack_ppc.
847 (ldbl_unpack): Rename to ldbl_unpack_ppc.
848 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
849 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
850
6d9145d8
SP
8512013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
852
853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
854 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
855 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
856 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
858 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
859 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
860 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
861
4dd4e157
AJ
8622013-03-07 Andreas Jaeger <aj@suse.de>
863
864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
865 bits/mman-linux.h.
866
adbb8027
SP
8672013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
868
ce544b5b
SP
869 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
870 Include mpa.h and declare __MPEXP.
871 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
872 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
873 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
874 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
875 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
876 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
877 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
878
4cc149fd
SP
879 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
880 (__slowpow): Use long double EXPL and LOGL functions to
881 compute POW.
882 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
883 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
884 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
885 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
886 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
887 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
888
e6ebd4a7
SP
889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
890 intermediate variable to calculate exponent.
891 (__sqr): Likewise.
892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
893 Likewise.
894 (__sqr): Likewise.
895
82a9811d
SP
896 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
897 [!NO__SQR]: Define __sqr.
898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
899 and NO__SQR. Remove all code except __mul and __sqr. Include
900 sysdeps/ieee754/dbl-64/mpa.c.
901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
902
adbb8027
SP
903 [BZ #12723]
904 * posix/Makefile (tests): Add tst-pathconf.
905 * posix/tst-pathconf.c: New test case.
906 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
907 _PC_PIPE_BUF.
908 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
909
39120df9
PF
9102013-03-06 Patsy Franklin <pfrankli@redhat.com>
911
912 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
913
67525cb8
AJ
9142013-03-06 Andreas Jaeger <aj@suse.de>
915
664a9ce4
AJ
916 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
917 definition via __MAP_ANONYMOUS.
918
8e39047d
AJ
919 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
920 it's not part of Linux headers.
921
67525cb8
AJ
922 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
923 (MAP_HUGE_MASK): Define.
924
925 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
926 Define.
927 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
928 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
929 Define.
930 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
931 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
932 Define.
933 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
934 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
935 Define.
936 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
937
938 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
939 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
940 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
941 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
942 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
943 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
944
945 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
946 Handle f2fs.
947
948 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
949 Handle f2fs and efivarfs.
950
951 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
952 f2fs.
953
954 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
955 (EFIVARFS_MAGIC): Add.
956 (F2FS_LINK_MAX): Add.
957
e1b42695
PP
9582013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
959
960 * stdio-common/vfprintf.c: Replace __builtin_expect with
961 __glibc_unlikely.
962
2d67d91a
JM
9632013-03-06 Joseph Myers <joseph@codesourcery.com>
964
965 [BZ #13550]
966 * sysdeps/generic/bp-sym.h: Remove file.
967 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
968 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
969 <bp-sym.h> and <bp-asm.h>.
970 (__longjmp): Don't use BP_SYM.
971 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
972 and <bp-asm.h>.
973 (memcpy): Don't use BP_SYM.
974 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
975 <bp-sym.h> and <bp-asm.h>.
976 (memcpy): Don't use BP_SYM.
977 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
978 <bp-asm.h>.
979 (memcpy): Don't use BP_SYM.
980 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
981 <bp-asm.h>.
982 (memset): Don't use BP_SYM.
983 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
984 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
985 (__bzero): Don't use BP_SYM.
986 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
987 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
988 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
989 <bp-sym.h> and <bp-asm.h>.
990 (memcmp): Don't use BP_SYM. Remove comment about bounded
991 pointers.
992 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
993 <bp-sym.h> and <bp-asm.h>.
994 (memcpy): Don't use BP_SYM.
995 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
996 <bp-sym.h> and <bp-asm.h>.
997 (memset): Don't use BP_SYM.
998 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
999 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1000 (__bzero): Don't use BP_SYM.
1001 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1002 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1003 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1004 <bp-sym.h> and <bp-asm.h>.
1005 (strncmp): Don't use BP_SYM. Remove comment about bounded
1006 pointers.
1007 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1008 <bp-sym.h> and <bp-asm.h>.
1009 (memcpy): Don't use BP_SYM.
1010 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1011 <bp-sym.h> and <bp-asm.h>.
1012 (memset): Don't use BP_SYM.
1013 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1014 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1015 (__bzero): Don't use BP_SYM.
1016 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1017 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1018 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1019 <bp-sym.h> and <bp-asm.h>.
1020 (__memchr): Don't use BP_SYM.
1021 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1022 <bp-sym.h> and <bp-asm.h>.
1023 (memcmp): Don't use BP_SYM. Remove comment about bounded
1024 pointers.
1025 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1026 <bp-sym.h> and <bp-asm.h>.
1027 (memcpy): Don't use BP_SYM.
1028 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1029 <bp-sym.h> and <bp-asm.h>.
1030 (__mempcpy): Don't use BP_SYM.
1031 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1032 <bp-sym.h> and <bp-asm.h>.
1033 (__memrchr): Don't use BP_SYM.
1034 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1035 <bp-sym.h> and <bp-asm.h>.
1036 (memset): Don't use BP_SYM.
1037 (__bzero): Likewise.
1038 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1039 <bp-sym.h> and <bp-asm.h>.
1040 (__rawmemchr): Don't use BP_SYM.
1041 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1042 <bp-sym.h> and <bp-asm.h>.
1043 (__STRCMP): Don't use BP_SYM.
1044 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1045 <bp-sym.h> and <bp-asm.h>.
1046 (strchr): Don't use BP_SYM.
1047 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1048 <bp-sym.h> and <bp-asm.h>.
1049 (__strchrnul): Don't use BP_SYM.
1050 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1051 <bp-sym.h> and <bp-asm.h>.
1052 (strlen): Don't use BP_SYM.
1053 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1054 <bp-sym.h> and <bp-asm.h>.
1055 (strncmp): Don't use BP_SYM. Remove comment about bounded
1056 pointers.
1057 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1058 <bp-sym.h> and <bp-asm.h>.
1059 (__strnlen): Don't use BP_SYM.
1060 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1061 <bp-sym.h> and <bp-asm.h>.
1062 (__GI__setjmp): Don't use BP_SYM.
1063 (_setjmp): Likewise.
1064 (__sigsetjmp): Likewise.
1065 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1066 (L(start_addresses)): Don't use BP_SYM.
1067 (_start): Likewise.
1068 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1069 <bp-asm.h>.
1070 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1071 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1072 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1073 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1074 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1075 <bp-asm.h>.
1076 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1077 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1078 about bounded pointers.
1079 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1080 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1081 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1082 <bp-asm.h>.
1083 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1084 about bounded pointers. Remove GKM FIXME comments.
1085 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1086 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1087 <bp-asm.h>.
1088 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1089 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1090 Remove GKM FIXME comments.
1091 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1092 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1093 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1094 <bp-asm.h>.
1095 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1096 about bounded pointers. Remove GKM FIXME comment.
1097 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1098 and <bp-asm.h>.
1099 (strncmp): Don't use BP_SYM. Remove comment about bounded
1100 pointers.
1101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1102 <bp-sym.h> and <bp-asm.h>.
1103 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1105 <bp-sym.h> and <bp-asm.h>.
1106 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1107 comment.
1108
cdcf361f
PP
11092013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1110
1111 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1112 call free(NULL).
1113
3c4a2b15
DM
11142013-03-05 David S. Miller <davem@davemloft.net>
1115
1116 * po/es.po: Update from translation team.
1117
cdcf361f 11182013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1119
1120 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1121 <bits/mman-linux.h>.
1122 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1123 is fine.
1124 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1125 <bits/mman-linux.h> to end of file.
1126 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1127 is fine.
1128 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1129 <bits/mman-linux.h> to end of file.
1130 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1131 is fine.
1132 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1133 <bits/mman-linux.h> to end of file.
1134
1135 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1136 (MCL_CURRENT, MCL_FUTURE): Define here.
1137
5f67c04f
AK
11382013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1139
8a4473cc 1140 [BZ #15232]
5f67c04f
AK
1141 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1142 attribute_hidden.
1143 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1144
c3e94a95
AK
11452013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1146
1147 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1148 fourth parameter needed for rt_sigprocmask syscall.
1149 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1150 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1151 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1152 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1153 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1154 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1155
cfb6382a
JM
11562013-03-04 Joseph Myers <joseph@codesourcery.com>
1157
1158 [BZ #13550]
1159 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1160 comment about bounded pointers.
1161 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1162 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1163
539d8e01
AJ
11642013-03-04 Andreas Jaeger <aj@suse.de>
1165
1166 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1167 common definitions.
1168
1169 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1170 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1171 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1172 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1173 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1174 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1175
2e167a70 11762013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1177
1178 [BZ #15055]
1179 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1180 __ieee754_sqrl instead of __sqrl.
1181
68508633
JM
11822013-03-01 Joseph Myers <joseph@codesourcery.com>
1183
1184 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1185 * sysdeps/powerpc/fpu_control.h: ... here.
1186 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1187 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1188 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1189 * sysdeps/powerpc/bits/mathinline.h: ... here.
1190
7775448e
RM
11912013-03-01 Roland McGrath <roland@hack.frob.com>
1192
1193 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1194 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1195 to just [NEED_DL_SYSINFO_DSO].
1196 * elf/dl-support.c: Likewise.
1197 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1198 * elf/rtld.c (dl_main): Likewise.
1199 * elf/setup-vdso.h (setup_vdso): Likewise.
1200 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1201 * sysdeps/unix/sysv/linux/dl-sysdep.c
1202 (_dl_discover_osversion): Likewise.
1203
4e9b5995
CD
12042013-03-01 Carlos O'Donell <carlos@redhat.com>
1205
1206 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1207 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1208
e23872c8
SP
12092013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1210
e5c74c63
SP
1211 * NEWS: Mention libm performance improvements and non-x86 PI
1212 futex support.
1213
e23872c8
SP
1214 * csu/libc-start.c (__pthread_initialize_minimal): Change
1215 function arguments.
1216 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1217
b5510883
JM
12182013-02-28 Joseph Myers <joseph@codesourcery.com>
1219
1220 [BZ #13550]
1221 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1222 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1223 <bp-sym.h> and <bp-asm.h>.
1224 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1225 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1226 and <bp-asm.h>.
1227 (memcpy): Don't use BP_SYM.
1228 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1229 <bp-asm.h>.
1230 (__mpn_add_n): Don't use BP_SYM.
1231 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1232 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1233 and <bp-asm.h>.
1234 (__mpn_addmul_1): Don't use BP_SYM.
1235 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1236 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1237 <bp-sym.h>.
1238 (_setjmp): Don't use BP_SYM.
1239 (__novmx_setjmp): Likewise.
1240 (__GI__setjmp): Likewise.
1241 (__vmx_setjmp): Likewise.
1242 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1243 <bp-sym.h>.
1244 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1245 (__bzero): Don't use BP_SYM.
1246 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1247 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1248 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1249 <bp-sym.h> and <bp-asm.h>.
1250 (memcpy): Don't use BP_SYM.
1251 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1252 <bp-sym.h> and <bp-asm.h>.
1253 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1254 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1255 <bp-sym.h> and <bp-asm.h>.
1256 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1257 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1258 <bp-asm.h>.
1259 (__mpn_lshift): Don't use BP_SYM.
1260 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1261 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1262 <bp-asm.h>.
1263 (memset): Don't use BP_SYM.
1264 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1265 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1266 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1267 <bp-asm.h>.
1268 (__mpn_mul_1): Don't use BP_SYM.
1269 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1270 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1271 <bp-sym.h> and <bp-asm.h>.
1272 (memcmp): Don't use BP_SYM.
1273 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1274 <bp-sym.h> and <bp-asm.h>.
1275 (memcpy): Don't use BP_SYM.
1276 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1277 <bp-sym.h> and <bp-asm.h>.
1278 (memset): Don't use BP_SYM.
1279 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1280 <bp-sym.h> and <bp-asm.h>.
1281 (strncmp): Don't use BP_SYM.
1282 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1283 <bp-sym.h> and <bp-asm.h>.
1284 (memcpy): Don't use BP_SYM.
1285 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1286 <bp-sym.h> and <bp-asm.h>.
1287 (memset): Don't use BP_SYM.
1288 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1289 <bp-sym.h> and <bp-asm.h>.
1290 (__memchr): Don't use BP_SYM.
1291 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1292 <bp-sym.h> and <bp-asm.h>.
1293 (memcmp): Don't use BP_SYM.
1294 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1295 <bp-sym.h> and <bp-asm.h>.
1296 (memcpy): Don't use BP_SYM.
1297 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1298 <bp-sym.h> and <bp-asm.h>.
1299 (__mempcpy): Don't use BP_SYM.
1300 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1301 <bp-sym.h> and <bp-asm.h>.
1302 (__memrchr): Don't use BP_SYM.
1303 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1304 <bp-sym.h> and <bp-asm.h>.
1305 (memset): Don't use BP_SYM.
1306 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1307 <bp-sym.h> and <bp-asm.h>.
1308 (__rawmemchr): Don't use BP_SYM.
1309 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1310 <bp-sym.h> and <bp-asm.h>.
1311 (__STRCMP): Don't use BP_SYM.
1312 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1313 <bp-sym.h> and <bp-asm.h>.
1314 (strchr): Don't use BP_SYM.
1315 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1316 <bp-sym.h> and <bp-asm.h>.
1317 (__strchrnul): Don't use BP_SYM.
1318 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1319 <bp-sym.h> and <bp-asm.h>.
1320 (strlen): Don't use BP_SYM.
1321 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1322 <bp-sym.h> and <bp-asm.h>.
1323 (strncmp): Don't use BP_SYM.
1324 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1325 <bp-sym.h> and <bp-asm.h>.
1326 (__strnlen): Don't use BP_SYM.
1327 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1328 <bp-asm.h>.
1329 (__mpn_rshift): Don't use BP_SYM.
1330 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1331 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1332 <bp-sym.h> and <bp-asm.h>.
1333 (__sigsetjmp): Don't use BP_SYM.
1334 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1335 (L(start_addresses)): Don't use BP_SYM.
1336 (_start): Likewise.
1337 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1338 <bp-asm.h>.
1339 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1340 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1341 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1342 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1343 <bp-asm.h>.
1344 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1345 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1346 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1347 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1348 <bp-asm.h>.
1349 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1350 comments.
1351 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1352 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1353 <bp-asm.h>.
1354 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1355 FIXME comments.
1356 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1357 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1358 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1359 <bp-asm.h>.
1360 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1361 comment.
1362 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1363 and <bp-asm.h>.
1364 (strncmp): Don't use BP_SYM,
1365 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1366 <bp-asm.h>.
1367 (__mpn_sub_n): Don't use BP_SYM.
1368 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1369 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1370 and <bp-asm.h>.
1371 (__mpn_submul_1): Don't use BP_SYM.
1372 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1374 <bp-sym.h> and <bp-asm.h>.
1375 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1377 <bp-sym.h> and <bp-asm.h>.
1378 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1379 comment.
1380
8d19fe64
SP
13812013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1382
1383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1384 Use ZK to minimize writes to Z.
1385 (sub_magnitudes): Simplify code a bit.
1386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1387 Use ZK to minimize writes to Z.
1388 (sub_magnitudes): Simplify code a bit.
1389
85bd816a
RM
13902013-02-27 Roland McGrath <roland@hack.frob.com>
1391
1392 * csu/gmon-start.c: Add special exception to license text.
1393
b5977bf2
RH
13942013-02-27 Richard Henderson <rth@redhat.com>
1395
1396 * scripts/config.guess: Update from config.git.
1397 * scripts/config.sub: Likewise.
1398
11d6e2f2
SP
13992013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1400
09c14ed2
SP
1401 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1402
a688864e
SP
1403 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1404
6295157a
SP
1405 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1406
b8de2202
SP
1407 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1408
11d6e2f2
SP
1409 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1410
7e80ddb8
RM
14112013-02-26 Roland McGrath <roland@hack.frob.com>
1412
1413 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1414 [$(build-shared = yes].
7e80ddb8 1415
7da6d9ed
SP
14162013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1417
45f05884
SP
1418 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1419 (__mul): Reduce iterations for calculating mantissa.
1420
2236d359
SP
1421 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1422 MPTWO.
1423 (__mpranred): Likewise.
1424
7da6d9ed
SP
1425 [BZ #15160]
1426 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1427 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1428
b7688c42
PE
14292013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1430
1431 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1432 Define __attribute__.
1433
53a5c423
SP
14342013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1435
1436 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1437 unused.
1438 * posix/regex_internal.h (__attribute): Remove.
1439 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1440 (re_string_context_at): Likewise.
1441 (bitset_not): Use __attribute__ and mark function as possibly
1442 unused.
1443 (bitset_merge): Likewise.
1444 (bitset_mask): Likewise.
1445 (re_string_char_size_at): Likewise.
1446 (re_string_wchar_at): Likewise.
1447 (re_string_elem_size_at): Likewise.
1448
60f5a8b5
SP
14492013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1450
2a983a2e
SP
1451 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1452 code.
1453 (cc32): Likewise.
1454
e69804d1
SP
1455 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1456 (__acr): Likewise.
1457 (__cpy): Likewise.
1458 (norm): Likewise.
1459 (denorm): Likewise.
1460 (__dbl_mp): Likewise.
1461 (add_magnitudes): Likewise.
1462 (sub_magnitudes): Likewise.
1463 (__mul): Likewise.
1464 (__inv): Likewise.
1465
2f22a1e8
SP
1466 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1467 style.
1468
8930ddc7
SP
1469 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1470 style.
1471
dc60cb11
SP
1472 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1473 code.
1474
60f5a8b5
SP
1475 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1476 up changes with default code.
1477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1478 Likewise.
1479
b4d1fd33
AM
14802013-02-24 Allan McRae <allan@archlinux.org>
1481
faf6f8bc
AM
1482 * manual/socket.texi (The Internet Namespace): Order menu items
1483 to match that in the file.
1484
b4d1fd33
AM
1485 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1486 node listing of the info page menu.
1487
2366713d
JM
14882013-02-21 Joseph Myers <joseph@codesourcery.com>
1489
1490 [BZ #13550]
1491 * sysdeps/i386/bp-asm.h: Remove file.
1492 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1493 (PARMS): Do not use macros from bp-asm.h.
1494 (S1): Likewise.
1495 (S2): Likewise.
1496 (SIZE): Likewise.
1497 (__mpn_add_n): Do not use BP_SYM
1498 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1499 "bp-asm.h".
1500 (PARMS): Do not use macros from bp-asm.h.
1501 (S1): Likewise.
1502 (SIZE): Likewise.
1503 (__mpn_addmul_1): Do not use BP_SYM
1504 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1505 "bp-asm.h".
1506 (PARMS): Do not use macros from bp-asm.h.
1507 (SIGMSK): Likewise.
1508 (_setjmp): Likewise. Do not use BP_SYM.
1509 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1510 "bp-asm.h".
1511 (PARMS): Do not use macros from bp-asm.h.
1512 (SIGMSK): Likewise.
1513 (setjmp): Likewise. Do not use BP_SYM.
1514 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1515 "bp-asm.h".
1516 (PARMS): Do not use macros from bp-asm.h.
1517 (__frexp): Do not use BP_SYM.
1518 (frexp): Likewise.
1519 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1520 "bp-asm.h".
1521 (PARMS): Do not use macros from bp-asm.h.
1522 (__frexpf): Do not use BP_SYM.
1523 (frexpf): Likewise.
1524 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1525 "bp-asm.h".
1526 (PARMS): Do not use macros from bp-asm.h.
1527 (__frexpl): Do not use BP_SYM.
1528 (frexpl): Likewise.
1529 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1530 "bp-asm.h".
1531 (PARMS): Do not use macros from bp-asm.h.
1532 (__remquo): Do not use BP_SYM.
1533 (remquo): Likewise.
1534 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1535 "bp-asm.h".
1536 (PARMS): Do not use macros from bp-asm.h.
1537 (__remquof): Do not use BP_SYM.
1538 (remquof): Likewise.
1539 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1540 "bp-asm.h".
1541 (PARMS): Do not use macros from bp-asm.h.
1542 (__remquol): Do not use BP_SYM.
1543 (remquol): Likewise.
1544 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1545 "bp-asm.h".
1546 (PARMS): Do not use macros from bp-asm.h.
1547 (DEST): Likewise.
1548 (SRC): Likewise.
1549 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1550 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1551 "bp-asm.h".
1552 (PARMS): Do not use macros from bp-asm.h.
1553 (strlen): Do not use BP_SYM.
1554 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1555 "bp-asm.h".
1556 (PARMS): Do not use macros from bp-asm.h.
1557 (S1): Likewise.
1558 (S2): Likewise.
1559 (SIZE): Likewise.
1560 (__mpn_add_n): Do not use BP_SYM.
1561 * sysdeps/i386/i586/addmul_1.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 (SIZE): Likewise.
1566 (__mpn_addmul_1): Do not use BP_SYM.
1567 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1568 weak_alias.
1569 (bzero): Likewise.
1570 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1571 "bp-asm.h".
1572 (PARMS): Do not use macros from bp-asm.h.
1573 (S): Likewise.
1574 (SIZE): Likewise.
1575 (__mpn_lshift): Do not use BP_SYM.
1576 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1577 "bp-asm.h".
1578 (PARMS): Do not use macros from bp-asm.h.
1579 (DEST): Likewise.
1580 (SRC): Likewise.
1581 (LEN): Likewise.
1582 (memcpy): Likewise. Do not use BP_SYM.
1583 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1584 libc_hidden_def and weak_alias.
1585 (mempcpy): Do not use BP_SYM in weak_alias.
1586 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1587 "bp-asm.h".
1588 (PARMS): Do not use macros from bp-asm.h.
1589 (DEST): Likewise.
1590 (LEN): Likewise.
1591 [!BZERO_P] (CHR): Likewise.
1592 (memset): Likewise. Do not use BP_SYM.
1593 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1594 "bp-asm.h".
1595 (PARMS): Do not use macros from bp-asm.h.
1596 (S1): Likewise.
1597 (SIZE): Likewise.
1598 (__mpn_mul_1): Do not use BP_SYM.
1599 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1600 "bp-asm.h".
1601 (PARMS): Do not use macros from bp-asm.h.
1602 (S): Likewise.
1603 (SIZE): Likewise.
1604 (__mpn_rshift): Do not use BP_SYM.
1605 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1606 "bp-asm.h".
1607 (PARMS): Do not use macros from bp-asm.h.
1608 (STR): Likewise.
1609 (CHR): Likewise.
1610 (strchr): Likewise. Do not use BP_SYM.
1611 (index): Do not use BP_SYM in weak_alias.
1612 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1613 "bp-asm.h".
1614 (PARMS): Do not use macros from bp-asm.h.
1615 (DEST): Likewise.
1616 (SRC): Likewise.
1617 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1618 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1619 "bp-asm.h".
1620 (PARMS): Do not use macros from bp-asm.h.
1621 (strlen): Do not use BP_SYM.
1622 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1623 "bp-asm.h".
1624 (PARMS): Do not use macros from bp-asm.h.
1625 (S1): Likewise.
1626 (S2): Likewise.
1627 (SIZE): Likewise.
1628 (__mpn_sub_n): Do not use BP_SYM.
1629 * sysdeps/i386/i586/submul_1.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 (SIZE): Likewise.
1634 (__mpn_submul_1): Do not use BP_SYM.
1635 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1636 "bp-asm.h".
1637 (PARMS): Do not use macros from bp-asm.h.
1638 (S1): Likewise.
1639 (S2): Likewise.
1640 (SIZE): Likewise.
1641 (__mpn_add_n): Do not use BP_SYM.
1642 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1643 weak_alias.
1644 (bzero): Likewise.
1645 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1646 "bp-asm.h".
1647 (PARMS): Do not use macros from bp-asm.h.
1648 (BLK2): Likewise.
1649 (LEN): Likewise.
1650 (memcmp): Do not use BP_SYM.
1651 (bcmp): Do not use BP_SYM in weak_alias.
1652 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1653 "bp-asm.h".
1654 (PARMS): Do not use macros from bp-asm.h.
1655 (DEST): Likewise.
1656 (SRC): Likewise.
1657 (LEN): Likewise.
1658 (memcpy): Likewise. Do not use BP_SYM.
1659 * sysdeps/i386/i686/memmove.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 (memmove): Likewise. Do not use BP_SYM.
1666 * sysdeps/i386/i686/mempcpy.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 (__mempcpy): Likewise. Do not use BP_SYM.
1673 (mempcpy): Do not use BP_SYM in weak_alias.
1674 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1675 "bp-asm.h".
1676 (PARMS): Do not use macros from bp-asm.h.
1677 (DEST): Likewise.
1678 (LEN): Likewise.
1679 [!BZERO_P] (CHR): Likewise.
1680 (memset): Likewise. Do not use BP_SYM.
1681 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1682 "bp-asm.h".
1683 (PARMS): Do not use macros from bp-asm.h.
1684 (STR2): Likewise.
1685 (strcmp): Do not use BP_SYM.
1686 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1687 "bp-asm.h".
1688 (PARMS): Do not use macros from bp-asm.h.
1689 (STR): Likewise.
1690 (DELIM): Likewise.
1691 [USE_AS_STRTOK_R] (SAVE): Likewise.
1692 (FUNCTION): Likewise. Do not use BP_SYM.
1693 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1694 aliases.
1695 (strtok_r): Likewise.
1696 (__GI___strtok_r): Likewise.
1697 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1698 (PARMS): Do not use macros from bp-asm.h.
1699 (S): Likewise.
1700 (SIZE): Likewise.
1701 (__mpn_lshift): Do not use BP_SYM.
1702 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1703 (PARMS): Do not use macros from bp-asm.h.
1704 (STR): Likewise.
1705 (CHR): Likewise.
1706 (__memchr): Do not use BP_SYM.
1707 (memchr): Do not use BP_SYM in weak_alias.
1708 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1709 (PARMS): Do not use macros from bp-asm.h.
1710 (BLK2): Likewise.
1711 (LEN): Likewise.
1712 (memcmp): Do not use BP_SYM.
1713 (bcmp): Do not use BP_SYM in weak_alias.
1714 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1715 (PARMS): Do not use macros from bp-asm.h.
1716 (S1): Likewise.
1717 (SIZE): Likewise.
1718 (__mpn_mul_1): Do not use BP_SYM.
1719 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1720 "bp-asm.h".
1721 (PARMS): Do not use macros from bp-asm.h.
1722 (STR): Likewise.
1723 (CHR): Likewise.
1724 (__rawmemchr): Do not use BP_SYM.
1725 (rawmemchr): Do not use BP_SYM in weak_alias.
1726 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1727 (PARMS): Do not use macros from bp-asm.h.
1728 (S): Likewise.
1729 (SIZE): Likewise.
1730 (__mpn_rshift): Do not use BP_SYM.
1731 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1732 (PARMS): Do not use macros from bp-asm.h.
1733 (SIGMSK): Likewise.
1734 (__sigsetjmp): Likewise. Do not use BP_SYM.
1735 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1736 (_start): Do not use BP_SYM.
1737 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1738 (PARMS): Do not use macros from bp-asm.h.
1739 (DEST): Likewise.
1740 (SRC): Likewise.
1741 (__stpcpy): Likewise. Do not use BP_SYM.
1742 (stpcpy): Do not use BP_SYM in weak_alias.
1743 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1744 "bp-asm.h".
1745 (PARMS): Do not use macros from bp-asm.h.
1746 (DEST): Likewise.
1747 (SRC): Likewise.
1748 (LEN): Likewise.
1749 (__stpncpy): Likewise. Do not use BP_SYM.
1750 (stpncpy): Do not use BP_SYM in weak_alias.
1751 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1752 (PARMS): Do not use macros from bp-asm.h.
1753 (STR): Likewise.
1754 (CHR): Likewise.
1755 (strchr): Likewise. Do not use BP_SYM.
1756 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1757 "bp-asm.h".
1758 (PARMS): Do not use macros from bp-asm.h.
1759 (STR): Likewise.
1760 (CHR): Likewise.
1761 (__strchrnul): Likewise. Do not use BP_SYM.
1762 (strchrnul): Do not use BP_SYM in weak_alias.
1763 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1764 "bp-asm.h".
1765 (PARMS): Do not use macros from bp-asm.h.
1766 (STOP): Likewise.
1767 (strcspn): Do not use BP_SYM.
1768 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1769 "bp-asm.h".
1770 (PARMS): Do not use macros from bp-asm.h.
1771 (STR): Likewise.
1772 (STOP): Likewise.
1773 (strpbrk): Likewise. Do not use BP_SYM.
1774 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1775 "bp-asm.h".
1776 (PARMS): Do not use macros from bp-asm.h.
1777 (STR): Likewise.
1778 (CHR): Likewise.
1779 (strrchr): Likewise. Do not use BP_SYM.
1780 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1781 (PARMS): Do not use macros from bp-asm.h.
1782 (SKIP): Likewise.
1783 (strspn): Do not use BP_SYM.
1784 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1785 (PARMS): Do not use macros from bp-asm.h.
1786 (STR): Likewise.
1787 (DELIM): Likewise.
1788 (SAVE): Likewise.
1789 (FUNCTION): Likewise. Do not use BP_SYM.
1790 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1791 aliases.
1792 (strtok_r): Likewise.
1793 (__GI___strtok_r): Likewise.
1794 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1795 (PARMS): Do not use macros from bp-asm.h.
1796 (S1): Likewise.
1797 (S2): Likewise.
1798 (SIZE): Likewise.
1799 (__mpn_sub_n): Do not use BP_SYM.
1800 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1801 "bp-asm.h".
1802 (PARMS): Do not use macros from bp-asm.h.
1803 (S1): Likewise.
1804 (SIZE): Likewise.
1805 (__mpn_submul_1): Do not use BP_SYM.
1806 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1807 <bp-sym.h>.
1808 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1809 and <bp-asm.h>.
1810 (PARMS): Do not use macros from bp-asm.h.
1811 (FLAGS): Likewise.
1812 (PTID): Likewise.
1813 (TLS): Likewise.
1814 (CTID): Likewise.
1815 (__clone): Do not use BP_SYM.
1816 (clone): Do not use BP_SYM in weak_alias.
1817 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1818 and <bp-asm.h>.
1819 (PARMS): Do not use macros from bp-asm.h.
1820 (LEN): Likewise.
1821 (__mmap64): Do not use BP_SYM.
1822 (mmap64): Do not use BP_SYM in weak_alias.
1823 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1824 <bp-sym.h> and <bp-asm.h>.
1825 (PARMS): Do not use macros from bp-asm.h.
1826 (__posix_fadvise64_l64): Do not use BP_SYM.
1827 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1828 (PARMS): Do not use macros from bp-asm.h.
1829 (NSOPS): Likewise.
1830 (semtimedop): Do not use BP_SYM.
1831 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1832 and <bp-asm.h>.
1833
582a3cff
AM
18342013-02-21 Allan McRae <allan@archlinux.org>
1835
1836 * manual/message.texi (Charset conversion in gettext):
1837 Move @end statement to beginning of line.
1838
bab8a695
SP
18392013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1840
80945231
SP
1841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1842 static.
1843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1844 Likewise.
1845
bab8a695
SP
1846 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1847 (denorm): Likewise.
1848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1850
e21d7aa7
AK
18512013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1852
1853 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1854 tail-call to the resolved function if pltexit isn't needed.
1855
4c7a4263
SP
18562013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1857
1858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1859 or Y being zero as being unlikely.
1860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1861 Likewise.
1862
41f49342
CD
18632013-02-20 Carlos O'Donell <carlos@redhat.com>
1864
1865 * manual/nss.texi (System Databases and Name Service Switch):
1866 Remove frobnicate @pxref.
1867
50022a93
TS
18682013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1869
1870 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1871 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1872
08cbd996
PM
18732013-02-20 Petr Machata <pmachata@redhat.com>
1874
1875 * elf/elf.h (R_ARM_TARGET1): New macro.
1876 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1877 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1878 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1879 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1880 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1881 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1882 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1883 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1884 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1885 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1886 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1887 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1888 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1889 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1890 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1891 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1892 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1893 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1894 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1895 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1896 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1897 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1898 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1899 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1900 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1901 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1902 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1903 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1904 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1905 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1906 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1907 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1908 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1909 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1910 (R_ARM_THM_GOT_BREL12): Likewise.
1911 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1912 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1913 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1914 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1915 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1916 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1917 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1918 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1919 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1920
c7b275d6
TS
19212013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1922
1923 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1924 __attribute_used__ to __attribute__ ((unused)).
1925
20cd7fb3
SP
19262013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1927
1928 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1929 powerpc mpa.c.
1930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1931 comment formatting.
1932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1933
92945b52
JM
19342013-02-19 Joseph Myers <joseph@codesourcery.com>
1935
1936 [BZ #13550]
1937 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1938 Remove macro.
1939 (ENTER): Remove both macro definitions.
1940 (LEAVE): Likewise.
1941 (CHECK_BOUNDS_LOW): Likewise.
1942 (CHECK_BOUNDS_HIGH): Likewise.
1943 (CHECK_BOUNDS_BOTH): Likewise.
1944 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1945 (RETURN_BOUNDED_POINTER): Likewise.
1946 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1947 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1948 (POP_ERRNO_LOCATION_RETURN): Likewise.
1949 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1950 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1951 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1952 macros.
1953 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1954 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1955 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1956 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1957 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1958 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1959 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1960 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1961 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1962 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1963 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1964 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1965 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1966 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1967 removed macros.
1968 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1969 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1970 macros.
1971 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1972 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1973 * sysdeps/i386/i586/memset.S (memset): Likewise.
1974 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1975 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1976 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1977 macros.
1978 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1979 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1980 Change uses of L(2) to L(out).
1981 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1982 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1983 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1984 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1985 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1986 removed macros.
1987 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1988 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1989 macros.
1990 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1991 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1992 (RETURN): Do not use macro LEAVE.
1993 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1994 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1995 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1996 * sysdeps/i386/i686/memset.S (memset): Likewise.
1997 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1998 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1999 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2000 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2001 Likewise.
2002 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2003 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2004 L(1_2) and L(1_3) into L(1).
2005 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2006 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2007 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2008 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2009 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2010 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2011 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2012 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2013 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2014 macros.
2015 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2016 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2017 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2018 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2019 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2020 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2021 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2022 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2023 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2024 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2025 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2026 * sysdeps/i386/strspn.S (strspn): Likewise.
2027 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2028 conditional code.
2029 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2030 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2031 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2032 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2033 L(1_3) into L(1_1).
2034 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2035 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2036 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2037 macros.
2038 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2039
2389741a
JJ
20402013-02-19 Jakub Jelinek <jakub@redhat.com>
2041
2042 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2043 macro.
2044
2016b3cd
SP
20452013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2046
e4f22324
SP
2047 * math/atest-exp.c (exp_mpn): Remove ROUND.
2048 * math/atest-exp2.c (exp_mpn): Likewise.
2049 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2050
2016b3cd
SP
2051 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2052 * stdlib/tst-tls-atexit-lib.c: Likewise.
2053 * stdlib/tst-tls-atexit.c: Likewise.
2054
4be9b544
MF
20552013-02-18 Mike Frysinger <vapier@gentoo.org>
2056
2057 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2058 and __attribute_alloc_size__.
2059
2f62b9ee
MF
20602013-02-18 Mike Frysinger <vapier@gentoo.org>
2061
2062 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2063 __attribute_alloc_size__.
2064 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2065 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2066
6ff444c4
MF
20672013-02-18 Mike Frysinger <vapier@gentoo.org>
2068
2069 * include/programs/xmalloc.h: New file.
2070 * catgets/gencat.c: Include it.
2071 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2072 * elf/pldd.c: Likewise.
2073 * iconv/iconv_charmap.c: Likewise.
2074 * iconv/iconvconfig.c: Likewise.
2075 * iconv/strtab.c: Likewise.
2076 * locale/programs/locale.c: Likewise.
2077 * locale/programs/localedef.h: Likewise.
2078 * locale/programs/simple-hash.c: Likewise.
2079 * nscd/nscd.h: Likewise.
2080 * nss/makedb.c: Likewise.
2081 * sysdeps/generic/ldconfig.h: Likewise.
2082
be179c8a
SP
20832013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2084
ba384f6e
SP
2085 * Versions.def: Add GLIBC_2.18.
2086 * include/link.h (struct link_map): New member l_tls_dtor_count.
2087 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2088 (__call_tls_dtors): Likewise.
2089 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2090 __cxa_thread_atexit_impl.
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2092 Likewise.
2093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2094 Likewise.
2095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2096 Likewise.
2097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2098 Likewise.
2099 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2101 Likewise.
2102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2103 Likewise.
2104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2106 Likewise.
2107 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2108 (tests): Add test case tst-tls-atexit.
2109 (modules-names): Add shared library for tst-tls-atexit.
2110 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2111 (GLIBC_PRIVATE): Add __call_tls_dtors.
2112 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2113 for libstdc++.
2114 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2115 * stdlib/tst-tls-atexit.c: New test case.
2116 * stdlib/tst-tls-atexit-lib.c: New test case.
2117
ffaa74cf 2118 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2119
be179c8a
SP
2120 * elf/Versions (ld): Add _dl_find_dso_for_object.
2121 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2122 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2123 (dl_open_worker): Use _dl_find_dso_for_object.
2124 * elf/dl-sym.c (do_sym): Likewise.
2125 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2126
f78b5caa
AK
21272013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2128
2129 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2130 Syntactic changes only.
2131 (_dl_runtime_profile): Do a tail-call to the resolved function.
2132
29691210
JM
21332013-02-17 Joseph Myers <joseph@codesourcery.com>
2134
2135 [BZ #13550]
2136 * sysdeps/x86_64/bp-asm.h: Remove file.
2137 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2138 <bp-sym.h> and <bp-asm.h>.
2139 (__clone): Do not use BP_SYM.
2140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2141 <bp-sym.h> and <bp-asm.h>.
2142 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2143 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2144 "bp-asm.h".
2145 (_setjmp): Do not use BP_SYM.
2146 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2147 "bp-asm.h".
2148 (setjmp): Do not use BP_SYM.
2149 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2150 libc_hidden_def.
2151 (mempcpy): Do not use BP_SYM in weak_alias.
2152 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2153 "bp-asm.h".
2154 (strchr): Do not use BP_SYM.
2155 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2156 "bp-asm.h".
2157 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2158 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2159 (_start): Do not use BP_SYM.
2160 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2161 "bp-asm.h".
2162 (strcat): Do not use BP_SYM.
2163 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2164 "bp-asm.h".
2165 (STRCMP): Do not use BP_SYM.
2166 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2167 "bp-asm.h".
2168 (STRCPY): Do not use BP_SYM.
2169 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2170 "bp-asm.h".
2171 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2172 "bp-asm.h".
2173 (FUNCTION): Do not use BP_SYM.
2174 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2175 weak_alias.
2176 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2177
f238fd19
AJ
21782013-02-17 Andreas Jaeger <aj@suse.de>
2179
2180 * time/Versions: Sort entries.
2181 * string/Versions: Likewise.
2182 * resolv/Versions: Likewise.
2183 * posix/Versions: Likewise.
2184 * iconv/Versions: Likewise.
2185 * elf/Versions: Likewise.
2186 * wcsmbs/Versions: Likewise.
2187
bd07f23c 21882013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2189
22af19f9
SP
2190 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2191 loop termination condition.
2192
4709fe76
SP
2193 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2194 variable to calculate EZ.
2195 (__sqr): Likewise.
2d0e0f29
SP
2196
2197 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2198 the lower precision input.
2199
daaa7713
JM
22002013-02-15 Joseph Myers <joseph@codesourcery.com>
2201
2202 [BZ #13550]
2203 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2204 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2205 (run-via-rtld-prefix): Do not handle %-bp tests.
2206 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2207 (all-object-suffixes): Remove .ob.
2208 (bppfx): Remove variable.
2209 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2210 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2211 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2212 [$(build-bounded) = yes] (libtype.ob): Likewise.
2213 * Makerules (elide-routines.ob): Remove variable.
2214 (do-tests-clean): Do not handle *-bp.out.
2215 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2216 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2217 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2218 (tests): Do not include $(tests-bp.out).
2219 (xtests): Do not include $(xtests-bp.out).
2220 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2221 [$(build-bounded) = yes] ($(addprefix
2222 $(objpfx),$(binaries-bounded))): Remove rule.
2223 ($(objpfx)%-bp.out): Remove rule.
2224 * config.make.in (build-bounded): Remove variable.
2225 * crypt/Makefile [$(build-bounded) = yes]
2226 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2227 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2228 append to variable.
2229 [$(build-bounded) = yes] (install-lib): Likewise.
2230 [$(build-bounded) = yes] (generated): Likewise.
2231 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2232 Remove rule.
2233 * intl/Makefile [$(build-bounded) = yes]
2234 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2235 * math/Makefile [$(build-bounded) = yes]
2236 ($(tests:%=$(objpfx)%-bp): Likewise.
2237 * misc/Makefile [$(build-bounded) = yes]
2238 ($(objpfx)tst-tsearch-bp): Likewise.
2239 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2240 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2241 Remove dependency.
2242 * string/Makefile (o-objects.ob): Remove variable.
2243 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2244 (CFLAGS-.ob): Remove variable.
2245 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2246 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2247 both definitions of variable.
2248 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2249 (ASFLAGS-.ob): Remove variable.
2250
e97ed6dd
JM
22512013-02-14 Joseph Myers <joseph@codesourcery.com>
2252
2bdd4ca6
JM
2253 [BZ #13550]
2254 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2255 Remove __BOUNDED_POINTERS__ from condition.
2256 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2257 * string/bits/string2.h [!__NO_STRING_INLINES &&
2258 !__BOUNDED_POINTERS__]: Likewise.
2259 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2260 Likewise.
2261 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2262 Remove conditional code.
2263 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2264 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2265 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2266 condition.
2267
e97ed6dd
JM
2268 [BZ #13550]
2269 * csu/libc-start.c: Do not include <bp-sym.h>.
2270 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2271 * elf/dl-open.c: Do not include <bp-sym.h>.
2272 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2273 * math/fegetenv.c: Do not include <bp-sym.h>.
2274 (fegetenv): Do not use BP_SYM in versioned symbols.
2275 * nptl/sysdeps/pthread/bits/libc-lockP.h
2276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2277 <bp-sym.h>.
2278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2279 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2281 (__pthread_mutex_destroy): Likewise.
2282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2283 (__pthread_mutex_lock): Likewise.
2284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2285 (__pthread_mutex_trylock): Likewise.
2286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2287 (__pthread_mutex_unlock): Likewise.
2288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2289 (__pthread_mutexattr_init): Likewise.
2290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2291 (__pthread_mutexattr_destroy): Likewise.
2292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2293 (__pthread_mutexattr_settype): Likewise.
2294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2295 (__pthread_rwlock_init): Likewise.
2296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2297 (__pthread_rwlock_destroy): Likewise.
2298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2299 (__pthread_rwlock_rdlock): Likewise.
2300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2301 (__pthread_rwlock_tryrdlock): Likewise.
2302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2303 (__pthread_rwlock_wrlock): Likewise.
2304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2305 (__pthread_rwlock_trywrlock): Likewise.
2306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2307 (__pthread_rwlock_unlock): Likewise.
2308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2309 (__pthread_key_create): Likewise.
2310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2311 (__pthread_setspecific): Likewise.
2312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2313 (__pthread_getspecific): Likewise.
2314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2315 Likewise.
2316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2317 (_pthread_cleanup_push_defer): Likewise.
2318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2319 (_pthread_cleanup_pop_restore): Likewise.
2320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2321 (pthread_setcancelstate): Likewise.
2322 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2323 <bp-sym.h>.
2324 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2325 (memchr): Do not use BP_SYM in weak_alias.
2326 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2327 (fegetenv): Do not use BP_SYM in versioned symbols.
2328 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2329 (fesetenv): Do not use BP_SYM in versioned symbols.
2330 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2331 (feupdateenv): Do not use BP_SYM in versioned symbols.
2332 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2333 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2334 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2335 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2336 (open64): Do not use BP_SYM in weak_alias.
2337 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2338 (fegetenv): Do not use BP_SYM in versioned symbols.
2339 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2340 (fesetenv): Do not use BP_SYM in versioned symbols.
2341 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2342 (feupdateenv): Do not use BP_SYM in versioned symbols.
2343 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2344 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2345 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2346 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2347 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2348 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2349 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2350 <bp-sym.h>.
2351 (__libc_start_main): Do not use BP_SYM.
2352
d6752ccd
SP
23532013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2354
cb57ce60
SP
2355 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2356 redundant return line.
2357 (norm): Likewise.
2358 (denorm): Likewise.
2359 (dbl_mp): Likewise.
2360 (sub_magnitudes): Likewise.
2361 (__add): Likewise.
2362 (__sub): Likewise.
2363 (__mul): Likewise.
2364 (__inv): Likewise.
2365 (__dvd): Likewise.
2366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2367 (norm): Likewise.
2368 (denorm): Likewise.
2369 (dbl_mp): Likewise.
2370 (sub_magnitudes): Likewise.
2371 (__add): Likewise.
2372 (__sub): Likewise.
2373 (__mul): Likewise.
2374 (__inv): Likewise.
2375 (__dvd): Likewise.
2376
f414520d
SP
2377 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2378 instead of __mul.
2379 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2380 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2381 (cc32): Likewise.
2382
d6752ccd
SP
2383 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2384 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2386 of __mul for squares.
2387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2388 function
2389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2390 Likewise.
2391 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2392 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2393
70d9946a
JM
23942013-02-13 Joseph Myers <joseph@codesourcery.com>
2395
2396 [BZ #13550]
2397 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2398 code.
2399 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2400 prototype or function definition. Rename ubp_* variables and
2401 parameters. Remove argv definitions conditional on
2402 [__BOUNDED_POINTERS__].
2403 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2404 * elf/dl-runtime.c (_dl_fixup): Likewise.
2405 * include/set-hooks.h (RUN_HOOK): Likewise.
2406 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2407 definition.
2408 * string/strcpy.c (strcpy): Do not use __unbounded.
2409 * sysdeps/generic/frame.h (struct layout): Likewise.
2410 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2411 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2412 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2413 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2414 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2415 (__backtrace): Likewise.
2416 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2417 use __ptrvalue.
2418 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2419 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2420 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2421 Likewise.
2422 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2423 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2424 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2425 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2426 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2427 Do not use __unbounded.
2428 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2429 Rename __unboundedrlimits parameter to rlimits in prototype.
2430 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2431 Do not use __unbounded.
2432 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2433 not use __ptrvalue.
2434 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2435 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2436 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2437 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2438 __ptrvalue or __unbounded.
2439 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2440 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2441 use __unbounded.
2442 (__new_msgctl): Do not use __ptrvalue.
2443 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2444 __unbounded.
2445 (__libc_msgrcv): Do not use __ptrvalue.
2446 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2447 startup_info): Do not use __unbounded.
2448 (__libc_start_main): Likewise. Rename ubp_* variables and
2449 parameters. Remove argv definitions conditional on
2450 [__BOUNDED_POINTERS__].
2451 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2452 __ptrvalue.
2453 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2454 use __unbounded.
2455 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2456 or __ptrvalue.
2457 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2458 use __unbounded.
2459 (__new_shmctl): Do not use __ptrvalue.
2460 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2461 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2462 Likewise.
2463 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2464 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2465 (__libc_sigaction): Likewise.
2466 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2467 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2468 Likewise.
2469 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2470
cc7834d6
OB
24712013-02-13 Ondřej Bílka <neleai@seznam.cz>
2472
ffb1ec7b 2473 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2474
2475 * string/mempcpy.c: Implement by calling memcpy.
2476
bdf02814
SP
24772013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2478
c2af38aa
SP
2479 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2480
4e92d59e
SP
2481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2482 evaluation.
2483
909279a5
SP
2484 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2485 values in the mantissa.
2486
bdf02814
SP
2487 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2488 minimize writes to Z.
2489 (sub_magnitudes): Simplify code a bit.
2490
cd525923
RM
24912013-02-12 Roland McGrath <roland@hack.frob.com>
2492
2493 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2494 from the message. The linker prefixes all warnings with that already.
2495
7e2f0d2d
AS
24962013-02-12 Andreas Schwab <schwab@suse.de>
2497
a445af0b
AS
2498 [BZ #15078]
2499 * posix/regexec.c (extend_buffers): Add parameter min_len.
2500 (check_matching): Pass minimum needed length.
2501 (clean_state_log_if_needed): Likewise.
2502 (get_subexp): Likewise.
2503 * posix/Makefile (tests): Add bug-regex34.
2504 (bug-regex34-ENV): Define.
2505 * posix/bug-regex34.c: New file.
2506
7e2f0d2d
AS
2507 [BZ #11561]
2508 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2509 elements compare against the byte sequence of it, not its name.
2510 * posix/Makefile (tests): Add bug-regex35.
2511 (bug-regex35-ENV): Define.
2512 * posix/bug-regex35.c: New file.
2513
a175b684
TV
25142013-02-11 Tom de Vries <tom@codesourcery.com>
2515
2516 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2517 comment.
2518 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2519 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2520 (CHECK_EOL): Add undef.
2521
310998fe 25222013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2523
2524 * bits/stdlib-bsearch.h: New file.
2525 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2526 * stdlib/stdlib.h: Likewise.
41eda41d 2527
8ded91fb
RM
25282013-02-11 Roland McGrath <roland@hack.frob.com>
2529
2530 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2531 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2532 declaration.
2533 * manual/search.texi (Array Search Function): Add missing const in
2534 lfind prototype.
2535 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2536 declaration to use rlim_t.
2537 (Basic Scheduling Functions): Remove erroneous const from
2538 sched_getparam prototype. Remove erroneous * from
2539 sched_get_priority_max and sched_get_priority_min prototypes.
2540 (Resource Usage): Fix summary @comment on vtimes to refer to
2541 sys/vtimes.h rather than vtimes.h.
2542 Add missing *s in vtimes prototype.
2543 (Limits on Resources): Fix ulimit prototype to return long int.
2544 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2545 prototypes to use long int rather than double.
2546 (BSD Random): Fix initstate and setstate to use char *, not void *.
2547 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2548 prototype to make second argument 'struct aiocb64 *const[]'.
2549 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2550 (Status of AIO Operations): Remove erroneous const in aio_return and
2551 aio_return64 prototypes.
2552 (Synchronizing I/O): Fix sync prototype to return void.
2553 * manual/startup.texi (Suboptions): Remove an erroneous const in
2554 getsubopt prototype.
2555 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2556 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2557 use size_t rather than int.
2558 (Scanning All Users): Likewise for getpwent_r.
2559 (Setting Groups): Add missing const to setgroups prototype.
2560 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2561 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2562 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2563 'const void *' rather than 'const char *'.
2564 (Host Address Functions): Likewise for inet_ntop.
2565 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2566 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2567 ssize_t for return value.
2568 (Sending Data): Likewise for send, sendto, sendmsg.
2569 (Socket Option Functions): Add a missing const in setsockopt prototype.
2570 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2571 use wchar_t for the argument.
2572 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2573 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2574 take no arguments.
2575 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2576 double/float/long double for second argument.
2577 Fix return types of significand, significandf, significandl.
2578 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2579 argument in fchmod prototype.
2580 (File Owner): Use uid_t and gid_t in fchown prototype.
2581 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2582 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2583 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2584 use 'const struct dirent **' as argument types to CMP function pointer
2585 argument.
2586 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2587 (File Times): Fix summary magic @comment for struct utimbuf and utime
2588 to refer to utime.h, not time.h.
2589 * manual/string.texi (Argz Functions): Add missing const in
2590 argz_extract and argz_next prototypes.
2591 (Finding Tokens in a String): Likewise for basename.
2592 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2593 (Copying and Concatenation): Fix typo in wmemmove prototype.
2594 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2595 (Signal Stack): Remove erroneous const in sigstack prototype.
2596 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2597 prototype.
2598 (Simple Calendar Time): Likewise for stime.
2599 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2600 prototype.
2601 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2602 say sys/sysctl.h instead.
2603 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2604 and vsyslog prototypes.
2605
fe77fe6d
TV
26062013-02-11 Tom de Vries <tom@codesourcery.com>
2607
2608 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2609 Remove.
2610
3a09b620
RM
26112013-02-11 Roland McGrath <roland@hack.frob.com>
2612
2613 * misc/sys/mman.h: Fix typo in mremap comment.
2614
550a0b89
RM
26152013-02-08 Roland McGrath <roland@hack.frob.com>
2616
2617 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2618 the '\0' terminator.
2619
a2da1673
JM
26202013-02-08 Joseph Myers <joseph@codesourcery.com>
2621
2622 [BZ #13550]
2623 * debug/segfault.c: Don't include <bp-checks.h>.
2624 * sysdeps/generic/bp-checks.h: Remove file.
2625 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2626 (__GETDENTS): Don't use CHECK_N.
2627 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2628 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2629 (__getgroups): Don't use CHECK_N.
2630 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2631 (setgroups): Don't use CHECK_N.
2632 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2633 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2634 (__libc_msgrcv): Don't use CHECK_N.
2635 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2636 (__libc_msgsnd): Don't use CHECK_N.
2637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2638 <bp-checks.h>.
2639 (__libc_pread): Don't use CHECK_N.
2640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2641 include <bp-checks.h>.
2642 (__libc_pread64): Don't use CHECK_N.
2643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2644 include <bp-checks.h>.
2645 (__libc_pwrite): Don't use CHECK_N.
2646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2647 include <bp-checks.h>.
2648 (__libc_pwrite64): Don't use CHECK_N.
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2650 <bp-checks.h>.
2651 (__libc_pread): Don't use CHECK_N.
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2653 include <bp-checks.h>.
2654 (__libc_pread64): Don't use CHECK_N.
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2656 include <bp-checks.h>.
2657 (__libc_pwrite): Don't use CHECK_N.
2658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2659 include <bp-checks.h>.
2660 (__libc_pwrite64): Don't use CHECK_N.
2661 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2662 (do_pread): Don't use CHECK_N.
2663 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2664 (do_pread64): Don't use CHECK_N.
2665 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2666 (do_pwrite): Don't use CHECK_N.
2667 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2668 (do_pwrite64): Don't use CHECK_N.
2669 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2670 (__libc_readv): Don't use CHECK_N.
2671 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2672 (semop): Don't use CHECK_N.
2673 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2674 <bp-checks.h>.
2675 (semtimedop): Don't use CHECK_N.
2676 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2677 (__libc_pread): Don't use CHECK_N.
2678 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2679 <bp-checks.h>.
2680 (__libc_pread64): Don't use CHECK_N.
2681 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2682 <bp-checks.h>.
2683 (__libc_pwrite): Don't use CHECK_N.
2684 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2685 <bp-checks.h>.
2686 (__libc_pwrite64): Don't use CHECK_N.
2687 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2688 <bp-checks.h>.
2689 (__libc_msgrcv): Don't use CHECK_N.
2690 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2691 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2692 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2693 (__libc_writev): Don't use CHECK_N.
2694
b84660a8
RM
26952013-02-08 Roland McGrath <roland@hack.frob.com>
2696
7f3e75f8
RM
2697 * string/strcpy.c: Removed unused variable.
2698
b84660a8
RM
2699 * Makeconfig (+sysdep-includes): Define with := rather than =.
2700 Use an existing include/ subdir of each sysdeps dir before it.
2701
471514d3
CD
27022013-02-08 Carlos O'Donell <carlos@redhat.com>
2703
2704 * nscd/connection.c (register_traced_file): Comment function.
2705 [HAVE_INOTIFY] (union __inev): Define.
2706 [HAVE_INOTIFY] (inotify_check_files): New function.
2707 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2708 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2709 clear_db_cache.
2710 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2711
b2d3c3be
CD
27122013-02-08 Carlos O'Donell <carlos@redhat.com>
2713
2714 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2715 loaded if not already and that a failure is permanent.
2716
b39949d2
CD
27172013-02-08 Carlos O'Donell <carlos@redhat.com>
2718
ddacd1db 2719 [BZ #15006]
b39949d2
CD
2720 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2721 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2722
b2c9eff4
JM
27232013-02-08 Joseph Myers <joseph@codesourcery.com>
2724
f3aae3f3
JM
2725 [BZ #13550]
2726 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2727 (CHECK_1_NULL_OK): Likewise.
2728 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2729 (__fxstat): Do not use CHECK_1.
2730 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2731 <bp-checks.h>.
2732 (___fxstat64): Do not use CHECK_1.
2733 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2734 <bp-checks.h>.
2735 (__fxstatat): Do not use CHECK_1.
2736 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2737 <bp-checks.h>.
2738 (__fxstatat64): Do not use CHECK_1.
2739 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2740 <bp-checks.h>.
2741 (__fxstat): Do not use CHECK_1.
2742 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2743 <bp-checks.h>.
2744 (__fxstatat): Do not use CHECK_1.
2745 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2746 <bp-checks.h>.
2747 (__getresgid): Do not use CHECK_1.
2748 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2749 <bp-checks.h>.
2750 (__getresuid): Do not use CHECK_1.
2751 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2752 <bp-checks.h>.
2753 (__lxstat): Do not use CHECK_1.
2754 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2755 <bp-checks.h>.
2756 (__old_msgctl): Do not use CHECK_1.
2757 (__new_msgctl): Likewise.
2758 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2759 <bp-checks.h>.
2760 (__new_setrlimit): Do not use CHECK_1.
2761 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2762 <bp-checks.h>.
2763 (__old_shmctl): Do not use CHECK_1.
2764 (__new_shmctl): Likewise.
2765 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2766 <bp-checks.h>.
2767 (__xstat): Do not use CHECK_1.
2768 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2769 (__lxstat): Do not use CHECK_1.
2770 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2771 <bp-checks.h>.
2772 (___lxstat64): Do not use CHECK_1.
2773 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2774 (__old_msgctl): Do not use CHECK_1.
2775 (__new_msgctl): Likewise.
2776 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2777 <bp-checks.h>.
2778 (__gettimeofday): Do not use CHECK_1.
2779 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2780 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2781 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2782 <bp-checks.h>.
2783 (__gettimeofday): Do not use CHECK_1.
2784 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2785 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2786 (__new_shmctl): Do not use CHECK_1.
2787 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2788 <bp-checks.h>.
2789 (do_sigtimedwait): Do not use CHECK_1.
2790 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2791 <bp-checks.h>.
2792 (do_sigwaitinfo): Do not use CHECK_1.
2793 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2794 <bp-checks.h>.
2795 (msgctl): Do not use CHECK_1.
2796 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2797 <bp-checks.h>.
2798 (shmctl): Do not use CHECK_1.
2799 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2800 (ustat): Do not use CHECK_1.
2801 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2802 <bp-checks.h>.
2803 (__fxstat): Do not use CHECK_1.
2804 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2805 <bp-checks.h>.
2806 (__fxstatat): Do not use CHECK_1.
2807 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2808 <bp-checks.h>.
2809 (__lxstat): Do not use CHECK_1.
2810 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2811 <bp-checks.h>.
2812 (__xstat): Do not use CHECK_1.
2813 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2814 (__xstat): Do not use CHECK_1.
2815 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2816 (___xstat64): Do not use CHECK_1.
2817
b2c9eff4
JM
2818 [BZ #13550]
2819 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2820 definitions.
2821 (CHECK_BOUNDS_HIGH): Likewise.
2822 * string/strcpy.c: Do not include <bp-checks.h>.
2823 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2824
f1d70dad
RM
28252013-02-07 Roland McGrath <roland@hack.frob.com>
2826
2827 * nscd/nscd-client.h (__nscd_drop_map_ref):
2828 Add __attribute__ ((unused)).
2829 * nis/nss-nisplus.h (niserr2nss): Likewise.
2830
2831 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2832 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2833
2834 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2835 Remove inline keyword.
2836 * include/rounding-mode.h (round_away): Likewise.
2837 * libio/wfileops.c (adjust_wide_data): Likewise.
2838 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2839 (__m128i_strloadu_tolower): Likewise.
2840 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2841 (__m128i_strloadu_tolower): Likewise.
2842 * time/mktime.c (ydhms_diff): Likewise.
2843 * locale/elem-hash.h (elem_hash): Likewise.
2844 * locale/setlocale.c (setdata): Likewise.
2845 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2846 (re_string_wchar_at): Likewise.
2847 (bitset_not, bitset_merge, bitset_mask): Likewise.
2848 [!(__GNUC__ > 3)] (inline): Remove macro.
2849 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2850 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2851 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2852 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2853 * string/memcmp.c (memcmp_bytes): Likewise.
2854 * locale/programs/locarchive.c (compute_hashval): Likewise.
2855 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2856 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2857 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2858 * nss/getent.c (print_rpc, print_protocols): Likewise.
2859 (print_passwd, print_group, print_aliases): Likewise.
2860 * nis/nss-nisplus.h (niserr2nss): Likewise.
2861 * nscd/connections.c (restart_p): Likewise.
2862 Change return type to bool.
2863
eab55bfb
RM
28642013-02-05 Roland McGrath <roland@hack.frob.com>
2865
7bd642f5
RM
2866 * Makeconfig (all-Depend-files): Add existing
2867 $(sorted-subdirs:=/Depend) files.
2868 (all-subdirs): Remove nss.
2869 * sysdeps/unix/inet/Subdirs: Add it here instead.
2870 * hesiod/Depend: New file.
2871
573c29b2
RM
2872 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2873 instead of calling alloca.
2874
b2e25af0
RM
2875 * io/lseek.c (__lseek): Rename to __libc_lseek.
2876 Define __lseek as an alias.
2877
eab55bfb
RM
2878 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2879
9a0d1941
CD
28802013-02-04 Carlos O'Donell <carlos@redhat.com>
2881
2882 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2883 else clause and remove check for non-standard endianness.
2884
b83bbec4
DM
28852013-02-04 David S. Miller <davem@davemloft.net>
2886
2887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2888
6277fdab
JM
28892013-02-04 Joseph Myers <joseph@codesourcery.com>
2890
2891 [BZ #13550]
2892 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2893 (__ubp_memchr): Remove prototype.
2894 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2895 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2896 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2897 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2898 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2899 Remove alias.
2900 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2901 (__ubp_memchr): Likewise.
2902 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2903 (__ubp_memchr): Likewise.
2904 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2905 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2906 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2907 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2908 CHECK_STRING.
2909 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2910 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2911 (__getcwd): Do not use CHECK_STRING.
2912 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2913 <bp-checks.h>.
2914 (__real_chown): Do not use CHECK_STRING.
2915 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2916 <bp-checks.h>.
2917 (fchownat): Do not use CHECK_STRING.
2918 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2919 CHECK_STRING.
2920 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2921 <bp-checks.h>.
2922 (__lchown): Do not use CHECK_STRING.
2923 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2924 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2925 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2926 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2928 include <bp-checks.h>.
2929 (truncate64): Do not use CHECK_STRING.
2930 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2931 <bp-checks.h>.
2932 (__real_chown): Do not use CHECK_STRING.
2933 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2934 <bp-checks.h>.
2935 (__lchown): Do not use CHECK_STRING.
2936 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2937 <bp-checks.h>.
2938 (__chown): Do not use CHECK_STRING.
2939 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2940 <bp-checks.h>.
2941 (truncate64): Do not use CHECK_STRING.
2942 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2943 Likewise.
2944 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2945 (__xmknod): Do not use CHECK_STRING.
2946 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2947 <bp-checks.h>.
2948 (__xmknodat): Do not use CHECK_STRING.
2949 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2950 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2951
903ae060
AS
29522013-02-04 Andreas Schwab <schwab@suse.de>
2953
2954 [BZ #14142]
2955 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2956 * include/netdb.h: Likewise for h_errno.
2957 * elf/tst-stackguard1.c: Include <tls.h>.
2958
542f9466
JK
29592013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2960
2961 * elf/link.h (struct link_map): Extend the l_addr comment.
2962 * include/link.h (struct link_map): Likewise.
2963
e782a927
JM
29642013-02-01 Joseph Myers <joseph@codesourcery.com>
2965
2966 [BZ #13550]
2967 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2968 (BOUNDED_1): Remove macro.
2969 * debug/backtrace.c: Don't include <bp-checks.h>.
2970 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2971 (__backtrace): Likewise.
2972 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2973 <bp-checks.h>.
2974 (__backtrace): Don't use BOUNDED_1.
2975 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2976 <bp-checks.h>.
2977 (__backtrace): Don't use BOUNDED_1.
2978 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2979 (__backtrace): Don't use BOUNDED_1.
2980 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2981 (shmat): Don't use BOUNDED_N.
2982
8cf28c5e
JM
29832013-01-31 Joseph Myers <joseph@codesourcery.com>
2984
3a7ac8a0
JM
2985 [BZ #13550]
2986 * sysdeps/generic/bp-start.h: Remove file.
2987 * csu/libc-start.c: Don't include <bp-start.h>.
2988 (LIBC_START_MAIN): Set up __environ directly instead of using
2989 INIT_ARGV_and_ENVIRON.
2990 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2991 <bp-start.h>.
2992
f3499f95
JM
2993 [BZ #13550]
2994 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2995 definitions.
2996 (CHECK_FCNTL): Likewise.
2997 (CHECK_N_PAGES): Likewise.
2998
32a45bea
JM
2999 [BZ #13550]
3000 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3001 definitions.
3002 (CHECK_SIGSET_NULL_OK): Likewise.
3003 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3004 <bp-checks.h>.
3005 (sigpending): Don't use CHECK_SIGSET.
3006 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3007 <bp-checks.h>.
3008 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3009 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3010 <bp-checks.h>.
3011 (do_sigsuspend): Don't use CHECK_SIGSET.
3012 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3013 use CHECK_SIGSET.
3014 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3015 (do_sigwait): Don't use CHECK_SIGSET.
3016 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3017 use CHECK_SIGSET.
3018 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3019 include <bp-checks.h>.
3020 (sigpending): Don't use CHECK_SIGSET.
3021 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3022 include <bp-checks.h>.
3023 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3024 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3025 <bp-checks.h>.
3026 (sigpending): Don't use CHECK_SIGSET.
3027 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3028 <bp-checks.h>.
3029 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3030
2e8a5c8c
JM
3031 [BZ #13550]
3032 * sysdeps/generic/bp-semctl.h: Remove file.
3033 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3034 <bp-checks.h> and <bp-semctl.h>.
3035 (__old_semctl): Don't use CHECK_SEMCTL.
3036 (__new_semctl): Likewise.
3037 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3038 and <bp-semctl.h>.
3039 (__old_semctl): Don't use CHECK_SEMCTL.
3040 (__new_semctl): Likewise.
3041 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3042 <bp-checks.h> and <bp-semctl.h>.
3043 (__old_semctl): Don't use CHECK_SEMCTL.
3044 (__new_semctl): Likewise.
3045 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3046 <bp-checks.h> and <bp-semctl.h>.
3047 (semctl): Don't use CHECK_SEMCTL.
3048
c2d54929
JM
3049 [BZ #13550]
3050 * Makerules (elide-bp-thunks): Remove variable.
3051 (elide-routines.oS): Don't use $(elide-bp-thunks).
3052 (elide-routines.os): Likewise.
3053 (elide-routines.o): Likewise.
3054 (elide-routines.op): Likewise.
3055 (elide-routines.og): Likewise.
3056 (objects): Don't use $(bp-thunks).
3057 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3058 include.
3059 (common-generated): Do not add s-proto-bp.d.
3060 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3061 (int): Likewise.
3062 (typ): Likewise.
3063 Do not generate makefile rules for bounded-pointer thunks.
3064 * sysdeps/generic/bp-thunks.h: Remove file.
3065 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3066 * sysdeps/unix/s-proto-bp.S: Likewise.
3067
8cf28c5e
JM
3068 [BZ #15062]
3069 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3070 parts of result separately when argument is not close to line from
3071 -i to i and one part of argument is small.
3072 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3073 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3074 * math/libm-test.inc (cacos_test): Add more tests.
3075 (casin_test): Likewise.
3076 (casinh_test): Likewise.
3077 * sysdeps/i386/fpu/libm-test-ulps: Update.
3078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3079
c4e33b8d
DM
30802013-01-31 David S. Miller <davem@davemloft.net>
3081
3082 * po/de.po: Update from translation team.
3083
3b60b421
MK
30842013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3085
3086 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3087
bb931195
TS
30882013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3089
b5a5da23
TS
3090 * configure.in (_AC_PROG_CC_C89): New definition.
3091 * configure: Regenerate.
3092
bb931195
TS
3093 * configure.in (AC_PROG_CPP): New definition.
3094 * configure: Regenerate.
3095
8c53a12c
JM
30962013-01-23 Joseph Myers <joseph@codesourcery.com>
3097
3098 * debug/tst-backtrace.h: New file.
3099 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3100 (ret): Remove variable.
3101 (x): Likewise.
3102 (FAIL): Remove macro.
3103 (NO_INLINE): Likewise.
3104 (fn1): Use match function instead of strstr.
3105 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3106 (ret): Remove variable.
3107 (x): Likewise.
3108 (FAIL): Remove macro.
3109 (NO_INLINE): Likewise.
3110 (fn): Use match function instead of strstr.
3111 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3112 (ret): Remove variable.
3113 (x): Likewise.
3114 (FAIL): Remove macro.
3115 (NO_INLINE): Likewise.
3116 (handle_signal): Use match function instead of strstr.
3117 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3118 (ret): Remove variable.
3119 (x): Likewise.
3120 (FAIL): Remove macro.
3121 (NO_INLINE): Likewise.
3122 (handle_signal): Use match function instead of strstr.
3123
4858fa2a
RM
31242013-01-23 Roland McGrath <roland@hack.frob.com>
3125
3126 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3127
bae8e7f5
DM
31282013-01-23 David S. Miller <davem@davemloft.net>
3129
3130 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3131 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3132 argument of CAS if possible.
3133 * sysdeps/sparc/sparc64/bits/atomic.h
3134 (__arch_compare_and_exchange_val_32_acq): Likewise.
3135 (__arch_compare_and_exchange_val_64_acq): Likewise.
3136
9cbbc4ae
PT
31372013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3138
3139 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3140 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3141 Include <limits.h>.
67b3f58c 3142 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3143
5655a0b5
AC
31442013-01-23 Adam Conrad <adconrad@0c3.net>
3145
3146 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3147 (LDFLAGS-tst-array5): Likewise.
3148
052aff95
JM
31492013-01-23 Joseph Myers <joseph@codesourcery.com>
3150
3151 [BZ #15036]
3152 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3153 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3154 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3155 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3156
7c1e01aa
DM
31572013-01-21 David S. Miller <davem@davemloft.net>
3158
3159 * sysdeps/sparc/backtrace.c: New file.
3160 * sysdeps/sparc/sparc32/backtrace.h: New file.
3161 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3162 * sysdeps/sparc/sparc64/backtrace.h: New file.
3163 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3164 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3165 -funwind-tables.
3166
ab087e0a
AS
31672013-01-21 Andreas Schwab <schwab@suse.de>
3168
3169 [BZ #15020]
3170 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3171 closed its stdout.
3172
ed689c2f
AS
31732013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3174
3175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3176 "mpa2.h".
3177 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3178
31d470ac
JM
31792013-01-18 Joseph Myers <joseph@codesourcery.com>
3180 Mark Mitchell <mark@codesourcery.com>
3181 Tom de Vries <tom@codesourcery.com>
3182 Paul Pluzhnikov <ppluzhnikov@google.com>
3183
3184 * debug/tst-backtrace2.c: New file.
3185 * debug/tst-backtrace3.c: Likewise.
3186 * debug/tst-backtrace4.c: Likewise.
3187 * debug/tst-backtrace5.c: Likewise.
3188 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3189 (CFLAGS-tst-backtrace3.c): Likewise.
3190 (CFLAGS-tst-backtrace4.c): Likewise.
3191 (CFLAGS-tst-backtrace5.c): Likewise.
3192 (LDFLAGS-tst-backtrace2): Likewise.
3193 (LDFLAGS-tst-backtrace3): Likewise.
3194 (LDFLAGS-tst-backtrace4): Likewise.
3195 (LDFLAGS-tst-backtrace5): Likewise.
3196 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3197 tst-backtrace4 and tst-backtrace5.
3198
90567f30 31992013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3200 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3201
3202 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3203 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3204 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3205 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3207 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3208 "+r" and remove output regs list as redundant. Add explicit inline
3209 asm to specify register of return val to work around compiler codegen
3210 bug. Remove (int) cast on return value. Add return type parameter to
3211 use in macro so that this macro does not truncate return value for
3212 64-bit values.
3213 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3214 pass to INTERNAL_VSYSCALL_NCS.
3215 (INLINE_VSYSCALL): Add 'long int' as return type to
3216 INTERNAL_VSYSCALL_NCS macro invocation.
3217 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3218 INTERNAL_VSYSCALL_NCS macro invocation.
3219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3220
d3b9ea61
SP
32212013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3222
0b57daeb
SP
3223 [BZ #14496]
3224 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3225 Fix application of SIMD FP exception mask.
3226
caa99d06
SP
3227 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3228 mp_no from a power of two.
3229 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3230 __mpexp_twomm1. Use __pow_mp.
3231
d3b9ea61
SP
3232 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3233 multiplication.
3234
1dbaee3c
DM
32352013-01-17 David S. Miller <davem@davemloft.net>
3236
3237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3238
728d7b43
JM
32392013-01-17 Joseph Myers <joseph@codesourcery.com>
3240
3241 [BZ #15023]
3242 * include/complex.h: Condition contents on [!_COMPLEX_H].
3243 (__kernel_casinhf): New prototype.
3244 (__kernel_casinh): Likewise.
3245 (__kernel_casinhl): Likewise.
3246 * math/Makefile (libm_calls): Add k_casinh.
3247 * math/k_casinh.c: New file.
3248 * math/k_casinhf.c: Likewise.
3249 * math/k_casinhl.c: Likewise.
3250 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3251 finite nonzero arguments.
3252 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3253 finite nonzero arguments.
3254 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3255 finite nonzero arguments.
3256 * math/s_casinh.c: Do not include <float.h>.
3257 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3258 * math/s_casinhf.c: Do not include <float.h>.
3259 (__casinhf): Move code for finite nonzero arguments to
3260 k_casinhf.c.
3261 * math/s_casinhl.c: Do not include <float.h>.
3262 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3263 redefine.
3264 (__casinhl): Move code for finite nonzero arguments to
3265 k_casinhl.c.
3266 * math/libm-test.inc (cacos_test): Add more tests.
3267 * sysdeps/i386/fpu/libm-test-ulps: Update.
3268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3269
2a26ef3a
PT
32702013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3271
3272 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3273 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3274 [!HAVE_MREMAP]: Remove [defined linux] case.
3275 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3276
a897655d
SP
32772013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3278
3279 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3280
881ebe89 32812013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3282
3283 * elf/elf.h (R_386_SIZE32): New relocation.
3284 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3285 R_386_SIZE32.
3286 (elf_machine_rela): Likewise.
3287 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3288 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3289
59981e9b
JM
32902013-01-17 Joseph Myers <joseph@codesourcery.com>
3291
3292 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3293 (FP_FAST_FMA): Do not define.
3294 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3295 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3296 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3297 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3298 !_SOFT_FLOAT]: Likewise.
3299 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3300 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3301 value.
3302 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3303 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3304 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3305 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3306 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3307 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3308 file.
3309
cfa8054f
AS
33102013-01-16 Andreas Schwab <schwab@suse.de>
3311
3312 [BZ #14327]
3313 * include/stdlib.h (__mktemp): Add declaration.
3314 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3315 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3316
dd930cc5
SP
33172013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3318
881ebe89
SP
3319 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3320 definitions.
3321 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3322 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3323 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3324 definitions here.
3325 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3326 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3327 definitions.
3328 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3329 and ONE.
3330 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3331 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3332 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3333 definitions.
3334 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3335 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3336 definitions.
3337 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3338
dd930cc5
SP
3339 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3340
c19a9f89
DM
33412013-01-15 David S. Miller <davem@davemloft.net>
3342
1aa61767
DM
3343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3344 trunc{,f} to libm-sysdep_routes.
3345 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3347 file.
3348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3350 file.
3351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3352 file.
3353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3355 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3356 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3357 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3358 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3359 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3360 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3361
c42d5e98
DM
3362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3363 nearbyint{,f} to libm-sysdep_routes.
3364 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3366 New file.
3367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3368 file.
3369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3370 New file.
3371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3372 file.
3373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3375 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3376 file.
3377 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3378 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3379 file.
3380 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3381 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3382 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3383
c19a9f89
DM
3384 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3385 libc_feholdexcept and libc_fesetenv.
3386
357679d2
MF
33872013-01-15 Mike Frysinger <vapier@gentoo.org>
3388
3389 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3390
65a82e3d
DM
33912013-01-14 David S. Miller <davem@davemloft.net>
3392
8b954ab9
DM
3393 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3394 (SPARC_ASM_VIS2_IFUNC): Likewise.
3395 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3397 use of 'siam' instruction.
3398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3399 Likewise.
3400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3401 Likewise.
3402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3403 Likewise.
3404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3409 file.
3410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3411 file.
3412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3413 file.
3414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3415 file.
3416 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3421 new VIS2 routines.
3422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3425 Likewise.
3426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3431 routines to libm-sysdep_routines.
3432 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3433
65a82e3d
DM
3434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3435 fdim/fdimf to libm-sysdep_routines.
3436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3437 file.
3438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3440 file.
3441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3444 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3445 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3446 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3447 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3448
e34ab705
SP
34492013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3450
2a91b573
SP
3451 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3452 to optimize copies.
3453
1066a534
SP
3454 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3457
e34ab705
SP
3458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3459 local variable MPTWO.
3460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3461 Likewise.
3462
aba5e596
MF
34632013-01-13 Mike Frysinger <vapier@gentoo.org>
3464
3465 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3466 GLOB_NOESCAPE.
3467
e557e9e5
MF
34682013-01-13 Mike Frysinger <vapier@gentoo.org>
3469
3470 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3471
0428cec9
MF
34722013-01-13 Mike Frysinger <vapier@gentoo.org>
3473
3474 * manual/pattern.texi (glob_t): Document gl_flags.
3475 (glob64_t): Likewise.
3476
8794a964
DM
34772013-01-11 David S. Miller <davem@davemloft.net>
3478
66438c3f
RM
3479 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3480 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3481 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3482 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3483 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3484 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3485 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3486 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3487 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3488 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3489 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3490 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3491 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3492
4ae4244d
DM
3493 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3494 sparc V9 rather than using V8 code.
3495 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3496 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3497
8794a964
DM
3498 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3499 Move to...
3500 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3501 Here.
3502
6270516e
RM
35032013-01-11 Roland McGrath <roland@hack.frob.com>
3504
3505 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3506 not in the main loop.
3507 * configure: Regenerated.
3508
6a57d931
JM
35092013-01-11 Joseph Myers <joseph@codesourcery.com>
3510
3511 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3512 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3513 to just #else.
3514 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3515 [!__GLIBC_HAVE_LONG_LONG] case.
3516 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3517 condition to just #else.
3518 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3519 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3520 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3521 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3522 unconditional.
3523 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3524 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3525 #elif condition to just #else.
3526 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3527 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3528 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3529 #elif condition to just #else.
3530
0e8529e9
SE
35312013-01-11 Steve Ellcey <sellcey@mips.com>
3532
3533 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3534 (EF_MIPS_ARCH_64): Fix value.
3535 (EF_MIPS_ARCH_32R2): New.
3536 (EF_MIPS_ARCH_64R2): New.
3537
740b3dbe
L
35382013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3539
3540 * Makeconfig (+link-pie-before-libc): New.
3541 (+link-pie-after-libc): Likewise.
3542 (+link-pie-tests): Likewise.
3543 (+link-pie): Rewritten.
3544 (link-before-libc): Remove $(config-LDFLAGS).
3545 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3546 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3547 (config-LDFLAGS): Renamed to ...
3548 (rtld-LDFLAGS): This.
3549 (rtld-tests-LDFLAGS): New macro.
3550 (link-libc-rpath-link): Likewise.
3551 (link-libc-tests-rpath-link): Likewise.
3552 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3553 (link-libc): Prepand $(link-libc-rpath-link).
3554 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3555 (test-program-prefix): New macro.
3556 (test-via-rtld-prefix): Likewise.
3557 (test-program-cmd): Likewise.
3558 (host-test-program-cmd): Likewise.
3559 * Makefile ($(common-objpfx)testrun.sh): Replace
3560 $(run-program-prefix) with $(test-program-prefix).
3561 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3562 $(rtld-LDFLAGS).
3563 ($(common-objpfx)shlib.lds): Likewise.
3564 (build-module-helper): Likewise.
3565 ($(common-objpfx)format.lds): Likewise.
3566 * Rules (binaries-pie-tests): New.
3567 (binaries-pie-notests): Likewise.
3568 (binaries-pie): Rewritten.
3569 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3570 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3571 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3572 (make-test-out): Replace $(host-built-program-cmd) with
3573 $(host-test-program-cmd).
3574 * config.make.in (build-hardcoded-path-in-tests): New variable.
3575 * configure.in (--enable-hardcoded-path-in-tests): New configure
3576 option.
3577 (hardcoded_path_in_tests): New AC_SUBST.
3578 * configure: Regenerated.
3579 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3580 $(built-program-cmd) with $(test-program-cmd).
3581 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3582 (test_program_cmd): This.
3583 * elf/Makefile ($(objpfx)order.out): Run test with
3584 $(test-program-prefix).
3585 ($(objpfx)order2.out): Likewise.
3586 ($(objpfx)tst-initorder.out): Likewise.
3587 ($(objpfx)tst-initorder2.out): Likewise.
3588 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3589 $(test-program-cmd).
3590 ($(objpfx)tst-array1-static.out): Likewise.
3591 ($(objpfx)tst-array2.out): Likewise.
3592 ($(objpfx)tst-array3.out): Likewise.
3593 ($(objpfx)tst-array4.out): Likewise.
3594 ($(objpfx)tst-array5.out): Likewise.
3595 ($(objpfx)tst-array5-static.out): Likewise.
3596 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3597 $(test-program-cmd).
3598 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3599 $(run-program-prefix) with $(test-program-prefix).
3600 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3601 (test_program_prefix): This.
3602 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3603 $(run-program-prefix) with $(test-program-prefix).
3604 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3605 (test_program_prefix): This.
3606 * iconvdata/tst-tables.sh: Likewise.
3607 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3608 $(run-program-prefix) with $(test-program-prefix).
3609 ($(objpfx)tst-translit.out): Likewise.
3610 ($(objpfx)tst-gettext2.out): Likewise.
3611 ($(objpfx)tst-gettext4.out): Likewise.
3612 ($(objpfx)tst-gettext6.out): Likewise.
3613 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3614 (test_program_prefix): This.
3615 * intl/tst-gettext2.sh: Likewise.
3616 * intl/tst-gettext4.sh Likewise.
3617 * intl/tst-gettext6.sh: Likewise.
3618 * intl/tst-translit.sh: Likewise.
3619 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3620 with $(test-program-cmd).
3621 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3622 $(run-program-prefix) with $(test-program-prefix).
3623 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3624 (test_program_prefix): This.
3625 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3626 $(run-program-prefix) with $(test-program-prefix).
3627 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3628 (test_program_prefix): This.
3629 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3630 * posix/Makefile ($(objpfx)globtest.out): Replace
3631 $(run-via-rtld-prefix) and $(test-wrapper) with
3632 $(test-program-prefix) and $(test-via-rtld-prefix).
3633 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3634 $(test-program-prefix).
3635 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3636 $(host-test-program-cmd).
3637 (tst-spawn-ARGS): Likewise.
3638 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3639 $(test-program-prefix).
3640 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3641 (test_via_rtld_prefix): This.
3642 (test_wrapper): Renamed to ...
3643 (test_program_prefix): This.
3644 (run_program_prefix): Replaced by test_program_prefix.
3645 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3646 (test_program_prefix): This.
3647 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3648 with $(host-test-program-cmd).
3649 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3650 $(run-program-prefix) with $(test-program-prefix).
3651 ($(objpfx)tst-printf.out): Likewise.
3652 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3653 $(test-program-cmd).
3654 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3655 (test_program_prefix): This.
3656 * stdio-common/tst-unbputc.sh: Likewise.
3657 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3658 $(run-program-prefix) with $(test-program-prefix).
3659 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3660 (test_program_prefix): This.
3661 * string/Makefile ($(objpfx)tst-svc.out): Replace
3662 $(built-program-cmd) with $(test-program-cmd).
3663
c6fe55cf
AJ
36642013-01-11 Andreas Jaeger <aj@suse.de>
3665
3666 [BZ #15003]
3667 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3668 value. Sync with Linux 3.7.
3669
9e6919c8
DM
36702013-01-10 David S. Miller <davem@davemloft.net>
3671
3672 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3673 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3674 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3675
1c9f1a02
RM
36762013-01-10 Roland McGrath <roland@hack.frob.com>
3677
3678 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3679 never set.
3680 * configure: Regenerated.
3681
b9de2dde
DM
36822013-01-10 David S. Miller <davem@davemloft.net>
3683
3684 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3685 sparc V9 rather than using V8 code.
3686 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3687 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3688
e7f68ef4
RM
36892013-01-10 Roland McGrath <roland@hack.frob.com>
3690
3691 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3692 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3693 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3694 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3695 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3696 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3697 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3698 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3699 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3700 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3701 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3702 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3703 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3704 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3705 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3706 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3707 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3708 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3709 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3710 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3711 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3712 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3713 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3714 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3715 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3716 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3717 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3718
5a47cc9c
DM
37192013-01-10 David S. Miller <davem@davemloft.net>
3720
3721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3722
4cf8f209
L
37232013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3724
3725 * posix/Makefile (tests-static): New variable.
3726 (tests): Add $(tests-static).
3727 (tst-exec-static-ARGS): New variable.
3728 (tst-spawn-static-ARGS): Likewise.
3729 * posix/tst-exec-static.c: New file.
3730 * posix/tst-spawn-static.c: Likewise.
3731 * posix/tst-exec.c: Support run directly.
3732 * posix/tst-spawn.c: Likewise.
3733
fed0faa1
JM
37342013-01-10 Joseph Myers <joseph@codesourcery.com>
3735
828beb13
JM
3736 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3737 long.
3738 * math/bits/mathcalls.h (llrint): Likewise.
3739 (llround): Likewise.
3740 * stdlib/stdlib.h (struct drand48_data): Likewise.
3741 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3742 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3743 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3744 Likewise.
3745 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3746 Likewise.
3747 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3748 (elf_greg_t): Likewise.
3749 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3750 (__jmp_buf): Likewise.
3751 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3752 definitions.
3753 (llrint): Likewise, for all definitions.
3754 (llrintl): Likewise.
3755
fed0faa1
JM
3756 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3757 Remove [__GNUC__] condition.
3758 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3759 condition to just [__USE_ISOC99].
3760 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3761
1a20cb20
L
37622013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3763
3764 [BZ #14200]
3765 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3766 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3767 defined.
3768 (_POSIX_V6_ILP32_OFF32): Likewise.
3769 (_XBS5_ILP32_OFF32): Likewise.
3770 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3771 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3772
751b85f7
SP
37732013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3774
7490eb81
SP
3775 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3776
751b85f7
SP
3777 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3778 doubles __mpexp_twomm1. Adjust usage.
3779 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3780 Remove.
3781
988197f0
AS
37822013-01-10 Andreas Schwab <schwab@suse.de>
3783
3784 [BZ #14964]
3785 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3786 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3787
e83d7298
DM
37882013-01-09 David S. Miller <davem@davemloft.net>
3789
034ed64b 3790 [BZ #15003]
e83d7298
DM
3791 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3792 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3793 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3794 TCP_FASTOPEN): Define.
3795 (tcp_repair_opt): New structure.
3796 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3797 enum values.
3798 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3799 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3800 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3801 (tcp_cookie_transactions): New structure.
3802
d5e0b9bd
AB
38032013-01-09 Anton Blanchard <anton@samba.org>
3804
3805 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3806 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3807 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3808 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3809
0c07e3ea
JM
38102013-01-09 Joseph Myers <joseph@codesourcery.com>
3811
3812 * include/features.h (__USE_ANSI): Remove.
3813
232f7002
RM
38142013-01-09 Roland McGrath <roland@hack.frob.com>
3815
ad98e30c
RM
3816 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3817
232f7002
RM
3818 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3819
950c99ca
SP
38202013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3821
b5792741
SP
3822 * sysdeps/s390/fpu/libm-test-ulps: Update.
3823
47cf2278
SP
3824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3825
950c99ca
SP
3826 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3827 (__acr): Likewise.
3828 (__cpy): Likewise.
3829 (norm): Likewise.
3830 (denorm): Likewise.
3831 (__mp_dbl): Likewise.
3832 (__dbl_mp): Likewise.
3833 (add_magnitudes): Likewise.
3834 (sub_magnitudes): Likewise.
3835 (__add): Likewise.
3836 (__sub): Likewise.
3837 (__mul): Likewise.
3838 (__inv): Likewise.
3839 (__dvd): Likewise.
3840 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3841 (__acr): Likewise.
3842 (__cpy): Likewise.
3843 (norm): Likewise.
3844 (denorm): Likewise.
3845 (__mp_dbl): Likewise.
3846 (__dbl_mp): Likewise.
3847 (add_magnitudes): Likewise.
3848 (sub_magnitudes): Likewise.
3849 (__add): Likewise.
3850 (__sub): Likewise.
3851 (__mul): Likewise.
3852 (__inv): Likewise.
3853 (__dvd): Likewise.
3854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3855 (__acr): Likewise.
3856 (__cpy): Likewise.
3857 (norm): Likewise.
3858 (denorm): Likewise.
3859 (__mp_dbl): Likewise.
3860 (__dbl_mp): Likewise.
3861 (add_magnitudes): Likewise.
3862 (sub_magnitudes): Likewise.
3863 (__add): Likewise.
3864 (__sub): Likewise.
3865 (__mul): Likewise.
3866 (__inv): Likewise.
3867 (__dvd): Likewise.
3868
eede9df9
JM
38692013-01-08 Joseph Myers <joseph@codesourcery.com>
3870
3871 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3872 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3873 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3874 2 && __USE_EXTERN_INLINES]: Likewise.
3875
c40ea3d9
AJ
38762013-01-08 Andreas Jaeger <aj@suse.de>
3877
3878 [BZ# 14985]
3879 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3880 Remove.
3881 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3882 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3883
2ccdea26
AB
38842013-01-07 Anton Blanchard <anton@samba.org>
3885
3886 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3887 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3888 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3889 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3890 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3891 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3892 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3893 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3895 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3896 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3897 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3898 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3899 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3900 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3901 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3902 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3903 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3904 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3905 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3906 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3907 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3908 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3909 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3910 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3911 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3912 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3913 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3914 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3915 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3916 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3918 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3919 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3920 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3921 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3922 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3923 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3924 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3925 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3926 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3927 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3928 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3929
a9708fed
JM
39302013-01-07 Joseph Myers <joseph@codesourcery.com>
3931
375607b9
JM
3932 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3933 (__MALLOC_PMT): Likewise.
3934 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3935 [__GNUC__], only on [_LIBC].
3936 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3937 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3938 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3939 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3940 forward declaration.
3941 (realloc_hook_ini): Likewise.
3942 (memalign_hook_ini): Likewise.
3943 (__libc_memalign): Do not use __MALLOC_PMT in variable
3944 declaration.
3945 (__libc_valloc): Likewise.
3946 (__libc_pvalloc): Likewise.
3947 (__libc_calloc): Likewise.
3948 (__posix_memalign): Likewise.
3949
a9708fed
JM
3950 [BZ #14996]
3951 * math/s_casinh.c: Include <float.h>.
3952 (__casinh): Do not do computation with squaring and square root
3953 for large arguments.
3954 * math/s_casinhf.c: Include <float.h>.
3955 (__casinhf): Do not do computation with squaring and square root
3956 for large arguments.
3957 * math/s_casinhl.c: Include <float.h>.
3958 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3959 (__casinhl): Do not do computation with squaring and square root
3960 for large arguments.
3961 * math/libm-test.inc (casin_test): Add more tests.
3962 (casinh_test): Likewise.
3963 * sysdeps/i386/fpu/libm-test-ulps: Update.
3964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3965
afec409a
L
39662013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3967
3968 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3969 (__x86_64_raw_data_cache_size): Likewise.
3970 (__x86_64_data_cache_size_half): Likewise.
3971 (__x86_64_raw_data_cache_size_half): Likewise.
3972 (__x86_64_shared_cache_size): Likewise.
3973 (__x86_64_raw_shared_cache_size): Likewise.
3974 (__x86_64_shared_cache_size_half): Likewise.
3975 (__x86_64_raw_shared_cache_size_half): Likewise.
3976 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3977 to ...
3978 (__x86_data_cache_size): This.
3979 (__x86_64_raw_data_cache_size): Renamed to ...
3980 (__x86_raw_data_cache_size): This.
3981 (__x86_64_data_cache_size_half): Renamed to ...
3982 (__x86_data_cache_size_half): This.
3983 (__x86_64_raw_data_cache_size_half): Renamed to ...
3984 (__x86_raw_data_cache_size_half): This.
3985 (__x86_64_shared_cache_size): Renamed to ...
3986 (__x86_shared_cache_size): This.
3987 (__x86_64_raw_shared_cache_size): Renamed to ...
3988 (__x86_raw_shared_cache_size): This.
3989 (__x86_64_shared_cache_size_half): Renamed to ...
3990 (__x86_shared_cache_size_half): This.
3991 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3992 (__x86_raw_shared_cache_size_half): This.
3993 * sysdeps/x86_64/memcpy.S: Updated.
3994 * sysdeps/x86_64/memset.S: Likewise.
3995 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3996 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3997 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3998
0b3986d0
DM
39992013-01-04 David S. Miller <davem@davemloft.net>
4000
4001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4002
e47686e9
AS
40032013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4004
d643bac1
AS
4005 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4006 1 to avoid redefinition warning.
4007 (__USE_GNU): Don't define.
4008 (init_signaling_nan): Protoize.
4009
e47686e9
AS
4010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4011
b18decba
SP
40122013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4013
fffb407f
SP
4014 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4016 (__cpymn): Likewise.
4017 (norm): Remove commented code.
4018 (denorm): Likewise.
4019 (__mp_dbl): Likewise.
4020 (__inv): Likewise.
4021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4022 (__cpymn): Likewise.
4023 (norm): Remove commented code.
4024 (denorm): Likewise.
4025 (__mp_dbl): Likewise.
4026 (__inv): Likewise.
4027
b18decba
SP
4028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4029 mp_no value for 1.0 and 2.0.
4030 (norm): Use RADIXI instead of radixi.d.
4031 (denorm): Likewise.
4032 (__mul): Use 0.0 instead of zero.d.
4033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4034 mp_no value for 1.0 and 2.0.
4035 (norm): Use RADIXI instead of radixi.d.
4036 (denorm): Likewise.
4037 (__mul): Use 0.0 instead of zero.d.
4038
cdc1c96f
JM
40392013-01-04 Joseph Myers <joseph@codesourcery.com>
4040
4041 [BZ #14994]
4042 * math/s_casinh.c (__casinh): Reduce finite argument to first
4043 quadrant then set signs of results at the end.
4044 * math/s_casinhf.c (__casinhf): Likewise.
4045 * math/s_casinhl.c (__casinhl): Likewise.
4046 * math/libm-test.inc (casin_test): Add more tests.
4047 (casinh_test): Likewise.
4048 * sysdeps/i386/fpu/libm-test-ulps: Update.
4049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4050
302913e1
SP
40512013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4052
6420d207
SP
4053 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4054
a9e48ab4
SP
4055 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4056
b7837264
SP
4057 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4058 declarations.
4059 (denorm): Likewise.
4060 (__mp_dbl): Likewise.
4061 (__inv): Likewise.
4062
f8af25d2
SP
4063 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4064 and adjust the header comment.
4065
302913e1
SP
4066 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4067 variable name from declaration.
4068
5d7dd1ca
L
40692013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4070
4071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4072 Initialize COMMON_CPUID_INDEX_7 element.
4073 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4074 (CPUID_RTM): Likewise.
4075 (HAS_RTM): Likewise.
4076 (COMMON_CPUID_INDEX_7): New enum.
4077
2f5f40f4
AS
40782013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4079
4080 [BZ #14981]
4081 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4082 size is zero, record memory as freed.
4083
4056f4a0
AJ
40842013-01-03 Andreas Jaeger <aj@suse.de>
4085
4086 * po/ia.po: Add new Interlingua translation.
4087
ab15736f 40882012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4089
4090 * locale/programs/localedef.c: Fix description of '--posix' flag.
4091
568035b7
JM
40922013-01-02 Joseph Myers <joseph@codesourcery.com>
4093
e6898b8d
JM
4094 * NEWS: Update dates in second copyright notice.
4095 * README: Update copyright dates in example.
4096 * manual/libc.texinfo: Update copyright dates.
4097 * scripts/test-installation.pl: Update copyright date in --version
4098 output.
4099
0e2f9562
JM
4100 * hurd/ctty-input.c: Fix copyright notice formatting.
4101 * hurd/ctty-output.c: Likewise.
4102 * hurd/dtable.c: Likewise.
4103 * hurd/hurd-raise.c: Likewise.
4104 * hurd/hurdprio.c: Likewise.
4105 * hurd/msgportdemux.c: Likewise.
4106 * misc/sys/file.h: Likewise.
4107 * misc/sys/ioctl.h: Likewise.
4108 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4109 * sysdeps/mach/hurd/chdir.c: Likewise.
4110 * sysdeps/mach/hurd/fchdir.c: Likewise.
4111 * sysdeps/mach/hurd/rename.c: Likewise.
4112 * sysdeps/mach/hurd/rmdir.c: Likewise.
4113 * sysdeps/mach/hurd/seekdir.c: Likewise.
4114 * sysdeps/mach/hurd/setsid.c: Likewise.
4115 * sysdeps/posix/wait3.c: Likewise.
4116
568035b7
JM
4117 * All files with FSF copyright notices: Update copyright dates
4118 using scripts/update-copyrights.
4119 * intl/plural.c: Regenerated.
4120 * locale/programs/charmap-kw.h: Likewise.
4121 * locale/programs/locfile-kw.h: Likewise.
4122
da08f647
SP
41232013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4124
0f5477af
SP
4125 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4126 four values.
4127
44e0d4c2
SP
4128 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4129 calculation loop and add branch prediction.
4130
4d55b4e5
SP
4131 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4132 check access beyond bounds of m1np.
4133
da08f647
SP
4134 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4135 MPTWO.
4136 (__inv): Remove local variable MPTWO to use the global
4137 constant.
4138 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4139 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4140 variable MPTWO.
4141 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4142 MP3HALFS static const.
4143
8e051029
DM
41442013-01-01 David S. Miller <davem@davemloft.net>
4145
4146 * po/ca.po: Update from translation team.
4147
f4cf5f2d
JM
41482013-01-01 Joseph Myers <joseph@codesourcery.com>
4149
4150 * scripts/update-copyrights: New file.
4151 * Makeconfig: Reformat copyright notice.
4152 * ctype/ctype.h: Likewise.
4153 * debug/swprintf_chk.c: Likewise.
4154 * elf/dl-cache.c: Likewise.
4155 * elf/dl-debug.c: Likewise.
4156 * elf/dl-object.c: Likewise.
4157 * grp/initgroups.c: Likewise.
4158 * hurd/Makefile: Likewise.
4159 * hurd/hurd/signal.h: Likewise.
4160 * hurd/hurdfault.c: Likewise.
4161 * hurd/hurdioctl.c: Likewise.
4162 * hurd/hurdlookup.c: Likewise.
4163 * hurd/intr-msg.c: Likewise.
4164 * iconv/gconv_open.c: Likewise.
4165 * libio/swprintf.c: Likewise.
4166 * locale/lc-ctype.c: Likewise.
4167 * locale/nl_langinfo.c: Likewise.
4168 * mach/Machrules: Likewise.
4169 * mach/Makefile: Likewise.
4170 * malloc/obstack.h: Likewise.
4171 * manual/Makefile: Likewise.
4172 * manual/tsort.awk: Likewise.
4173 * misc/bits/stab.def: Likewise.
4174 * nis/nis_print_group_entry.c: Likewise.
4175 * nis/nis_table.c: Likewise.
4176 * nis/nss_compat/compat-pwd.c: Likewise.
4177 * nis/nss_compat/compat-spwd.c: Likewise.
4178 * po/Makefile: Likewise.
4179 * posix/fnmatch.c: Likewise.
4180 * posix/regex.h: Likewise.
4181 * resolv/Makefile: Likewise.
4182 * resolv/nss_dns/dns-network.c: Likewise.
4183 * resolv/res_hconf.c: Likewise.
4184 * scripts/gen-sorted.awk: Likewise.
4185 * soft-fp/soft-fp.h: Likewise.
4186 * stdio-common/printf.h: Likewise.
4187 * stdlib/monetary.h: Likewise.
4188 * stdlib/random.c: Likewise.
4189 * stdlib/random_r.c: Likewise.
4190 * sysdeps/generic/Makefile: Likewise.
4191 * sysdeps/gnu/Makefile: Likewise.
4192 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4193 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4195 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4196 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4199 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4200 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4202 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4210 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4211 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4212 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4213 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4215 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4216 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4217 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4220 * sysdeps/mach/hurd/errnos.awk: Likewise.
4221 * sysdeps/mach/hurd/fork.c: Likewise.
4222 * sysdeps/mach/hurd/getcwd.c: Likewise.
4223 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4224 * sysdeps/mach/hurd/mmap.c: Likewise.
4225 * sysdeps/mach/hurd/utimes.c: Likewise.
4226 * sysdeps/mach/hurd/xmknod.c: Likewise.
4227 * sysdeps/posix/profil.c: Likewise.
4228 * sysdeps/posix/readdir_r.c: Likewise.
4229 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4230 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4231 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4232 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4233 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4234 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4235 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4236 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4238 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4239 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4240 * sysdeps/pthread/lio_listio.c: Likewise.
4241 * sysdeps/sparc/dl-procinfo.h: Likewise.
4242 * sysdeps/unix/i386/sysdep.S: Likewise.
4243 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4244 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4245 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4246 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4248 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4249 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4250 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4251 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4252 * sysdeps/wordsize-32/divdi3.c: Likewise.
4253 * time/sys/time.h: Likewise.
4254 * wcsmbs/Makefile: Likewise.
4255
0549fbba
DM
42562013-01-01 David S. Miller <davem@davemloft.net>
4257
a141f1a7
DM
4258 * po/fr.po: Update from translation team.
4259
0549fbba
DM
4260 * catgets/gencat.c: Update copyright year.
4261 * csu/version.c: Likewise.
4262 * debug/catchsegv.sh: Likewise.
4263 * debug/pcprofiledump.c: Likewise.
4264 * debug/xtrace.sh: Likewise.
4265 * elf/ldconfig.c: Likewise.
4266 * elf/ldd.bash.in: Likewise.
4267 * elf/pldd.c: Likewise.
4268 * elf/sotruss.ksh: Likewise.
4269 * elf/sprof.c: Likewise.
4270 * iconv/iconv_prog.c: Likewise.
4271 * iconv/iconvconfig.c: Likewise.
4272 * locale/programs/locale.c: Likewise.
4273 * locale/programs/localedef.c: Likewise.
4274 * login/programs/pt_chown.c: Likewise.
4275 * malloc/memusage.sh: Likewise.
4276 * malloc/memusagestat.c: Likewise.
4277 * malloc/mtrace.pl: Likewise.
4278 * nscd/nscd.c: Likewise.
4279 * nss/getent.c: Likewise.
4280 * nss/makedb.c: Likewise.
4281 * posix/getconf.c: Likewise.
4282
18ea052c
SP
42832012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4284
4285 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4286 numbers.
4287
9c89fca6
MF
42882012-12-30 Mike Frysinger <vapier@gentoo.org>
4289
4290 * math/bits/mathcalls.h (modf): Use __nonnull.
4291
085ec079
SP
42922012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4293
4294 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4295 (split): Use macro CN instead of the bare value.
4296 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4297 could be used.
4298 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4299 instead of the bare value.
4300 (power1): Likewise.
4301
6d9f97e1
SP
43022012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4303
d63f73be
SP
4304 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4305 __ATAN_TWOM.
4306 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4307
6d9f97e1
SP
4308 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4309 their values.
4310 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4311 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4312 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4313 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4314
4c4febf5
AJ
43152012-12-28 Andreas Jaeger <aj@suse.de>
4316
af5843ef
AJ
4317 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4318 values are from Linux 3.7.
4319
4c4febf5
AJ
4320 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4321 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4322
99136f82
SP
43232012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4324
2f216c3c 4325 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4326 TRUE case.
4327
99136f82
SP
4328 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4329 (norm): Likewise.
4330 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4331 variables with preprocessor constants.
4332 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4333 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4334 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4335
7fffbdff
BH
43362012-12-27 Bruno Haible <bruno@clisp.org>
4337
4338 [BZ #14317]
4339 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4340 only if needed.
4341
b76eb5f0
SP
43422012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4343
31a7fe5c
SP
4344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4345 and use variable directly.
4346 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4347
b76eb5f0
SP
4348 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4349 MPONE.
4350 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4351 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4352 variable MPONE.
4353 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4354 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4355 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4356 include directive. Remove local variable MPONE.
4357 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4358 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4359 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4360
2c8bfe7d
DM
43612012-12-25 David S. Miller <davem@davemloft.net>
4362
4363 * version.h (RELEASE): Set to "development".
4364 (VERSION): Set to "2.17.90".
4365 * NEWS: Add 2.18 section.
4366
147d03b0
DM
43672012-12-21 David S. Miller <davem@davemloft.net>
4368
4369 * po/hr.po: Update from translation team.
4370
a8ebb2b9
AK
43712012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4372
4373 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4374
95b4f1b6
SE
43752012-12-19 Steve Ellcey <sellcey@mips.com>
4376
b2d94007 4377 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4378
cedb2a90
MS
43792012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4380
4381 * manual/contrib.texi (Contributors): Spelling correction.
4382
bbf527d6
DM
43832012-12-15 David S. Miller <davem@davemloft.net>
4384
4385 * po/ru.po: Update from translation team.
4386
bc38c906
DM
43872012-12-13 David S. Miller <davem@davemloft.net>
4388
85429b1a
DM
4389 * NEWS: Mention IFUNC testsuite enhancements.
4390
d283e353
DM
4391 * po/pl.po: Update from translation team.
4392 * po/bg.po: Likewise.
4393
bc38c906
DM
4394 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4395 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4396
a181b0d7
DM
43972012-12-11 David S. Miller <davem@davemloft.net>
4398
4641d57e
DM
4399 * po/sv.po: Update from translation team.
4400
f7bc6495
DM
4401 * po/vi.po: Update from translation team.
4402
6fc9048f
DM
4403 * po/cs.po: Update from translation team.
4404
a181b0d7
DM
4405 * po/de.po: Update from translation team.
4406 * po/eo.po: Likewise.
4407 * po/nl.po: Likewise.
4408
f70bfe80
SP
44092012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4410
3c8b4190
SP
4411 [BZ #14246]
4412 * manual/argp.texi (Argp Helper Functions): Move node to follow
4413 Argp Parsing State.
4414
f70bfe80
SP
4415 [BZ #14872]
4416 * manual/conf.texi (Limits on File System Capacity): Mention if
4417 terminating null is included in the max size.
4418
188f0adf
AJ
44192012-12-10 Andreas Jaeger <aj@suse.de>
4420
4421 * po/cs.po: Update from translation team.
4422
56e7d3ad
SP
44232012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4424
4425 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4426 void pointer and cast to uintptr_t.
4427 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4428 path.
4429 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4430 * sysdeps/s390/s390-64/memset.S: Likewise.
4431
76f2d2ea 44322012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4433
4434 [BZ #14833]
4435 * menual/message.texi (Message Translation): Fix typos.
4436 (Helper programs for gettext): Likewise.
4437
67cbf9a2
AS
44382012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4439
4440 [BZ #14898]
4441 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4442 Change to -1.
4443
682d0e9a
DM
44442012-12-07 David S. Miller <davem@davemloft.net>
4445
4446 * po/libc.pot: Update.
4447
573cd484
RH
44482012-12-07 Richard Henderson <rth@redhat.com>
4449
7e9da188 4450 [BZ #10114]
573cd484
RH
4451 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4452 normal/normal case to before the switch.
4453 (_FP_DIV): Likewise.
4454
e933a943
MF
44552012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4456 Mike Frysinger <vapier@gentoo.org>
4457
4458 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4459 check for __NR_fadvise64_64.
4460
82123268
CM
44612012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4462
4463 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4464 0, not just to plain "0" as a statement.
4465 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4466 with cw.
4467
d9814526
JM
44682012-12-06 Joseph Myers <joseph@codesourcery.com>
4469
4470 * NEWS: Use sourceware.org in Bugzilla URL.
4471
7728c574
SP
44722012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4473
f16946dd
SP
4474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4475 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4476
5704bbcb
SP
4477 * stdio-common/tst-put-error.c (do_test): Add newline to the
4478 padded test to ensure flush.
4479
17aa0516
JL
44802012-12-05 Jeff Law <law@redhat.com>
4481
4482 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4483
363313b5
JM
44842012-12-05 Joseph Myers <joseph@codesourcery.com>
4485
effbd42a
JM
4486 * README: Don't refer to ports add-on as distributed separately.
4487 Mention AArch64 in list of systems supported in the ports add-on.
4488
87600365
JM
4489 * LICENSES: Add more non-FSF copyright and license notices.
4490
a0d7066a
JM
4491 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4492 ((unused)).
4493
66ca5a5b
JM
4494 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4495
363313b5
JM
4496 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4497 10000 as width of padded output.
4498
b37984ad
JM
44992012-12-04 Joseph Myers <joseph@codesourcery.com>
4500
9003570a
JM
4501 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4502
b37984ad
JM
4503 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4504 variable LX with __attribute__ ((unused)).
4505 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4506 Likewise.
4507 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4508 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4509 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4510 with __attribute__ ((unused)).
4511
c8df52ec
DM
45122012-12-04 David S. Miller <davem@abraco.davemloft.net>
4513
4514 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4515
b3b099af
JM
45162012-12-04 Joseph Myers <joseph@codesourcery.com>
4517
c33aa6e3
JM
4518 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4519 (CFLAGS-nldbl-acos.c): New variable.
4520 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4521 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4522 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4523 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4524 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4525 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4526 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4527 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4528 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4529 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4530 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4531 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4532 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4533 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4534 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4535 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4536 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4537 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4538 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4539 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4540 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4541 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4542 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4543 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4544 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4545 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4546 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4547 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4548 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4549 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4550 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4551 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4552 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4553 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4554 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4555 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4556 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4557 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4558 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4559 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4560 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4561 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4562 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4563 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4564 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4565 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4566 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4567 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4568 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4569 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4570 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4571 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4572 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4573 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4574 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4575 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4576 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4577 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4578 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4579 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4580 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4581 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4582 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4583 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4584 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4585 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4586 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4587 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4588 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4589 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4590 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4591 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4592 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4593 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4594 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4595 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4596 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4597 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4598 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4599 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4600 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4601 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4602 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4603 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4604 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4605 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4606 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4607 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4608 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4609 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4610 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4611 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4612 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4613 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4614 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4615 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4616 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4617
20f0018d
JM
4618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4619 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4620
b3b099af
JM
4621 [BZ #14914]
4622 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4623 whole low double instead of just low 47 bits when splitting values
4624 into two parts.
4625
029264d1
AM
46262012-12-03 Allan McRae <allan@archlinux.org>
4627
4628 * manual/stdio.texi (Predefined Printf Handlers): Remove
4629 @hsep and @vsep usage.
4630
c9d6789e
MF
46312012-12-03 Mike Frysinger <vapier@gentoo.org>
4632
4633 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4634 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4635
4b7634a5
JL
46362012-12-03 Jeff Law <law@redhat.com>
4637
4638 * time/sys/time.h (settimeofday): Do not mark TV argument
4639 as __nonnull.
4640
eb6cbd24
MF
46412012-12-01 Mike Frysinger <vapier@gentoo.org>
4642
4643 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4644 when currently writing and seek to current position when not.
4645 * libio/Makefile (tests): Remove bug-fclose1.
4646 * libio/bug-fclose1.c: Delete.
4647
f638872a
JM
46482012-12-01 Joseph Myers <joseph@codesourcery.com>
4649
4650 * manual/arith.texi (feenableexcept): Fix typo.
4651 (fedisableexcept): Likewise.
4652
48085d14
RM
46532012-11-30 Roland McGrath <roland@hack.frob.com>
4654
4655 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4656 second, differently-typed declaration, rather than a cast.
4657
1a538b9f
SP
46582012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4659
4660 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4661 * include/rpc/svc.h: ... here.
4662
d07f2ff1 46632012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4664
4665 [BZ #13013]
4666 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4667 depending n and resplen2 to catch cases where answer
4668 equals answerp2.
4669
c93ec1f0
CD
46702012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4671
4672 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4673 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4674
37db69de
MF
46752012-11-29 Mike Frysinger <vapier@gentoo.org>
4676
4677 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4678
e10c4e4f
RM
46792012-11-29 Roland McGrath <roland@hack.frob.com>
4680
4681 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4682
2af1b328
JL
46832012-11-28 Jeff Law <law@redhat.com>
4684
4685 [BZ #13761]
4686 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4687 dataset_temporary. Track alloca usage into alloca_used.
4688 If dataset is large allocate and release it via malloc/free.
4689
111db5b1
FW
46902012-06-04 Florian Weimer <fweimer@redhat.com>
4691
f06cc227 4692 [BZ #14197]
111db5b1
FW
4693 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4694
dd694abd
DM
46952012-11-28 David S. Miller <davem@davemloft.net>
4696
4697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4698
9984dd01
JM
46992012-11-28 Joseph Myers <joseph@codesourcery.com>
4700
4701 [BZ #14803]
4702 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4703 of pi/2 rounded to nearest to 64 bits.
4704 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4705 nearest to 64 bits.
4706 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4707 bits.
4708
14bc93a9
JL
47092012-11-28 Jeff Law <law@redhat.com>
4710 Martin Osvald <mosvald@redhat.com>
4711
4712 [BZ #14889]
4713 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4714 * sunrpc/svc.c: Include time.h.
4715 (__svc_accept_failed): New function.
4716 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4717 any reason other than EINTR, call __svc_accept_failed.
4718 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4719 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4720
e3c6aa3a
AS
47212012-11-28 Andreas Schwab <schwab@suse.de>
4722
4723 * scripts/abilist.awk: Also handle indirect functions in .opd
4724 section.
4725
1bead169
JM
47262012-11-28 Joseph Myers <joseph@codesourcery.com>
4727
4728 [BZ #13881]
4729 * sysdeps/x86/fpu/powl_helper.c: New file.
4730 * sysdeps/x86/fpu/Makefile: Likewise.
4731 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4732 (p3): New object.
4733 (__ieee754_powl): Use __powl_helper for finite arguments except
4734 integer exponents below 8.
4735 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4736 (p3): New object.
4737 (__ieee754_powl): Use __powl_helper for finite arguments except
4738 integer exponents below 8.
4739 * math/libm-test.inc (pow_test): Add more tests and enable some
4740 previously disabled tests.
4741 * sysdeps/i386/fpu/libm-test-ulps: Update.
4742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4743
0817d63d
SP
47442012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4745 Carlos O'Donell <carlos_odonell@mentor.com>
4746
4747 * nss/makedb.c (is_prime): Assert that input is odd and greater
4748 than 4. Note that fact in a comment too.
4749 (next_prime): Add 4 to input.
4750
de2fd463
SP
47512012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4752
4753 [BZ #11741]
4754 * libio/Makefile (tests): Add test case tst-fwrite-error.
4755 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4756 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4757 * libio/tst-fwrite-error.c: New test case.
4758
c515fb51
L
47592012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4760
4761 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4762 before casting to void *.
4763 * include/libc-internal.h (__pointer_type): New macro.
4764 (__integer_if_pointer_type_sub): Likewise.
4765 (__integer_if_pointer_type): Likewise.
4766 (cast_to_integer): Likewise.
4767 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4768 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4769 before casting to atomic64_t.
4770 (atomic_exchange_acq): Likewise.
4771 (__arch_exchange_and_add_body): Likewise.
4772 (__arch_add_body): Likewise.
4773 (atomic_add_negative): Likewise.
4774 (atomic_add_zero): Likewise.
4775
4cf77aa9
JM
47762012-11-26 Joseph Myers <joseph@codesourcery.com>
4777
4778 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4779 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4780 (add_fdes): Likewise.
4781 (linear_search_fdes): Likewise.
4782 (binary_search_unencoded_fdes): Likewise.
4783
d260b3b4
AS
47842012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4785
4786 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4787
67060746
AC
47882012-11-24 Adam Conrad <adconrad@0c3.net>
4789
4790 * configure.in: Autodetect C++ header directories.
4791 * configure: Regenerated.
4792
800938a1
MF
47932012-11-23 Mike Frysinger <vapier@gentoo.org>
4794
4795 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4796
4e6e34e6
AS
47972012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4798
4799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4800
7c7feb47
JM
48012012-11-22 Joseph Myers <joseph@codesourcery.com>
4802
7184dcdf
JM
4803 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4804 LDBL_MANT_DIG == 106]: Disable some tests.
4805 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4806 Likewise.
4807 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4808 Likewise.
4809
0a42601f
JM
4810 [BZ #14871]
4811 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4812 input for small inputs. Return +/- pi/2 for large inputs.
4813 * math/libm-test.inc (atan_test): Add more tests.
4814
79c9b9fe
JM
4815 * sysdeps/generic/unwind-dw2-fde-glibc.c
4816 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4817 __attribute__ ((unused)).
4818
c60d3bf2
JM
4819 [BZ #14645]
4820 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4821 x * y if x and y are nonzero and z is zero.
4822
ef1e0867
JM
4823 [BZ #14811]
4824 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4825 nonzero exponents with absolute value below 0x1p-117 to +/-
4826 0x1p-117.
4827
1468ded3
JM
4828 [BZ #14869]
4829 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4830 up arguments below 2**-450, not just those below 2**-500.
4831 * math/libm-test.inc (hypot_test): Add another test.
4832
8e27e3cc
JM
4833 [BZ #14868]
4834 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4835 Return a+b for ratio over 2**120, not 2**60.
4836 * math/libm-test.inc (hypot_test): Add another test.
4837
c9c0279b
JM
4838 * math/libm-test.inc (clog_test): Use
4839 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4840 (clog10_test): Likewise.
4841
7c7feb47
JM
4842 [BZ #6778]
4843 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4844
fff1530e
AS
48452012-11-22 Andreas Schwab <schwab@suse.de>
4846
4847 * sysdeps/i386/fpu/libm-test-ulps: Update.
4848
94558d30
PT
48492012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4850
4851 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4852 printf output with newline.
4853
7e1be741
L
48542012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4855
6bfea974
L
4856 [BZ #14865]
4857 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4858 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4859 -z nodlopen, -z initfirst and -z execstack support.
4860 * configure: Regenerated.
4861
7e1be741
L
4862 * elf/elf.h (DF_1_NODIRECT): New macro.
4863 (DF_1_IGNMULDEF): Likewise.
4864 (DF_1_NOKSYMS): Likewise.
4865 (DF_1_NOHDR): Likewise.
4866 (DF_1_EDITED): Likewise.
4867 (DF_1_NORELOC): Likewise.
4868 (DF_1_SYMINTPOSE): Likewise.
4869 (DF_1_GLOBAUDIT): Likewise.
4870 (DF_1_SINGLETON): Likewise.
4871 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4872 DT_1_SUPPORTED_MASK bits.
4873 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4874
105ce2ce
CD
48752012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4876
4877 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4878
123be9de
TS
48792012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4880
d072f3f7
TS
4881 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4882 macro.
4883
123be9de
TS
4884 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4885 (sendmmsg): Move declarations...
4886 * socket/sys/socket.h: ... here.
4887 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4888 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4889 include it from...
4890 * socket/recvmmsg.c: ... this new file.
4891 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4892 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4893 definition of __sendmmsg hidden.
4894 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4895 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4896 Move ENOSYS stub into and include it from...
4897 * socket/sendmmsg.c: ... this new file.
4898 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4899 (sysdep_routines): Move recvmmsg and sendmmsg...
4900 * socket/Makefile (routines): ... here.
4901 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4902 (GLIBC_PRIVATE): Add __sendmmsg.
4903 * include/sys/socket.h (__sendmmsg): Add declarations.
4904 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4905 sendmmsg.
4906
cf9a5d18
JM
49072012-11-20 Joseph Myers <joseph@codesourcery.com>
4908
4909 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4910 variable I1 with __attribute__ ((unused)).
4911 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4912
ecd4caf9
JM
49132012-11-19 Joseph Myers <joseph@codesourcery.com>
4914
be14d48f
JM
4915 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4916 DUMMY variables with __attribute__ ((unused)).
4917
ecd4caf9
JM
4918 * bits/byteswap.h: Include <bits/types.h>.
4919 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4920
986cab95
PT
49212012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4922
4923 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4924 string_t. Do not manually set errno.
4925 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4926 length with __strnlen. Make sure to both set errno and return it on
4927 failure.
4928
6d33cc9d
DM
49292012-11-19 David S. Miller <davem@davemloft.net>
4930
4931 With help from Joseph Myers.
4932 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4933 very large arguments properly.
4934 * math/libm-test.inc (atan_test): New tests.
4935 (atan2_test): New tests.
4936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4938
ee663277
JM
49392012-11-19 Joseph Myers <joseph@codesourcery.com>
4940
877f2d8e
JM
4941 [BZ #14856]
4942 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4943 Define to 3.
4944
116fc08a
JM
4945 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4946 [POSIX] (EADDRNOTAVAIL): Likewise.
4947 [POSIX] (EAFNOSUPPORT): Likewise.
4948 [POSIX] (EALREADY): Likewise.
4949 [POSIX] (ECONNABORTED): Likewise.
4950 [POSIX] (ECONNREFUSED): Likewise.
4951 [POSIX] (ECONNRESET): Likewise.
4952 [POSIX] (EDESTADDRREQ): Likewise.
4953 [POSIX] (EDQUOT): Likewise.
4954 [POSIX] (EHOSTUNREACH): Likewise.
4955 [POSIX] (EIDRM): Likewise.
4956 [POSIX] (EISCONN): Likewise.
4957 [POSIX] (ELOOP): Likewise.
4958 [POSIX] (EMULTIHOP): Likewise.
4959 [POSIX] (ENETDOWN): Likewise.
4960 [POSIX] (ENETUNREACH): Likewise.
4961 [POSIX] (ENOBUFS): Likewise.
4962 [POSIX] (ENODATA): Likewise.
4963 [POSIX] (ENOLINK): Likewise.
4964 [POSIX] (ENOMSG): Likewise.
4965 [POSIX] (ENOPROTOOPT): Likewise.
4966 [POSIX] (ENOSR): Likewise.
4967 [POSIX] (ENOSTR): Likewise.
4968 [POSIX] (ENOTCONN): Likewise.
4969 [POSIX] (ENOTSOCK): Likewise.
4970 [POSIX] (EOPNOTSUPP): Likewise.
4971 [POSIX] (EOVERFLOW): Likewise.
4972 [POSIX] (EPROTO): Likewise.
4973 [POSIX] (EPROTONOSUPPORT): Likewise.
4974 [POSIX] (EPROTOTYPE): Likewise.
4975 [POSIX] (ESTALE): Likewise.
4976 [POSIX] (ETIME): Likewise.
4977 [POSIX] (ETXTBSY): Likewise.
4978 [POSIX] (EWOULDBLOCK): Likewise.
4979 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4980 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4981 [POSIX] (SEEK_CUR): Likewise.
4982 [POSIX] (SEEK_END): Likewise.
4983 [POSIX || UNIX98] (mode_t): Do not require.
4984 [POSIX] (off_t): Likewise.
4985 [POSIX] (pid_t): Likewise.
4986 [POSIX] (sys/stat.h): Do not allow header.
4987 [POSIX] (unistd.h): Likewise.
4988 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4989 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4990 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4991 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4992 require.
4993 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4994 sigevent): Specify elements.
4995 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4996 entry.
4997 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4998 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4999
a483863f
JM
5000 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5001 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5002 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5003 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5004 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5005 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5006 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5007 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5008 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5009 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5010 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5011 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5012 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5013 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5014 Likewise.
5015 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5016 Likewise.
5017 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5018 Likewise.
5019 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5020 Likewise.
5021 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5022 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5023 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5024 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5025 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5026 Specify lower bound on value.
5027 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5028 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5029 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5030 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5031 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5032 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5033 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5034 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5035 value.
5036 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5037 as optional.
5038 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5039 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5040 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5041 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5042 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5043 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5044 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5045 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5046 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5047 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5048 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5049 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5050 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5051 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5052 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5053 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5054 entry.
5055 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5056 optional.
5057 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5058 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5059 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5060 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5061 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5062 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5063 Likewise.
5064 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5065 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5066 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5067 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5068 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5069 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5070 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5071 as optional.
5072 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5073 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5074 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5075 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5076 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5077 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5078 specify as optional.
5079 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5080 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5081 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5082 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5083 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5084 [XPG3] (NL_LANGMAX): Likewise.
5085 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5086 [POSIX || XPG3] (NL_NMAX): Likewise.
5087 [POSIX || XPG3] (NL_SETMAX): Likewise.
5088 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5089 [XPG3] (NZERO): Likewise.
5090 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5091 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5092 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5093 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5094 (REG_ERANGE): Expect.
5095 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5096 optional-constant.
5097 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5098 Use (void) in prototype.
5099 [POSIX] (*_t): Allow.
5100 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5101 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5102 (WRDE_BADVAL): Expect.
5103
5ba924e3
JM
5104 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5105 expect.
5106 [XPG3 || XPG4] (O_RSYNC): Likewise.
5107 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5108 Likewise.
5109 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5110 [XPG3 || XPG4] (sigqueue): Likewise.
5111 [XPG3 || XPG4] (sigtimedwait): Likewise.
5112 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5113 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5114 [XPG3 || XPG4] (vsnprintf): Likewise.
5115 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5116 Likewise.
5117 [XPG3 || XPG4] (blksize_t): Likewise.
5118 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5119 Likewise.
5120 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5121 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5122 [XPG3 || XPG4] (struct itimerspec): Likewise.
5123 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5124 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5125 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5126 [XPG3 || XPG4] (clockid_t): Likewise.
5127 [XPG3 || XPG4] (timer_t): Likewise.
5128 [XPG3 || XPG4] (clock_getres): Likewise.
5129 [XPG3 || XPG4] (clock_gettime): Likewise.
5130 [XPG3 || XPG4] (clock_settime): Likewise.
5131 [XPG3 || XPG4] (nanosleep): Likewise.
5132 [XPG3 || XPG4] (timer_create): Likewise.
5133 [XPG3 || XPG4] (timer_delete): Likewise.
5134 [XPG3 || XPG4] (timer_gettime): Likewise.
5135 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5136 [XPG3 || XPG4] (timer_settime): Likewise.
5137 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5138 [XPG3 || XPG4] (getlogin_r): Likewise.
5139 [XPG3 || XPG4] (pread): Likewise.
5140 [XPG3 || XPG4] (pthread_atfork): Likewise.
5141 [XPG3 || XPG4] (pwrite): Likewise.
5142
ee663277
JM
5143 [BZ #14835]
5144 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5145 <bits/siginfo.h>.
5146
942caa16
PT
51472012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5148
e19af380
PT
5149 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5150 finalizing MALLSTREAM.
5151
942caa16
PT
5152 * sysdeps/mach/hurd/syncfs.c: New file.
5153
cfde9b46
SP
51542012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5155
5156 [BZ #14719]
5157 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5158 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5159 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5160 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5161 (_nss_dns_gethostbyname4_r): Likewise.
5162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5163 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5164
f6da27e5
PH
51652012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5166
5167 [BZ #13763]
5168 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5169
6665d4a2
SM
51702012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5171
1f51ee92
SM
5172 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5173 * elf/cache.c (print_entry): Print ",AArch64" for
5174 FLAG_AARCH64_LIB64
5175
6665d4a2
SM
5176 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5177 * elf/cache.c (print_entry): Print ",hard-float" for
5178 FLAG_ARM_LIBHF.
5179
05b227bd
DM
51802012-11-18 David S. Miller <davem@davemloft.net>
5181
5182 With help from Joseph Myers.
5183 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5184 cutoff to 2**-13.
5185 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5186 cutoff to 2**-25.
5187 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5188 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5189 small.
5190 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5191 * math/libm-test.inc (y0_test): New tests.
5192 (y1_test): New tests.
5193 * sysdeps/i386/fpu/libm-test-ulps: Update.
5194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5196
786b0b67
AS
51972012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5198
5199 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5200 64-bit targets.
5201 * configure: Regenerated.
5202
8e18b86d
DM
52032012-11-17 David S. Miller <davem@davemloft.net>
5204
5205 [BZ #14811]
5206 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5207 nonzero exponents with absolute value below 0x1p-128 to +/-
5208 0x1p-128.
5209
531f1ae0
JM
52102012-11-17 Joseph Myers <joseph@codesourcery.com>
5211
12df29e2
JM
5212 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5213
150dc1a0
JM
5214 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5215
531f1ae0
JM
5216 * posix/getconf-speclist.c: New file.
5217 * posix/posix-envs.def: Likewise.
5218 * posix/confstr.c (START_ENV_GROUP): New macro.
5219 (END_ENV_GROUP): Likewise.
5220 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5221 (KNOWN_PRESENT_ENV_STRING): Likewise.
5222 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5223 (UNKNOWN_ENVIRONMENT): Likewise.
5224 (confstr): Include posix-envs.def instead of handling
5225 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5226 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5227 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5228 (END_ENV_GROUP): Likewise.
5229 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5230 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5231 (UNKNOWN_ENVIRONMENT): Likewise.
5232 (__sysconf): Include posix-envs.def instead of handling associated
5233 cases directly here.
5234 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5235 preprocessing getconf-speclist.c rather than running getconf or
5236 generating empty file.
5237
a93f9cbc
PT
52382012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5239
5240 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5241
d64d9f87
AL
52422012-11-16 Andrej Lajovic <natrij@gmail.com>
5243
5244 [BZ #14672]
5245 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5246
447885eb
DM
52472012-11-16 David S. Miller <davem@davemloft.net>
5248
5249 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5250 smaller than LDBL_EPSILON/2.0L, just return xm1.
5251
bcbf9830
L
52522012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5253
5254 * elf/tst-array1.c (init): Set constructor priority to 1000.
5255 (fini): Set destructor priority to 1000.
5256 * elf/tst-array2dep.c: Likewise.
5257
2b766585
SP
52582012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5259
5260 [BZ #11741]
5261 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5262 (_IO_new_file_xsputn): Also return EOF if none of the input
5263 data was written when overflow failed.
5264 * libio/iopadn.c (_IO_padn): Likewise.
5265 * libio/iowpadn.c (_IO_wpadn): Likewise.
5266 * stdio-common/tst-put-error.c: Add copyright notice.
5267 (do_test): Add case for printing padded string.
5268 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5269 _IO_padn returned error.
5270 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5271 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5272 return EOF.
5273
b1848fde
SP
52742012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5275
5276 * libio/libioP.h: Add comment note that the references to C++
5277 bits are now obsolete.
5278
2fd89785
MS
52792012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5280
5281 * math/libm-test.inc (check_complex): Use asprintf.
5282
e3ea5409
JM
52832012-11-14 Joseph Myers <joseph@codesourcery.com>
5284
5285 * debug/pcprofiledump.c (print_version): Update copyright year.
5286 * malloc/memusagestat.c (print_version): Likewise.
5287
2e64d265
L
52882012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5289
5290 [BZ #14831]
5291 * elf/Makefile (tests): Add tst-audit8.
5292 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5293 ($(objpfx)tst-audit8.out): New target.
5294 (tst-audit8-ENV): New variable.
5295 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5296 audit if l_reloc_result is NULL.
5297 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5298 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5299 * elf/tst-audit8.c: New file.
5300
c485e4d2
MS
53012012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5302
5303 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5304 * misc/Makefile (CFLAGS-select.c): Define.
5305 * posix/Makefile (CFLAGS-pause.c): Define.
5306
3a0d900a
DM
53072012-11-13 David S. Miller <davem@davemloft.net>
5308
5309 * crypt/Makefile: Move test targets after toplevel Rules
5310 inclusion. Grab any necessary sysdep routines when linking.
5311 * crypt/md5.c (md5_process_block): Remove define, we will always
5312 name it __md5_process_block.
5313 (md5_finish_ctx): Update md5_process_block call.
5314 (md5_stream): Likewise.
5315 (md5_process_bytes): Likewise.
5316 (md5_process_block): Rename to __md5_process_block and move to ...
5317 * crypt/md5-block.c: ... here.
5318 * crypt/sha256.c (sha256_process_block): Move to ...
5319 * crypt/sha256-block.c: ... here.
5320 * crypt/sha512.c (sha512_process_block): Move to ...
5321 * crypt/sha512-block.c: ... here.
5322 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5323 path.
5324 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5325 * sysdeps/sparc/sparc64/multiarch/Makefile
5326 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5327 crypt subdir.
5328 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5329 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5330 multiarch changes.
5331 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5332 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5333 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5334 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5335 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5336 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5337 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5338 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5339 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5340 file.
5341 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5342 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5343 file.
5344 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5345
8ca89318
JM
53462012-11-13 Joseph Myers <joseph@codesourcery.com>
5347
e27d476a
JM
5348 * timezone/tzselect.ksh: Update from tzcode git revision
5349 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5350 * timezone/zdump.c: Likewise.
5351 * timezone/zic.c: Likewise.
5352 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5353 in TZVERSION setting, not $(PKGVERSION).
5354 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5355 REPORT_BUGS_TO settings.
5356
8ca89318
JM
5357 [BZ #14838]
5358 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5359 macro.
5360
47594329
MS
53612012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5362
5363 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5364 detection to immediately after _FP_ROUND().
5365 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5366 bits are 0.
5367
640ac3f1
DM
53682012-11-11 David S. Miller <davem@davemloft.net>
5369
5370 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5371 inttypes.h
5372 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5373 __close rather than their public counterparts.
5374
3d2577bb
JM
53752012-11-10 Joseph Myers <joseph@codesourcery.com>
5376
5377 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5378 file.
5379 [UNIX98] (sem_timedwait): Do not expect.
5380 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5381 [XPG4 || UNIX98] (sockatmark): Do not expect.
5382 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5383 (clock_getcpuclockid): Do not expect.
5384 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5385 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5386 Do not expect.
5387 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5388 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5389 [UNIX98] (vwscanf): Likewise.
5390 [UNIX98] (vswscanf): Likewise.
5391
fb1ae1ee
JM
53922012-11-09 Joseph Myers <joseph@codesourcery.com>
5393
9ec6f8bd
JM
5394 * timezone/version.h: Remove file.
5395 * timezone/README: Do not refer to version.h.
5396 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5397 $(objpfx)version.h.
5398 ($(objpfx)zdump.o): Likewise.
c3f81911 5399 ($(objpfx)version.h): New target.
9ec6f8bd 5400
0aa8f8a1
JM
5401 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5402 2012i.
5403 * timezone/README: Don't mention modification to tzselect.ksh.
5404 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5405 work on unmodified tzselect.ksh. Substitute version numbers in
5406 tzselect.ksh.
5407
4e87147f
JM
5408 * Makefile (format-me): Remove.
5409 (INSTALL): Adjust indentation. Use commands directly instead of
5410 using $(format-me).
5411
8b748aed
JM
5412 * aclocal.m4 (ACX_PKGVERSION): New macro.
5413 (ACX_BUGURL): Likewise.
5414 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5415 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5416 (REPORT_BUGS_TO): Likewise.
5417 * configure: Regenerated.
5418 * config.h.in (PKGVERSION): New macro.
5419 (REPORT_BUGS_TO): Likewise.
5420 * config.make.in (PKGVERSION): New variable.
5421 (PKGVERSION_TEXI): Likewise.
5422 (REPORT_BUGS_TO): Likewise.
5423 (REPORT_BUGS_TEXI): Likewise.
5424 * Makefile (format-me): Use -I$(common-objpfx)manual.
5425 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5426 ($(common-objpfx)manual/%): New target.
5427 (manual/%): Remove target.
5428 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5429 (print_version): Use PKGVERSION.
5430 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5431 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5432 and REPORT_BUGS_TO.
5433 ($(objpfx)xtrace): Likewise.
5434 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5435 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5436 (print_version): Use PKGVERSION.
5437 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5438 (do_version): Use PKGVERSION.
5439 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5440 REPORT_BUGS_TO.
5441 (common-ldd-rewrite): Likewise.
5442 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5443 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5444 (print_version): Use PKGVERSION.
5445 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5446 * elf/pldd.c (argp_program_bug_address): Remove variable.
5447 (more_help): New function.
5448 (argp): Use more_help.
5449 (print_version): Use PKGVERSION.
5450 * elf/sln.c (main): Use PKGVERSION.
5451 (usage): Use REPORT_BUGS_TO.
5452 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5453 (top level): Use PKGVERSION.
5454 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5455 (print_version): Use PKGVERSION.
5456 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5457 (print_version): Use PKGVERSION.
5458 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5459 (print_version): Use PKGVERSION.
5460 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5461 (print_version): Use PKGVERSION.
5462 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5463 (print_version): Use PKGVERSION.
5464 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5465 (print_version): Use PKGVERSION.
5466 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5467 and BUGURL.
5468 ($(objpfx)memusage): Likewise.
5469 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5470 (do_version): Use PKGVERSION.
5471 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5472 (print_version): Use PKGVERSION.
5473 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5474 ($PKGVERSION): New variable.
5475 ($REPORT_BUGS_TO): Likewise.
5476 (usage): Use $REPORT_BUGS_TO.
5477 (top level): Use $PKGVERSION.
5478 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5479 ($(objpfx)pkgvers.texi): New rule.
5480 ($(objpfx)stamp-pkgvers): Likewise.
5481 * manual/install.texi: Include pkgvers.texi.
5482 (--with-pkgversion): Document new configure option.
5483 (--with-bugurl): Likewise.
5484 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5485 than necessarily for this particular distribution. Use
5486 REPORT_BUGS_TO for where to report bugs.
5487 * INSTALL: Regenerated.
5488 * manual/libc.texinfo: Include pkgvers.texi.
5489 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5490 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5491 (print_version): Use PKGVERSION.
5492 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5493 (print_version): Use PKGVERSION.
5494 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5495 (print_version): Use PKGVERSION.
5496 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5497 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5498 macro.
5499 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5500 (print_version): Use PKGVERSION.
5501 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5502 (print_version): Use PKGVERSION.
5503 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5504 and PKGVERSION.
5505
92e4b6a9
JM
5506 * timezone/checktab.awk: Update from tzcode 2012i.
5507 * timezone/ialloc.c: Likewise.
5508 * timezone/private.h: Likewise.
5509 * timezone/scheck.c: Likewise.
5510 * timezone/tzfile.h: Likewise.
5511 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5512 (TZVERSION): Hardcode tzcode version number.
5513 * timezone/zdump.c: Update from tzcode 2012i.
5514 * timezone/zic.c: Likewise.
5515 * timezone/version.h: New file.
5516 * timezone/README: Describe version.h. Update upstream location.
5517
9bde902c
JM
5518 [BZ #14824]
5519 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5520 (mktemp): Enable declaration.
5521 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5523 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5525 Likewise.
5526 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5527 Likewise.
5528 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5529 Likewise.
5530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5531 Likewise.
5532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5533 Likewise.
5534 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5535 Likewise.
5536
fb1ae1ee
JM
5537 [BZ #14821]
5538 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5539 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5540 for copies of such integer values.
5541 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5542 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5543
2c1adbcb
AJ
55442012-11-09 Andreas Jaeger <aj@suse.de>
5545
5546 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5547 definitions and declarations that are provided by
5548 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5549
d0f8457e
AK
55502012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5551
3a235abb 5552 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5553 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5554 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5555 definition.
5556
57241e26
MS
55572012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5558
5559 * elf/elf.h: Update comment before AArch64 relocations.
5560
60e8270d
DM
55612012-11-07 David S. Miller <davem@davemloft.net>
5562
5563 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5564 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5565 (__start_context): Declare.
5566 (__makecontext_ret): Delete.
5567 (__makecontext): Hook up __start_context instead of
5568 __makecontext_ret.
5569 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5570 (sysdep_routines): Add __start_context when in stdlib.
5571
0fbb0fbc
JM
55722012-11-07 Joseph Myers <joseph@codesourcery.com>
5573
5574 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5575 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5576 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5577 hardcoded "nm".
5578 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5579 (READELF): New variable. Use it instead of hardcoded "readelf".
5580
eb48db7e
L
55812012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5582
5583 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5584 * sysdeps/x86/Makefile: Here.
5585 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5586 * sysdeps/x86/tst-xmmymm.sh: This.
5587
05bcf62a
JM
55882012-11-07 Joseph Myers <joseph@codesourcery.com>
5589
c4b6cf53
JM
5590 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5591 expectations.
5592 [UNIX98] (pthread_barrier_t): Do not expect.
5593 [UNIX98] (pthread_barrierattr_t): Likewise.
5594 [UNIX98] (pthread_spinlock_t): Likewise.
5595 [UNIX98] (pthread_barrier_destroy): Likewise.
5596 [UNIX98] (pthread_barrier_init): Likewise.
5597 [UNIX98] (pthread_barrier_wait): Likewise.
5598 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5599 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5600 [UNIX98] (pthread_barrierattr_init): Likewise.
5601 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5602 [UNIX98] (pthread_getcpuclockid): Likewise.
5603 [UNIX98] (pthread_mutex_timedlock): Likewise.
5604 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5605 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5606 [UNIX98] (pthread_sigmask): Likewise.
5607 [UNIX98] (pthread_spin_destroy): Likewise.
5608 [UNIX98] (pthread_spin_init): Likewise.
5609 [UNIX98] (pthread_spin_lock): Likewise.
5610 [UNIX98] (pthread_spin_trylock): Likewise.
5611 [UNIX98] (pthread_spin_unlock): Likewise.
5612 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5613 Do not expect.
5614 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5615 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5616 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5617 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5618 [XPG3 || XPG4] (pthread_key_t): Likewise.
5619 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5620 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5621 [XPG3 || XPG4] (pthread_once_t): Likewise.
5622 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5623 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5624 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5625 [XPG3 || XPG4] (pthread_t): Likewise.
5626
cbe6e120
JM
5627 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5628 not expect.
5629 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5630
1b126443
JM
5631 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5632 Change function return type to int.
5633
b961a573
JM
5634 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5635 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5636 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5637 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5638 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5639 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5640 [!POSIX] (posix_madvise): Likewise.
5641 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5642 && !UNIX98].
5643 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5644 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5645 (mode_t): Likewise.
5646 (posix_mem_offset): Likewise.
5647 (posix_typed_mem_get_info): Likewise.
5648 (posix_typed_mem_open): Likewise.
5649
9e188909
JM
5650 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5651 Change condition to [XOPEN2K8].
5652
05bcf62a
JM
5653 * conform/conformtest.pl: Preprocess allow-header data with -x c
5654 instead of from stdin.
5655 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5656 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5657 [C99-based standards] (cerfc): Likewise.
5658 [C99-based standards] (cexp2): Likewise.
5659 [C99-based standards] (cexpm1): Likewise.
5660 [C99-based standards] (clog10): Likewise.
5661 [C99-based standards] (clog1p): Likewise.
5662 [C99-based standards] (clog2): Likewise.
5663 [C99-based standards] (clgamma): Likewise.
5664 [C99-based standards] (ctgamma): Likewise.
5665 [C99-based standards] (cerff): Likewise.
5666 [C99-based standards] (cerfcf): Likewise.
5667 [C99-based standards] (cexp2f): Likewise.
5668 [C99-based standards] (cexpm1f): Likewise.
5669 [C99-based standards] (clog10f): Likewise.
5670 [C99-based standards] (clog1pf): Likewise.
5671 [C99-based standards] (clog2f): Likewise.
5672 [C99-based standards] (clgammaf): Likewise.
5673 [C99-based standards] (ctgammaf): Likewise.
5674 [C99-based standards] (cerfl): Likewise.
5675 [C99-based standards] (cerfcl): Likewise.
5676 [C99-based standards] (cexp2l): Likewise.
5677 [C99-based standards] (cexpm1l): Likewise.
5678 [C99-based standards] (clog10l): Likewise.
5679 [C99-based standards] (clog1pl): Likewise.
5680 [C99-based standards] (clog2l): Likewise.
5681 [C99-based standards] (clgammal): Likewise.
5682 [C99-based standards] (ctgammal): Likewise.
5683 * conform/data/inttypes.h-data [C99-based standards]: Include
5684 stdint.h-data. Remove all expectations for stdint.h contents.
5685 [C99-based standards] (PRI*): Do not allow.
5686 [C99-based standards] (SCN*): Likewise.
5687 [C99-based standards] (*_t): Likewise.
5688 [C99-based-standards] (PRId8): Expect macro.
5689 [C99-based-standards] (PRIi8): Likewise.
5690 [C99-based-standards] (PRIo8): Likewise.
5691 [C99-based-standards] (PRIu8): Likewise.
5692 [C99-based-standards] (PRIx8): Likewise.
5693 [C99-based-standards] (PRIX8): Likewise.
5694 [C99-based-standards] (SCNd8): Likewise.
5695 [C99-based-standards] (SCNi8): Likewise.
5696 [C99-based-standards] (SCNo8): Likewise.
5697 [C99-based-standards] (SCNu8): Likewise.
5698 [C99-based-standards] (SCNx8): Likewise.
5699 [C99-based-standards] (PRIdLEAST8): Likewise.
5700 [C99-based-standards] (PRIiLEAST8): Likewise.
5701 [C99-based-standards] (PRIoLEAST8): Likewise.
5702 [C99-based-standards] (PRIuLEAST8): Likewise.
5703 [C99-based-standards] (PRIxLEAST8): Likewise.
5704 [C99-based-standards] (PRIXLEAST8): Likewise.
5705 [C99-based-standards] (SCNdLEAST8): Likewise.
5706 [C99-based-standards] (SCNiLEAST8): Likewise.
5707 [C99-based-standards] (SCNoLEAST8): Likewise.
5708 [C99-based-standards] (SCNuLEAST8): Likewise.
5709 [C99-based-standards] (SCNxLEAST8): Likewise.
5710 [C99-based-standards] (PRIdFAST8): Likewise.
5711 [C99-based-standards] (PRIiFAST8): Likewise.
5712 [C99-based-standards] (PRIoFAST8): Likewise.
5713 [C99-based-standards] (PRIuFAST8): Likewise.
5714 [C99-based-standards] (PRIxFAST8): Likewise.
5715 [C99-based-standards] (PRIXFAST8): Likewise.
5716 [C99-based-standards] (SCNdFAST8): Likewise.
5717 [C99-based-standards] (SCNiFAST8): Likewise.
5718 [C99-based-standards] (SCNoFAST8): Likewise.
5719 [C99-based-standards] (SCNuFAST8): Likewise.
5720 [C99-based-standards] (SCNxFAST8): Likewise.
5721 [C99-based-standards] (PRId16): Likewise.
5722 [C99-based-standards] (PRIi16): Likewise.
5723 [C99-based-standards] (PRIo16): Likewise.
5724 [C99-based-standards] (PRIu16): Likewise.
5725 [C99-based-standards] (PRIx16): Likewise.
5726 [C99-based-standards] (PRIX16): Likewise.
5727 [C99-based-standards] (SCNd16): Likewise.
5728 [C99-based-standards] (SCNi16): Likewise.
5729 [C99-based-standards] (SCNo16): Likewise.
5730 [C99-based-standards] (SCNu16): Likewise.
5731 [C99-based-standards] (SCNx16): Likewise.
5732 [C99-based-standards] (PRIdLEAST16): Likewise.
5733 [C99-based-standards] (PRIiLEAST16): Likewise.
5734 [C99-based-standards] (PRIoLEAST16): Likewise.
5735 [C99-based-standards] (PRIuLEAST16): Likewise.
5736 [C99-based-standards] (PRIxLEAST16): Likewise.
5737 [C99-based-standards] (PRIXLEAST16): Likewise.
5738 [C99-based-standards] (SCNdLEAST16): Likewise.
5739 [C99-based-standards] (SCNiLEAST16): Likewise.
5740 [C99-based-standards] (SCNoLEAST16): Likewise.
5741 [C99-based-standards] (SCNuLEAST16): Likewise.
5742 [C99-based-standards] (SCNxLEAST16): Likewise.
5743 [C99-based-standards] (PRIdFAST16): Likewise.
5744 [C99-based-standards] (PRIiFAST16): Likewise.
5745 [C99-based-standards] (PRIoFAST16): Likewise.
5746 [C99-based-standards] (PRIuFAST16): Likewise.
5747 [C99-based-standards] (PRIxFAST16): Likewise.
5748 [C99-based-standards] (PRIXFAST16): Likewise.
5749 [C99-based-standards] (SCNdFAST16): Likewise.
5750 [C99-based-standards] (SCNiFAST16): Likewise.
5751 [C99-based-standards] (SCNoFAST16): Likewise.
5752 [C99-based-standards] (SCNuFAST16): Likewise.
5753 [C99-based-standards] (SCNxFAST16): Likewise.
5754 [C99-based-standards] (PRId32): Likewise.
5755 [C99-based-standards] (PRIi32): Likewise.
5756 [C99-based-standards] (PRIo32): Likewise.
5757 [C99-based-standards] (PRIu32): Likewise.
5758 [C99-based-standards] (PRIx32): Likewise.
5759 [C99-based-standards] (PRIX32): Likewise.
5760 [C99-based-standards] (SCNd32): Likewise.
5761 [C99-based-standards] (SCNi32): Likewise.
5762 [C99-based-standards] (SCNo32): Likewise.
5763 [C99-based-standards] (SCNu32): Likewise.
5764 [C99-based-standards] (SCNx32): Likewise.
5765 [C99-based-standards] (PRIdLEAST32): Likewise.
5766 [C99-based-standards] (PRIiLEAST32): Likewise.
5767 [C99-based-standards] (PRIoLEAST32): Likewise.
5768 [C99-based-standards] (PRIuLEAST32): Likewise.
5769 [C99-based-standards] (PRIxLEAST32): Likewise.
5770 [C99-based-standards] (PRIXLEAST32): Likewise.
5771 [C99-based-standards] (SCNdLEAST32): Likewise.
5772 [C99-based-standards] (SCNiLEAST32): Likewise.
5773 [C99-based-standards] (SCNoLEAST32): Likewise.
5774 [C99-based-standards] (SCNuLEAST32): Likewise.
5775 [C99-based-standards] (SCNxLEAST32): Likewise.
5776 [C99-based-standards] (PRIdFAST32): Likewise.
5777 [C99-based-standards] (PRIiFAST32): Likewise.
5778 [C99-based-standards] (PRIoFAST32): Likewise.
5779 [C99-based-standards] (PRIuFAST32): Likewise.
5780 [C99-based-standards] (PRIxFAST32): Likewise.
5781 [C99-based-standards] (PRIXFAST32): Likewise.
5782 [C99-based-standards] (SCNdFAST32): Likewise.
5783 [C99-based-standards] (SCNiFAST32): Likewise.
5784 [C99-based-standards] (SCNoFAST32): Likewise.
5785 [C99-based-standards] (SCNuFAST32): Likewise.
5786 [C99-based-standards] (SCNxFAST32): Likewise.
5787 [C99-based-standards] (PRId64): Likewise.
5788 [C99-based-standards] (PRIi64): Likewise.
5789 [C99-based-standards] (PRIo64): Likewise.
5790 [C99-based-standards] (PRIu64): Likewise.
5791 [C99-based-standards] (PRIx64): Likewise.
5792 [C99-based-standards] (PRIX64): Likewise.
5793 [C99-based-standards] (SCNd64): Likewise.
5794 [C99-based-standards] (SCNi64): Likewise.
5795 [C99-based-standards] (SCNo64): Likewise.
5796 [C99-based-standards] (SCNu64): Likewise.
5797 [C99-based-standards] (SCNx64): Likewise.
5798 [C99-based-standards] (PRIdLEAST64): Likewise.
5799 [C99-based-standards] (PRIiLEAST64): Likewise.
5800 [C99-based-standards] (PRIoLEAST64): Likewise.
5801 [C99-based-standards] (PRIuLEAST64): Likewise.
5802 [C99-based-standards] (PRIxLEAST64): Likewise.
5803 [C99-based-standards] (PRIXLEAST64): Likewise.
5804 [C99-based-standards] (SCNdLEAST64): Likewise.
5805 [C99-based-standards] (SCNiLEAST64): Likewise.
5806 [C99-based-standards] (SCNoLEAST64): Likewise.
5807 [C99-based-standards] (SCNuLEAST64): Likewise.
5808 [C99-based-standards] (SCNxLEAST64): Likewise.
5809 [C99-based-standards] (PRIdFAST64): Likewise.
5810 [C99-based-standards] (PRIiFAST64): Likewise.
5811 [C99-based-standards] (PRIoFAST64): Likewise.
5812 [C99-based-standards] (PRIuFAST64): Likewise.
5813 [C99-based-standards] (PRIxFAST64): Likewise.
5814 [C99-based-standards] (PRIXFAST64): Likewise.
5815 [C99-based-standards] (SCNdFAST64): Likewise.
5816 [C99-based-standards] (SCNiFAST64): Likewise.
5817 [C99-based-standards] (SCNoFAST64): Likewise.
5818 [C99-based-standards] (SCNuFAST64): Likewise.
5819 [C99-based-standards] (SCNxFAST64): Likewise.
5820 [C99-based-standards] (PRIdMAX): Likewise.
5821 [C99-based-standards] (PRIiMAX): Likewise.
5822 [C99-based-standards] (PRIoMAX): Likewise.
5823 [C99-based-standards] (PRIuMAX): Likewise.
5824 [C99-based-standards] (PRIxMAX): Likewise.
5825 [C99-based-standards] (PRIXMAX): Likewise.
5826 [C99-based-standards] (SCNdMAX): Likewise.
5827 [C99-based-standards] (SCNiMAX): Likewise.
5828 [C99-based-standards] (SCNoMAX): Likewise.
5829 [C99-based-standards] (SCNuMAX): Likewise.
5830 [C99-based-standards] (SCNxMAX): Likewise.
5831 [C99-based-standards] (PRIdPTR): Likewise.
5832 [C99-based-standards] (PRIiPTR): Likewise.
5833 [C99-based-standards] (PRIoPTR): Likewise.
5834 [C99-based-standards] (PRIuPTR): Likewise.
5835 [C99-based-standards] (PRIxPTR): Likewise.
5836 [C99-based-standards] (PRIXPTR): Likewise.
5837 [C99-based-standards] (SCNdPTR): Likewise.
5838 [C99-based-standards] (SCNiPTR): Likewise.
5839 [C99-based-standards] (SCNoPTR): Likewise.
5840 [C99-based-standards] (SCNuPTR): Likewise.
5841 [C99-based-standards] (SCNxPTR): Likewise.
5842 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5843 allow.
5844 * conform/data/stdint.h-data: Update comments to clarify
5845 requirements.
5846 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5847 type.
5848 [C99-based standards] (INT8_MAX): Likewise.
5849 [C99-based standards] (INT16_MIN): Likewise.
5850 [C99-based standards] (INT16_MAX): Likewise.
5851 [C99-based standards] (INT32_MIN): Likewise.
5852 [C99-based standards] (INT32_MAX): Likewise.
5853 [C99-based standards] (INT64_MIN): Likewise.
5854 [C99-based standards] (INT64_MAX): Likewise.
5855 [C99-based standards] (UINT8_MAX): Likewise.
5856 [C99-based standards] (UINT16_MAX): Likewise.
5857 [C99-based standards] (UINT32_MAX): Likewise.
5858 [C99-based standards] (UINT64_MAX): Likewise.
5859 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5860 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5861 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5862 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5863 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5864 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5865 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5866 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5867 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5868 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5869 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5870 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5871 [C99-based standards] (INT_FAST8_MIN): Likewise.
5872 [C99-based standards] (INT_FAST8_MAX): Likewise.
5873 [C99-based standards] (INT_FAST16_MIN): Likewise.
5874 [C99-based standards] (INT_FAST16_MAX): Likewise.
5875 [C99-based standards] (INT_FAST32_MIN): Likewise.
5876 [C99-based standards] (INT_FAST32_MAX): Likewise.
5877 [C99-based standards] (INT_FAST64_MIN): Likewise.
5878 [C99-based standards] (INT_FAST64_MAX): Likewise.
5879 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5880 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5881 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5882 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5883 [C99-based standards] (INTPTR_MIN): Likewise.
5884 [C99-based standards] (INTPTR_MAX): Likewise.
5885 [C99-based standards] (UINTPTR_MAX): Likewise.
5886 [C99-based standards] (INTMAX_MIN): Likewise.
5887 [C99-based standards] (INTMAX_MAX): Likewise.
5888 [C99-based standards] (UINTMAX_MAX): Likewise.
5889 [C99-based standards] (PTRDIFF_MIN): Likewise.
5890 [C99-based standards] (PTRDIFF_MAX): Likewise.
5891 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5892 [C99-based standards] (SIZE_MAX): Likewise.
5893 [C99-based standards] (WCHAR_MAX): Likewise.
5894 [C99-based standards] (WINT_MAX): Likewise.
5895 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5896 constraint on value.
5897 [C99-based standards] (WCHAR_MIN): Likewise.
5898 [C99-based standards] (WINT_MIN): Likewise.
5899 [C99-based standards] (*_t): Allow.
5900 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5901 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5902 Include math.h-data and complex.h-data. Remove all expectations
5903 of math.h and complex.h contents.
5904 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5905 at end of line.
5906 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5907 (struct tm): Expect tag.
5908 [C99-based-standards] (wcstof): Expect function.
5909 [C99-based-standards] (wcstold): Likewise.
5910 [C99-based-standards] (wcstoll): Likewise.
5911 [C99-based-standards] (wcstoull): Likewise.
5912 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5913 macro-int-constant. Specify type.
5914 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5915 constraint on value.
5916 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5917 Specify type.
5918 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5919 Specify value.
5920 [ISO C standards]: Do not allow headers.
5921 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5922 wcs[abcdefghijklmnopqrstuvwxyz]*.
5923 [ISO C standards] (*_t): Do not allow.
5924 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5925 Expect function.
5926 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5927 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5928 Specify type.
5929 [ISO C standards]: Do not allow headers.
5930 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5931 is[abcdefghijklmnopqrstuvwxyz]*.
5932 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5933 to[abcdefghijklmnopqrstuvwxyz]*.
5934 [ISO C standards] (*_t): Do not allow.
5935 * conform/data/stdalign.h-data: New file.
5936 * conform/data/stdbool.h-data: Likewise.
5937 * conform/data/stdnoreturn.h-data: Likewise.
5938
7514feb8
RM
59392012-11-07 Roland McGrath <roland@hack.frob.com>
5940
5941 [BZ #14815]
5942 * manual/filesys.texi (Directory Entries): Typo fix.
5943 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5944
19b2ecfc
MS
59452012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5946
5947 * elf/elf.h (EM_AARCH64): New macro.
5948 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5949 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5950 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5951 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5952 (R_AARCH64_TLSDESC): Likewise.
5953 (NT_ARM_TLS): Likewise.
5954 (NT_ARM_HW_BREAK): Likewise.
5955 (NT_ARM_HW_WATCH): Likewise.
5956
60e235ee
JM
59572012-11-07 Joseph Myers <joseph@codesourcery.com>
5958
5959 [BZ #14811]
5960 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5961 (__ieee754_powl): Saturate nonzero exponents with absolute value
5962 below 0x1p-79 to +/- 0x1p-79.
5963 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5964 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5965 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5966 nonzero exponents with absolute value below 0x1p-32 to +/-
5967 0x1p-32.
5968 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5969 (__ieee754_powl): Saturate nonzero exponents with absolute value
5970 below 0x1p-79 to +/- 0x1p-79.
5971 * math/libm-test.inc (pow_test): Add more tests.
5972
0ab234b7
AK
59732012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5974
5975 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5976 _dl_s390_cap_flags with kernel. Increase string length.
5977 (_dl_s390_platforms): Add z196 and zEC12.
5978
45832f74
JM
59792012-11-07 Joseph Myers <joseph@codesourcery.com>
5980
5981 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5982 Change XOPEN21K to XOPEN2K.
5983
19218757
MK
59842012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5985
5986 * string/memmove.c: Use memcpy when possible.
5987
c5f45721
AJ
59882012-11-06 Andreas Jaeger <aj@suse.de>
5989
5990 * po/eo.po: Update from translation team.
5991
82477c28
JM
59922012-11-06 Joseph Myers <joseph@codesourcery.com>
5993
5994 [BZ #14793]
5995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5996 exponent and small x and y exponents, scale x or y up. Increase
5997 by 2 the exponent used in scaling up.
5998 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5999 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6000 * math/libm-test.inc (fma_test): Add more tests.
6001 (fma_test_towardzero): Likewise.
6002 (fma_test_downward): Likewise.
6003 (fma_test_upward): Likewise.
6004
99252c8c
JM
60052012-11-05 Joseph Myers <joseph@codesourcery.com>
6006
acfa885f
JM
6007 [BZ #14805]
6008 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6009 fenv_t *.
6010
99252c8c
JM
6011 [BZ #14801]
6012 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6013 namespace for names of struct fields.
6014 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6015 fenv_t fields.
6016 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6017 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6018
d6d98dea
ST
60192012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6020
6021 [BZ #3665]
6022 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6023
e10bb107
TS
60242012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6025
6026 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6027 PTR_DEMANGLE.
6028
6029 [BZ #5246]
6030 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6031 PTR_DEMANGLE.
6032
a0c2940d
JM
60332012-11-04 Joseph Myers <joseph@codesourcery.com>
6034
6035 [BZ #14797]
6036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6037 definitely overflow as x * y not x * y + z.
6038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6040 * math/libm-test.inc (fma_test): Add more tests.
6041 (fma_test_towardzero): Likewise.
6042 (fma_test_downward): Likewise.
6043 (fma_test_upward): Likewise.
6044
b830319d
TS
60452012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6046
6047 [BZ #157]
6048
6049 * include/stub-tag.h: Remove file.
6050 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6051 '#include' of it.
6052 * manual/maint.texi (Porting): Don't reference it.
6053 * Makerules ($(objpfx)stubs): Likewise.
6054 * dirent/closedir.c: Don't include <stub-tag.h>.
6055 * dirent/dirfd.c: Likewise.
6056 * dirent/fdopendir.c: Likewise.
6057 * dirent/getdents.c: Likewise.
6058 * dirent/getdents64.c: Likewise.
6059 * dirent/opendir.c: Likewise.
6060 * dirent/readdir.c: Likewise.
6061 * dirent/readdir64.c: Likewise.
6062 * dirent/readdir64_r.c: Likewise.
6063 * dirent/readdir_r.c: Likewise.
6064 * dirent/rewinddir.c: Likewise.
6065 * dirent/seekdir.c: Likewise.
6066 * dirent/telldir.c: Likewise.
6067 * gmon/profil.c: Likewise.
6068 * grp/setgroups.c: Likewise.
6069 * inet/if_index.c: Likewise.
6070 * io/access.c: Likewise.
6071 * io/chdir.c: Likewise.
6072 * io/chmod.c: Likewise.
6073 * io/chown.c: Likewise.
6074 * io/close.c: Likewise.
6075 * io/dup.c: Likewise.
6076 * io/dup2.c: Likewise.
6077 * io/dup3.c: Likewise.
6078 * io/euidaccess.c: Likewise.
6079 * io/faccessat.c: Likewise.
6080 * io/fchdir.c: Likewise.
6081 * io/fchmod.c: Likewise.
6082 * io/fchmodat.c: Likewise.
6083 * io/fchown.c: Likewise.
6084 * io/fchownat.c: Likewise.
6085 * io/fcntl.c: Likewise.
6086 * io/flock.c: Likewise.
6087 * io/fstatfs.c: Likewise.
6088 * io/fstatfs64.c: Likewise.
6089 * io/fstatvfs.c: Likewise.
6090 * io/fstatvfs64.c: Likewise.
6091 * io/futimens.c: Likewise.
6092 * io/fxstat.c: Likewise.
6093 * io/fxstat64.c: Likewise.
6094 * io/fxstatat.c: Likewise.
6095 * io/fxstatat64.c: Likewise.
6096 * io/getcwd.c: Likewise.
6097 * io/isatty.c: Likewise.
6098 * io/lchmod.c: Likewise.
6099 * io/lchown.c: Likewise.
6100 * io/link.c: Likewise.
6101 * io/linkat.c: Likewise.
6102 * io/lseek.c: Likewise.
6103 * io/lseek64.c: Likewise.
6104 * io/lxstat64.c: Likewise.
6105 * io/mkdir.c: Likewise.
6106 * io/mkdirat.c: Likewise.
6107 * io/mkfifo.c: Likewise.
6108 * io/mkfifoat.c: Likewise.
6109 * io/open.c: Likewise.
6110 * io/open64.c: Likewise.
6111 * io/openat.c: Likewise.
6112 * io/openat64.c: Likewise.
6113 * io/pipe.c: Likewise.
6114 * io/pipe2.c: Likewise.
6115 * io/poll.c: Likewise.
6116 * io/posix_fadvise.c: Likewise.
6117 * io/posix_fadvise64.c: Likewise.
6118 * io/posix_fallocate.c: Likewise.
6119 * io/posix_fallocate64.c: Likewise.
6120 * io/read.c: Likewise.
6121 * io/readlink.c: Likewise.
6122 * io/readlinkat.c: Likewise.
6123 * io/rmdir.c: Likewise.
6124 * io/sendfile.c: Likewise.
6125 * io/sendfile64.c: Likewise.
6126 * io/statfs.c: Likewise.
6127 * io/statfs64.c: Likewise.
6128 * io/statvfs.c: Likewise.
6129 * io/statvfs64.c: Likewise.
6130 * io/symlink.c: Likewise.
6131 * io/symlinkat.c: Likewise.
6132 * io/ttyname.c: Likewise.
6133 * io/ttyname_r.c: Likewise.
6134 * io/umask.c: Likewise.
6135 * io/unlink.c: Likewise.
6136 * io/unlinkat.c: Likewise.
6137 * io/utime.c: Likewise.
6138 * io/utimensat.c: Likewise.
6139 * io/write.c: Likewise.
6140 * io/xmknod.c: Likewise.
6141 * io/xmknodat.c: Likewise.
6142 * io/xstat.c: Likewise.
6143 * io/xstat64.c: Likewise.
6144 * login/getpt.c: Likewise.
6145 * login/grantpt.c: Likewise.
6146 * login/unlockpt.c: Likewise.
6147 * math/e_acoshl.c: Likewise.
6148 * math/e_acosl.c: Likewise.
6149 * math/e_asinl.c: Likewise.
6150 * math/e_atan2l.c: Likewise.
6151 * math/e_atanhl.c: Likewise.
6152 * math/e_coshl.c: Likewise.
6153 * math/e_expl.c: Likewise.
6154 * math/e_fmodl.c: Likewise.
6155 * math/e_gammal_r.c: Likewise.
6156 * math/e_hypotl.c: Likewise.
6157 * math/e_j0l.c: Likewise.
6158 * math/e_j1l.c: Likewise.
6159 * math/e_jnl.c: Likewise.
6160 * math/e_lgammal_r.c: Likewise.
6161 * math/e_log10l.c: Likewise.
6162 * math/e_log2l.c: Likewise.
6163 * math/e_logl.c: Likewise.
6164 * math/e_powl.c: Likewise.
6165 * math/e_rem_pio2l.c: Likewise.
6166 * math/e_sinhl.c: Likewise.
6167 * math/e_sqrtl.c: Likewise.
6168 * math/fclrexcpt.c: Likewise.
6169 * math/fedisblxcpt.c: Likewise.
6170 * math/feenablxcpt.c: Likewise.
6171 * math/fegetenv.c: Likewise.
6172 * math/fegetexcept.c: Likewise.
6173 * math/fegetround.c: Likewise.
6174 * math/feholdexcpt.c: Likewise.
6175 * math/fesetenv.c: Likewise.
6176 * math/fesetround.c: Likewise.
6177 * math/feupdateenv.c: Likewise.
6178 * math/fgetexcptflg.c: Likewise.
6179 * math/fraiseexcpt.c: Likewise.
6180 * math/fsetexcptflg.c: Likewise.
6181 * math/ftestexcept.c: Likewise.
6182 * math/k_cosl.c: Likewise.
6183 * math/k_rem_pio2l.c: Likewise.
6184 * math/k_sinl.c: Likewise.
6185 * math/k_tanl.c: Likewise.
6186 * math/s_asinhl.c: Likewise.
6187 * math/s_atanl.c: Likewise.
6188 * math/s_cbrtl.c: Likewise.
6189 * math/s_erfl.c: Likewise.
6190 * math/s_expm1l.c: Likewise.
6191 * math/s_log1pl.c: Likewise.
6192 * math/s_tanhl.c: Likewise.
6193 * misc/acct.c: Likewise.
6194 * misc/brk.c: Likewise.
6195 * misc/chflags.c: Likewise.
6196 * misc/chroot.c: Likewise.
6197 * misc/fchflags.c: Likewise.
6198 * misc/fgetxattr.c: Likewise.
6199 * misc/flistxattr.c: Likewise.
6200 * misc/fremovexattr.c: Likewise.
6201 * misc/fsetxattr.c: Likewise.
6202 * misc/fsync.c: Likewise.
6203 * misc/ftruncate.c: Likewise.
6204 * misc/futimes.c: Likewise.
6205 * misc/futimesat.c: Likewise.
6206 * misc/getdomain.c: Likewise.
6207 * misc/getdtsz.c: Likewise.
6208 * misc/gethostid.c: Likewise.
6209 * misc/gethostname.c: Likewise.
6210 * misc/getloadavg.c: Likewise.
6211 * misc/getpagesize.c: Likewise.
6212 * misc/getsysstats.c: Likewise.
6213 * misc/getxattr.c: Likewise.
6214 * misc/gtty.c: Likewise.
6215 * misc/ioctl.c: Likewise.
6216 * misc/lgetxattr.c: Likewise.
6217 * misc/listxattr.c: Likewise.
6218 * misc/llistxattr.c: Likewise.
6219 * misc/lremovexattr.c: Likewise.
6220 * misc/lsetxattr.c: Likewise.
6221 * misc/lutimes.c: Likewise.
6222 * misc/madvise.c: Likewise.
6223 * misc/mincore.c: Likewise.
6224 * misc/mlock.c: Likewise.
6225 * misc/mlockall.c: Likewise.
6226 * misc/mmap.c: Likewise.
6227 * misc/mprotect.c: Likewise.
6228 * misc/msync.c: Likewise.
6229 * misc/munlock.c: Likewise.
6230 * misc/munlockall.c: Likewise.
6231 * misc/munmap.c: Likewise.
6232 * misc/preadv.c: Likewise.
6233 * misc/preadv64.c: Likewise.
6234 * misc/ptrace.c: Likewise.
6235 * misc/pwritev.c: Likewise.
6236 * misc/pwritev64.c: Likewise.
6237 * misc/readv.c: Likewise.
6238 * misc/reboot.c: Likewise.
6239 * misc/remap_file_pages.c: Likewise.
6240 * misc/removexattr.c: Likewise.
6241 * misc/revoke.c: Likewise.
6242 * misc/select.c: Likewise.
6243 * misc/setdomain.c: Likewise.
6244 * misc/setegid.c: Likewise.
6245 * misc/seteuid.c: Likewise.
6246 * misc/sethostid.c: Likewise.
6247 * misc/sethostname.c: Likewise.
6248 * misc/setregid.c: Likewise.
6249 * misc/setreuid.c: Likewise.
6250 * misc/setxattr.c: Likewise.
6251 * misc/sstk.c: Likewise.
6252 * misc/stty.c: Likewise.
6253 * misc/swapoff.c: Likewise.
6254 * misc/swapon.c: Likewise.
6255 * misc/sync.c: Likewise.
6256 * misc/syncfs.c: Likewise.
6257 * misc/syscall.c: Likewise.
6258 * misc/truncate.c: Likewise.
6259 * misc/ualarm.c: Likewise.
6260 * misc/usleep.c: Likewise.
6261 * misc/ustat.c: Likewise.
6262 * misc/utimes.c: Likewise.
6263 * misc/vhangup.c: Likewise.
6264 * misc/writev.c: Likewise.
6265 * posix/_exit.c: Likewise.
6266 * posix/alarm.c: Likewise.
6267 * posix/execve.c: Likewise.
6268 * posix/fexecve.c: Likewise.
6269 * posix/fork.c: Likewise.
6270 * posix/fpathconf.c: Likewise.
6271 * posix/getaddrinfo.c: Likewise.
6272 * posix/getegid.c: Likewise.
6273 * posix/geteuid.c: Likewise.
6274 * posix/getgid.c: Likewise.
6275 * posix/getgroups.c: Likewise.
6276 * posix/getlogin.c: Likewise.
6277 * posix/getlogin_r.c: Likewise.
6278 * posix/getpgid.c: Likewise.
6279 * posix/getpid.c: Likewise.
6280 * posix/getppid.c: Likewise.
6281 * posix/getresgid.c: Likewise.
6282 * posix/getresuid.c: Likewise.
6283 * posix/getsid.c: Likewise.
6284 * posix/getuid.c: Likewise.
6285 * posix/glob64.c: Likewise.
6286 * posix/nanosleep.c: Likewise.
6287 * posix/pathconf.c: Likewise.
6288 * posix/pause.c: Likewise.
6289 * posix/posix_madvise.c: Likewise.
6290 * posix/pread.c: Likewise.
6291 * posix/pread64.c: Likewise.
6292 * posix/pwrite.c: Likewise.
6293 * posix/pwrite64.c: Likewise.
6294 * posix/sched_getaffinity.c: Likewise.
6295 * posix/sched_getp.c: Likewise.
6296 * posix/sched_gets.c: Likewise.
6297 * posix/sched_primax.c: Likewise.
6298 * posix/sched_primin.c: Likewise.
6299 * posix/sched_rr_gi.c: Likewise.
6300 * posix/sched_setaffinity.c: Likewise.
6301 * posix/sched_setp.c: Likewise.
6302 * posix/sched_sets.c: Likewise.
6303 * posix/sched_yield.c: Likewise.
6304 * posix/setgid.c: Likewise.
6305 * posix/setlogin.c: Likewise.
6306 * posix/setpgid.c: Likewise.
6307 * posix/setresgid.c: Likewise.
6308 * posix/setresuid.c: Likewise.
6309 * posix/setsid.c: Likewise.
6310 * posix/setuid.c: Likewise.
6311 * posix/sleep.c: Likewise.
6312 * posix/spawni.c: Likewise.
6313 * posix/sysconf.c: Likewise.
6314 * posix/times.c: Likewise.
6315 * posix/wait.c: Likewise.
6316 * posix/wait3.c: Likewise.
6317 * posix/wait4.c: Likewise.
6318 * posix/waitpid.c: Likewise.
6319 * resolv/gai_sigqueue.c: Likewise.
6320 * resource/getpriority.c: Likewise.
6321 * resource/getrlimit.c: Likewise.
6322 * resource/getrusage.c: Likewise.
6323 * resource/nice.c: Likewise.
6324 * resource/setpriority.c: Likewise.
6325 * resource/setrlimit.c: Likewise.
6326 * resource/ulimit.c: Likewise.
6327 * rt/aio_cancel.c: Likewise.
6328 * rt/aio_fsync.c: Likewise.
6329 * rt/aio_read.c: Likewise.
6330 * rt/aio_sigqueue.c: Likewise.
6331 * rt/aio_suspend.c: Likewise.
6332 * rt/aio_write.c: Likewise.
6333 * rt/clock_getres.c: Likewise.
6334 * rt/clock_gettime.c: Likewise.
6335 * rt/clock_nanosleep.c: Likewise.
6336 * rt/clock_settime.c: Likewise.
6337 * rt/lio_listio.c: Likewise.
6338 * rt/mq_close.c: Likewise.
6339 * rt/mq_getattr.c: Likewise.
6340 * rt/mq_notify.c: Likewise.
6341 * rt/mq_open.c: Likewise.
6342 * rt/mq_receive.c: Likewise.
6343 * rt/mq_send.c: Likewise.
6344 * rt/mq_setattr.c: Likewise.
6345 * rt/mq_timedreceive.c: Likewise.
6346 * rt/mq_timedsend.c: Likewise.
6347 * rt/mq_unlink.c: Likewise.
6348 * rt/shm_open.c: Likewise.
6349 * rt/shm_unlink.c: Likewise.
6350 * rt/timer_create.c: Likewise.
6351 * rt/timer_delete.c: Likewise.
6352 * rt/timer_getoverr.c: Likewise.
6353 * rt/timer_gettime.c: Likewise.
6354 * rt/timer_settime.c: Likewise.
6355 * setjmp/__longjmp.c: Likewise.
6356 * setjmp/setjmp.c: Likewise.
6357 * signal/kill.c: Likewise.
6358 * signal/killpg.c: Likewise.
6359 * signal/raise.c: Likewise.
6360 * signal/sigaction.c: Likewise.
6361 * signal/sigaltstack.c: Likewise.
6362 * signal/sigblock.c: Likewise.
6363 * signal/sigignore.c: Likewise.
6364 * signal/sigintr.c: Likewise.
6365 * signal/signal.c: Likewise.
6366 * signal/sigpause.c: Likewise.
6367 * signal/sigpending.c: Likewise.
6368 * signal/sigqueue.c: Likewise.
6369 * signal/sigreturn.c: Likewise.
6370 * signal/sigset.c: Likewise.
6371 * signal/sigsetmask.c: Likewise.
6372 * signal/sigstack.c: Likewise.
6373 * signal/sigsuspend.c: Likewise.
6374 * signal/sigtimedwait.c: Likewise.
6375 * signal/sigvec.c: Likewise.
6376 * signal/sigwait.c: Likewise.
6377 * signal/sigwaitinfo.c: Likewise.
6378 * signal/sysv_signal.c: Likewise.
6379 * socket/accept.c: Likewise.
6380 * socket/accept4.c: Likewise.
6381 * socket/bind.c: Likewise.
6382 * socket/connect.c: Likewise.
6383 * socket/getpeername.c: Likewise.
6384 * socket/getsockname.c: Likewise.
6385 * socket/getsockopt.c: Likewise.
6386 * socket/isfdtype.c: Likewise.
6387 * socket/listen.c: Likewise.
6388 * socket/recv.c: Likewise.
6389 * socket/recvfrom.c: Likewise.
6390 * socket/recvmsg.c: Likewise.
6391 * socket/send.c: Likewise.
6392 * socket/sendmsg.c: Likewise.
6393 * socket/sendto.c: Likewise.
6394 * socket/setsockopt.c: Likewise.
6395 * socket/shutdown.c: Likewise.
6396 * socket/sockatmark.c: Likewise.
6397 * socket/socket.c: Likewise.
6398 * socket/socketpair.c: Likewise.
6399 * stdio-common/ctermid.c: Likewise.
6400 * stdio-common/cuserid.c: Likewise.
6401 * stdio-common/remove.c: Likewise.
6402 * stdio-common/rename.c: Likewise.
6403 * stdio-common/renameat.c: Likewise.
6404 * stdio-common/tempname.c: Likewise.
6405 * stdlib/getcontext.c: Likewise.
6406 * stdlib/makecontext.c: Likewise.
6407 * stdlib/setcontext.c: Likewise.
6408 * stdlib/swapcontext.c: Likewise.
6409 * stdlib/system.c: Likewise.
6410 * streams/fattach.c: Likewise.
6411 * streams/fdetach.c: Likewise.
6412 * streams/getmsg.c: Likewise.
6413 * streams/getpmsg.c: Likewise.
6414 * streams/putmsg.c: Likewise.
6415 * streams/putpmsg.c: Likewise.
6416 * sysdeps/unix/bsd/getpt.c: Likewise.
6417 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6418 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6419 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6421 Likewise.
6422 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6423 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6424 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6425 * sysvipc/msgctl.c: Likewise.
6426 * sysvipc/msgget.c: Likewise.
6427 * sysvipc/msgrcv.c: Likewise.
6428 * sysvipc/msgsnd.c: Likewise.
6429 * sysvipc/semctl.c: Likewise.
6430 * sysvipc/semget.c: Likewise.
6431 * sysvipc/semop.c: Likewise.
6432 * sysvipc/semtimedop.c: Likewise.
6433 * sysvipc/shmat.c: Likewise.
6434 * sysvipc/shmctl.c: Likewise.
6435 * sysvipc/shmdt.c: Likewise.
6436 * sysvipc/shmget.c: Likewise.
6437 * termios/tcdrain.c: Likewise.
6438 * termios/tcflow.c: Likewise.
6439 * termios/tcflush.c: Likewise.
6440 * termios/tcgetattr.c: Likewise.
6441 * termios/tcgetpgrp.c: Likewise.
6442 * termios/tcsendbrk.c: Likewise.
6443 * termios/tcsetattr.c: Likewise.
6444 * termios/tcsetpgrp.c: Likewise.
6445 * time/adjtime.c: Likewise.
6446 * time/clock.c: Likewise.
6447 * time/getitimer.c: Likewise.
6448 * time/gettimeofday.c: Likewise.
6449 * time/setitimer.c: Likewise.
6450 * time/settimeofday.c: Likewise.
6451 * time/stime.c: Likewise.
6452 * time/time.c: Likewise.
6453
64542012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6455
a20492cf
PT
6456 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6457 /usr/old/bin.
6458
72e182e3
PT
6459 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6460 instead of spaces.
6461 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6462
fbeafede
JM
64632012-11-03 Joseph Myers <joseph@codesourcery.com>
6464
5b5b04d6
JM
6465 [BZ #14796]
6466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6467 FE_TONEAREST before applying Dekker multiplication and Knuth
6468 addition. Clear inexact exceptions and check for exact zero
6469 results afterwards.
6470 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6471 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6472 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6473 * math/libm-test.inc (fma_test): Add more tests.
6474 (fma_test_towardzero): Likewise.
6475 (fma_test_downward): Likewise.
6476 (fma_test_upward): Likewise.
6477 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6478 function.
6479 (libc_fesetround): New macro.
6480 (libc_fesetroundf): Likewise.
6481 (libc_fesetroundl): Likewise.
6482 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6483 function.
6484 (libc_fesetround_387): Likewise.
6485 (libc_fesetroundf): New macro.
6486 (libc_fesetround): Likewise.
6487 (libc_fesetroundl): Likewise.
6488 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6489 function.
6490 (libc_fesetroundf): New macro.
6491 (libc_fesetround): Likewise.
6492 (libc_fesetroundl): Likewise.
6493 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6494 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6495 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6496 libm_hidden_ver.
6497 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6498 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6499 libm_hidden_def.
6500 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6501 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6502 libm_hidden_ver.
6503 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6504 libm_hidden_def.
6505
fbeafede
JM
6506 [BZ #3439]
6507 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6508 integer constant usable in #if and use that to give value to enum
6509 constant.
6510 (FE_DIVBYZERO): Likewise.
6511 (FE_UNDERFLOW): Likewise.
6512 (FE_OVERFLOW): Likewise.
6513 (FE_INVALID): Likewise.
6514 (FE_INVALID_SNAN): Likewise.
6515 (FE_INVALID_ISI): Likewise.
6516 (FE_INVALID_IDI): Likewise.
6517 (FE_INVALID_ZDZ): Likewise.
6518 (FE_INVALID_IMZ): Likewise.
6519 (FE_INVALID_COMPARE): Likewise.
6520 (FE_INVALID_SOFTWARE): Likewise.
6521 (FE_INVALID_SQRT): Likewise.
6522 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6523 (FE_TONEAREST): Likewise.
6524 (FE_TOWARDZERO): Likewise.
6525 (FE_UPWARD): Likewise.
6526 (FE_DOWNWARD): Likewise.
6527 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6528 (FE_DIVBYZERO): Likewise.
6529 (FE_OVERFLOW): Likewise.
6530 (FE_UNDERFLOW): Likewise.
6531 (FE_INEXACT): Likewise.
6532 (FE_TONEAREST): Likewise.
6533 (FE_DOWNWARD): Likewise.
6534 (FE_UPWARD): Likewise.
6535 (FE_TOWARDZERO): Likewise.
6536 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6537 (FE_UNDERFLOW): Likewise.
6538 (FE_OVERFLOW): Likewise.
6539 (FE_DIVBYZERO): Likewise.
6540 (FE_INVALID): Likewise.
6541 (FE_TONEAREST): Likewise.
6542 (FE_TOWARDZERO): Likewise.
6543 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6544 (FE_OVERFLOW): Likewise.
6545 (FE_UNDERFLOW): Likewise.
6546 (FE_DIVBYZERO): Likewise.
6547 (FE_INEXACT): Likewise.
6548 (FE_TONEAREST): Likewise.
6549 (FE_TOWARDZERO): Likewise.
6550 (FE_UPWARD): Likewise.
6551 (FE_DOWNWARD): Likewise.
6552 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6553 (FE_DIVBYZERO): Likewise.
6554 (FE_OVERFLOW): Likewise.
6555 (FE_UNDERFLOW): Likewise.
6556 (FE_INEXACT): Likewise.
6557 (FE_TONEAREST): Likewise.
6558 (FE_DOWNWARD): Likewise.
6559 (FE_UPWARD): Likewise.
6560 (FE_TOWARDZERO): Likewise.
6561
105ca950
CM
65622012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6563
6564 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6565
a542b389
AS
65662012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6567
6568 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6569 commands. Quote $PWD.
6570 (blacklist_exports): Don't use remove_newlines. Replace "declare
6571 -x" by "export".
6572 (remove_newlines): Remove.
6573
f62c8abc
L
65742012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6575
6576 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6577 * stdlib/stdlib.h (atof): Moved to ...
6578 * include/bits/stdlib-float.h: Here. New file.
6579 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6580 * stdlib/bits/stdlib-float.h: New file.
6581 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6582 -mno-sse -mno-mmx.
6583 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6584 <xmmintrin.h>.
6585
0155d5b2
JM
65862012-11-02 Joseph Myers <joseph@codesourcery.com>
6587
a68d0680
JM
6588 * conform/conformtest.pl (@headers): Add fenv.h.
6589 * conform/data/fenv.h-data: New file.
6590 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6591 include of <math/fenv.h>.
6592
caf7f573
JM
6593 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6594 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6595 && !UNIX98]. Enables tests for XOPEN2K8.
6596 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6597 POSIX2008]: Likewise.
6598
6c073ad6
JM
6599 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6600 (struct rusage): Do not expect type or its members.
6601
0155d5b2
JM
6602 [BZ #3439]
6603 * math/math.h (FP_NAN): Define macro to integer constant usable in
6604 #if and use that to give value to enum constant.
6605 (FP_INFINITE): Likewise.
6606 (FP_ZERO): Likewise.
6607 (FP_SUBNORMAL): Likewise.
6608 (FP_NORMAL): Likewise.
6609
b5dcacb4
AS
66102012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6611
6612 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6613 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6614 arguments.
6615
f7934be8
RM
66162012-11-02 Roland McGrath <roland@hack.frob.com>
6617
6618 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6619 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6620 autoconf-time if not.
6621 * configure.in: Remove AC_PREREQ.
6622
d7d08bde
TMQMF
66232012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6624
6625 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6626 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6627 of the internal implementation.
6628
dcdae19a
JM
66292012-11-02 Joseph Myers <joseph@codesourcery.com>
6630
6631 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6632 except include of <misc/sys/syslog.h>.
6633
d6cffd3e
AS
66342012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6635
6636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6637 function returns with a NULL context exit with zero.
6638
b3563932
TMQMF
66392012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6640
6641 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6642
b288a93d
L
66432012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6644
6645 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6646 (run_program_cmd): This.
6647 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6648 (tst_langinfo): New variable. Use it.
6649
a2421a68
SAS
66502012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6651
6652 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6653 floating point opcodes.
6654
6f796e1b
TS
66552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6656
7402596b
TS
6657 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6658 variable.
6659
d0d4f868
TS
6660 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6661
6f796e1b
TS
6662 * sysdeps/mach/hurd/powerpc: Remove directory.
6663 * sysdeps/mach/powerpc: Likewise.
6664
4da224a2
AS
66652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6666
6667 * scripts/check-local-headers.sh: Ignore c++ headers.
6668
341dd673
TS
66692012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6670
6671 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6672 __libc_cleanup_region_start argument.
6673
473611b2
JM
66742012-11-01 Joseph Myers <joseph@codesourcery.com>
6675
6676 [BZ #14784]
6677 [BZ #14785]
6678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6679 x * y using scaling, not as x * y + z.
6680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6681 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6682 * math/libm-test.inc (fma_test): Add more tests.
6683 (fma_test_towardzero): Likewise.
6684 (fma_test_downward): Likewise.
6685 (fma_test_upward): Likewise.
6686
4078da3d
TS
66872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6688
6689 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6690
903252aa
JM
66912012-10-31 Joseph Myers <joseph@codesourcery.com>
6692
6693 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6694 New variable.
6695
cbc818d0
TS
66962012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6697
6698 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6699
5a03cb1e
AS
67002012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6701
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6703 Fix sort order.
6704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6705 Likewise.
6706
90aff2ff
TMQMF
67072012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6708
6709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6710 Fix the order of the list for glibc 2.17.
6711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6712 Likewise.
6713
1818fcb7
AS
67142012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6715
6716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6717
ef82f4da
JM
67182012-10-31 Joseph Myers <joseph@codesourcery.com>
6719
16a0e2ec
JM
6720 [BZ #14610]
6721 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6722 for low part of x being zero before using __atanl (y).
6723 * math/libm-test.inc (atan2_test): Add another test.
6724
0eb69512
JM
6725 * manual/install.texi (Configuring and compiling): Document
6726 general use of test-wrapper and test-wrapper-env.
6727 * INSTALL: Regenerated.
6728
ef82f4da
JM
6729 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6730 (__fma): Do not extract and scale down low bits on after-rounding
6731 systems when result rounded to normal precision would have normal
6732 exponent.
6733 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6734 (__fmal): Do not extract and scale down low bits on after-rounding
6735 systems when result rounded to normal precision would have normal
6736 exponent.
6737 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6738 (__fmal): Do not extract and scale down low bits on after-rounding
6739 systems when result rounded to normal precision would have normal
6740 exponent.
6741 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6742 macro.
6743 (fma_test): Add more tests.
6744 (fma_test_towardzero): Likewise.
6745 (fma_test_downward): Likewise.
6746 (fma_test_upward): Likewise.
6747
954ef0d9
L
67482012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6749
6750 * sysdeps/i386/tininess.h: Renamed to ...
6751 * sysdeps/x86/tininess.h: This.
6752 * sysdeps/x86_64/tininess.h: Removed.
6753
df61ffb2
JM
67542012-10-30 Joseph Myers <joseph@codesourcery.com>
6755
6756 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6757 input. Use $(build-program-cmd).
6758 ($(objpfx)tst-array1-static.out): Likewise.
6759 ($(objpfx)tst-array2.out): Likewise.
6760 ($(objpfx)tst-array3.out): Likewise.
6761 ($(objpfx)tst-array4.out): Likewise.
6762 ($(objpfx)tst-array5.out): Likewise.
6763 ($(objpfx)tst-array5-static.out): Likewise.
6764
01767843
CM
67652012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6766
47cc1490
CM
6767 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6768 if defined.
6769
01767843
CM
6770 * nss/nsswitch.h (nss_interface_function): Provide new
6771 macro for use with NSS functions.
6772 * grp/initgroups.c: Use new macro.
6773 * nss/getXXbyYY.c: Likewise.
6774 * nss/getXXbyYY_r.c: Likewise.
6775 * nss/getXXent.c: Likewise.
6776 * nss/getXXent_r.c: Likewise.
6777 * sysdeps/posix/getaddrinfo.c: Likewise.
6778
8321aa97
AJ
67792012-10-30 Andreas Jaeger <aj@suse.de>
6780
6781 * po/ru.po: Update Russion translation from translation project.
6782
2a27fd6d
JM
67832012-10-30 Joseph Myers <joseph@codesourcery.com>
6784
8627a232
JM
6785 [BZ #14152]
6786 [BZ #14783]
6787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6788 result and shift together with sticky bit instead of replicating
6789 round-to-nearest rounding.
6790 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6791 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6792 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6793 missing underflow exceptions.
6794 (fma_test_towardzero): Add more tests.
6795 (fma_test_downward): Likewise.
6796 (fma_test_upward): Likewise.
6797
2a27fd6d
JM
6798 [BZ #14047]
6799 * sysdeps/generic/tininess.h: New file.
6800 * sysdeps/i386/tininess.h: Likewise.
6801 * sysdeps/sh/tininess.h: Likewise.
6802 * sysdeps/x86_64/tininess.h: Likewise.
6803 * stdlib/tst-strtod-underflow.c: Likewise.
6804 * stdlib/tst-tininess.c: Likewise.
6805 * stdlib/strtod_l.c: Include <tininess.h>.
6806 (round_and_return): Do not set errno for exact underflow cases.
6807 Force an underflow exception when setting errno for underflow.
6808 Determine underflow based on rounding to normal precision if
6809 TININESS_AFTER_ROUNDING.
6810 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6811 ERANGE for exact underflow cases.
6812 * stdlib/Makefile (tests): Add tst-tininess and
6813 tst-strtod-underflow.
6814 ($(objpfx)tst-tininess): Use $(link-libm).
6815 ($(objpfx)tst-strtod-underflow): Likewise.
6816
e7170363
AJ
68172012-10-30 Andreas Jaeger <aj@suse.de>
6818
e5088dc6
AJ
6819 [BZ#14767]
6820 * elf/Makefile (tests): Remove conditional for have-initfini-array
6821 since this is now always required and the variable does not exist
6822 anymore.
6823 (tests-static): Likewise.
6824 (modules-names): Likewise.
6825
e7170363 6826 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6827
6828 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6829 merged with constructor/destructor.
6830 (init_array): Likewise.
6831 * elf/tst-array2dep.c (fini_array): Likewise.
6832 (init_array): Likewise.
6833
60457d8a
MF
68342012-10-29 Mike Frysinger <vapier@gentoo.org>
6835
6836 * manual/message.texi: Delete @cartouche tags.
6837
8bece752
PT
68382012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6839
94ce799f
PT
6840 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6841 EOPNOTSUPP.
6842 * sysdeps/mach/hurd/fsync.c: Likewise.
6843
8bece752
PT
6844 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6845 [_POSIX_REALTIME_SIGNALS]: Change condition to
6846 [_POSIX_REALTIME_SIGNALS > 0].
6847
86ebe6b1
AJ
68482012-10-27 Andreas Jaeger <aj@suse.de>
6849
6850 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6851 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6852 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6853 [__WORDSIZE != 64]: Likewise.
6854
54399c08
L
68552012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6856
6857 * iconvdata/tst-table.sh: Remove ${SHELL}.
6858 * iconvdata/tst-tables.sh: Likewise.
6859
e2211bed
DM
68602012-10-25 David S. Miller <davem@davemloft.net>
6861
6862 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6863 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6864 of strtoull.
6865
f303f97c
DM
6866 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6867 ifunc-impl-list.c
6868 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6869 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6870 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6871 file.
6872
1e9d84cd
RM
68732012-10-25 Roland McGrath <roland@hack.frob.com>
6874
6875 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6876 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6877 __getdirentries.
6878
df381762
JM
68792012-10-25 Joseph Myers <joseph@codesourcery.com>
6880 Jim Blandy <jimb@codesourcery.com>
6881
6882 * scripts/cross-test-ssh.sh: New file.
6883 * manual/install.texi (Configuring and compiling): Document use of
6884 cross-test-ssh.sh.
6885 * INSTALL: Regenerated.
6886
bff64913
PT
68872012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6888
6889 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6890 EOPNOTSUPP.
6891
25fe8932
JM
68922012-10-25 Joseph Myers <joseph@codesourcery.com>
6893
6894 * Makeconfig (run-program-prefix): Fix comment.
6895
cc1290d0
JM
68962012-10-24 Joseph Myers <joseph@codesourcery.com>
6897 Jim Blandy <jimb@codesourcery.com>
6898
6899 * Makeconfig (test-wrapper): New variable,
6900 (test-wrapper-env): Likewise.
6901 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6902 (run-built-tests): Define to yes.
6903 (run-program-prefix): Use $(test-wrapper).
6904 (built-program-cmd): Likewise.
6905 * Rules (make-test-out): Use $(test-wrapper-env) and
6906 $(host-built-program-cmd).
6907 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6908 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6909 tst-pathopt.sh.
6910 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6911 $(test-wrapper-env) to tst-rtld-load-self.sh.
6912 ($(objpfx)order2.out): Use $(test-wrapper).
6913 ($(objpfx)tst-initorder.out): Likewise.
6914 ($(objpfx)tst-initorder2.out): Likewise.
6915 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6916 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6917 (test_wrapper_env): New variable. Use it to run ld.so.
6918 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6919 Use it to run ld.so.
6920 (test_wrapper_env): Likewise.
6921 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6922 $(test-wrapper) to run-iconv-test.sh.
6923 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6924 (ICONV): Use $test_wrapper.
6925 * posix/Makefile ($(objpfx)globtest.out): Pass
6926 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6927 globtest.sh, not $(run-program-prefix).
6928 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6929 (test_wrapper): Likewise.
6930 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6931 set together with run_via_rtld_prefix.
6932 (run_program_prefix): Define in terms of test_wrapper and
6933 run_via_rtld_prefix.
6934
6e6249d0
RM
69352012-10-24 Roland McGrath <roland@hack.frob.com>
6936
6937 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6938 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6939 Targets removed.
6940
6941 [BZ #14743]
6942 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6943 Declare __clock_getres, __clock_gettime, __clock_settime,
6944 __clock_nanosleep, and __clock_getcpuclockid.
6945 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6946 Remove librt_hidden_def (clock_gettime).
6947 * sysdeps/unix/clock_gettime.c: Likewise.
6948 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6949 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6950 * rt/clock_getres.c: Define __clock_getres as an alias.
6951 * sysdeps/posix/clock_getres.c: Likewise.
6952 * rt/clock_settime.c: Define __clock_settime as an alias.
6953 * sysdeps/unix/clock_settime.c: Likewise.
6954 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6955 * sysdeps/unix/clock_nanosleep.c: Likewise.
6956 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6957 * rt/clock-compat.c: New file.
6958 * rt/Makefile (librt-routines): Add clock-compat and move
6959 $(clock-routines) to ...
6960 (routines): ... here, new variable.
6961 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6962 Don't add get_clockfreq here.
6963 * rt/Versions (libc: GLIBC_2.17): New version set.
6964 Add clock_* symbols here.
6965 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6966 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6967 (GLIBC_2.17): Add clock_* symbols.
6968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6970 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6972 Likewise.
6973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6974 Likewise.
6975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6979 * NEWS: Mention the move.
6980
6981 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6982 Use __open, __read, __close rather than their public counterparts.
6983 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6984 (__get_clockfreq_via_cpuinfo): Likewise.
6985 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6986 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6987
6988 * config.h.in (HAVE_IFUNC): New #undef.
6989 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6990 was successful.
6991 * configure: Regenerated.
6992
0cae3f4b
MF
69932012-10-24 Mike Frysinger <vapier@gentoo.org>
6994
6995 * configure.in: Move READELF check to start of file.
6996 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6997 libc_cv_asm_gnu_indirect_function in the process.
6998 * configure: Regenerated.
6999
8175a253
MF
70002012-10-24 Mike Frysinger <vapier@gentoo.org>
7001
7002 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7003 send the output to /dev/null.
7004 (libc_cv_cc_with_libunwind): Likewise.
7005 (libc_cv_as_noexecstack): Likewise.
7006 * configure: Regenerate.
7007
0708a7d1
JM
70082012-10-24 Joseph Myers <joseph@codesourcery.com>
7009
10b40d85
JM
7010 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7011
0708a7d1
JM
7012 * posix/globtest.sh (TMPDIR): Do not set.
7013 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7014 (testout): Likewise.
7015
9fddec1a
AJ
70162012-10-24 Andreas Jaeger <aj@suse.de>
7017
3a8db22f
AJ
7018 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7019 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7020 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7021 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7022 posix_fadvise64, posix_fallocate64.
7023
9fddec1a
AJ
7024 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7025 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7026 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7027 Likewise.
7028 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7029 Likewise.
7030 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7031
7032 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7033 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7034 <bits/fcntl-linux.h>.
7035 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7036
7037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7038 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7039 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7040 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7041 [__WORDSIZE != 64]: Likewise.
7042
ebfd1bbd
JM
70432012-10-23 Joseph Myers <joseph@codesourcery.com>
7044
03ac099f
JM
7045 * Makeconfig (run-built-tests): New variable.
7046 * Rules [$(cross-compiling) = yes]: Change condition to
7047 [$(run-built-tests) = no].
7048 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7049 to [$(run-built-tests) = yes].
7050 * elf/Makefile [$(cross-compiling) = no]: Likewise
7051 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7052 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7053 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7054 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7055 * io/Makefile [$(cross-compiling) = no]: Likewise.
7056 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7057 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7058 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7059 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7060 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7061 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7062 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7063 * string/Makefile [$(cross-compiling) = no]: Likewise.
7064
ebfd1bbd
JM
7065 * posix/Makefile ($(objpfx)globtest.out): Pass
7066 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7067 $(rtld-installed-name).
7068 * posix/globtest.sh (elf_objpfx): Remove variable.
7069 (rtld_installed_name): Likewise.
7070 (library_path): Likewise.
7071 (run_program_prefix): New variable. Use for running globtest
7072 binary.
7073
166bca24
JB
70742012-10-23 Jim Blandy <jimb@codesourcery.com>
7075 Joseph Myers <joseph@codesourcery.com>
7076
7077 * Makeconfig (host-built-program-cmd): New variable.
7078 * elf/Makefile (tst-stackguard1-ARGS): Use
7079 $(host-built-program-cmd).
7080 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7081 (tst-spawn-ARGS): Likewise.
7082 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7083
88866099
JM
70842012-10-23 Joseph Myers <joseph@codesourcery.com>
7085 Jim Blandy <jimb@codesourcery.com>
7086
7087 * Makeconfig (run-via-rtld-prefix): New variable.
7088 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7089 (built-program-cmd): Likewise.
7090
b4b4c296
AJ
70912012-10-22 Andreas Jaeger <aj@suse.de>
7092
7093 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7094 __O_RSYNC if it exists, otherwise to O_SYNC.
7095
6fb54a22
JB
70962012-10-22 Jim Blandy <jimb@codesourcery.com>
7097 Joseph Myers <joseph@codesourcery.com>
7098
7099 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7100 /dev/null.
7101 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7102 from /dev/null
7103 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7104 /dev/null.
7105
481b90b9
AJ
71062012-10-22 Andreas Jaeger <aj@suse.de>
7107
2a0e2669
AJ
7108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7109 Define always.
7110 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7111
76e38f9a
AJ
7112 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7113 bits/fcntl-linux.h.
7114
7cd37b43
AJ
7115 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7116 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7117
481b90b9
AJ
7118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7119 to __O_LARGEFILE.
7120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7121 to __O_LARGEFILE.
7122
aba75984
JB
71232012-10-21 Jim Blandy <jimb@codesourcery.com>
7124 Joseph Myers <joseph@codesourcery.com>
7125
7126 * config.make.in (NM): New variable.
7127
88d4247f
AJ
71282012-10-21 Andreas Jaeger <aj@suse.de>
7129
7130 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7131 definitions and declarations that are provided by
7132 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7133
f2eed205
L
71342012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7135
7136 [BZ #14683]
7137 * elf/Makefile (tests-static): Add tst-leaks1-static.
7138 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7139 ($(objpfx)tst-leaks1-static): New rule.
7140 ($(objpfx)tst-leaks1-static-mem): Likewise.
7141 (tst-leaks1-static-ENV): New macro.
7142 * elf/dl-open.c (dl_open_worker): Check the main application
7143 only if SHARED is defined.
7144 * elf/tst-leaks1-static.c: New file.
7145
335e6931
AJ
71462012-10-20 Andreas Jaeger <aj@suse.de>
7147
7148 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7149 generic values for Linux.
7150 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7151 and declarations that are provided by <bits/fcntl-linux.h> and
7152 include <bits/fcntl-linux.h>.
7153 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7155
ac5c94d3
RM
71562012-10-20 Roland McGrath <roland@hack.frob.com>
7157
7158 * io/fcntl.h: Move include of <bits/types.h> to the top and
7159 include it unconditionally.
7160
de54b33a
L
71612012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7162
228cfb01
L
7163 * wcsmbs/Makefile (tests-ifunc): New variable.
7164 (tests): Add $(tests-ifunc).
7165 * wcsmbs/test-wcschr-ifunc.c: New file.
7166 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7167 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7168 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7169 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7170 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7171
69f07e5f
L
7172 * string/Makefile (tests-ifunc): New variable.
7173 (tests): Add $(tests-ifunc).
7174 * string/test-memccpy.c (TEST_NAME): New macro.
7175 * string/test-memchr.c (TEST_NAME): Likewise.
7176 * string/test-memcmp.c (TEST_NAME): Likewise.
7177 * string/test-memcpy.c (TEST_NAME): Likewise.
7178 * string/test-memmem.c (TEST_NAME): Likewise.
7179 * string/test-memmove.c (TEST_NAME): Likewise.
7180 * string/test-memset.c (TEST_NAME): Likewise.
7181 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7182 * string/test-stpcpy.c (TEST_NAME): Likewise.
7183 * string/test-stpncpy.c (TEST_NAME): Likewise.
7184 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7185 * string/test-strcasestr.c (TEST_NAME): Likewise.
7186 * string/test-strcat.c (TEST_NAME): Likewise.
7187 * string/test-strchr.c (TEST_NAME): Likewise.
7188 * string/test-strcmp.c(TEST_NAME): Likewise.
7189 * string/test-strcpy.c (TEST_NAME): Likewise.
7190 * string/test-strcspn.c (TEST_NAME): Likewise.
7191 * string/test-strlen.c (TEST_NAME): Likewise.
7192 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7193 * string/test-strncmp.c (TEST_NAME): Likewise.
7194 * string/test-strncpy.c (TEST_NAME): Likewise.
7195 * string/test-strnlen.c (TEST_NAME): Likewise.
7196 * string/test-strpbrk.c (TEST_NAME): Likewise.
7197 * string/test-strrchr.c (TEST_NAME): Likewise.
7198 * string/test-strspn.c (TEST_NAME): Likewise.
7199 * string/test-strstr.c (TEST_NAME): Likewise.
7200 * string/test-bcopy-ifunc.c: New file.
7201 * string/test-bzero-ifunc.c: Likewise.
7202 * string/test-memccpy-ifunc.c: Likewise.
7203 * string/test-memchr-ifunc.c: Likewise.
7204 * string/test-memcmp-ifunc.c: Likewise.
7205 * string/test-memcpy-ifunc.c: Likewise.
7206 * string/test-memmem-ifunc.c: Likewise.
7207 * string/test-memmove-ifunc.c: Likewise.
7208 * string/test-mempcpy-ifunc.c: Likewise.
7209 * string/test-memset-ifunc.c: Likewise.
7210 * string/test-rawmemchr-ifunc.c: Likewise.
7211 * string/test-stpcpy-ifunc.c: Likewise.
7212 * string/test-stpncpy-ifunc.c: Likewise.
7213 * string/test-strcasecmp-ifunc.c: Likewise.
7214 * string/test-strcasestr-ifunc.c: Likewise.
7215 * string/test-strcat-ifunc.c: Likewise.
7216 * string/test-strchr-ifunc.c: Likewise.
7217 * string/test-strchrnul-ifunc.c: Likewise.
7218 * string/test-strcmp-ifunc.c: Likewise.
7219 * string/test-strcpy-ifunc.c: Likewise.
7220 * string/test-strcspn-ifunc.c: Likewise.
7221 * string/test-strlen-ifunc.c: Likewise.
7222 * string/test-strncasecmp-ifunc.c: Likewise.
7223 * string/test-strncat-ifunc.c: Likewise.
7224 * string/test-strncmp-ifunc.c: Likewise.
7225 * string/test-strncpy-ifunc.c: Likewise.
7226 * string/test-strnlen-ifunc.c: Likewise.
7227 * string/test-strpbrk-ifunc.c: Likewise.
7228 * string/test-strrchr-ifunc.c: Likewise.
7229 * string/test-strspn-ifunc.c: Likewise.
7230 * string/test-strstr-ifunc.c: Likewise.
7231
de54b33a
L
7232 * debug/Makefile (tests-ifunc): New variable.
7233 (tests): Add $(tests-ifunc).
7234 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7235 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7236 * debug/test-stpcpy_chk-ifunc.c: New file.
7237 * debug/test-strcpy_chk-ifunc.c: Likewise.
7238
88481c16
SP
72392012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7240
7241 [BZ #13601]
7242 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7243 header is not read in.
7244
135948bd
JM
72452012-10-19 Joseph Myers <joseph@codesourcery.com>
7246
89f1c388
JM
7247 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7248 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7249 directly. Pass built executable to script as
7250 $(built-program-cmd).
7251 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7252 $testprogram without using LD_LIBRARY_PATH and $ldso.
7253
e40a0d21
JM
7254 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7255 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7256 $(rtld-installed-name).
7257 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7258 (rtld_installed_name): Likewise.
7259 (library_path): Likewise.
7260 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7261 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7262 $(run-program-prefix) to tst-tables.sh.
7263 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7264 it to run tst-table-from and tst-table-to.
7265 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7266 Pass it to tst-table.sh.
7267 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7268 $(run-program-prefix) to tst-gettext.sh.
7269 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7270 tst-translit.sh.
7271 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7272 tst-gettext2.sh.
7273 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7274 to run tst-gettext.
7275 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7276 to run tst-gettext2.
7277 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7278 to run tst-translit.
7279 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7280 $(run-program-prefix) to tst-mtrace.sh.
7281 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7282 to run tst-mtrace.
7283 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7284 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7285 $(rtld-installed-name).
7286 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7287 (rtld_installed_name): Likewise.
7288 (run_program_prefix): New variable. Use it to run wordexp-test.
7289
728e272a
JM
7290 * Makeconfig (ARCH): Remove all definitions.
7291 (machine): Likewise.
7292 [ARCH]: Remove conditional code.
7293 [!objdir]: Give error.
7294 [!objdir] (objpfx): Remove.
7295 [!objdir] (common-objpfx): Likewise.
7296 [!objdir] (common-objdir): Likewise.
7297 * configure.in (config_makefile): Remove. Hardcode Makefile in
7298 AC_CONFIG_FILES call.
7299 * configure: Regenerated.
7300
d528cdcf
JM
7301 [BZ #13888]
7302 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7303 or TMPDIR.
7304 (testout): Likewise.
7305
135948bd
JM
7306 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7307 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7308 $(rtld-installed-name).
7309 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7310 (rtld_installed_name): Likwise.
7311 (runit): Remove function.
7312 (run_getconf): New variable, Use it for running getconf binary.
7313
38c78296
L
73142012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7315
7316 [BZ #14716]
7317 * string/test-memmem.c (check_result): New function.
7318 (do_one_test): Use it.
7319 (check1): New function.
7320 (test_main): Use it.
7321
d077f65f
MT
73222012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7323
7324 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7325
ced52c71
JM
73262012-10-18 Joseph Myers <joseph@codesourcery.com>
7327
7328 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7329 (_G_LSEEK64): Likewise.
7330 (_G_MMAP64): Likewise.
7331 (_G_FSTAT64): Likewise.
7332 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7333 (_G_LSEEK64): Likewise.
7334 (_G_MMAP64): Likewise.
7335 (_G_FSTAT64): Likewise.
7336 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7337 unconditional. Call __mmap64 directly.
7338 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7339 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7340 __lseek64 directly.
7341 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7342 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7343 __mmap64 directly.
7344 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7345 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7346 __lseek64 directly.
7347 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7348 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7349 __lseek64 directly.
7350 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7351 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7352 __lseek64 directly.
7353 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7354 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7355 __fxstat64 directly.
7356 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7357 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7358 unconditional.
7359 (freopen64) [!_G_OPEN64]: Remove conditional code.
7360 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7361 unconditional.
7362 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7363 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7364 unconditional.
7365 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7366 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7367 unconditional.
7368 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7369 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7370 unconditional.
7371 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7372 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7373 unconditional.
7374 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7375 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7376 unconditional.
7377 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7378 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7379 unconditional.
7380 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7381
b741de23
SP
73822012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7383
7384 [BZ #12140]
7385 * manual/memory.texi (Malloc Tunable Parameters): Add note
7386 about free list pointers overwriting some perturb bytes.
7387 Wording suggested by Roland McGrath.
7388
f9b9d9c9
JM
73892012-10-17 Joseph Myers <joseph@codesourcery.com>
7390
7391 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7392 (lgamma_test): Likewise.
7393 (tgamma_test): Likewise.
7394
172a631a
FW
73952012-10-16 Florian Weimer <fweimer@redhat.com>
7396
7397 [BZ #14700]
7398 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7399 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7400
e9f37252
MK
74012012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7402
7403 * NEWS: Mention BZ #14716.
7404 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7405 when removing AVAILABLE1_USES_J macro.
7406
d394eb74
L
74072012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7408
7409 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7410 (__bswap_64): __uint64_t for unsigned 64-bit int.
7411
ca38dc17
AS
74122012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7413
7414 * include/string.h (memmem): Declare libc hidden alias.
7415 * string/memmem.c (memmem): Define libc hidden alias.
7416 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7417 __read, __close instead of open, read, close.
7418
9a387d1f
L
74192012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7420
ac49ecaf
L
7421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7422 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7423 global and hidden.
7424 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7425 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7426 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7427 Likewise.
7428 (__rawmemchr_sse2): Likewise.
7429 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7430 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7431 (__strchr_sse2): Likewise.
7432 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7433 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7434 (__strcasecmp_sse2): Likewise.
7435 (__strncasecmp_sse2): Likewise.
7436 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7437 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7438 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7439 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7440 (__strrchr_sse2): Likewise.
7441 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7442 ifunc-impl-list.c.
7443 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7444 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7445 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7446 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7447 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7448 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7449 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7450 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7451 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7452 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7453 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7454 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7455 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7456 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7457 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7458 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7459 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7460 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7461 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7462 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7463 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7464 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7465 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7466 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7467 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7468 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7469 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7470 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7471 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7472 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7473
b090e8ea
L
7474 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7475 global and hidden.
7476 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7477 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7478 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7479 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7480 Likewise.
7481 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7482 Likewise.
7483 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7484 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7485 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7486 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7487 ifunc-impl-list.c.
7488 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7489 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7490 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7491 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7492 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7493 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7494 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7495 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7496 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7497 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7498 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7499 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7500 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7501 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7502 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7503 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7504 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7505 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7506 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7507 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7508 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7509 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7510 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7511 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7512 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7513 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7514 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7515 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7516 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7517 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7518 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7519 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7520 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7521 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7522 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7523 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7524 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7525 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7526 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7527 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7528 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7529
11dd4af6
L
7530 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7531 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7532 * include/ifunc-impl-list.h: New file.
7533 * misc/ifunc-impl-list.c: Likewise.
7534 * misc/Makefile (routines): Add ifunc-impl-list.
7535 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7536 * string/test-string.h: Include <ifunc-impl-list.h>.
7537 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7538 impl_array): New variables.
7539 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7540 are defined.
7541 (test_init): Call __libc_ifunc_impl_list to initialize
7542 func_list if TEST_IFUNC and TEST_NAME are defined.
7543
9a387d1f
L
7544 * string/Makefile (strop-tests): Add bcopy and bzero.
7545 * string/test-bcopy.c: New file.
7546 * string/test-bzero.c: Likewise.
7547 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7548 defined.
7549 * string/test-memset.c: Support bzero test if TEST_BZERO is
7550 defined.
7551 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7552 __libc_memmove.
7553 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7554 __libc_memset.
7555 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7556 of memset.
7557
472371b9
JM
75582012-10-10 Joseph Myers <joseph@codesourcery.com>
7559
1e4a9536
JM
7560 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7561 * configure: Regenerated.
7562
d173d12e
JM
7563 * Makeconfig (+link-static-before-libc): Don't include
7564 $(link-static-libc).
7565
472371b9
JM
7566 * libio/libio.h (_IO_pos_t): Remove.
7567
89a3ad0b
AO
75682012-10-10 Alexandre Oliva <aoliva@redhat.com>
7569
7570 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7571 McGrath.
7572
e7451425
AO
75732012-10-10 Alexandre Oliva <aoliva@redhat.com>
7574
7575 * crypt/crypt-entry.c: Include fips-private.h.
7576 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7577 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7578 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7579 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7580
4ba74a35
AO
75812012-10-10 Alexandre Oliva <aoliva@redhat.com>
7582
7583 * crypt/crypt-private.h: Include stdbool.h.
7584 (_ufc_setup_salt_r): Return bool.
7585 * crypt/crypt-entry.c: Include errno.h.
7586 (__crypt_r): Return NULL with EINVAL for bad salt.
7587 * crypt/crypt_util.c (bad_for_salt): New.
7588 (_ufc_setup_salt_r): Check that salt is long enough and within
7589 the specified alphabet.
7590 * crypt/badsalttest.c: New file.
7591 * crypt/Makefile (tests): Add it.
7592 ($(objpfx)badsalttest): New.
7593
f96f1242
MK
75942012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7595
7596 * NEWS: Add entry for BZ #14602.
7597
0e8e0c1c
JM
75982012-10-09 Joseph Myers <joseph@codesourcery.com>
7599
7600 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7601 type-generic.
7602 * math/libm-test.inc: Update comment listing what functions and
7603 macros are tested.
7604 (isgreater_test): New function.
7605 (isgreaterequal_test): Likewise.
7606 (isless_test): Likewise.
7607 (islessequal_test): Likewise.
7608 (islessgreater_test): Likewise.
7609 (isunordered_test): Likewise.
7610 (main): Call the new functions.
7611
273edc5e
RM
76122012-10-09 Roland McGrath <roland@hack.frob.com>
7613
b8493de0
RM
7614 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7615 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7616 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7617 * sysdeps/i386/configure: Regenerated.
7618 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7619 * sysdeps/mach/configure: Regenerated.
7620 * sysdeps/mach/hurd/configure: Regenerated.
7621 * sysdeps/powerpc/configure: Regenerated.
7622 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7623 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7624 * sysdeps/s390/s390-32/configure: Regenerated.
7625 * sysdeps/s390/s390-64/configure: Regenerated.
7626 * sysdeps/sh/configure: Regenerated.
7627 * sysdeps/sparc/configure: Regenerated.
7628 * sysdeps/unix/sysv/linux/configure: Regenerated.
7629 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7630 * sysdeps/x86_64/configure: Regenerated.
7631
273edc5e
RM
7632 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7633 defined. Don't check if MAP is NULL.
7634
c8450f70
JM
76352012-10-09 Joseph Myers <joseph@codesourcery.com>
7636
7637 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7638 (_G_stat64): Likewise.
7639 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7640 (_G_stat64): Likewise.
7641 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7642 instead of struct _G_stat64.
7643 * libio/fileops.c (mmap_remap_check): Likewise.
7644 (decide_maybe_mmap): Likewise.
7645 (_IO_new_file_seekoff): Likewise.
7646 (_IO_file_stat): Likewise.
7647 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7648 _G_off64_t.
7649 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7650 instead of struct _G_stat64.
7651 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7652
57e605ba
MK
76532012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7654
7655 [BZ #14602]
7656 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7657 Replace with ...
7658 (CHECK_EOL): New macro.
7659 (two_way_short_needle): Check beginning of haystack for EOL. Use
7660 CHECK_EOL.
7661 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7662 Replace with CHECK_EOL.
7663 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7664 Replace with CHECK_EOL.
7665
ef1bb361
JM
76662012-10-08 Joseph Myers <joseph@codesourcery.com>
7667
7668 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7669 type-generic.
7670 * math/libm-test.inc: Update comment listing what functions and
7671 macros are tested.
7672 (finite_test): New function.
7673 (isinf_test): Likewise.
7674 (isnan_test): Likewise.
7675 (fpclassify_test): Test subnormal input.
7676 (isfinite_test): Likewise.
7677 (isnormal_test): Likewise.
7678 (main): Call the new functions.
7679
55f11534
JN
76802012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7681
7682 [BZ #14660]
7683 * Makerules (%.dynsym): Force C locale when running
7684 $(OBJDUMP) --dynamic-syms.
7685
1ab29350
AS
76862012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7687
7688 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7689 <stdint.h>.
7690
f1ecb7ef
DM
76912012-10-06 David S. Miller <davem@davemloft.net>
7692
7693 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7694 upper 32-bits of the length value in %o2 since we use branch-on-register
7695 tests which consider the entire 64-bit register.
7696
5d41d91a
L
76972012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7698
7699 * string/test-strstr.c (check2): Add a test for page boundary.
7700
3baddb72
DM
77012012-10-05 David S. Miller <davem@davemloft.net>
7702
7703 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7704 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7705 file.
7706 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7707 sysdep_routines.
7708 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7709 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7710 and bzero when HWCAP_SPARC_CRYPTO is present.
7711
9cee5585
L
77122012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7713
d7e0dab9
L
7714 [BZ #14602]
7715 * string/test-strstr.c (check2): New function.
7716 (test_main): Call check2.
7717
03759f47
L
7718 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7719 and bug-strchr1.
7720 * string/bug-strcasestr1.c (do_test): Moved to ...
7721 * string/test-strcasestr.c (check1): Here. New function.
7722 (do_one_test): Break out result checking code into ...
7723 (check_result): This. New function.
7724 (do_one_test): Call check_result.
7725 (test_main): Call check1.
7726 * string/bug-strchr1.c (do_test): Moved to ...
7727 * string/test-strchr.c (check1): Here. New function.
7728 (do_one_test): Break out result checking code into ...
7729 (check_result): This. New function.
7730 (do_one_test): Call check_result.
7731 (test_main): Call check1.
7732 * string/bug-strstr1.c (main): Moved to ...
046f153e 7733 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7734 (do_one_test): Break out result checking code into ...
7735 (check_result): This. New function.
7736 (do_one_test): Call check_result.
7737 (test_main): Call check1.
7738 * string/bug-strcasestr1.c: Removed.
7739 * string/bug-strchr1.c: Likewise.
7740 * string/bug-strstr1.c: Likewise.
7741
53cea63e
L
7742 * elf/Makefile (dl-routines): Add hwcaps.
7743 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7744 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7745 (_dl_important_hwcaps): Moved to ...
7746 * elf/dl-hwcaps.c: Here. New file.
7747 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7748
9cee5585 7749 [BZ #14557]
bb859b06
L
7750 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7751 if IS_IN_rtld isn't defined.
7752
9cee5585
L
7753 * elf/dl-support.c (_dl_sysinfo_map): New.
7754 Include "get-dynamic-info.h" and "setup-vdso.h".
7755 (_dl_non_dynamic_init): Call setup_vdso.
7756 * elf/dynamic-link.h: Don't include <assert.h>.
7757 (elf_get_dynamic_info): Moved to ...
7758 * elf/get-dynamic-info.h: Here. New file.
7759 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7760 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7761 * elf/setup-vdso.h: Here. New file.
7762 * elf/rtld.c: Include "setup-vdso.h".
7763 (dl_main): Call setup_vdso.
7764
23c31b76
JM
77652012-10-05 Joseph Myers <joseph@codesourcery.com>
7766
28234b07
JM
7767 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7768 creal in comment listing functions tested. List finite, isinf,
7769 isnan, isless, islessequal, isgreater, isgreaterequal,
7770 islessgreater, isunordered, lgamma_r and pow10 as functions and
7771 macros not tested. Mention which functions not tested are aliases
7772 for other functions. Fix typo. Note that signs of NaNs are not
7773 tested.
7774
23c31b76
JM
7775 * scripts/config.guess: Update from config.git.
7776 * scripts/config.sub: Likewise.
7777
9043e228
RM
77782012-10-04 Roland McGrath <roland@hack.frob.com>
7779
7780 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7781 * misc/madvise.c (madvise): Renamed to __madvise.
7782 Make madvise a weak alias.
7783 * include/sys/mman.h: Declare __madvise.
7784 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7785 * sysdeps/unix/syscalls.list
7786 (madvise): Make __madvise the strong name, and madvise a weak alias.
7787 * sysdeps/unix/sysv/linux/syscalls.list
7788 (madvise, mmap): Remove redundant entries.
7789 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7790 * malloc/malloc.c (mtrim): Likewise.
7791 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7792
f57f8055
RM
77932012-10-03 Roland McGrath <roland@hack.frob.com>
7794
7795 * sysdeps/mach/hurd/dl-cache.c: File removed.
7796 * config.h.in (USE_LDCONFIG): New #undef.
7797 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7798 * configure: Regenerated.
7799 * elf/Makefile (dl-routines): Add dl-cache only under
7800 [$(use-ldconfig) = yes].
7801 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7802 cache on [USE_LDCONFIG].
7803 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7804 [USE_LDCONFIG].
7805 * elf/rtld.c (dl_main): Likewise.
7806
5bb0c10a
PT
78072012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7808
7809 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7810 _SC_LEVEL4_CACHE_LINESIZE.
7811
010188c6
RM
78122012-10-03 Roland McGrath <roland@hack.frob.com>
7813
7814 * sysdeps/unix/bsd/confstr.h: File removed.
7815
b6c5ec07
AO
78162012-10-02 Alexandre Oliva <aoliva@redhat.com>
7817
7818 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7819 sys/sdt-config.h.
7820
408223d4
RM
78212012-10-02 Roland McGrath <roland@hack.frob.com>
7822
7823 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7824 Make 'mapoff' field ElfW(Off) rather than off_t.
7825
bb9510dc
DL
78262012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7827
fc997c6e
DL
7828 * nscd/Makefile: Remove nscd-cflags and all its users.
7829 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7830 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7831
bb9510dc
DL
7832 [BZ #10631]
7833 * malloc.c (malloc_printerr): Clarify error message.
7834
05699367
L
78352012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7836
7837 [BZ #14648]
7838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7839 Set bit_FMA_Usable if FMA is supported.
7840 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7841 macro.
7842 (bit_FMA4_Usable): Updated.
7843 (index_FMA_Usable): New macro.
7844 (CPUID_FMA): Likewise
7845 (HAS_FMA): Defined with bit_FMA_Usable.
7846
51367701
RM
78472012-10-01 Roland McGrath <roland@hack.frob.com>
7848
7849 * bits/types.h (__swblk_t): Type removed.
7850 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7851 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7853 (__SWBLK_T_TYPE): Likewise.
7854 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7855 (__SWBLK_T_TYPE): Likewise.
7856 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7857 (__SWBLK_T_TYPE): Likewise.
7858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7859 (__SWBLK_T_TYPE): Likewise.
7860
4d57bf63 78612012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7862 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7863
7864 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7865 (xdr_mapname): Use YPMAXMAP as maxsize.
7866 (xdr_peername): Use YPMAXPEER as maxsize.
7867 (xdr_keydat): Use YPAXRECORD as maxsize.
7868 (xdr_valdat): Use YPMAXRECORD as maxsize.
7869
93c65d43
RM
78702012-10-01 Roland McGrath <roland@hack.frob.com>
7871
497a03d6
RM
7872 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7873
93c65d43
RM
7874 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7875 * csu/init-first.c: ... here.
7876 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7877 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7878 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7879 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7880 * sysdeps/i386/init-first.c: File removed.
7881 * sysdeps/sh/init-first.c: File removed.
7882
bec749fd
JM
78832012-10-01 Joseph Myers <joseph@codesourcery.com>
7884
7885 [BZ #14645]
7886 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7887 if x * y might underflow to zero and z is zero.
7888 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7889 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7890 * math/libm-test.inc (min_subnorm_value): New variable.
7891 (fma_test): Add more tests.
7892 (fma_test_towardzero): Likewise.
7893 (fma_test_downward): Likewise
7894 (fma_test_upward): Likewise.
7895 (initialize): Set min_subnorm_value.
7896
8ec5b013
JM
78972012-09-29 Joseph Myers <joseph@codesourcery.com>
7898
7899 [BZ #14638]
7900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7901 0 + 0.
7902 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7903 mode for addition resulting in exact zero.
7904 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7905 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7906 exact 0 + 0.
7907 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7908 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7909 * math/libm-test.inc (fma_test): Add more tests.
7910 (fma_test_towardzero): New function.
7911 (fma_test_downward): Likewise.
7912 (fma_test_upward): Likewise.
7913 (main): Call the new functions.
7914
b1fa802e
DM
79152012-09-28 David S. Miller <davem@davemloft.net>
7916
7917 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7918
d3b9fd9e
RM
79192012-09-28 Roland McGrath <roland@hack.frob.com>
7920
ea4d37b3
RM
7921 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7922 instead of SIGALRM.
7923
ac51c949
RM
7924 * sysdeps/gnu/_G_config.h: Moved to ...
7925 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7926 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7927 * sysdeps/generic/_G_config.h: ... here.
7928
28c195f7
RM
7929 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7930
848917f9
RM
7931 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7932
6bacf05b
RM
7933 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7934 Conditionalize target on [libnss_test1.so-version].
7935
91363dbb
RM
7936 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7937
cc87f7d8
RM
7938 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7939 (elfobjdir): Move out of conditionals.
7940
b1c608fe
RM
7941 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7942 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7943 (__nss_lookup_function): Conditionalize label remove_from_tree on
7944 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 7945
1d9a6d96
DM
79462012-09-28 David S. Miller <davem@davemloft.net>
7947
7948 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7949 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7950 file.
7951 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7952 sysdep_routines.
7953 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7954 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7955 when HWCAP_SPARC_CRYPTO is present.
7956
72581615
PT
79572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7958
7959 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7960
715a900c
JL
79612012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7962
7963 [BZ #6530]
7964 * stdio-common/vfprintf.c (process_string_arg): Revert
7965 2000-07-22 change.
7966
79672011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7968
7969 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7970 for testcase.
7971 * stdio-common/tst-sprintf.c: Include <locale.h>
7972 (main): Test sprintf's handling of incomplete multibyte
7973 characters.
7974
9bac1d86
L
79752012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7976
7977 * elf/dl-runtime.c (VERSYMIDX): Removed.
7978 * elf/dl-version.c (VERSYMIDX): Likewise.
7979 * elf/do-rel.h (VERSYMIDX): Likewise.
7980 (VALIDX): Likewise.
7981 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7982 * elf/rtld.c (VALIDX): Likewise.
7983 (ADDRIDX): Likewise.
9bac1d86
L
7984 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7985 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7986 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
7987 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7988 (VALIDX): Likewise.
7989 (ADDRIDX): Likewise.
9bac1d86 7990
b31606c0
PT
79912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7992
7993 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7994
11541177
JL
79952012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7996
7997 [BZ #11438]
7998 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7999 to global scope.
8000 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8001 addresses are in the same scope as 192.0.2/24.
8002 * posix/gai.conf: Document new scope table defaults.
8003
adb26fae
SP
80042012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8005
8006 [BZ #5298]
8007 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8008 for ftell. Compute offsets from write pointers instead.
8009 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8010
4573c6b0
SP
80112012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8012
8013 [BZ #14543]
8014 * libio/Makefile (tests): New test case tst-fseek.
8015 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8016 combination works in wide mode.
8017 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8018 state when the external buffer state changes.
8019
aa9bbfe6
DM
80202012-09-27 David S. Miller <davem@davemloft.net>
8021
8022 [BZ #14376]
8023 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8024 pass reloc->r_addend in as the 'high' argument to
8025 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8026
784421e7
DM
8027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8028
c39bc8b8
PT
80292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8030
8031 * rt/tst-aio2.c: Include <pthread.h>.
8032 * rt/tst-aio3.c: Likewise.
8033
1ccc2399
SE
80342012-09-27 Steve Ellcey <sellcey@mips.com>
8035
8036 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8037
31ed4153
L
80382012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8039
25f5f885
L
8040 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8041 contents on [SHARED].
31ed4153 8042
b7bfe116
MP
80432012-09-26 Marek Polacek <polacek@redhat.com>
8044
8045 [BZ #14530]
8046 [BZ #13741]
8047 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8048 for C++ and GCC <4.3 as well as for non GCC compilers.
8049
43c4edba
MT
80502012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8051
8052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8053
6a1bf82f
RM
80542012-09-25 Roland McGrath <roland@hack.frob.com>
8055
8056 * Makefile.in (all, install): Declare with .PHONY.
8057 Reported by Michael Hope <michael.hope@linaro.org>.
8058
8ad11b9a
TMQMF
80592012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8060
8061 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8062 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8063 system header.
8064 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8065 Likewise.
8066 (sydep_routines): Add the new and the internal functions.
8067 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8068 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8070 (GLIBC_2.17): Add the new function.
8071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8072 (GLIBC_2.17): Likewise.
8073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8074 (GLIBC_2.17): Likewise.
8075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8076 (GLIBC_2.17): Likewise.
8077 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8078
7e2fca8d
AM
80792012-09-25 Alan Modra <amodra@gmail.com>
8080
8081 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8082 Add release barrier before setting once_control to say
8083 initialisation is done. Add hints on lwarx. Use macro in
8084 place of isync.
8085 (clear_once_control): Add release barrier.
8086
b87c4b24
JM
80872012-09-25 Joseph Myers <joseph@codesourcery.com>
8088
d032e0d2
JM
8089 [BZ #13629]
8090 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8091 specially.
8092 * math/s_clog10.c (__clog10): Likewise.
8093 * math/s_clog10f.c (__clog10f): Likewise.
8094 * math/s_clog10l.c (__clog10l): Likewise.
8095 * math/s_clogf.c (__clogf): Likewise.
8096 * math/s_clogl.c (__clogl): Likewise.
8097 * math/Makefile (libm-calls): Add x2y2m1.
8098 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8099 (__x2y2m1): Likewise.
8100 (__x2y2m1l): Likewise.
8101 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8102 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8103 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8104 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8105 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8106 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8107 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8108 * sysdeps/i386/fpu/libm-test-ulps: Update.
8109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8110
b87c4b24
JM
8111 [BZ #14621]
8112 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8113 int as type of variable DEPTH.
8114 (glob): Use size_t instead of int as type of variables NEWCOUNT
8115 and OLD_PATHC.
8116
6d3bf199
LD
81172012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8118
22bf5c17
LD
8119 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8120 Add s_sincosf-sse2.
8121 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8122 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8123 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8124 macros for using routine as __sincosf_ia32.
8125 Use macro for function declaration and weak_alias.
8126 * sysdeps/i386/fpu/libm-test-ulps: Update.
8127
8128 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8129 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8130
8131 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8132 subnormal argument.
8133 * math/s_cexpf.c (__cexpf): Likewise.
8134 * math/s_csinf.c (__csinf): Likewise.
8135 * math/s_csinhf.c (__csinhf): Likewise.
8136 * math/s_ctanf.c (__ctanf): Likewise.
8137 * math/s_ctanhf.c (__ctanhf): Likewise.
8138 * math/s_ccosh.c (__ccoshf): Likewise.
8139 * math/s_cexp.c (__cexpl): Likewise.
8140 * math/s_csin.c (__csin): Likewise.
8141 * math/s_csinh.c (__csinh): Likewise.
8142 * math/s_ctan.c (__ctan): Likewise.
8143 * math/s_ctanh.c (ctanh): Likewise.
8144 * math/s_ccoshl.c (__ccoshl): Likewise.
8145 * math/s_cexpl.c (__cexpl): Likewise.
8146 * math/s_csinl.c (__csinl): Likewise.
8147 * math/s_csinhl.c (__csinhl): Likewise.
8148 * math/s_ctanl.c (__ctanl): Likewise.
8149 * math/s_ctanhl.c (__ctanhl): Likewise.
8150
203e5603
JM
81512012-09-25 Joseph Myers <joseph@codesourcery.com>
8152
8153 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8154 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8155 (_IO_off_t): Define to __off_t, not _G_off_t.
8156 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8157 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8158 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8159 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8160 type of __dummy and __dummy2 fields.
8161 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8162 (_G_ssize_t): Likewise.
8163 (_G_off_t): Likewise.
8164 (_G_pid_t): Likewise.
8165 (_G_uid_t): Likewise.
8166 (_G_wchar_t): Likewise.
8167 (_G_wint_t): Likewise.
8168 * sysdeps/gnu/_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/mach/hurd/_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
9fab36eb
SP
81832012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8184
8185 * malloc/arena.c: Include malloc-sysdep.h.
8186 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8187 is sufficient to shrink the heap or an unmap is needed.
8188 * sysdeps/generic/malloc-sysdep.h: New file. Define
8189 new function check_may_shrink_heap.
8190 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8191 new function check_may_shrink_heap.
8192
2b4f00d1
SP
81932012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8194
8195 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8196 comments.
8197
9a9028b1
DL
81982012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8199
57c69bef
DL
8200 * catgets/test-gencat.sh: Add "set -e".
8201 * elf/tst-pathopt.sh: Likewise.
8202 * grp/tst_fgetgrent.sh: Likewise.
8203 * iconvdata/run-iconv-test.sh: Likewise.
8204 * intl/tst-gettext.sh: Likewise.
8205 * intl/tst-gettext2.sh: Likewise.
8206 * intl/tst-gettext4.sh: Likewise.
8207 * intl/tst-gettext6.sh: Likewise.
8208 * intl/tst-translit.sh: Likewise.
8209 * io/ftwtest-sh: Likewise.
8210 * libio/test-freopen.sh: Likewise.
8211 * malloc/tst-mtrace.sh: Likewise.
8212 * posix/globtest.sh: Likewise.
8213 * posix/tst-getconf.sh: Likewise.
8214 * posix/wordexp-tst.sh: Likewise.
8215 * stdio-common/tst-printf.sh: Likewise.
8216 * stdio-common/tst-unbputc.sh: Likewise.
8217 * stdlib/tst-fmtmsg.sh: Likewise.
8218 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8219 * catgets/Makefile: Do not specify -e option when running
8220 testsuite shell scripts.
8221 * elf/Makefile: Likewise.
8222 * grp/Makefile: Likewise.
8223 * iconvdata/Makefile: Likewise.
8224 * intl/Makefile: Likewise.
8225 * io/Makefile: Likewise.
8226 * libio/Makefile: Likewise.
8227 * malloc/Makefile: Likewise.
8228 * posix/Makefile: Likewise.
8229 * stdio-common/Makefile: Likewise.
8230 * stdlib/Makefile: Likewise.
8231 * sysdeps/x86_64/Makefile: Likewise.
8232
9a9028b1
DL
8233 * io/ftwtest-sh: Add copyright header.
8234 * posix/globtest.sh: Likewise.
8235 * posix/tst-getconf.sh: Likewise.
8236 * posix/wordexp-tst.sh: Likewise.
8237 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8238
ced6f16e
L
82392012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8240
94b32c39
L
8241 [BZ #13679]
8242 * Makeconfig (+link): Defined as $(+link-static) if
8243 $(build-shared) isn't yes.
8244 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8245 isn't yes.
8246 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8247
189e935b
L
8248 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8249
ced6f16e
L
8250 [BZ #14562]
8251 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8252 new chunk size with MALLOC_ALIGN_MASK.
8253
a9f8e53a
JM
82542012-09-24 Joseph Myers <joseph@codesourcery.com>
8255
8256 [BZ #5044]
8257 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8258 <rounding-mode.h>.
8259 (__printf_fphex): Determine rounding using get_rounding_mode and
8260 round_away.
8261 * stdio-common/tst-printf-round.c (struct hex_test): New
8262 structure.
8263 (hex_tests): New variable.
8264 (test_hex_in_one_mode): New function.
8265 (do_test): Also run tests for hex float output.
8266
43153109
JM
82672012-09-21 Joseph Myers <joseph@codesourcery.com>
8268
8269 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8270 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8271 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8272 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8273 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8274 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8275 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8276 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8277
8a26625d
JM
82782012-09-20 Joseph Myers <joseph@codesourcery.com>
8279
8280 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8281 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8282 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8283 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8284
f3fd569c
DL
82852012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8286
8287 [BZ #14579]
8288 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8289 mode only.
8290 * elf/tst-rtld-load-self.sh: New test.
8291 * elf/Makefile: Run it.
8292
63bbedd4
JM
82932012-09-18 Joseph Myers <joseph@codesourcery.com>
8294
8295 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8296 (tst-writev-ENV): Remove.
8297 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8298
626f8b6a
CM
82992012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8300
8301 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8302
b7aaa4d6
JM
83032012-09-17 Joseph Myers <joseph@codesourcery.com>
8304
8305 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8306 unconditional.
8307 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8308 Likewise.
8309 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8310 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8311 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8312 Likewise.
8313
65513990
L
83142012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8315
8316 [BZ #14587]
8317 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8318 * config.make.in (have-cpp-asm-debuginfo): Removed.
8319 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8320 * configure: Regenerated.
8321
784761be
JM
83222012-09-14 Joseph Myers <joseph@codesourcery.com>
8323
8324 [BZ #5044]
8325 * stdio-common/printf_fp.c: Include <stdbool.h> and
8326 <rounding-mode.h>.
8327 (___printf_fp): Determine rounding using get_rounding_mode and
8328 round_away.
8329 * stdio-common/tst-printf-round.c: New file.
8330 * stdio-common/Makefile (tests): Add tst-printf-round.
8331 (link-libm): New variable.
8332 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8333
9503345f
L
83342012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8335
8336 [BZ #14576]
8337 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8338 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8339 Likewise.
8340 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8341 Likewise.
8342
ad35fc00
JM
83432012-09-13 Joseph Myers <joseph@codesourcery.com>
8344
8345 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8346 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8347 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8348 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8349
6c9b0f68
JM
83502012-09-12 Joseph Myers <joseph@codesourcery.com>
8351
8352 [BZ #14518]
8353 * include/rounding-mode.h: New file.
8354 * sysdeps/generic/get-rounding-mode.h: Likewise.
8355 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8356 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8357 (MAX_VALUE): New macro.
8358 (MIN_VALUE): Likewise.
8359 (overflow_value): New function.
8360 (underflow_value): Likewise.
8361 (round_and_return): Use overflow_value and underflow_value to
8362 determine return values in overflow and underflow cases. Use
8363 round_away to determine rounding depending on rounding mode.
8364 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8365 determine return values in overflow and underflow cases.
8366 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8367 (struct test_results): New structure.
8368 (struct test): Use struct test_results to store expected results
8369 for all rounding modes.
8370 (TEST): Include expected results for all rounding modes.
8371 (test_in_one_mode): New function.
8372 (do_test): Use test_in_one_mode to compute and check results.
8373 Check results for all rounding modes.
8374 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8375 $(link-libm).
8376
19fcedd5
AM
83772012-12-09 Allan McRae <allan@archlinux.org>
8378
1e9d84cd 8379 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8380
8bbfd2f1
JM
83812012-09-11 Joseph Myers <joseph@codesourcery.com>
8382
8383 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8384 (_G_int32_t): Likewise.
8385 (_G_uint16_t): Likewise.
8386 (_G_uint32_t): Likewise.
8387 (_G_HAVE_BOOL): Likewise.
8388 (_G_HAVE_ATEXIT): Likewise.
8389 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8390 (_G_HAVE_IO_FILE_OPEN): Likewise.
8391 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8392 (_G_int32_t): Likewise.
8393 (_G_uint16_t): Likewise.
8394 (_G_uint32_t): Likewise.
8395 (_G_HAVE_BOOL): Likewise.
8396 (_G_HAVE_ATEXIT): Likewise.
8397 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8398 (_G_HAVE_IO_FILE_OPEN): Likewise.
8399 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8400 (_G_int32_t): Likewise.
8401 (_G_uint16_t): Likewise.
8402 (_G_uint32_t): Likewise.
8403 (_G_HAVE_BOOL): Likewise.
8404 (_G_HAVE_ATEXIT): Likewise.
8405 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8406 (_G_HAVE_IO_FILE_OPEN): Likewise.
8407
b1dc5912
L
84082012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8409
8410 * csu/libc-tls.c: Update copyright years.
8411
0e886ef9
JM
84122012-09-10 Joseph Myers <joseph@codesourcery.com>
8413
28361c5e
JM
8414 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8415 [!_G_USING_THUNKS]: Remove conditional code.
8416 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8417 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8418
0e886ef9
JM
8419 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8420 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8421 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8422 (_G_VTABLE_LABEL_PREFIX): Likewise.
8423 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8424 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8425 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8426 (_G_VTABLE_LABEL_PREFIX): Likewise.
8427 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8428 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8429 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8430 (_G_VTABLE_LABEL_PREFIX): Likewise.
8431 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8432
bcba7aa2
L
84332012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8434
8435 * libio/Makefile: Include ../Makeconfig before tests.
8436 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8437 only if $(build-shared) is yes.
8438
06585ee8
L
8439 * iconv/gconv_db.c: Update copyright years.
8440
80ccd52c
LD
84412012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8442
8443 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8444 unwind info if defined PIC. Fix special cases description.
8445 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8446
8447 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8448 DP_HI_MASK entry.
8449 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8450
691bc9c1
L
84512012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8452
3d9b46b3
L
8453 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8454
de2139a9
L
8455 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8456 is NULL.
8457
5ca78dd0
L
8458 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8459 (LDLIBS-tst-chk4): This.
8460 (LDFLAGS-tst-chk5): Renamed to ...
8461 (LDLIBS-tst-chk5): This.
8462 (LDFLAGS-tst-chk6): Renamed to ...
8463 (LDLIBS-tst-chk6): This.
8464 (LDFLAGS-tst-lfschk4): Renamed to ...
8465 (LDLIBS-tst-lfschk4): This.
8466 (LDFLAGS-tst-lfschk5): Renamed to ...
8467 (LDLIBS-tst-lfschk5): This.
8468 (LDFLAGS-tst-lfschk6): Renamed to ...
8469 (LDLIBS-tst-lfschk6): This.
8470
691bc9c1
L
8471 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8472 on $(common-objpfx)soversions.mk.
8473
65cafb1c
JM
84742012-09-07 Joseph Myers <joseph@codesourcery.com>
8475
8476 [BZ #10014]
8477 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8478 example host name.
8479
c78ab094
SP
84802012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8481
8482 * malloc/arena.c (arena_get_retry): New function that gets
8483 another arena for the caller to try its request on.
8484 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8485 current arena cannot fulfill the request.
8486 (__libc_memalign): Likewise.
8487 (__libc_memalign): Likewise.
8488 (__libc_pvalloc): Likewise.
8489 (__libc_calloc): Likewise.
8490
01f49f59
JT
84912012-09-05 John Tobey <john.tobey@gmail.com>
8492
8493 [BZ #13542]
8494 * manual/arith.texi (Operations on Complex): Fix description
8495 of carg branch cut.
8496
4c23fed5
JM
84972012-09-06 Joseph Myers <joseph@codesourcery.com>
8498
1d3c8572
JM
8499 [BZ #10014]
8500 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8501 host name.
8502
4c23fed5
JM
8503 [BZ #10038]
8504 * manual/memory.texi (Memory): Make order of menu items match
8505 order of sections.
8506
04570aaa
L
85072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8508
8509 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8510 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8511 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8512
b80af2f4
L
85132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8514
8515 * csu/libc-tls.c (static_dtv): Renamed to ...
8516 (_dl_static_dtv): This. Make it global.
8517 (_dl_initial_dtv): Removed.
8518 (__libc_setup_tls): Updated.
8519 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8520 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8521 DL_INITIAL_DTV.
8522
2abe9f15
PM
85232012-09-06 Petr Machata <pmachata@redhat.com>
8524
8525 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8526 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8527 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8528 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8529
0948c3af
L
85302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8531
8532 [BZ #14545]
8533 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8534 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8535 freeing dtv[-1].
8536
a5055ad1
L
85372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8538
8539 [BZ #14544]
8540 * Makeconfig (link-static-before-libc): Replace $(+prector)
8541 with $(+prectorT).
8542 (link-static-after-libc): Replace $(+postctor) with
8543 $(+postctorT).
8544 (link-bounded): Replace $(+prector)/$(+postctor) with
8545 $(+prectorT)/$(+postctorT).
8546 (+prectorT): New macro.
8547 (+postctorT): Likewise.
8548
ed8c2ecd
JM
85492012-09-06 Joseph Myers <joseph@codesourcery.com>
8550
8551 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8552 (round_str): Handle values above the maximum for IBM long double
8553 as inexact.
8554 * stdlib/tst-strtod-round.c (tests): Regenerated.
8555
14c996c8
AK
85562012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8557
8558 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8559 assembler flag.
8560 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8561 zarch_nohighgprs around the zarch optimized routines.
8562 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8563 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8564 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8565 for zarch.
8566
430d6ce6
DM
85672012-09-05 David S. Miller <davem@davemloft.net>
8568
8569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8570
ff04dda4
DM
8571 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8572 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8573 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8574 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8575 entries.
8576
24d4e01b
AO
85772012-09-05 Alexandre Oliva <aoliva@redhat.com>
8578
8579 * malloc/arena.c: Fold copyright years.
8580 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8581
61d58174
AO
85822012-09-05 Alexandre Oliva <aoliva@redhat.com>
8583
8584 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8585
20196a5e
AO
85862012-09-05 Alexandre Oliva <aoliva@redhat.com>
8587
8588 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8589
5c447383
AO
85902012-09-05 Alexandre Oliva <aoliva@redhat.com>
8591
8592 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8593 change internal state upon failure.
8594
fad64255
AO
85952012-09-05 Alexandre Oliva <aoliva@redhat.com>
8596
8597 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8598 * malloc/memusage.c (mmap): Likewise.
8599 (mmap64, mremap): Likewise. Adjust name in comment.
8600
1ffb8c90
SP
86012012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8602
8603 * libio/fileops.c: Fix typos in comments.
8604 * libio/oldfileops.c: Likewise.
8605 * libio/wfileops.c: Likewise.
8606
6ef9cc37
SP
86072012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8608
8609 [BZ #1349]
8610 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8611 (tst-malloc-usable-ENV): Set environment for test case.
8612 * malloc/hooks.c (malloc_check_get_size): New function to get
8613 requested size.
8614 * malloc/malloc.c (musable): Use malloc_check_get_size.
8615 * malloc/tst-malloc-usable.c: New test case.
8616
4d038ae3
AS
86172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8618
8619 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8620
c4e85184
AM
86212012-09-05 Allan McRae <allan@archlinux.org>
8622
b9dafc56 8623 [BZ #13966]
c4e85184
AM
8624 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8625 determine header location.
8626 * configure: Regenerated.
8627
e1343020
AS
86282012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8629
8630 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8631 float format.
8632 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8633 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8634 format.
e1343020
AS
8635 (test): Regenerate.
8636
0a9f1987
DM
86372012-09-04 David S. Miller <davem@davemloft.net>
8638
8639 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8640 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8641 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8642
29237804
FW
86432012-09-04 Florian Weimer <fweimer@redhat.com>
8644
8645 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8646 failures.
8647
edb3cb88
FW
8648 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8649
60160d83
JM
86502012-09-04 Joseph Myers <joseph@codesourcery.com>
8651
8652 [BZ #9914]
8653 * libio/iogetdelim.c: Include <limits.h>.
8654 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8655 + len + 1 would overflow.
8656
bcd6c8dc
AJ
86572012-09-03 Andreas Jaeger <aj@suse.de>
8658
8659 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8660 * sysdeps/i386/fpu/libm-test-ulps: Update.
8661
4ffffbd2
LD
86622012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8663
8664 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8665 Add s_sinf-sse2, s_conf-sse2.
8666
8667 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8668 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8669 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8670 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8671
8672 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8673 for using routine as __sinf_ia32.
8674 Use macro for function declaration and weak_alias.
8675 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8676 for using routine as __cosf_ia32.
8677 Use macro for function declaration and weak_alias.
8678
8679 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8680 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8681
8682 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8683 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8684 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8685
8686 * math/libm-test.inc (cos_test): Add more test cases.
8687 (sin_test): Likewise.
8688 (sincos_test): Likewise.
8689
511fa286
AK
86902012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8691
8692 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8693 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8694 hidden.
8695 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8696
5f30cfec
L
86972012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8698
8699 [BZ #14538]
8700 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8701 first element of the GOT.
8702 (elf_machine_load_address): Return the difference between
8703 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8704
0786794f
AM
87052012-09-01 Allan McRae <allan@archlinux.org>
8706
5f30cfec
L
8707 [BZ #13412]
8708 * configure.in (AWK): Require gawk version 3.0 or later.
8709 * configure: Regenerated.
0786794f 8710
26889eac
JM
87112012-09-01 Joseph Myers <joseph@codesourcery.com>
8712
8713 * sysdeps/unix/sysv/linux/kernel-features.h
8714 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8715 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8716 [__NR_clock_getres]: Make code unconditional.
8717 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8718 (clock_getcpuclockid): Remove code left unreachable by removal of
8719 conditionals.
8720 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8721 code unconditional.
8722 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8723 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8724 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8725 Make code unconditional.
8726 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8727 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8728 * sysdeps/unix/sysv/linux/clock_settime.c
8729 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8730 conditional code.
8731 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8732 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8733
d22e28b0
L
87342012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8735
8736 [BZ #14476]
8737 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8738 scripts/test-installation.pl.
8739
8740 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8741 and $ld_so_version if it is set.
8742
050af9c4
SP
87432012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8744
8745 [BZ #14516]
8746 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8747 failure if reading from procfs failed.
8748 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8749
ad845c0b
JM
87502012-08-27 Joseph Myers <joseph@codesourcery.com>
8751
8752 * sysdeps/unix/sysv/linux/kernel-features.h
8753 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8754 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8755 Remove conditional code.
8756 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8757 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8758 Remove conditional code.
8759 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8760 * sysdeps/unix/sysv/linux/i386/fxstat.c
8761 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8762 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8763 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8764 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8765 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8766 * sysdeps/unix/sysv/linux/i386/lxstat.c
8767 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8768 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8769 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8770 Remove conditional code.
8771 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8772 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8773 Remove conditional code.
8774 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8775 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8776 <kernel-features.h>.
8777 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8778 Remove.
8779 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8780 Remove conditional code.
8781 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8782 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8783 Remove conditional.
8784
5dbf56af
MF
87852012-08-27 Mike Frysinger <vapier@gentoo.org>
8786
8787 [BZ #5400]
8788 * NEWS: Add fixed bug number.
8789
d6e70f43
JM
87902012-08-27 Joseph Myers <joseph@codesourcery.com>
8791
7efb4737
JM
8792 [BZ #14519]
8793 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8794 underflowing exponent in case of negative sign.
8795 * stdlib/tst-strtod-round-data: Add more tests.
8796 * stdlib/tst-strtod-round.c (tests): Regenerated.
8797
af92131a
JM
8798 [BZ #3479]
8799 * stdlib/strtod_l.c (NDIG): Remove.
8800 (HEXNDIG): Likewise.
8801 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8802 smallest representable value.
8803 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8804 lie within an exact representation of 1/2 ulp of the result.
8805 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8806 unconditionally.
8807 (TENS_P9_IDX): Define unconditionally.
8808 (TENS_P9_SIZE): Likewise.
8809 (TENS_P10_IDX): Likewise.
8810 (TENS_P10_SIZE): Likewise.
8811 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8812 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8813 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8814 entries for 10^2^13 and 10^2^14.
8815 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8816 (TENS_P13_IDX): Define.
8817 (TENS_P13_SIZE): Likewise.
8818 (TENS_P14_IDX): Likewise.
8819 (TENS_P14_SIZE): Likewise.
8820 (_fpioconst_pow10): Change array size to
8821 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8822 unconditional.
8823 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8824 1024]: Add entries for 10^2^13 and 10^2^14.
8825 [LAST_POW10 > _LAST_POW10]: Remove #error.
8826 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8827 (_fpioconst_pow10): Change array size to
8828 FPIOCONST_POW10_ARRAY_SIZE.
8829 * stdlib/gen-fpioconst.c: New file.
8830 * stdlib/gen-tst-strtod-round.c: Likewise.
8831 * stdlib/tst-strtod-round-data: Likewise.
8832 * stdlib/tst-strtod-round.c: Likewise.
8833 * stdlib/Makefile (tests): Add tst-strtod-round.
8834
d6e70f43
JM
8835 [BZ #14459]
8836 * stdlib/strtod_l.c: Include <stdint.h>.
8837 (NDEBUG): Do not define.
8838 (round_and_return): Change EXPONENT parameter to type intmax_t.
8839 Rearrange calculations to avoid internal overflow possibilities.
8840 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8841 Rearrange calculations to avoid internal overflow possibilities.
8842 Assert that number fits inside MPNSIZE limbs.
8843 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8844 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8845 calculations and add assertions to avoid internal overflow
8846 possibilities. Add casts to avoid signed/unsigned operations.
8847 * stdlib/tst-strtod-overflow.c: New file.
8848 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8849
1f529f7d
MP
88502012-08-25 Marek Polacek <polacek@redhat.com>
8851
8852 * time/time.h: Fix some typos in comments.
8853
59a629f1
RM
88542012-08-23 Roland McGrath <roland@hack.frob.com>
8855
8856 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8857 * posix/tst-rfc3484-2.c: Likewise.
8858 * posix/tst-rfc3484-3.c: Likewise.
8859
d3bafbc9
SM
88602012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8861
8862 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8863 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8864
4efcc022
JM
88652012-08-23 Joseph Myers <joseph@codesourcery.com>
8866
8867 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8868 #include of fxstatat64.c.
8869
3cc3ef96
RM
88702012-08-22 Roland McGrath <roland@hack.frob.com>
8871
f04e2132
RM
8872 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8873 * shadow/getspent_r.c: Likewise.
8874 * shadow/getspnam.c: Likewise.
8875 * shadow/getspnam_r.c: Likewise.
8876 * gshadow/getsgent.c: Likewise.
8877 * gshadow/getsgent_r.c: Likewise.
8878 * gshadow/getsgnam.c: Likewise.
8879 * gshadow/getsgnam_r.c: Likewise.
8880 * inet/getnetbyad.c: Likewise.
8881 * inet/getnetbyad_r.c: Likewise.
8882 * inet/getnetbynm.c: Likewise.
8883 * inet/getnetbynm_r.c: Likewise.
8884 * inet/getnetent.c: Likewise.
8885 * inet/getnetent_r.c: Likewise.
8886 * inet/getproto.c: Likewise.
8887 * inet/getproto_r.c: Likewise.
8888 * inet/getprtent.c: Likewise.
8889 * inet/getprtent_r.c: Likewise.
8890 * inet/getprtname.c: Likewise.
8891 * inet/getprtname_r.c: Likewise.
8892 * inet/getrpcbyname.c: Likewise.
8893 * inet/getrpcbyname_r.c: Likewise.
8894 * inet/getrpcbynumber.c: Likewise.
8895 * inet/getrpcbynumber_r.c: Likewise.
8896 * inet/getrpcent.c: Likewise.
8897 * inet/getrpcent_r.c: Likewise.
8898 * inet/getaliasent.c: Likewise.
8899 * inet/getaliasent_r.c: Likewise.
8900 * inet/getaliasname.c: Likewise.
8901 * inet/getaliasname_r.c: Likewise.
8902 * nscd/getgrgid_r.c: Likewise.
8903 * nscd/getgrnam_r.c: Likewise.
8904 * nscd/gethstbyad_r.c: Likewise.
8905 * nscd/gethstbynm3_r.c: Likewise.
8906 * nscd/getpwnam_r.c: Likewise.
8907 * nscd/getpwuid_r.c: Likewise.
8908 * nscd/getsrvbynm_r.c: Likewise.
8909 * nscd/getsrvbypt_r.c: Likewise.
8910 * nscd/gai.c: Likewise.
8911
c53d909c
RM
8912 * configure.in (build_nscd): New substituted variable, set
8913 by --disable-build-nscd and defaults to $use_nscd.
8914 * configure: Regenerated.
8915 * config.make.in (build-nscd): New substituted variable.
8916 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8917 Change conditional to require [$(build-nscd) = yes] as well.
8918 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8919
3cc3ef96
RM
8920 [BZ# 13696]
8921 * configure.in (use_nscd): New substituted variable, set by
8922 --disable-nscd. If enabled, define USE_NSCD.
8923 * configure: Regenerated.
8924 * config.h.in: Add USE_NSCD.
8925 * config.make.in (use-nscd): New substituted variable.
8926 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8927 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8928 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8929 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8930 (CFLAGS-getgrnam_r.c): Likewise.
8931 (CFLAGS-initgroups.c): Likewise.
8932 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8933 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8934 Variables removed.
8935 * inet/getnetgrent_r.c
8936 (nscd_setnetgrent): New function, broken out of ...
8937 (setnetgrent): ... here. Call it.
8938 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8939 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8940 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8941 * nscd/Makefile (routines, aux): Move definitions after include of
8942 Makeconfig. Conditionalize on [$(use-nscd) != no].
8943 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8944 Conditionalize on [USE_NSCD].
8945 (is_nscd, nscd_init_cb): Likewise.
8946 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8947 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8948 * nss/nss_db/db-init.c: Likewise.
8949 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8950 [USE_NSCD].
8951 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8952 (make_request): Use it.
8953 (cache_valid_p): New function.
8954 (__check_pf): Use it.
8955 * NEWS: Add item for --disable-nscd.
8956
07e51550
DL
89572012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8958
8959 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8960 to support sed >= 4.2.1-20-ga9bf076.
8961 * configure: Regenerated.
8962
35a5b08b
RM
89632012-08-22 Roland McGrath <roland@hack.frob.com>
8964
8965 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8966 Conditionalize whole body on [IREL].
8967
8479f23a
JL
89682012-08-22 Jeff Law <law@redhat.com>
8969
8970 [BZ #14505]
8971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8972 if the family is PF_UNSPEC.
8973
48da0b21
MF
89742012-08-22 Mike Frysinger <vapier@gentoo.org>
8975
8976 * Makerules (lib-version): Rename from V.
8977 (install-lib-nosubdir): Change V to lib-version.
8978
15d0da8c
WS
89792012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8980
8981 [BZ #14252]
8982 * powerpc32/power6/wcschr.c: New file.
8983 * powerpc32/power6/wcscpy.c: New file.
8984 * powerpc32/power6/wcsrchr.c: New file.
8985 * powerpc64/power6/wcschr.c: New file.
8986 * powerpc64/power6/wcscpy.c: New file.
8987 * powerpc64/power6/wcsrchr.c: New file.
8988
bcca0895
MK
89892012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8990
8991 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8992 (two_way_short_needle): Use it.
5a4aaa33
RM
8993 * string/strstr.c (AVAILABLE1_USES_J): Define.
8994 * string/strcasestr.c: Likewise.
99677e57
MK
8995
8996 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8997 array references.
8998 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8999
400726de
MK
9000 [BZ #11607]
9001 * NEWS: Add an entry.
9002 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9003 define their defaults.
9004 (two_way_short_needle): Detect end-of-string on-the-fly.
9005 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9006 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9007 * string/bug-strcasestr1.c: New test.
9008 * string/Makefile: Run it.
9009
20a71f2c
MK
90102012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9011
9012 [BZ #11607]
9013 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9014 the first character.
9015
21ad0558
RM
90162012-08-21 Roland McGrath <roland@hack.frob.com>
9017
9018 * csu/elf-init.c (__libc_csu_irel): Function removed.
9019 * csu/libc-start.c (apply_irel): New function.
9020 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9021
0e1d9911
JM
90222012-08-21 Joseph Myers <joseph@codesourcery.com>
9023
9024 * sysdeps/unix/sysv/linux/kernel-features.h
9025 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9026 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9027 <kernel-features.h>.
9028 [__NR_fadvise64_64]: Make code unconditional.
9029 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9030 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9031 !__NR_fadvise64_64)]: Likewise.
9032 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9033 !__NR_fadvise64_64))]: Likewise.
9034 [__NR_fadvise64]: Make code unconditional.
9035 [!__NR_fadvise64]: Remove conditional code.
9036 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9037 <kernel-features.h>.
9038 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9039 unconditional.
9040 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9041 conditional code.
9042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9043 not include <kernel-features.h>.
9044 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9045 unconditional.
9046 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9047 conditional code.
9048 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9049 include <kernel-features.h>.
9050 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9051 unconditional.
9052 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9053 conditional code.
9054
14a50c9d
WS
90552012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9056
9057 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9058 slight instruction rearrangements per scrollpipe analysis.
9059 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9060
c0f4faf0
RM
90612012-08-20 Roland McGrath <roland@hack.frob.com>
9062
696da859
RM
9063 * manual/syslog.texi (syslog; vsyslog, closelog):
9064 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9065 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9066
c0f4faf0
RM
9067 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9068 DSOCAPS to match condition on defining it.
9069
348363b2
JM
90702012-08-20 Joseph Myers <joseph@codesourcery.com>
9071
a35cbf28
JM
9072 * sysdeps/unix/sysv/linux/kernel-features.h
9073 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9075 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9076 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9078 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9079 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9081 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9082 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9083
445f7ecd
JM
9084 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9085 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9086
348363b2
JM
9087 * sysdeps/unix/sysv/linux/kernel-features.h
9088 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9089 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9090 unconditional.
9091 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9092 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9093 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9094 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9095 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9096 Make code unconditional.
9097 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9098 (__mmap64) [!__NR_mmap2]: Likewise.
9099 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9100 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9101 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9102 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9103 [__NR_mmap2]: Make code unconditional.
9104 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9105 (__mmap64) [!__NR_mmap2]: Likewise.
9106
bc5bc0e5
AK
91072012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9108
9109 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9110
88d506de
AJ
91112012-08-18 Andreas Jaeger <aj@suse.de>
9112
9113 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9114
493387d2
MF
91152012-08-18 Mike Frysinger <vapier@gentoo.org>
9116
9117 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9118 * include/unistd.h (__have_sock_cloexec): Likewise.
9119 (__have_pipe2): Likewise.
9120 (__have_dup3): Likewise.
9121
a277af22
MF
91222012-08-18 Mike Frysinger <vapier@gentoo.org>
9123
9124 [BZ #9685]
9125 * include/unistd.h (__have_pipe2): Change define into an extern int.
9126 (__have_dup3): Likewise.
9127 * socket/have_sock_cloexec.c: Include fcntl.h.
9128 (__have_pipe2): New variable.
9129 (__have_dup3): Likewise.
9130
fdab8fd3
MF
91312012-08-17 Mike Frysinger <vapier@gentoo.org>
9132
9133 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9134
31035e80
MP
91352012-08-17 Marek Polacek <polacek@redhat.com>
9136
9137 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9138 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9139
3bd9e993
RM
91402012-08-17 Roland McGrath <roland@hack.frob.com>
9141
c91c505f
RM
9142 * configure.in: Add AC_SUBST for sysheaders.
9143 * configure: Regenerated.
9144 * config.make.in (sysheaders): New substituted variable.
9145
7c6f9d53
RM
9146 * sysdeps/unix/mkfifo.c: Moved ...
9147 * sysdeps/posix/mkfifo.c: ... here.
9148 * sysdeps/unix/mkfifoat.c: Moved ...
9149 * sysdeps/posix/mkfifoat.c: ... here.
9150
9151 * sysdeps/unix/utime.c: Moved ...
9152 * sysdeps/posix/utime.c: ... here.
9153
9154 * sysdeps/unix/time.c: Moved ...
9155 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9156 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9157 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9158
9159 * sysdeps/unix/nice.c: Moved ...
9160 * sysdeps/posix/nice.c: ... here.
9161
9162 * sysdeps/unix/alarm.c: Moved ...
9163 * sysdeps/posix/alarm.c: ... here.
9164
3bd9e993
RM
9165 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9166
d1f09384
JL
91672012-08-17 Jeff Law <law@redhat.com>
9168
9169 * intl/Makefile (codeset_mo): New variable.
9170 ($(codeset_mo)): New target.
9171 (tst-codeset.out): Depend on that. Remove explicit rule.
9172 (tst-gettext3.out, tst-gettext5.out): Likewise.
9173 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9174 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9175 * intl/tst-codeset.sh: Remove.
9176 * intl/tst-gettext3.sh: Likewise.
9177 * intl/tst-gettext5.sh: Likewise.
9178
2ae1ae5c
RM
91792012-08-17 Roland McGrath <roland@hack.frob.com>
9180
c31fdb83
RM
9181 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9182 * sysdeps/unix/syscalls.list: ... here.
9183
a0844057
RM
9184 * sysdeps/posix/getaddrinfo.c
9185 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9186 (gaiconf_init, gaiconf_reload): Use them.
9187 [!_STATBUF_ST_NSEC]
9188 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9189 Define using time_t rather than struct timespec.
9190
750c1f2a
RM
9191 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9192 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9193 Macros removed.
9194 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9195 [!NO_THREADS].
9196 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9197 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9198 Likewise.
9199
2ae1ae5c
RM
9200 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9201 __libc_cleanup_push argument.
9202
e66a42f5
RM
9203 * bits/param.h: New file.
9204 * misc/sys/param.h: New file.
9205 * include/sys/param.h: New file.
9206 * misc/Makefile (headers): Add bits/param.h.
9207 * sysdeps/generic/sys/param.h: File removed.
9208 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9209 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9210 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9211 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9212
b7c08a66
RM
9213 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9214 last change.
9215
b2e1c562
RM
9216 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9217 [_IO_MTSAFE_IO].
9218 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9219 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9220 New macros.
9221
c75ccd4c
RM
9222 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9223 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9224 rather than -D_IO_MTSAFE_IO conditionally.
9225 * stdio-common/Makefile (CPPFLAGS): Likewise.
9226 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9227 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9228 Use $(libio-mtsafe).
9229 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9230 of -D_IO_MTSAFE_IO.
9231 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9232 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9233 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9234 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9235 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9236 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9237 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9238 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9239 (CFLAGS-fread_u_chk.c): Likewise.
9240 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9241 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9242 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9243 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9244 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9245 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9246 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9247 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9248 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9249
9250 * libio/Makefile: Test [$(libc-reentrant) = yes]
9251 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9252
9253 * Makeconfig
9254 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9255 * sysdeps/pthread/configure: File removed.
9256 * sysdeps/pthread/Makeconfig: New file.
9257 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9258 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9259
d9195db8
GB
92602012-08-16 Gary Benson <gbenson@redhat.com>
9261
9262 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9263 unmapping the first object in a namespace.
9264
86466cd9
RM
92652012-08-16 Roland McGrath <roland@hack.frob.com>
9266
9267 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9268 (__internal_setnetgrent): ... this. Add internal_function to
9269 definition. Add libc_hidden_def.
9270 (setnetgrent): Update caller.
9271 (internal_endnetgrent): Renamed to ...
9272 (__internal_endnetgrent): ... this. Add internal_function to
9273 definition. Add libc_hidden_def.
9274 (endnetgrent): Update caller.
9275 (internal_getnetgrent_r): Renamed to ...
9276 (__internal_getnetgrent_r): ... this. Add internal_function to
9277 definition. Add libc_hidden_def.
9278 (__getnetgrent_r): Update caller.
9279 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9280
c3c8283c
JM
92812012-08-16 Joseph Myers <joseph@codesourcery.com>
9282
9283 * stdlib/longlong.h: Update from GCC.
9284
db1ee0a8
RM
92852012-08-16 Roland McGrath <roland@hack.frob.com>
9286
9287 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9288 on _QL, which is set by umul_ppmm but never used.
9289 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9290 variables, which are set by GMP macros but never used.
9291 * stdio-common/_itowa.c (_itowa): Likewise.
9292 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9293 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9294
30f69637
CD
92952012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9296
9297 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9298 struct La_sh_regs is not constant.
9299 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9300 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9301 and struct La_sparc64_regs are not constant.
9302
93a78ac4
JM
93032012-08-16 Joseph Myers <joseph@codesourcery.com>
9304
9305 * sysdeps/unix/sysv/linux/kernel-features.h
9306 (__ASSUME_POSIX_TIMERS): Remove.
9307 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9308 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9309 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9310 Make code unconditional.
9311 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9312 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9313 Make code unconditional.
9314 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9315 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9316 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9317 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9318 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9319 Make code unconditional.
9320 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9321 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9322 (__libc_missing_posix_timers): Remove.
9323
dd924cd7
RM
93242012-08-15 Roland McGrath <roland@hack.frob.com>
9325
4b4f2771
RM
9326 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9327 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9328
601c888b
RM
9329 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9330
176790a7
RM
9331 * elf/dl-sym.c: Include <stdlib.h>.
9332
329bc018
RM
9333 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9334 constants, which avoids warnings in 32-bit builds.
9335
e04e272d
RM
9336 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9337 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9338
952bf94a
RM
9339 * misc/lseek.c: File moved to ...
9340 * io/lseek.c: ... here.
9341
7c99b50a
RM
9342 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9343
dd924cd7
RM
9344 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9345 shifting LEN more than 31 bits at once.
9346
b3f479a8
LD
93472012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9348
9349 [BZ #14195]
8c4ae0d4
RM
9350 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9351 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9352 * string/test-strncasecmp.c (check1): Renamed to...
9353 (bz12205): ...this.
9354 (bz14195): Add new testcase for two empty input strings and N > 0.
9355 (test_main): Call new testcase, adapt for renamed function.
9356
9c55864e
AJ
93572012-08-15 Andreas Jaeger <aj@suse.de>
9358
9359 [BZ #14090]
9360 * crypt/md5test2.c: New test, based on test supplied by Serge
9361 Belyshev <belyshev@depni.sinp.msu.ru>.
9362 * crypt/Makefile (xtests): Add md5test-giant..
9363 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9364
02dcb6c5
PE
93652012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9366
9367 [BZ #14090]
9368 * crypt/md5.c (md5_process_block): Don't assume the buffer
9369 length is less than 2**32.
9370 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9371 length is less than 2**64.
9372
a3f95dcc
RM
93732012-08-15 Roland McGrath <roland@hack.frob.com>
9374
be75d758
RM
9375 * string/str-two-way.h: Include <sys/param.h>.
9376 (MAX): Macro removed.
9377
7312ca90
RM
9378 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9379 Move #define and #undef of memmove to just before and after
9380 including <string.h>.
9381
9a0a5486
RM
9382 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9383 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9384 and after including <string.h>. Move declarations of
9385 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9386 to before #include "string/memmove.c".
9387
67cc348d
RM
9388 * include/dirent.h: Declare __getdirentries.
9389
a3f95dcc
RM
9390 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9391 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9392
ca98e171
MF
93932012-08-14 Mike Frysinger <vapier@gentoo.org>
9394
9395 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9396 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9397 * sysdeps/i386/configure: Regenerated.
9398 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9399 STABS_CURRENT_FILE, and STABS_FUN.
9400 (END): Remove call to STABS_FUN_END.
9401 (STABS_CURRENT_FILE1): Delete.
9402 (STABS_CURRENT_FILE): Likewise.
9403 (STABS_FUN): Likewise.
9404 (STABS_FUN_END): Likewise.
9405 (STABS_FUN2): Likewise.
9406 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9407 * sysdeps/x86_64/configure: Regenerated.
9408
5908bf46
RM
94092012-08-14 Roland McGrath <roland@hack.frob.com>
9410
9411 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9412 * elf/dl-lookup.c: Likewise.
5908bf46 9413
f2c05b9e
JM
94142012-08-14 Joseph Myers <joseph@codesourcery.com>
9415
9416 * sysdeps/unix/sysv/linux/kernel-features.h
9417 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9418 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9419 unconditionally.
9420 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9421 unconditionally.
9422 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9423 condition on __ASSUME_CLONE_THREAD_FLAGS.
9424
e11f5155
AJ
94252012-08-14 Andreas Jaeger <aj@suse.de>
9426
9427 * sysdeps/i386/fpu/libm-test-ulps: Update.
9428
51a9ba86
MK
94292012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9430
2fdd4f78
AJ
9431 * include/atomic.h (atomic_exchange_and_add): Split into ...
9432 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9433 New atomic macros.
51a9ba86 9434
ba6cba9e
MT
94352012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9436
9437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9438
42443a47
JL
94392012-08-13 Jeff Law <law@redhat.com>
9440
9441 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9442 null byte in the output string.
9443
121dce05
JM
94442012-08-10 Joseph Myers <joseph@codesourcery.com>
9445
9446 * sysdeps/unix/sysv/linux/kernel-features.h
9447 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9448 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9449 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9450 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9451 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9452 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9453 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9454
bf51f568
JL
94552012-08-09 Jeff Law <law@redhat.com>
9456
9457 [BZ #13939]
9458 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9459 When avoid_arena is set, don't retry in the that arena. Pick the
9460 next one, whatever it might be.
9461 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9462 (arena_lock): Pass in new parameter to arena_get2.
9463 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9464 arena_get2.
9465 (__libc_malloc): Unify retrying after main arena failure with
9466 __libc_memalign version.
9467 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9468
f85fa270
L
94692012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9470
9471 [BZ #14166]
9472 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9473 to __redirect_strstr.
9474 (__strstr_sse42): Use typeof __redirect_strstr.
9475 (__strstr_ia32): Likewise.
9476 (__libc_strstr): New prototype.
9477 (strstr): Renamed to ...
9478 (__libc_strstr): This.
9479 (strstr): New strong alias of __libc_strstr.
9480 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9481 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9482 __redirect_time.
9483 Include <time.h>.
9484 (__libc_time): New prototype.
9485 (time_ifunc): Replace time with __libc_time.
9486 (time): New strong alias and hidden definition of __libc_time.
9487 (__GI_time): Remove strong alias.
9488 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9489 Include <stddef.h>.
9490 (memmove): Redefined to __redirect_memmove.
9491 (__memmove_sse2): Use typeof __redirect_memmove.
9492 (__memmove_ssse3): Likewise.
9493 (__memmove_ssse3_back): Likewise.
9494 (__libc_memmove): New prototype.
9495 (memmove): Renamed to ...
9496 (__libc_memmove): This.
9497 (memmove): New strong alias of __libc_memmove.
9498
33b4a91e
MS
94992012-08-08 Mark Salter <msalter@redhat.com>
9500
9501 * elf/elf.h
9502 (R_MN10300_TLS_GD): Define.
9503 (R_MN10300_TLS_LD): Likewise.
9504 (R_MN10300_TLS_LDO): Likewise.
9505 (R_MN10300_TLS_GOTIE): Likewise.
9506 (R_MN10300_TLS_IE): Likewise.
9507 (R_MN10300_TLS_LE): Likewise.
9508 (R_MN10300_TLS_DTPMOD): Likewise.
9509 (R_MN10300_TLS_DTPOFF): Likewise.
9510 (R_MN10300_TLS_TPOFF): Likewise.
9511 (R_MN10300_SYM_DIFF): Likewise.
9512 (R_MN10300_ALIGN): Likewise.
9513 (R_MN10300_NUM): Update.
9514
b36137f1
JM
95152012-08-08 Joseph Myers <joseph@codesourcery.com>
9516
9517 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9518 Remove.
9519
cdd915fd
RM
95202012-08-08 Roland McGrath <roland@hack.frob.com>
9521
a2433aac
RM
9522 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9523
cdd915fd
RM
9524 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9525 sysdeps/unix -> sysdeps/posix move.
9526 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9527
bf9b740a
AM
95282012-08-07 Allan McRae <allan@archlinux.org>
9529
9530 [BZ #14303]
9531 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9532 (SUNOS_CPP): Likewise.
9533 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9534 not found.
9535 (open_input): Call CPP using execvp.
9536
93df14ee
JM
95372012-08-07 Joseph Myers <joseph@codesourcery.com>
9538
9539 * sysdeps/unix/sysv/linux/kernel-features.h
9540 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9541 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9542 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9543 (__ASSUME_WAITID_SYSCALL): Likewise.
9544 * sysdeps/unix/sysv/linux/dl-execstack.c
9545 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9546 code unconditional.
9547 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9548 conditional code.
9549 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9550 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9551 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9552 code.
9553 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9554 unconditional.
9555 [__ASSUME_WAITID_SYSCALL]: Likewise.
9556 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9557
d34689de
RM
95582012-08-07 Roland McGrath <roland@hack.frob.com>
9559
a281decc
RM
9560 * sysdeps/unix/closedir.c: Renamed to ...
9561 * sysdeps/posix/closedir.c: ... here.
9562 * sysdeps/unix/dirfd.c: Renamed to ...
9563 * sysdeps/posix/dirfd.c: ... here.
9564 * sysdeps/unix/dirstream.h: Renamed to ...
9565 * sysdeps/posix/dirstream.h: ... here.
9566 * sysdeps/unix/fdopendir.c: Renamed to ...
9567 * sysdeps/posix/fdopendir.c: ... here.
9568 * sysdeps/unix/opendir.c: Renamed to ...
9569 * sysdeps/posix/opendir.c: ... here.
9570 * sysdeps/unix/readdir.c: Renamed to ...
9571 * sysdeps/posix/readdir.c: ... here.
9572 * sysdeps/unix/readdir_r.c: Renamed to ...
9573 * sysdeps/posix/readdir_r.c: ... here.
9574 * sysdeps/unix/rewinddir.c: Renamed to ...
9575 * sysdeps/posix/rewinddir.c: ... here.
9576 * sysdeps/unix/seekdir.c: Renamed to ...
9577 * sysdeps/posix/seekdir.c: ... here.
9578 * sysdeps/unix/telldir.c: Renamed to ...
9579 * sysdeps/posix/telldir.c: ... here.
9580 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9581 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9582 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9583 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9584
22895b47
RM
9585 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9586 * bits/fcntl.h: ... here.
9587
707a53b6
RM
9588 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9589 not 0.
9590 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9591 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9592 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9593 (struct flock): Move l_start, l_len to the beginning.
9594 Use __pid_t for l_pid.
9595 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9596 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9597 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9598 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9599 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9600 [__USE_LARGEFILE64] (struct flock64): New type.
9601 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9602
f0bd3e25
RM
9603 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9604 * bits/dirent.h: ... here.
9605
d34689de
RM
9606 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9607 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9608
6dad2c06
JM
96092012-08-07 Joseph Myers <joseph@codesourcery.com>
9610
9611 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9612 Change from 2.6.0 to 2.6.16.
9613 * sysdeps/unix/sysv/linux/configure: Regenerated.
9614 * sysdeps/unix/sysv/linux/kernel-features.h
9615 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9616 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9617 version.
9618 (__ASSUME_UTIMES): Likewise.
9619 (__ASSUME_CLONE_STOPPED): Remove.
9620 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9621 architectures, not kernel version.
9622 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9623 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9624 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9625 (__ASSUME_WAITID_SYSCALL): Likewise.
9626 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9627 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9628 * README: State 2.6.16 as minimum Linux kernel version. Do not
9629 refer to older versions.
9630
03af9520
RM
96312012-08-06 Roland McGrath <roland@hack.frob.com>
9632
8e49df1d
RM
9633 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9634 Define alphasort64 as an alias.
9635 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9636 Define versionsort64 as an alias.
9637 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9638 Define scandir64 as an alias.
9639 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9640 Define scandirat64 as an alias.
9641 * dirent/alphasort64.c (alphasort64):
9642 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9643 * dirent/versionsort64.c: Likewise.
9644 * dirent/scandir64.c: Likewise.
9645 * dirent/scandirat64.c: Likewise.
9646 * sysdeps/wordsize-64/alphasort.c: File removed.
9647 * sysdeps/wordsize-64/alphasort64.c: File removed.
9648 * sysdeps/wordsize-64/scandir.c: File removed.
9649 * sysdeps/wordsize-64/scandir64.c: File removed.
9650 * sysdeps/wordsize-64/scandirat.c: File removed.
9651 * sysdeps/wordsize-64/scandirat64.c: File removed.
9652 * sysdeps/wordsize-64/versionsort.c: File removed.
9653 * sysdeps/wordsize-64/versionsort64.c: File removed.
9654 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9655 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9656 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9657 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9658 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9659 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9660 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9661 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9662
9663 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9664 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9665 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9667 [defined __arch64__ || defined __sparcv9]
9668 (__INO_T_MATCHES_INO64_T): New macro.
9669 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9670 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9671 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9672 * sysdeps/unix/sysv/linux/bits/dirent.h
9673 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9674 (_DIRENT_MATCHES_DIRENT64): New macro.
9675
03af9520
RM
9676 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9677 Define lockf64 as an alias.
9678 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9679 Define fseeko64 as an alias.
9680 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9681 Define ftello64 as an alias.
9682 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9683 Define _IO_fgetpos64 and fgetpos64 as aliases.
9684 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9685 Define _IO_fsetpos64 and fsetpos64 as aliases.
9686 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9687 Conditionalize body on this.
9688 * libio/fseeko64.c: Likewise.
9689 * libio/ftello64.c: Likewise.
9690 * libio/iofgetpos64.c: Likewise.
9691 * libio/iofsetpos64.c: Likewise.
9692 * sysdeps/wordsize-64/lockf.c: File removed.
9693 * sysdeps/wordsize-64/lockf64.c: File removed.
9694 * sysdeps/wordsize-64/fseeko.c: File removed.
9695 * sysdeps/wordsize-64/fseeko64.c: File removed.
9696 * sysdeps/wordsize-64/ftello.c: File removed.
9697 * sysdeps/wordsize-64/ftello64.c: File removed.
9698 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9699 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9700 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9701 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9702 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9703 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9704 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9705 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9706 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9707 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9708 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9709 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9710 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9711 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9712
9713 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9714 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9715 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9716 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9717 [defined __arch64__ || defined __sparcv9]
9718 (__OFF_T_MATCHES_OFF64_T): New macro.
9719 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9720 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9721 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9722 (__OFF_T_MATCHES_OFF64_T): New macro.
9723
c5757acd
L
97242012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9725
9726 * stdlib/secure-getenv.c (__secure_getenv): Replace
9727 GLIBC_2_16 with GLIBC_2_17.
9728
3a31811e
L
97292012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9730
9731 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9732 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9733
faa2bccb
DM
97342012-08-03 David S. Miller <davem@davemloft.net>
9735
9736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9737
85fe1997
JM
97382012-08-03 Joseph Myers <joseph@codesourcery.com>
9739
9740 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9741 Remove.
9742 (__ASSUME_CORRECT_SI_PID): Likewise.
9743 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9744 (__ASSUME_TMPFS_NAME): Likewise.
9745 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9746 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9747 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9748 (HAVE_AUX_SECURE): Make definition unconditional.
9749 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9750 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9751
4f75b7a0
RM
97522012-08-03 Roland McGrath <roland@hack.frob.com>
9753
9754 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9755 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9756 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9757 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9758 __eloop_threshold instead of SYMLOOP_MAX.
9759
9760 * sysdeps/generic/eloop-threshold.h: New file.
9761 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9762 of MAXSYMLINKS.
9763 * elf/chroot_canon.c (chroot_canon): Likewise.
9764
7aab07e4
JM
97652012-08-03 Joseph Myers <joseph@codesourcery.com>
9766
9767 [BZ #13717]
9768 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9769 Change to 2.6.0 everywhere.
9770 * sysdeps/unix/sysv/linux/configure: Regenerated.
9771 * sysdeps/unix/sysv/linux/kernel-features.h
9772 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9773 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9774 kernel versions.
9775 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9776 (__ASSUME_FUTEX_REQUEUE): Remove.
9777 (__ASSUME_STATFS64): Define unconditionally.
9778 (__ASSUME_AT_SECURE): Likewise.
9779 (__ASSUME_CORRECT_SI_PID): Likewise.
9780 (__ASSUME_TGKILL): Define without depending on kernel version for
9781 i386.
9782 (__ASSUME_UTIMES): Likewise.
9783 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9784 kernel version.
9785 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9786 (__ASSUME_TMPFS_NAME): Likewise.
9787 * README: Update reference to Linux kernel versions.
9788
b67e9372
MP
97892012-08-02 Marek Polacek <polacek@redhat.com>
9790
1f529f7d 9791 [BZ# 14150]
b67e9372
MP
9792 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9793 libc_cv_asm_type_prefix with %.
9794 * configure: Regenerated.
d2441631
RM
9795 * include/libc-symbols.h: Remove comment about
9796 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9797 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9798 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9799 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9800 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9801 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9802 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9803 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9804 * elf/tst-unique2mod1.c: Likewise.
9805 * elf/tst-unique1mod2.c: Likewise.
9806 * elf/tst-unique1mod1.c: Likewise.
9807 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9808 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9809 Replace ASM_TYPE_DIRECTIVE with .type.
9810 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9811 * sysdeps/i386/sysdep.h: Likewise.
9812 * sysdeps/x86_64/sysdep.h: Likewise.
9813 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9815 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9816 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9817 * sysdeps/powerpc/powerpc32/sysdep.h:
9818 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9819 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9820 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9821 * sysdeps/i386/fpu/e_powf.S: Likewise.
9822 * sysdeps/i386/fpu/e_expl.S: Likewise.
9823 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9824 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9825 * sysdeps/i386/fpu/e_pow.S: Likewise.
9826 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9827 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9828 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9829 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9830 * sysdeps/i386/fpu/e_log2.S: Likewise.
9831 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9832 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9833 * sysdeps/i386/fpu/e_powl.S: Likewise.
9834 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9835 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9836 * sysdeps/i386/fpu/e_logl.S: Likewise.
9837 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9838 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9839 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9840 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9841 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9842 * sysdeps/i386/fpu/e_log.S: Likewise.
9843 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9844 * sysdeps/i386/fpu/e_logf.S: Likewise.
9845 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9846 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9847 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9848 * sysdeps/i386/fpu/e_log10.S: Likewise.
9849 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9850 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9851 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9852 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9853 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9854 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9855 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9856 * sysdeps/i386/i686/strtok.S: Likewise.
9857 * sysdeps/i386/i386-mcount.S: Likewise.
9858 * sysdeps/i386/strtok.S: Likewise.
9859 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9860 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9861 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9862 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9863 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9864 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9865 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9866 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9867 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9868 * sysdeps/x86_64/_mcount.S: Likewise.
9869 * sysdeps/x86_64/strtok.S: Likewise.
9870 * sysdeps/sh/_mcount.S: Likewise.
9871
2747bf9a
RM
98722012-08-01 Roland McGrath <roland@hack.frob.com>
9873
9874 * libio/iofopen.c: Include <fcntl.h>.
9875 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9876 (_IO_fopen64, fopen64): Define as aliases.
9877 * libio/iofopen64.c: Include <fcntl.h>.
9878 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9879 Conditionalize body on this.
9880 * sysdeps/wordsize-64/iofopen.c: File removed.
9881 * sysdeps/wordsize-64/iofopen64.c: File removed.
9882
3fb791b8
MP
98832012-08-01 Marek Polacek <polacek@redhat.com>
9884
9885 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9886 Use dlfcn directly instead of a variable.
9887 (binfmt-subdir): Do not define.
9888 (dlfcn): Likewise.
9889
a9f1039f
JM
98902012-08-01 Joseph Myers <joseph@codesourcery.com>
9891
23bddc06
JM
9892 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9893 Remove all definitions.
9894 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9895 <kernel-features.h>.
9896 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9897 (miss_F_GETOWN_EX): Remove all definitions.
9898 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9899 macro definition.
9900 [!__ASSUME_FCNTL64]: Remove conditional code.
9901 [__ASSUME_FCNTL64]: Make code unconditional.
9902 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9903 <kernel-features.h>.
9904 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9905 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9906 (lockf64) [__NR_fcntl64]: Make code unconditional.
9907 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9908
a9f1039f
JM
9909 * sysdeps/unix/sysv/linux/kernel-features.h
9910 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9911 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9912 Make code unconditional.
9913 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9914 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9916 [__NR_vfork]: Make code unconditional.
9917 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9918 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9920 [__NR_vfork]: Make code unconditional.
9921 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9922 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9923
09c0ee5f
RM
99242012-08-01 Roland McGrath <roland@hack.frob.com>
9925
48aec5b9
RM
9926 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9927 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9928
cd97c966
RM
9929 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9930 Define mkstemp64 as an alias.
3f55550c
RM
9931 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9932 Define mkstemps64 as an alias.
cd97c966
RM
9933 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9934 Define mkostemp64 as an alias.
b8625cfc
RM
9935 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9936 Define mkostemps64 as an alias.
cd97c966
RM
9937 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9938 Conditionalize body on this.
9939 * misc/mkostemp64.c: Likewise.
b8625cfc 9940 * misc/mkostemps64.c: Likewise.
3f55550c 9941 * misc/mkstemps64.c: Likewise.
cd97c966
RM
9942 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9943 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9944 * sysdeps/wordsize-64/mkostemp.c: File removed.
9945 * sysdeps/wordsize-64/mkstemp.c: File removed.
9946 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9947 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9948 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9949 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9950
09c0ee5f
RM
9951 [BZ #14138]
9952 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9953 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9954 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9955 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9956
9957 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9958 compat_symbol macros from <shlib-compat.h> rather than the underlying
9959 default_symbol_version and symbol_version macros, so that DEFAULT
9960 lines in shlib-versions are respected.
9961 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9962
7e66ee51
FW
99632012-08-01 Florian Weimer <fweimer@redhat.com>
9964
9965 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9966 Declare with warn_unused_result.
9967 (setgid, setregid, setegid, setresgid): Likewise.
9968 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9969 Likewise.
9970 * WUR-REPORT: Remove set*id functions.
9971
d2a54255
PT
99722012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9973
9974 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9975
7ecdb005
RM
99762012-07-31 Roland McGrath <roland@hack.frob.com>
9977
789bd351
RM
9978 * include/sys/socket.h (__libc_accept, __libc_accept4):
9979 Add attribute_hidden.
9980 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9981
40ce302d
RM
9982 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9983 use of PTR_MANGLE.
9984 * inet/getnetgrent_r.c (setup): Likewise.
9985
7ecdb005
RM
9986 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9987
e2eabb2c
DM
99882012-07-31 David S. Miller <davem@davemloft.net>
9989
9990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9991
d0419dbf
JM
99922012-07-31 Joseph Myers <joseph@codesourcery.com>
9993
9994 [BZ #13629]
9995 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9996 value between 1.0 and 2.0 and smaller part has absolute value less
9997 than 1.0.
9998 * math/s_clog10.c (__clog10): Likewise.
9999 * math/s_clog10f.c (__clog10f): Likewise.
10000 * math/s_clog10l.c (__clog10l): Likewise.
10001 * math/s_clogf.c (__clogf): Likewise.
10002 * math/s_clogl.c (__clogl): Likewise.
10003 * math/libm-test.inc (clog_test): Add more tests.
10004 (clog10_test): Likewise.
10005 * sysdeps/i386/fpu/libm-test-ulps: Update.
10006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10007
2bc13872
FW
100082012-07-31 Florian Weimer <fweimer@redhat.com>
10009
10010 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10011 Exit with zero in case no suitable GID is found, and write a
10012 message to standard error.
10013
bea9b193
RM
100142012-07-30 Roland McGrath <roland@hack.frob.com>
10015
10016 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10017 rather than to 1.
10018 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10019 (MAXPATHLEN): Removed.
10020 (NOGROUP, NODEV): New macros.
10021 (setbit, clrbit, isset, isclr): New macros.
10022 (howmany, roundup, powerof2): New macros.
10023 (DEV_BSIZE): New macro.
10024
10025 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10026 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10027
10028 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10029 definition on [!__NO_LONG_DOUBLE_MATH].
10030
10031 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10032 PTR_MANGLE and PTR_DEMANGLE.
10033
10034 * socket/accept4.c (accept4): Rename to __libc_accept4.
10035 Define accept4 as a weak alias.
10036
10037 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10038 on [_DIRENT_HAVE_D_TYPE].
10039 * io/ftw.c (ftw_dir): Likewise.
10040
10041 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10042
10043 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10044
10045 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10046 Use the BSD numbers rather than the arbitrary ones we had.
10047 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10048 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10049 (SIGXCPU, SIGXFSZ): New macros.
10050 (_NSIG): Now 32.
10051
10052 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10053 initializer on [_LIBC_REENTRANT].
10054
10055 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10056 definitions inside [_POSIX_MAPPED_FILES].
10057
10058 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10059
10060 * dirent/opendir.c: Include <fcntl.h>.
10061
10062 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10063 (__libc_getspecific): Likewise.
10064 (__libc_key_create): Likewise.
10065
10066 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10067 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10068 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10069 (tmpfile64): Define as alias.
10070 * sysdeps/wordsize-64/tmpfile.c: File removed.
10071 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10072 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10073 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10074
10075 * stdio-common/vfscanf.c: Include <stdbool.h>.
10076 * nss/makedb.c: Likewise.
10077 * stdio-common/_i18n_number.h: Likewise.
10078 * argp/argp-help.c: Likewise.
10079 * posix/wordexp.c: Likewise.
10080 * sysdeps/posix/spawni.c: Likewise.
10081 * nss/nss_files/files-initgroups.c: Likewise.
10082 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10083 * nss/nss_files/files-initgroups.c: Likewise.
10084 * nss/nss_db/db-netgrp.c: Likewise.
10085 * nss/nss_db/db-initgroups.c: Likewise.
10086 * io/fchmodat.c: Include <sys/stat.h>.
10087
10088 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10089 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10090
10091 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10092 [HAVE_MMAP].
10093
10094 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10095 Add multiple inclusion protection.
10096
e5abc686
DM
100972012-07-27 David S. Miller <davem@davemloft.net>
10098
10099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10100
815e6fa3
GB
101012012-07-27 Gary Benson <gbenson@redhat.com>
10102
10103 [BZ #14298]
10104 * elf/rtld.c: Include <stap-probe.h>.
10105 (dl_main): Added static probes "init_start" and "init_complete".
10106 * elf/dl-load.c: Include <stap-probe.h>.
10107 (lose): Take new parameter "nsid".
10108 Added static probe "map_failed".
10109 (_dl_map_object_from_fd): Pass namespace id to lose.
10110 Added static probe "map_start".
10111 (open_verify): Pass namespace id to lose.
10112 * elf/dl-open.c: Include <stap-probe.h>.
10113 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10114 and "reloc_complete".
10115 * elf/dl-close.c: Include <stap-probe.h>.
10116 (_dl_close_worker): Added static probes "unmap_start" and
10117 "unmap_complete".
10118 * elf/rtld-debugger-interface.txt: New file documenting the above.
10119
9f98c16c
RM
101202012-07-26 Roland McGrath <roland@hack.frob.com>
10121
10122 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10123 rather than a string variable.
10124 * sunrpc/rpc_main.c (h_output): Likewise.
10125 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10126
f3c22df3
PT
101272012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10128
10129 * inet/check_native.c: New file.
10130
3129cfc6
JM
101312012-07-26 Joseph Myers <joseph@codesourcery.com>
10132
da865e95
JM
10133 [BZ #13629]
10134 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10135 if larger part has absolute value 1.0.
10136 * math/s_clog10.c (__clog10): Likewise.
10137 * math/s_clog10f.c (__clog10f): Likewise.
10138 * math/s_clog10l.c (__clog10l): Likewise.
10139 * math/s_clogf.c (__clogf): Likewise.
10140 * math/s_clogl.c (__clogl): Likewise.
10141 * math/libm-test.inc (clog_test): Add more tests.
10142 (clog10_test): Likewise.
10143 * sysdeps/i386/fpu/libm-test-ulps: Update.
10144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10145
3129cfc6
JM
10146 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10147 (pltexit): Likewise.
10148 (La_regs): Likewise.
10149 (La_retval): Likewise.
10150 (int_retval): Likewise.
10151 Update #error for removed macros to refer only to definitions in
10152 tst-audit.h.
10153 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10154 macro.
10155 (pltexit): Likewise.
10156 (La_regs): Likewise.
10157 (La_retval): Likewise.
10158 (int_retval): Likewise.
10159 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10160 macro.
10161 (pltexit): Likewise.
10162 (La_regs): Likewise.
10163 (La_retval): Likewise.
10164 (int_retval): Likewise.
10165 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10166 macro.
10167 (pltexit): Likewise.
10168 (La_regs): Likewise.
10169 (La_retval): Likewise.
10170 (int_retval): Likewise.
10171 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10172 macro.
10173 (pltexit): Likewise.
10174 (La_regs): Likewise.
10175 (La_retval): Likewise.
10176 (int_retval): Likewise.
10177 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10178 macro.
10179 (pltexit): Likewise.
10180 (La_regs): Likewise.
10181 (La_retval): Likewise.
10182 (int_retval): Likewise.
10183 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10184 macro.
10185 (pltexit): Likewise.
10186 (La_regs): Likewise.
10187 (La_retval): Likewise.
10188 (int_retval): Likewise.
10189 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10190 macro definitions in tst-audit.h.
10191 * sysdeps/i386/tst-audit.h: New file.
10192 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10193 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10194 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10195 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10196 * sysdeps/sh/tst-audit.h: Likewise.
10197 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10198 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10199 * sysdeps/x86_64/tst-audit.h: Likewise.
10200
bfc07087
AJ
102012012-07-26 Andreas Jaeger <aj@suse.de>
10202
b1b2aaf8
AJ
10203 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10204 ptrace.
10205
10206 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10207 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10208 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10209 PTRACE_O_MASK.
10210 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10211 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10212 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10213
bfc07087
AJ
10214 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10215 value.
10216
10217 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10218 _sigsys.
10219 (si_call_addr, si_syscall, si_arch): Define new macro.
10220 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10221 _sigsys.
10222 (si_call_addr, si_syscall, si_arch): Define new marcro.
10223 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10224 _sigsys.
10225 (si_call_addr, si_syscall, si_arch): Define new macro.
10226 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10227 _sigsys.
10228 (si_call_addr, si_syscall, si_arch): Define new macro.
10229
89b4b02f
JM
102302012-07-25 Joseph Myers <joseph@codesourcery.com>
10231
10232 [BZ #13717]
10233 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10234 Change to 2.4.21 where previously 2.4.1.
10235 * sysdeps/unix/sysv/linux/configure: Regenerated.
10236 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10237 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10238 Linux kernel version.
10239 (__ASSUME_STD_AUXV): Remove.
10240 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10241 kernel version.
10242 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10243 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10244 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10245 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10246 (__ASSUME_NETLINK_SUPPORT): Likewise.
10247 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10248 (__no_netlink_support): Remove conditional definition.
10249 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10250 Remove.
10251 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10252 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10253 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10254 (if_nameindex_ioctl): Remove.
10255 (if_nameindex_netlink): Do not handle __no_netlink_support.
10256 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10257 code.
10258 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10259 Remove conditional code.
10260 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10261 code.
10262 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10263 unconditional.
10264 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10265 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10266 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10267 Remove.
10268 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10269 [!__ASSUME_STD_AUXV]: Remove conditional code.
10270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10271 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10272 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10274 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10275 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10276 code.
10277 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10279 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10280 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10281 conditional code.
10282 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10284 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10285 code.
10286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10287 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10288 conditional code.
10289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10290 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10291 code unconditional.
10292 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10293 conditional code.
10294 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10295 unconditional.
10296 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10297 conditional code.
10298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10299 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10300 unconditional.
10301 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10302 conditional code.
10303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10304 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10305 code unconditional.
10306 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10307 conditional code.
10308 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10309 unconditional.
10310 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10311 conditional code.
10312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10313 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10314 code unconditional.
10315 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10316 conditional code.
10317 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10318 unconditional.
10319 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10320 conditional code.
10321
842a39cd
AS
103222012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10323
10324 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10325 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10326 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10327 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10328 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10329 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10330 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10331 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10332 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10333 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10334 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10335 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10336 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10337 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10338 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10339 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10340 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10341 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10342 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10343 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10344 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10345 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10346 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10347
84b3fd84
FW
103482012-07-25 Florian Weimer <fweimer@redhat.com>
10349
10350 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10351 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10352 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10353 Introduce __libc_secure_getenv.
0c7936d5
FW
10354 * stdlib/Versions (2.17): Add secure_getenv
10355 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10356 * stdlib/secure-getenv.c: Rename __secure_getenv to
10357 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10358 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10359 * stdlib/tst-secure-getenv.c: New.
10360 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10361 * manual/startup.texi (Environment Access): Document
10362 secure_getenv.
84b3fd84
FW
10363 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10364 __libc_secure_getenv.
10365 * inet/ruserpass.c (ruserpass): Likewise.
10366 * malloc/mtrace.c (mtrace): Likewise.
10367 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10368 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10369 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10370 * sysdeps/posix/tempname.c: Likewise. Evaluate
10371 HAVE_SECURE_GETENV.
10372 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10373 __secure_getenv to __libc_secure_getenv.
84b3fd84 10374 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10376 Likewise.
10377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10378 Likewise.
10379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10381 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10386
56e49b71
JM
103872012-07-25 Joseph Myers <joseph@codesourcery.com>
10388
10389 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10390 (struct La_i86_retval): Likewise.
10391 (struct La_x86_64_regs): Likewise.
10392 (struct La_x86_64_retval): Likewise.
10393 (struct La_x32_regs): Likewise.
10394 (struct La_x32_retval): Likewise.
10395 (struct La_ppc32_regs): Likewise.
10396 (struct La_ppc32_retval): Likewise.
10397 (struct La_ppc64_regs): Likewise.
10398 (struct La_ppc64_retval): Likewise.
10399 (struct La_sh_regs): Likewise.
10400 (struct La_sh_retval): Likewise.
10401 (struct La_s390_32_regs): Likewise.
10402 (struct La_s390_32_retval): Likewise.
10403 (struct La_s390_64_regs): Likewise.
10404 (struct La_s390_64_retval): Likewise.
10405 (struct La_sparc32_regs): Likewise.
10406 (struct La_sparc32_retval): Likewise.
10407 (struct La_sparc64_regs): Likewise.
10408 (struct La_sparc64_retval): Likewise.
10409 (struct audit_ifaces): Remove architecture-specific pltenter and
10410 pltexit members.
10411 * sysdeps/i386/ldsodefs.h: New file.
10412 * sysdeps/powerpc/ldsodefs.h: Likewise.
10413 * sysdeps/s390/ldsodefs.h: Likewise.
10414 * sysdeps/sh/ldsodefs.h: Likewise.
10415 * sysdeps/sparc/ldsodefs.h: Likewise.
10416 * sysdeps/x86_64/ldsodefs.h: Likewise.
10417
354691b7
MP
104182012-07-25 Marek Polacek <polacek@redhat.com>
10419
10420 [BZ #6808]
10421 * math/libm-test.inc (yn_test): Add another test.
10422 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10423 to ERANGE when the result is +-Inf.
10424 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10425 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10426 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10427 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10428
bf9e2071
JM
104292012-07-24 Joseph Myers <joseph@codesourcery.com>
10430
10431 * conform/data/time.h-data (NULL): Use macro-constant. Require
10432 equal to 0.
10433 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10434 clock_t.
10435 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10436
57633811
TS
104372012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10438
10439 * configure.in <sysdeps resolving>: Correct printing
10440 Implies_before.
10441 * configure: Regenerate.
10442
c23c33b0
TS
104432012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10444
10445 * math/w_ilogb.c: Include <limits.h>.
10446 * math/w_ilogbl.c: Likewise.
10447
b5982523
JM
104482012-07-20 Joseph Myers <joseph@codesourcery.com>
10449
10450 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10451 va_copy. Document allowing for unavailable va_copy only as
10452 pre-C99 compatibility.
10453 * manual/string.texi (Copying and Concatenation): Use va_copy
10454 instead of __va_copy in concat example.
10455
ac4ea442
PT
104562012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10457
10458 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10459 (__sendto): Use create_address_port. Initialize APORT and deallocate
10460 it if not null.
10461
f98eafbd
PT
10462 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10463 with O_NOLINK passed to __file_name_lookup.
10464
898c7aab
PT
10465 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10466 with O_NOLINK passed to __file_name_lookup.
10467
0ced335a
PT
10468 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10469 negative N or less than NGIDS.
10470
b3404dbd
PT
10471 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10472 type to string_t. Set ERANGE as errno and return it if NAME is not big
10473 enough. Use memcpy instead of strncpy.
10474
0f48659e
JM
104752012-07-20 Joseph Myers <joseph@codesourcery.com>
10476
10477 * elf/Makefile (check-data): Remove.
10478 (localplt.data): New vpath directive.
10479 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10480 instead of $(check-data).
10481 * scripts/data/localplt-generic.data: Move to ...
10482 * sysdeps/generic/localplt.data: ... here.
10483 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10484 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10485 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10487 ... here.
10488 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10490 ... here.
10491 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10493 ... here.
10494 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10496 ... here.
10497 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10499 ... here.
10500 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10502 ... here.
10503
d37cbdaa
AZ
105042012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10505
10506 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10507 PPC32 and PPC64 files.
10508 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10509 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10510
46f85fc2
AK
105112012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10512
10513 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10514 __makecontext_ret to ...
10515 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10516 ... here and call exit if uc_link is NULL. New file.
10517 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10518 __makecontext_ret.S.
10519 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10520 __makecontext_ret to ...
10521 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10522 ... here and call exit if uc_link is NULL. New file.
10523 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10524 __makecontext_ret.S.
10525
08f43f9b
AK
105262012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10527
10528 * elf/elf.h (R_390_IRELATIVE): New definition.
10529 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10530 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10531 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10532 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10533 (elf_machine_lazy_rel): Likewise.
10534 * sysdeps/s390/dl-irel.h: New file.
10535 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10536 * sysdeps/s390/s390-64/memset.S: New asm code.
10537 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10538 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10539 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10540 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10541 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10542 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10543 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10544 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10545 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10546 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10547 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10548 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10549 * sysdeps/s390/s390-32/memset.S: New asm code.
10550 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10551
3b05db33
MP
105522012-07-17 Marek Polacek <polacek@redhat.com>
10553
10554 [BZ #14349]
10555 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10556 * sysdeps/s390/s390-64/configure.in: Likewise.
10557 * sysdeps/sparc/configure.in: Likewise.
10558 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10559 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10560 * sysdeps/i386/configure.in: Likewise.
10561 * sysdeps/x86_64/configure.in: Likewise.
10562 * sysdeps/sh/configure.in: Likewise.
10563 * sysdeps/s390/s390-32/configure: Regenerated.
10564 * sysdeps/s390/s390-64/configure: Likewise.
10565 * sysdeps/x86_64/configure: Likewise.
10566 * sysdeps/sh/configure: Likewise.
10567 * sysdeps/powerpc/powerpc64/configure: Likewise.
10568 * sysdeps/powerpc/powerpc32/configure: Likewise.
10569 * sysdeps/sparc/configure: Likwise.
10570 * sysdeps/i386/configure: Likewise.
10571
a66877c6
MP
10572 * elf/dl-open.c: Comment fixes.
10573
cfc82fd8
JM
105742012-07-17 Joseph Myers <joseph@codesourcery.com>
10575
bd29910a
JM
10576 * Makefile [CXX] (check-data): Remove.
10577 [CXX] (c++-types.data): New vpath directive.
10578 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10579 vpath. Do not allow for C++ type data being missing.
10580 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10581 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10582 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10583 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10584 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10585 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10586 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10588 ... here.
10589 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10591 ... here.
10592 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10594 ... here.
10595 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10597 ... here.
10598 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10600 ... here.
10601 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10603 ... here.
10604 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10606 ... here.
10607 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10609
cfc82fd8
JM
10610 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10611 definitions to architecture-specific files.
10612 (TLS_IE): Likewise.
10613 (TLS_LD): Likewise.
10614 (TLS_GD): Likewise.
10615 * sysdeps/i386/tls-macros.h: New file.
10616 * sysdeps/powerpc/tls-macros.h: Likewise.
10617 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10618 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10619 * sysdeps/sh/tls-macros.h: Likewise.
10620 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10621 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10622 * sysdeps/x86_64/tls-macros.h: Likewise.
10623
f7db3170
TS
106242012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10625
07cbfc23
TS
10626 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10627 zero value for regular exit case.
10628
f7db3170
TS
10629 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10630 (__start_context): Preserve zero value for regular exit case.
10631
dc97c227
TS
106322012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10633 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10634
10635 * manual/setjmp.texi (setcontext): Clarify normal process
10636 termination when uc_link is the null pointer.
10637 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10638 exit call.
10639
d0cd7d02
AS
106402012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10641
10642 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10643 preprocessor. Test for each exception mask separately.
10644
dd318934
AJ
106452012-07-16 Andreas Jaeger <aj@suse.de>
10646
10647 * po/ru.po: Update from translation team.
10648
8048311a
JM
106492012-07-15 Joseph Myers <joseph@codesourcery.com>
10650
10651 * conform/data/string.h-data (NULL): Use macro-constant. Require
10652 equal to 0.
10653 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10654 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10655 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10656 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10657 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10658
b637d46e
AJ
106592012-07-13 Andreas Jaeger <aj@suse.de>
10660
10661 * po/fr.po: Update from translation team.
10662
541428fe
MP
106632012-07-12 Marek Polacek <polacek@redhat.com>
10664
10665 [BZ #14173]
10666 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10667 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10668 loop condition.
10669
ec332e94
JM
106702012-07-12 Joseph Myers <joseph@codesourcery.com>
10671
10672 [BZ #13717]
10673 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10674 Change to 2.4.1 where previously 2.4.0.
10675 * sysdeps/unix/sysv/linux/configure: Regenerated.
10676 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10677 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10678 version.
10679 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10680 (__ASSUME_AT_CLKTCK): Remove.
10681 (__ASSUME_AT_PAGESIZE): Likewise.
10682 (__ASSUME_AT_XID): Likewise.
10683 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10684 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10685 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10686 unconditionally.
10687 (HAVE_AUX_PAGESIZE): Likewise.
10688 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10689 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10690 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10691
7b6e99be
JB
106922012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10693
10694 [BZ #14307]
10695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10696 the temporary buffer used to invoke __gethostbyname2_r,
10697 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10698 host_data / struct gaih_addrtuple.
10699 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10700 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10701 header file nss/nsswitch.h.
10702 * nss/nsswitch.h (global scope): Add definition of implementation
10703 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10704 resolv/nss_dns/dns-host.c).
10705
608404eb
AJ
107062012-07-11 Andreas Jaeger <aj@suse.de>
10707
10708 * po/fr.po: Update from translation team.
10709
71220aca
AJ
10710 * po/sv.po: Update from translation team
10711 * po/fr.po: Another update from translation team.
10712
28cfe843
AZ
107132012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10714
10715 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10716 for subnormals or multiply small sinh result by itself.
10717 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10719
6b90f981
DM
107202012-07-11 David S. Miller <davem@davemloft.net>
10721
10722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10723
c6825772
AS
107242012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10725
10726 [BZ #14347]
10727 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10728 (INTERNAL_MARK): Shift it here.
10729
7b8e0d49
MP
107302012-07-10 Marek Polacek <polacek@redhat.com>
10731
10732 [BZ #14151]
10733 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10734 libc_cv_asm_global_directive with .globl.
10735 * configure: Regenerated.
10736 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10737 with .globl.
10738 * sysdeps/i386/configure: Regenerated.
10739 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10740 with .globl.
10741 * sysdeps/x86_64/configure: Regenerated.
10742 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10743 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10744 * elf/tst-unique2mod2.c: Likewise.
10745 * elf/tst-unique2mod1.c: Likewise.
10746 * elf/tst-unique1mod2.c: Likewise.
10747 * elf/tst-unique1mod1.c: Likewise.
10748 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10749 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10750 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10751 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10752 * sysdeps/mach/sysdep.h: Likewise.
10753 * sysdeps/i386/sysdep.h: Likewise.
10754 * sysdeps/i386/i386-mcount.S: Likewise.
10755 * sysdeps/x86_64/_mcount.S: Likewise.
10756 * sysdeps/x86_64/sysdep.h: Likewise.
10757 * sysdeps/sh/_mcount.S: Likewise.
10758 * sysdeps/sh/sysdep.h: Likewise.
10759 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10760 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10761 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10762 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10763 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10764 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10765 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10766 * locale/localeinfo.h: Likewise.
10767 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10768 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10769
6c55cda3
RM
107702012-07-09 Roland McGrath <roland@hack.frob.com>
10771
10772 [BZ #14336]
10773 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10774 system".
10775 * manual/message.texi (The Uniforum approach): Likewise.
10776 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10777 (glibc iconv Implementation): Likewise.
10778
638a572e
JM
107792012-07-09 Joseph Myers <joseph@codesourcery.com>
10780
10781 [BZ #14337]
10782 * math/s_clog.c (__clog): Avoid scaling a value down where that
10783 could result in underflow.
10784 * math/s_clog10.c (__clog10): Likewise.
10785 * math/s_clog10f.c (__clog10f): Likewise.
10786 * math/s_clog10l.c (__clog10l): Likewise.
10787 * math/s_clogf.c (__clogf): Likewise.
10788 * math/s_clogl.c (__clogl): Likewise.
10789 * math/libm-test.inc (clog_test): Add more tests.
10790 (clog10_test): Likewise.
10791 * sysdeps/i386/fpu/libm-test-ulps: Update.
10792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10793
261f4859
AS
107942012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10795
0abaf3e4
AS
10796 [BZ #14283]
10797 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10798 by 7 not 8 to examine high bit of fractional part.
10799
261f4859
AS
10800 [BZ #14042]
10801 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10802 for call to __mcount_internal.
10803 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10804 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10805 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10806
f17ac40d
JM
108072012-07-06 Joseph Myers <joseph@codesourcery.com>
10808
9ad63c23
JM
10809 [BZ #14154]
10810 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10811 approximation for values within 0x1p-13f of an odd multiple of
10812 pi/4.
10813 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10814 exception. Add more tests.
10815 * sysdeps/i386/fpu/libm-test-ulps: Update.
10816
f17ac40d
JM
10817 [BZ #6778]
10818 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10819 inputs and return -1 for them. Do not check for +Inf in case not
10820 reachable for +Inf.
10821 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10822 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10823 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10824 and return -1 for them. Do not check for +Inf in case not
10825 reachable for +Inf.
10826 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10827 define.
10828 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10829 and return -1 for them. Do not check for +Inf in case not
10830 reachable for +Inf.
10831 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10832 spurious underflow.
10833 * sysdeps/i386/fpu/libm-test-ulps: Update.
10834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10835
fb21f89b
MF
108362012-07-06 Mike Frysinger <vapier@gentoo.org>
10837
10838 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10839
cdfe2c5e
JM
108402012-07-05 Joseph Myers <joseph@codesourcery.com>
10841
10842 [BZ #14157]
10843 [BZ #14331]
10844 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10845 could result in spurious underflow. Scale down values above
10846 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10847 * math/s_csqrtf.c (__csqrtf): Likewise.
10848 * math/s_csqrtl.c (__csqrtl): Likewise.
10849 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10850 spurious underflow.
10851 * sysdeps/i386/fpu/libm-test-ulps: Update.
10852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10853
70d35b67
AS
108542012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10855
704bc459
AS
10856 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10857 xopen-msg.sed.
10858 * catgets/xopen-msg.awk: New file.
10859 * catgets/xopen-msg.sed: Removed.
10860
70d35b67
AS
10861 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10862 po2text.sed.
10863 * intl/po2test.awk: New file.
10864 * intl/po2test.sed: Removed.
10865
ca61cf32
JM
108662012-07-04 Joseph Myers <joseph@codesourcery.com>
10867
10868 [BZ #14328]
10869 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10870 or multiply small sinh result by itself.
10871 * math/s_ctanf.c (__ctanf): Likewise.
10872 * math/s_ctanh.c (__ctanh): Likewise.
10873 * math/s_ctanhf.c (__ctanhf): Likewise.
10874 * math/s_ctanhl.c (__ctanhl): Likewise.
10875 * math/s_ctanl.c (__ctanl): Likewise.
10876 * math/libm-test.inc (ctan_test_tonearest): New function.
10877 (ctan_test_towardzero): Likewise.
10878 (ctan_test_downward): Likewise.
10879 (ctan_test_upward): Likewise.
10880 (ctanh_test_tonearest): Likewise.
10881 (ctanh_test_towardzero): Likewise.
10882 (ctanh_test_downward): Likewise.
10883 (ctanh_test_upward): Likewise.
10884 (main): Call these new functions.
10885 * sysdeps/i386/fpu/libm-test-ulps: Update.
10886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10887
ca48a46a
MF
108882012-07-03 Mike Frysinger <vapier@gentoo.org>
10889
10890 * .gitignore: Delete /ports entry.
10891
9d63d37d
AJ
108922012-07-03 Andreas Jaeger <aj@suse.de>
10893
10894 * po/bg.po: Update from translation team.
10895 * po/cs.po: Likewise.
10896 * po/de.po: Likewise.
10897 * po/hr.po: Likewise.
10898 * po/nl.pl: Likewise.
10899 * po/pl.po: Likewise.
10900 * po/vi.po: Likewise.
10901
370ca3d2
JM
109022012-07-03 Joseph Myers <joseph@codesourcery.com>
10903
95f5a9a8
JM
10904 * Makeconfig [!+link] (+link-before-libc): New variable.
10905 [!+link] (+link-after-libc): Likewise.
10906 [!+link] (+link-tests): Likewise.
10907 [!+link] (+link): Define in terms of $(+link-before-libc) and
10908 $(+link-after-libc).
10909 [!+link-static] (+link-static-before-libc): New variable.
10910 [!+link-static] (+link-static-after-libc): Likewise.
10911 [!+link-static] (+link-static-tests): Likewise.
10912 [!+link-static] (+link-static): Define in terms of
10913 $(+link-static-before-libc) and $(+link-static-after-libc).
10914 [build-shared] (link-libc-before-gnulib): New variable.
10915 [build-shared] (link-libc-tests): Likewise.
10916 [build-shared] (link-libc): Define in terms of
10917 $(link-libc-before-gnulib).
10918 [!build-shared] (link-libc-tests): New variable.
10919 (link-libc-static-tests): New variable.
10920 [!gnulib] (gnulib-arch): New variable.
10921 [!gnulib] (gnulib-tests): Likewise.
10922 [!gnulib] (static-gnulib-arch): Likewise.
10923 [!gnulib] (static-gnulib-tests): Likewise.
10924 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10925 Define with "=" instead of ":=".
10926 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10927 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10928 * Rules (binaries-all-notests): New variable.
10929 (binaries-all-tests): Likewise.
10930 (binaries-static-notests): Likewise.
10931 (binaries-static-tests): Likewise.
10932 (binaries-all): Define using $(binaries-all-notests) and
10933 $(binaries-all-tests).
10934 (binaries-static): Define using $(binaries-static-notests) and
10935 $(binaries-static-tests).
10936 (binaries-shared-tests): New variable.
10937 (binaries-shared-notests): Likewise.
10938 (binaries-shared): Remove variable.
10939 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10940 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10941 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10942 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10943 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10944 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10945 * elf/Makefile (sln-modules): New variable.
10946 (extra-objs): Add $(sln-modules:=.o).
10947 (ldconfig-modules): Add static-stubs.
10948 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10949 * elf/static-stubs.c: New file.
10950
7a845b2c
JM
10951 [BZ #14283]
10952 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10953 by 7 not 8 to examine high bit of fractional part. Use volatile
10954 variables when splitting into final array of floats if
10955 __FLT_EVAL_METHOD__ != 0.
10956 * math/libm-test.inc (cos_test): Add another test.
10957 (sin_test): Likewise.
10958 * sysdeps/i386/fpu/libm-test-ulps: Update.
10959
e2283f38
JM
10960 [BZ #14273]
10961 * math/libm-test.inc (cosh_test): Add more tests.
10962
370ca3d2
JM
10963 * version.h (RELEASE): Set to "development".
10964 (VERSION): Set to "2.16.90".
10965
ee9247c3
CD
109662012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10967
10968 * NEWS: Update copyright. Remove last-updated date.
10969 Mention math library bug fixes and timezone data changes.
10970 * README: Mention GNU/Hurd, x32, and HPPA support status.
10971
4648c381
TS
109722012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10973
10974 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10975
aac78a43
AJ
109762012-06-27 Andreas Jaeger <aj@suse.de>
10977
10978 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10979
ed3dbfad
AJ
109802012-06-25 Andreas Jaeger <aj@suse.de>
10981
10982 * sysdeps/s390/fpu/libm-test-ulps: Update.
10983
4d0ee855
AS
109842012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10985 Thomas Schwinge <thomas@codesourcery.com>
10986
10987 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10988 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10989 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10990 fanotify_mark.
10991
af1bce34
TS
109922012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10993
a9fa33ba
TS
10994 * sysdeps/mach/start.c: Remove file.
10995 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10996 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10997 * sysdeps/sh/init-first.c: Likewise.
10998
58f902b8
TS
10999 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11000 registers for frame unwinding purposes, add CFI directives.
11001 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11002 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11003 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11004 Likewise.
11005
1518f58b
TS
11006 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11007 __fortify_fail returning.
11008 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11009
db9b5059
TS
11010 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11011 sysdeps/sh/____longjmp_chk.S.
11012 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11013 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11014 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11015 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11016
967705fe
TS
11017 * sysdeps/sh/abort-instr.h: New file.
11018 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11019 process in case exit returns.
11020
a9def8c4
TS
11021 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11022 initialize the GOT register before use.
11023
2a649725
TS
11024 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11025 calculation of ARGC > 4.
11026
af1bce34
TS
11027 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11028 meaningful names to some local labels.
11029
d230f50a
KK
110302012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11031 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11032
11033 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11034 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11035 (__arch_compare_and_exchange_val_16_acq): Likewise.
11036 (__arch_compare_and_exchange_val_32_acq): Likewise.
11037 (atomic_exchange_and_add): Fix gUSA sequence.
11038 (atomic_add): Likewise.
11039 (atomic_add_negative): Likewise.
11040 (atomic_add_zero): Likewise.
11041 (atomic_bit_test_set): Likewise.
11042
0479b305
AS
110432012-06-22 Andreas Schwab <schwab@redhat.com>
11044
11045 [BZ #13579]
11046 * include/link.h (struct link_map): Add l_free_initfini.
11047 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11048 l_initfini.
11049 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11050 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11051 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11052 set.
11053
0e3933b9
CD
110542012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11055
11056 * configure.in: Use AC_LANG_SOURCE.
11057 * configure: Regenerate.
11058
4248b1b1
RM
110592012-06-22 Roland McGrath <roland@hack.frob.com>
11060
11061 * configure.in (libc_cv_localstatedir): New substituted variable.
11062 * configure: Regenerated.
11063 * config.make.in (localstatedir): New variable, substituted from
11064 libc_cv_localstatedir.
11065 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11066 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11067 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11068 * sysdeps/gnu/configure: Regenerated.
11069
006dd861
JL
110702012-06-21 Jeff Law <law@redhat.com>
11071
11072 [BZ #14277]
11073 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11074 free. Simplify list management for _LIBC case.
11075
79662d42
JM
110762012-06-21 Joseph Myers <joseph@codesourcery.com>
11077
b7abb4bf
JM
11078 [BZ #14273]
11079 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11080 Clear sign bit of 64-bit integer value before comparing against
11081 overflow value.
11082
79662d42
JM
11083 * sysdeps/mach/configure: Regenerated.
11084
1f150908
L
110852012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11086
11087 [BZ #14278]
11088 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11089
28363bbf
JL
110902012-06-21 Jeff Law <law@redhat.com>
11091
11092 [BZ #13882]
11093 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11094 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11095 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11096 * elf/dl-open.c (dl_open_worker): Likewise.
11097
09615db4
CD
110982012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11099
11100 * scripts/list-sources.sh: Scan PORTS for translations.
11101 * po/libc.pot: Regenerated.
11102
2174c6dd
AJ
111032012-06-21 Andreas Jaeger <aj@suse.de>
11104
11105 [BZ #12194]
11106 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11107 warning.
11108 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11109 * bits/byteswap-16.h (__bswap_16): Likewise.
11110 * bits/byteswap.h (__bswap_constant_16): Likewise.
11111
3ee947b1
L
111122012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11113
11114 [BZ #14117]
a2f34833
L
11115 * sysdeps/i386/fpu_control.h: Removed.
11116 * sysdeps/x86_64/fpu_control.h: Moved to ...
11117 * sysdeps/x86/fpu_control.h: Here.
11118
3ee947b1
L
11119 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11120 (_FPU_SETCW): Likewise.
11121
ed1825f8
L
111222012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11123
25f1282a
L
11124 [BZ #14117]
11125 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11126 * sysdeps/x86/fpu/bits/mathinline.h: This.
11127 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11128
ed1825f8
L
11129 [BZ #14050]
11130 [BZ #14117]
11131 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11132 functions if __x86_64__ is defined.
11133
36d54b74
CLT
111342012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11135
11136 * string/endian.h: Add !__ASSEMBLER__ condition for including
11137 conversion interfaces.
11138
10285c21
JM
111392012-06-15 Joseph Myers <joseph@codesourcery.com>
11140
11141 [BZ #14241]
11142 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11143 of ABS(x) in calculating zero to negative powers other than odd
11144 integers.
11145 * math/libm-test.inc (pow_test): Add more tests.
11146
06c5abbd
AJ
111472012-06-15 Andreas Jaeger <aj@suse.de>
11148
11149 * manual/contrib.texi (Contributors): Update entry of Liubov
11150 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11151 Machado Filho.
11152
a3aeac40
CH
111532012-06-15 Cyril Hrubis <metan@ucw.cz>
11154
11155 * string/string.h: Add __wur to GNU version of strerror_r.
11156
49bdf4c1
L
111572012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11158
11159 [BZ #14229]
11160 * string/Makefile (tests): Add tst-strtok_r.
11161 * string/tst-strtok_r.c: New file.
11162 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11163 RAX_LP/RDX_LP on SAVE_PTR.
11164
834f9b8d
RM
111652012-06-14 Roland McGrath <roland@hack.frob.com>
11166
11167 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11168
75fa1921
JM
111692012-06-14 Joseph Myers <joseph@codesourcery.com>
11170
11171 * libm_test.inc (csqrt_test): Allow more spurious underflow
11172 exceptions.
11173 (j0_test): Likewise.
11174 (j1_test): Likewise.
11175 (y0_test): Likewise.
11176 (y1_test): Likewise.
11177
771766df
CD
111782012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11179
11180 * po/Makefile (libc.pot): Use UTF-8 charset.
11181
ceb9e56b
PP
111822012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11183
11184 [BZ #14210]
11185 Suppress sign-conversion warning from FD_SET.
11186 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11187 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11188 not unsigned long int.
11189 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11190
ddb28975
L
111912012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11192
11193 [BZ #14050]
11194 [BZ #14117]
11195 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11196 __extern_always_inline instead of __extern_inline.
11197 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11198 (__signbit): Likewise.
11199 (__signbitl): Support C++ namespace.
11200 (lrintf): New inline function.
11201 (lrint): Likewise.
11202 (llrintf): Likewise.
11203 (llrint): Likewise.
11204 (fmaxf): Likewise.
11205 (fmax): Likewise.
11206 (fminf): Likewise.
11207 (fmin): Likewise.
11208 (rint): Likewise.
11209 (rintf): Likewise.
11210 (ceil): Likewise.
11211 (ceilf): Likewise.
11212 (floor): Likewise.
11213 (floorf): Likewise.
11214 (nearbyint): Likewise.
11215 (nearbyintf): Likewise.
11216
d7b4fb26
TS
112172012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11218
11219 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11220 non-default versions.
11221
eb55f5c2
RM
112222012-06-11 Roland McGrath <roland@hack.frob.com>
11223
11224 [BZ #14218]
11225 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11226
366af02c
TS
112272012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11228
99ff6e5c
TS
11229 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11230 (FE_UPWARD, FE_DOWNWARD): Don't define.
11231 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11232 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11233
366af02c
TS
11234 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11235 reading it.
11236 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11237 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11238
793ea851
KK
112392012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11240
11241 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11242 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11243 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11244 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11245
a728a38f
L
112462012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11247
11248 [BZ #14117]
c08010c7
L
11249 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11250 * sysdeps/i386/fpu/Implies: New file.
11251 * sysdeps/x86_64/fpu/Implies: Likewise.
11252 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11253 * sysdeps/x86/fpu/bits/fenv.h: This.
11254
a728a38f
L
11255 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11256 __SSE_MATH__.
11257
6e230d11
SP
112582012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11259
11260 [BZ #14134]
11261 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11262 character 0xffff that matches the last element of the
11263 conversion table.
11264
1b671feb
AZ
112652012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11266
11267 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11268 fmodl commit.
11269
6043738b
AZ
112702012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11271
11272 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11273 values higher than 25.6283.
11274
34ae0b32
AZ
112752012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11276
11277 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11278 subnormal exponent extraction and add some __builtin_expect.
11279 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11280 Fix for subnormal mantissa calculation.
11281
1214ec8f
MF
112822012-06-04 Mike Frysinger <vapier@gentoo.org>
11283
11284 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11285 cpu2 is -1 and errno is not ENOSYS.
11286
f3d1f93c
L
112872012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11288
11289 [BZ #14117]
0e4a3cd7
L
11290 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11291 * sysdeps/x86/bits/string.h: This.
11292 * sysdeps/x86_64/bits/string.h: Removed.
11293
6704c645
L
11294 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11295 if not compiling for x86-64, but compiling for >= i486.
11296
48495318
L
11297 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11298 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11299
14adcbfc
L
11300 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11301 New macro from Linux kernel 3.4.0.
11302 (FP_XSTATE_MAGIC2): Likewise.
11303 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11304 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11305 (struct _fpx_sw_bytes): New struct.
11306 (struct _xsave_hdr): Likewise.
11307 (struct _ymmh_state): Likewise.
11308 (struct _xstate): Likewise.
11309
68e408ab
L
11310 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11311 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11312 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11313 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11314 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11315 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11316
f3d1f93c
L
11317 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11318 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11319 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11320 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11321 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11322 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11323
d9dc34cd
TMQMF
113242012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11325
11326 [BZ #13743]
11327 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11328 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11329 (sysdep_headers): Include sys/platform/ppc.h.
11330 * sysdeps/powerpc/test-gettimebase.c: Test for
11331 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11332 * manual/Makefile (appendices): Include platform.texi.
11333 * manual/contrib.texi (Contributors): Update @node pointers.
11334 * manual/maint.texi (Maintenance): Likewise.
11335 (Platform): New node.
11336 * manual/platform.texi: New file. Document the new features.
11337
4af3879c
SP
113382012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11339 Jakub Jelinek <jakub@redhat.com>
11340
11341 [BZ #14188]
11342 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11343 where __builtin_expect is unavailable.
11344
2fd6ff13
DM
113452012-06-03 David S. Miller <davem@davemloft.net>
11346
11347 * stdlib/longlong.h: Updated from GCC.
11348
173f7220
AS
113492012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11350
11351 [BZ #14042]
11352 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11353 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11354 __mcount_internal.
11355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11356 (GLIBC_2.16): Likewise.
11357
f34a1c6f
L
113582012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11359
11360 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11361
88a4576f
JM
113622012-06-01 Joseph Myers <joseph@codesourcery.com>
11363
ea32bcdd
JM
11364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11365 (default-abi): New variable.
11366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11367 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11368 variable.
11369 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11370 Likewise.
11371 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11372 Likewise.
11373 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11374 Likewise.
11375
88a4576f
JM
11376 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11377 definition. Document in comment.
11378
402fe938
DM
113792012-06-01 David S. Miller <davem@davemloft.net>
11380
11381 * stdlib/longlong.h: Updated from GCC.
11382
3553723f
L
113832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11384
11385 [BZ #14117]
3bd872c4
L
11386 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11387 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11388 sys/debugreg.h sys/io.h here.
11389 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11390 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11391 sys/io.h.
11392 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11393 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11394 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11395 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11396 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11397 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11398
3553723f
L
11399 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11400 Define only if __x86_64__ is defined.
11401
4842e4fe
JM
114022012-06-01 Joseph Myers <joseph@codesourcery.com>
11403
c5bfe3d5
JM
11404 [BZ #14048]
11405 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11406 Use int64_t for variable i.
11407 * math/libm-test.inc (fmod_test): Add more tests.
11408
4842e4fe
JM
11409 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11410 z computation is not scheduled after fetestexcept.
11411 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11412 Use math_force_eval instead of asm to ensure calculation scheduled
11413 before exception test.
11414 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11415 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11416
efb73488
AJ
114172012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11418
11419 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11420 computation is not scheduled after fetestexcept.
11421
29bcce7c
L
114222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11423
11424 [BZ #14117]
11425 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11426 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11427
73a68f94
AZ
114282012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11429
11430 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11431 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11432
67b6df78
L
114332012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11434
edf2933a 11435 [BZ #14117]
ebc64a18
L
11436 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11437 <bits/wordsize.h>.
11438 (__WCHAR_MIN): Support __WORDSIZE == 64.
11439 (__WCHAR_MAX): Likewise.
11440
edf2933a
L
11441 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11442 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11443
57c6cf40
L
11444 [BZ #14183]
11445 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11446 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11447
67b6df78 11448 [BZ #14117]
8eb6281e
L
11449 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11450 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11451
aac639f4
L
11452 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11453 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11454
67b6df78
L
11455 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11456 Defined to 1 if __x86_64__ isn't defined.
11457 (_STAT_VER_LINUX_OLD): New.
11458 (st_atime): Remove duplicate.
11459 (st_mtime): Likewise.
11460 (st_ctime): Likewise.
11461
1c2cfe81
DM
114622012-05-31 David S. Miller <davem@davemloft.net>
11463
11464 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11465 entries.
11466
5be8418c
AS
114672012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11468
e7725326
AS
11469 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11470 gen-libm-test.pl.
11471
5be8418c
AS
11472 [BZ #14132]
11473 * elf/dl-reloc.c: Include <_itoa.h>.
11474 (_dl_reloc_bad_type): Remove use of INTUSE.
11475 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11476 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11477 * stdio-common/psiginfo.c (psiginfo): Likewise.
11478 * stdio-common/psignal.c (psignal): Likewise.
11479 * string/strsignal.c (strsignal): Likewise.
11480 * include/signal.h (_sys_siglist): Declare hidden proto.
11481 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11482 INTVARDEF with libc_hidden_data_def.
11483 * stdio-common/itoa-udigits.c: Likewise.
11484 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11485 (_itoa_lower_digits_internal): Remove declaration.
11486 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11487 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11488 (_sys_sigabbrev_internal): Remove aliases.
11489 (_sys_siglist): Define hidden alias.
11490
507352f1
MT
114912012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11492
11493 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11494 bits/sysctl.h.
11495
42bbb1c3
L
114962012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11497
11498 [BZ #14117]
6bd784b6
L
11499 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11500 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11501
8bca20f0
L
11502 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11503 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11504 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11505 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11506 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11507 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11508
f9e890a9
L
11509 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11510 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11511 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11512
471101a1
L
11513 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11514 with __addr.
11515 (insw): Likewise.
11516 (insl): Likewise.
11517 (outsb): Likewise.
11518 (outsw): Likewise.
11519 (outsl): Likewise.
11520
6451c862
L
11521 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11522 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11523 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11524
a254b8c9
L
11525 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11526 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11527 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11528 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11529 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11530 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11531
b8dfdd92
L
11532 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11533 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11534
578cd270
L
11535 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11536 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11537
de662f5f
L
11538 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11539 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11540 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11541
25653439
L
11542 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11543 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11544 to ...
11545 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11546
6bad24a0
L
11547 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11548 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11549 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11550
42bbb1c3
L
11551 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11552 for x86-64.
11553 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11554
2d10d547
JM
115552012-05-31 Joseph Myers <joseph@codesourcery.com>
11556
11557 * math/math.h (M_El): Use two more decimal places.
11558 (M_LOG2El): Likewise.
11559 (M_LOG10El): Likewise.
11560 (M_LN2l): Likewise.
11561 (M_LN10l): Likewise.
11562 (M_PIl): Likewise.
11563 (M_PI_2l): Likewise.
11564 (M_PI_4l): Likewise.
11565 (M_1_PIl): Likewise.
11566 (M_2_PIl): Likewise.
11567 (M_2_SQRTPIl): Likewise.
11568 (M_SQRT2l): Likewise.
11569 (M_SQRT1_2l): Likewise.
11570
f230c29b
DM
115712012-05-31 David S. Miller <davem@davemloft.net>
11572
11573 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11574 values between float registers.
11575 * sysdeps/sparc/sparc64/memset.S: Likewise.
11576 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11577
fed806c3
MF
115782012-05-31 Mike Frysinger <vapier@gentoo.org>
11579
11580 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11581 -D_FORTIFY_SOURCE=1.
11582 (CPPFLAGS-tst-longjmp_chk.c): Define.
11583 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11584 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11585 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11586 CFLAGS-tst-wchar-h.c.
11587
30917259
MP
115882012-05-31 Marek Polacek <polacek@redhat.com>
11589
11590 [BZ #14132]
11591 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11592 __endmntent_internal): Remove declaration.
11593 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11594 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11595 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11596
1c58d5dc
DM
115972012-05-30 David S. Miller <davem@davemloft.net>
11598
11599 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11600 (___Q_simulate_exceptions): Use real FP ops rather than writing
11601 into the %fsr.
11602 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11603 Likewise.
11604
7dc00e0d
L
116052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11606
11607 [BZ #14117]
0bd53985
L
11608 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11609 * sysdeps/x86/bits/xtitypes.h: This.
11610
3a257e66
L
11611 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11612 * sysdeps/x86/bits/wordsize.h: This.
11613
62f62904
L
11614 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11615 * sysdeps/x86/bits/huge_vall.h: This.
11616
404fe9d9
L
11617 * sysdeps/i386/bits/select.h: Removed.
11618 * sysdeps/x86_64/bits/select.h: Renamed to ...
11619 * sysdeps/x86/bits/select.h: This.
11620
d48d0446
L
11621 * sysdeps/i386/bits/setjmp.h: Removed.
11622 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11623 * sysdeps/x86/bits/setjmp.h: This.
11624
7dc00e0d
L
11625 * sysdeps/i386/bits/mathdef.h: Removed.
11626 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11627 * sysdeps/x86/bits/mathdef.h: This.
11628
03277f8f
AS
116292012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11630
11631 [BZ #14132]
11632 * include/sys/socket.h (__connect_internal)
11633 (__libc_sa_len_internal): Remove declaration.
11634 (__connect, __libc_sa_len): Declare hidden_proto.
11635 (SA_LEN): Remove use of INTUSE.
11636 * socket/connect.c: Add libc_hidden_def.
11637 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11638 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11639 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11640 alias.
11641 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11642 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11643 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11644 of adding _internal alias.
11645
13764867
L
116462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11647
11648 [BZ #14117]
6bd97696
L
11649 * sysdeps/i386/bits/link.h: Removed.
11650 * sysdeps/i386/bits/linkmap.h: Likewise.
11651 * sysdeps/x86_64/bits/link.h: Renamed to ...
11652 * sysdeps/x86/bits/link.h: This.
11653 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11654 * sysdeps/x86/bits/linkmap.h: This.
11655
f726f0bb
L
11656 * sysdeps/i386/bits/endian.h: Removed.
11657 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11658 * sysdeps/x86/bits/endian.h: This.
11659
13764867
L
11660 * sysdeps/i386/bits/byteswap.h: Removed.
11661 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11662 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11663 * sysdeps/x86/bits/byteswap.h: This.
11664 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11665 * sysdeps/x86/bits/byteswap-16.h: This.
11666 * sysdeps/i386/Implies: Add x86.
11667 * sysdeps/x86_64/Implies: Likewise.
11668
ae251b0b
DM
116692012-05-30 David S. Miller <davem@davemloft.net>
11670
11671 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11672 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11673 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11674 (FP_TRAPPING_EXCEPTIONS): Define.
11675 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11676 (FP_TRAPPING_EXCEPTIONS): Define.
11677 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11678 subnormals only when inexact has been signalled or underflow
11679 exceptions are enabled.
11680 (_FP_PACK_CANONICAL): Likewise.
11681
d5c90867
L
116822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11683
11684 [BZ #14183]
11685 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11686 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11687
63f1549e
RH
116882012-05-30 Richard Henderson <rth@twiddle.net>
11689
8d8f2279
RH
11690 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11691 with #ifndef NOT_IN_libc.
11692
63f1549e
RH
11693 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11694 marked to avoid plt entry.
11695
0ab0291b
L
116962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11697
11698 [BZ #14112]
11699 * Makeconfig (default-abi): New macro.
11700 (abi-includes): Likewise.
11701 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11702 $(abi-$(default-abi)-lib-soname) for soname if defined.
11703 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11704 abi-variants.
11705 * Makefile (installed-stubs): Likewise.
11706 * include/stubs-biarch.h: Removed.
11707 * scripts/lib-names.awk: Only handle one library at a time.
11708 * scripts/soversions.awk: Remove WORDSIZE support.
11709 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11710 entries.
11711 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11712 Removed.
11713 (syscall-list-default-condition): Likewise.
11714 (syscall-list-default-condition): Likewise.
11715 (syscall-list-includes): Likewise.
11716 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11717 syscall-list-* with abi-*. Handle undefined abi-variants.
11718 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11719 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11720 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11721 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11722 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11723 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11724 Removed.
11725 (syscall-list-32-options): Likewise.
11726 (syscall-list-32-condition): Likewise.
11727 (syscall-list-64-options): Likewise.
11728 (syscall-list-64-condition): Likewise.
11729 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11730 macro.
11731 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11732 Renamed to ...
11733 (abi-*): This.
11734 (abi-64-ld-soname): New macro.
11735 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11736 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11737 Renamed to ...
11738 (abi-*): This.
11739 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11740 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11741
4da0431d
JM
117422012-05-30 Joseph Myers <joseph@codesourcery.com>
11743
3a85279c
JM
11744 * sysdeps/unix/sysv/linux/kernel-features.h
11745 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11746 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11747 include <kernel-features.h>.
11748 [!__NR_ftruncate64]: Remove conditional code.
11749 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11750 [__NR_ftruncate64]: Make code unconditional.
11751 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11752 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11753 include <kernel-features.h>.
11754 [!__NR_ftruncate64]: Remove conditional code.
11755 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11756 [__NR_ftruncate64]: Make code unconditional.
11757 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11759 include <kernel-features.h>.
11760 [!__NR_ftruncate64]: Remove conditional code.
11761 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11762 [__NR_ftruncate64]: Make code unconditional.
11763 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11765 include <kernel-features.h>.
11766 [!__NR_ftruncate64]: Remove conditional code.
11767 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11768 [__NR_ftruncate64]: Make code unconditional.
11769 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11770
4da0431d
JM
11771 * configure.in (libc_cv_fpie): Weaken to a compile test using
11772 LIBC_TRY_CC_OPTION.
11773 * configure: Regenerated.
11774
11ef492c
AK
117752012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11776
11777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11781 Refreshed.
11782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11788 Refreshed.
11789
d66ef399
DM
117902012-05-27 David S. Miller <davem@davemloft.net>
11791
11792 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11793 (___Q_zero): New.
11794 (__Q_simulate_exceptions): Return void. Change to simulate
11795 exceptions by writing into the %fsr.
11796 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11797 (__Qp_handle_exceptions): Likewise.
11798 (numbers): Delete.
11799 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11800 __Qp_handle_exceptions.
11801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11802 __Qp_handle_exceptions.
11803 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11804 as unused and give dummy FP_RND_NEAREST initializer.
11805 (FP_INHIBIT_RESULTS): Define.
11806 (___Q_simulate_exceptions): Update declaration.
11807 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11808 formatting.
11809 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11810 as unused and give dummy FP_RND_NEAREST initializer.
11811 (__Qp_handle_exceptions): Update declaration.
11812 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11813 formatting.
11814
04fb54b5
TS
118152012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11816
11817 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11818 the temporary FPU control word.
11819 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11820 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11821 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11822 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11823 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11824 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11825 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11826 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11827 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11828 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11829 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11830
3f99608f
KK
118312012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11832
11833 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11834 fields.
11835
65a4de4e
CLT
118362012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11837
11838 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11839 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11840 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11841 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11842 Likewise.
11843 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11844 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11845 Likewise.
11846
15749d40
UD
118472012-05-27 Ulrich Drepper <drepper@gmail.com>
11848
11849 * po/h.po: Update from translation team.
11850
25dbcb27
AS
118512012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11852
3d3f8e55
AS
11853 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11854
25dbcb27
AS
11855 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11856 handling of denormals.
11857 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11858 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11859 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11860 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11861 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11862 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11863 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11864 Likewise.
11865
7ad47a80 118662012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11867
11868 [BZ #14152]
11869 * math/libm-test.inc (fma_test): Don't always expect underflow
11870 exception.
11871
9c6ea9fa
SP
118722012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11873
11874 [BZ #12416]
11875 * elf/tst-execstack.c: Include stackinfo.h.
11876 (do_test): Adjust test case to ensure that pthread_getattr_np
11877 behaviour remains the same after marking stack executable.
11878
a8239222
JM
118792012-05-25 Joseph Myers <joseph@codesourcery.com>
11880
11881 * sysdeps/unix/sysv/linux/kernel-features.h
11882 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11883 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11884 kernel-features.h.
11885 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11886 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11887 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11888 kernel-features.h.
11889 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11890 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11891
918b5606
L
118922012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11893
11894 * configure.in: Define the default includes to being none.
11895 * configure: Regenerated.
11896
3a097cc7
RM
118972012-05-25 Roland McGrath <roland@hack.frob.com>
11898
8422c9a5
RM
11899 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11900 * sysdeps/x86_64/setjmp.S: Likewise.
11901 * sysdeps/i386/bsd-setjmp.S: Likewise.
11902 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11903 * sysdeps/i386/setjmp.S: Likewise.
11904 * sysdeps/i386/__longjmp.S: Likewise.
11905 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11906 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11907
3a097cc7
RM
11908 * include/stap-probe.h: New file.
11909 * configure.in: Handle --enable-systemtap.
11910 * configure: Regenerated.
11911 * config.h.in (USE_STAP_PROBE): New #undef.
11912 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11913 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11914 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11915
21708942
JM
119162012-05-25 Joseph Myers <joseph@codesourcery.com>
11917
11918 [BZ #13717]
11919 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11920 to 2.4.0 where earlier.
11921 * sysdeps/unix/sysv/linux/configure: Regenerated.
11922 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11923 <kernel-features.h>.
11924 [__ASSUME_32BITUIDS]: Make code unconditional.
11925 [!__ASSUME_32BITUIDS]: Remove conditional code.
11926 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11927 <kernel-features.h>.
11928 [__ASSUME_32BITUIDS]: Make code unconditional.
11929 [!__ASSUME_32BITUIDS]: Remove conditional code.
11930 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11931 [__ASSUME_32BITUIDS]: Make code unconditional.
11932 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11933 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
11938 <kernel-features.h>.
11939 [__ASSUME_32BITUIDS]: Make code unconditional.
11940 [!__ASSUME_32BITUIDS]: Remove conditional code.
11941 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11942 <kernel-features.h>.
11943 [__ASSUME_32BITUIDS]: Make code unconditional.
11944 [!__ASSUME_32BITUIDS]: Remove conditional code.
11945 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11946 <kernel-features.h>.
11947 [__ASSUME_32BITUIDS]: Make code unconditional.
11948 [!__ASSUME_32BITUIDS]: Remove conditional code.
11949 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11950 <kernel-features.h>.
11951 [__ASSUME_32BITUIDS]: Make code unconditional.
11952 [!__ASSUME_32BITUIDS]: Remove conditional code.
11953 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11954 <kernel-features.h>.
11955 [__ASSUME_32BITUIDS]: Make code unconditional.
11956 [!__ASSUME_32BITUIDS]: Remove conditional code.
11957 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11958 <kernel-features.h>.
11959 [__ASSUME_32BITUIDS]: Make code unconditional.
11960 [!__ASSUME_32BITUIDS]: Remove conditional code.
11961 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11962 <kernel-features.h>.
11963 [__ASSUME_32BITUIDS]: Make code unconditional.
11964 [!__ASSUME_32BITUIDS]: Remove conditional code.
11965 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11966 <kernel-features.h>.
11967 [__ASSUME_32BITUIDS]: Make code unconditional.
11968 [!__ASSUME_32BITUIDS]: Remove conditional code.
11969 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11970 <kernel-features.h>.
11971 [__ASSUME_32BITUIDS]: Make code unconditional.
11972 [!__ASSUME_32BITUIDS]: Remove conditional code.
11973 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11974 <kernel-features.h>.
11975 [__NR_setresgid] (__setresgid): Do not declare.
11976 [__ASSUME_32BITUIDS]: Make code unconditional.
11977 [!__ASSUME_32BITUIDS]: Remove conditional code.
11978 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11979 <kernel-features.h>.
11980 [__NR_setresuid] (__setresuid): Do not declare.
11981 [__ASSUME_32BITUIDS]: Make code unconditional.
11982 [!__ASSUME_32BITUIDS]: Remove conditional code.
11983 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11984 <kernel-features.h>.
11985 [__ASSUME_32BITUIDS]: Make code unconditional.
11986 [!__ASSUME_32BITUIDS]: Remove conditional code.
11987 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11988 <kernel-features.h>.
11989 [__ASSUME_32BITUIDS]: Make code unconditional.
11990 [!__ASSUME_32BITUIDS]: Remove conditional code.
11991 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11992 <kernel-features.h>.
11993 [__ASSUME_32BITUIDS]: Make code unconditional.
11994 [!__ASSUME_32BITUIDS]: Remove conditional code.
11995 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11996 <kernel-features.h>.
11997 [__ASSUME_32BITUIDS]: Make code unconditional.
11998 [!__ASSUME_32BITUIDS]: Remove conditional code.
11999 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12000 <kernel-features.h>.
12001 [__ASSUME_32BITUIDS]: Make code unconditional.
12002 [!__ASSUME_32BITUIDS]: Remove conditional code.
12003 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12004 <kernel-features.h>.
12005 [__ASSUME_32BITUIDS]: Make code unconditional.
12006 [!__ASSUME_32BITUIDS]: Remove conditional code.
12007 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12008 <kernel-features.h>.
12009 [__ASSUME_32BITUIDS]: Make code unconditional.
12010 [!__ASSUME_32BITUIDS]: Remove conditional code.
12011 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12012 <kernel-features.h>.
12013 [__ASSUME_32BITUIDS]: Make code unconditional.
12014 [!__ASSUME_32BITUIDS]: Remove conditional code.
12015 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12016 <kernel-features.h>.
12017 [__ASSUME_32BITUIDS]: Make code unconditional.
12018 [!__ASSUME_32BITUIDS]: Remove conditional code.
12019 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12020 <kernel-features.h>.
12021 [__ASSUME_32BITUIDS]: Make code unconditional.
12022 [!__ASSUME_32BITUIDS]: Remove conditional code.
12023 * sysdeps/unix/sysv/linux/kernel-features.h
12024 (__ASSUME_SETRESUID_SYSCALL): Remove.
12025 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12026 (__ASSUME_32BITUIDS): Likewise.
12027 (__ASSUME_LDT_WORKS): Likewise.
12028 (__ASSUME_O_DIRECTORY): Likewise.
12029 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12030 architecture but not kernel version.
12031 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12032 (__ASSUME_MMAP2_SYSCALL): Likewise.
12033 (__ASSUME_STAT64_SYSCALL): Likewise.
12034 (__ASSUME_IPC64): Likewise.
12035 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12036 <kernel-features.h>.
12037 [__ASSUME_32BITUIDS]: Make code unconditional.
12038 [!__ASSUME_32BITUIDS]: Remove conditional code.
12039 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12040 <kernel-features.h>.
12041 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12042 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12043 132096]: Remove conditional code.
12044 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12045 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12046 <kernel-features.h>.
12047 [__ASSUME_32BITUIDS]: Make code unconditional.
12048 [!__ASSUME_32BITUIDS]: Remove conditional code.
12049 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12050 <kernel-features.h>.
12051 [__ASSUME_32BITUIDS]: Make code unconditional.
12052 [!__ASSUME_32BITUIDS]: Remove conditional code.
12053 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12054 <kernel-features.h>.
12055 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12056 unconditional.
12057 (__setresgid): Do not declare.
12058 [__ASSUME_32BITUIDS]: Make code unconditional.
12059 [!__ASSUME_32BITUIDS]: Remove conditional code.
12060 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12061 <kernel-features.h>.
12062 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12063 unconditional.
12064 (__setresuid): Do not declare.
12065 [__ASSUME_32BITUIDS]: Make code unconditional.
12066 [!__ASSUME_32BITUIDS]: Remove conditional code.
12067 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12068 <kernel-features.h>.
12069 [__ASSUME_32BITUIDS]: Make code unconditional.
12070 [!__ASSUME_32BITUIDS]: Remove conditional code.
12071 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12072 <kernel-features.h>.
12073 [__ASSUME_32BITUIDS]: Make code unconditional.
12074 [!__ASSUME_32BITUIDS]: Remove conditional code.
12075
a386f1cc
RH
120762012-05-25 Richard Henderson <rth@twiddle.net>
12077
12078 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12079 dl_hwcap to ifunc resolver.
12080 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12081 elf_ifunc_invoke.
12082 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12083 dl_hwcap to ifunc resolver.
12084 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12085
b6550497
JM
120862012-05-24 Joseph Myers <joseph@codesourcery.com>
12087
12088 [BZ #14153]
12089 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12090 for |x| <= 2**-26, not 2**-57.
12091 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12092 exception.
12093
b0bc23a1
JL
120942012-05-24 Jeff Law <law@redhat.com>
12095
12096 * stdio-common/Makefile (tests): Add bug25.
12097 * stdio-common/bug25.c: New test.
12098
347c92e9
L
120992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12100
12101 [BZ #13576]
12102 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12103 multiple of MALLOC_ALIGNMENT in size.
12104 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12105
6bcc8b3f
JM
121062012-05-24 Joseph Myers <joseph@codesourcery.com>
12107
12108 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12109 Require >= 256.
12110 (FILENAME_MAX): Use macro-int-constant.
12111 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12112 (_IOFBF): Use macro-int-constant.
12113 (_IOLBF): Likewise.
12114 (_IONBF): Likewise.
12115 (SEEK_CUR): Likewise.
12116 (SEEK_END): Likewise.
12117 (SEEK_SET): Likewise.
12118 (TMP_MAX): Likewise.
12119 (EOF): Use macro-int-constant. Require < 0.
12120 (NULL): Use macro-constant. Require == 0.
12121 (stdin): Require type to be FILE *.
12122 (stdout): Likewise.
12123 (stderr): Likewise.
12124 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12125 macro-int-constant.
12126 (EXIT_SUCCESS): Likewise.
12127 (NULL): Use macro-constant. Require == 0.
12128 (RAND_MAX): Use macro-int-constant.
12129 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12130 [C99-based standards] (strtof): Require function.
12131 [C99-based standards] (strtold): Likewise.
12132 [C99-based standards] (strtoll): Likewise.
12133 [C99-based standards] (strtoull): Likewise.
12134 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12135 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12136 [ISO || ISO99 || ISO11] (math.h): Likewise.
12137 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12138 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12139 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12140
d18ea0c5
AS
121412012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12142
12143 [BZ #14132]
56d25bb8
AS
12144 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12145 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12146 * intl/dgettext.c (DCGETTEXT): Likewise.
12147 * intl/gettext.c (DCGETTEXT): Likewise.
12148 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12149 * posix/regex_internal.h (gettext): Likewise.
12150 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12151 Remove declaration.
12152 * include/argz.h (__argz_count_internal)
12153 (__argz_stringify_internal): Remove declaration.
12154 (__argz_count, __argz_stringify): Declare hidden proto.
12155 * intl/dcgettext.c: Remove use of INTDEF.
12156 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12157 * string/argz-stringify.c: Likewise.
12158 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12159 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12160 Declare hidden proto.
d18ea0c5
AS
12161 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12162 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12163 Declare hidden proto.
12164 * include/stdio.h (__asprintf_internal): Don't declare.
12165 (__asprintf): Don't define as macro. Declare hidden proto.
12166 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12167 (__fsetlocking): Declare hidden proto.
12168 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12169 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12170 hidden proto.
12171 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12172 (_IO_setlinebuf): Remove use of INTUSE.
12173 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12174 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12175 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12176 Remove declaration.
12177 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12178 (_IO_do_flush): Remove use of INTUSE.
12179 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12180 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12181 (_IO_adjust_column, _IO_least_wmarker)
12182 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12183 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12184 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12185 (_IO_default_doallocate, _IO_wdefault_doallocate)
12186 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12187 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12188 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12189 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12190 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12191 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12192 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12193 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12194 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12195 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12196 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12197 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12198 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12199 proto.
12200 (_IO_flush_all_internal, _IO_adjust_column_internal)
12201 (_IO_default_uflow_internal, _IO_default_finish_internal)
12202 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12203 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12204 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12205 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12206 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12207 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12208 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12209 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12210 (_IO_file_close_internal, _IO_file_close_it_internal)
12211 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12212 (_IO_file_init_internal, _IO_file_attach_internal)
12213 (_IO_file_fopen_internal, _IO_file_read_internal)
12214 (_IO_file_sync_internal, _IO_file_seek_internal)
12215 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12216 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12217 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12218 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12219 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12220 (_IO_list_all_internal, _IO_link_in_internal)
12221 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12222 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12223 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12224 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12225 (_IO_do_write_internal, _IO_padn_internal)
12226 (_IO_getline_info_internal, _IO_getline_internal)
12227 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12228 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12229 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12230 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12231 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12232 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12233 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12234 with libc_hidden_ver, remove use of INTUSE.
12235 * libio/genops.c: Likewise.
12236 * libio/freopen.c: Likewise.
12237 * libio/freopen64.c: Likewise.
12238 * libio/iofclose.c: Likewise.
12239 * libio/iofdopen.c: Likewise.
12240 * libio/iofflush.c: Likewise.
12241 * libio/iofflush_u.c: Likewise.
12242 * libio/iofgets.c: Likewise.
12243 * libio/iofgets_u.c: Likewise.
12244 * libio/iofopen.c: Likewise.
12245 * libio/iofopncook.c: Likewise.
12246 * libio/iofread.c: Likewise.
12247 * libio/iofread_u.c: Likewise.
12248 * libio/ioftell.c: Likewise.
12249 * libio/iofwrite.c: Likewise.
12250 * libio/iogetline.c: Likewise.
12251 * libio/iogets.c: Likewise.
12252 * libio/iogetwline.c: Likewise.
12253 * libio/iopadn.c: Likewise.
12254 * libio/iopopen.c: Likewise.
12255 * libio/ioseekoff.c: Likewise.
12256 * libio/ioseekpos.c: Likewise.
12257 * libio/iosetbuffer.c: Likewise.
12258 * libio/iosetvbuf.c: Likewise.
12259 * libio/ioungetc.c: Likewise.
12260 * libio/ioungetwc.c: Likewise.
12261 * libio/iovdprintf.c: Likewise.
12262 * libio/iovsprintf.c: Likewise.
12263 * libio/iovsscanf.c: Likewise.
12264 * libio/memstream.c: Likewise.
12265 * libio/obprintf.c: Likewise.
12266 * libio/oldfileops.c: Likewise.
12267 * libio/oldiofclose.c: Likewise.
12268 * libio/oldiofdopen.c: Likewise.
12269 * libio/oldiofopen.c: Likewise.
12270 * libio/oldiopopen.c: Likewise.
12271 * libio/oldstdfiles.c: Likewise.
12272 * libio/putc.c: Likewise.
12273 * libio/setbuf.c: Likewise.
12274 * libio/setlinebuf.c: Likewise.
12275 * libio/stdfiles.c: Likewise.
12276 * libio/strops.c: Likewise.
12277 * libio/vasprintf.c: Likewise.
12278 * libio/vscanf.c: Likewise.
12279 * libio/vsnprintf.c: Likewise.
12280 * libio/vswprintf.c: Likewise.
12281 * libio/wfiledoalloc.c: Likewise.
12282 * libio/wfileops.c: Likewise.
12283 * libio/wgenops.c: Likewise.
12284 * libio/wmemstream.c: Likewise.
12285 * libio/wstrops.c: Likewise.
12286 * libio/__fpurge.c: Likewise.
12287 * libio/__fsetlocking.c: Likewise.
12288 * assert/assert.c: Likewise.
12289 * debug/fgets_chk.c: Likewise.
12290 * debug/fgets_u_chk.c: Likewise.
12291 * debug/fread_chk.c: Likewise.
12292 * debug/fread_u_chk.c: Likewise.
12293 * debug/gets_chk.c: Likewise.
12294 * debug/obprintf_chk.c: Likewise.
12295 * debug/vasprintf_chk.c: Likewise.
12296 * debug/vdprintf_chk.c: Likewise.
12297 * debug/vsnprintf_chk.c: Likewise.
12298 * debug/vsprintf_chk.c: Likewise.
12299 * malloc/mtrace.c: Likewise.
12300 * misc/error.c: Likewise.
12301 * misc/syslog.c: Likewise.
12302 * stdio-common/asprintf.c: Likewise.
12303 * stdio-common/fxprintf.c: Likewise.
12304 * stdio-common/getw.c: Likewise.
12305 * stdio-common/isoc99_fscanf.c: Likewise.
12306 * stdio-common/isoc99_scanf.c: Likewise.
12307 * stdio-common/isoc99_vfscanf.c: Likewise.
12308 * stdio-common/isoc99_vscanf.c: Likewise.
12309 * stdio-common/isoc99_vsscanf.c: Likewise.
12310 * stdio-common/printf-prs.c: Likewise.
12311 * stdio-common/printf_fp.c: Likewise.
12312 * stdio-common/printf_fphex.c: Likewise.
12313 * stdio-common/printf_size.c: Likewise.
12314 * stdio-common/putw.c: Likewise.
12315 * stdio-common/scanf.c: Likewise.
12316 * stdio-common/sprintf.c: Likewise.
12317 * stdio-common/tmpfile.c: Likewise.
12318 * stdio-common/vfprintf.c: Likewise.
12319 * stdio-common/vfscanf.c: Likewise.
12320 * stdlib/strfmon_l.c: Likewise.
12321 * sunrpc/openchild.c: Likewise.
12322 * sunrpc/xdr_stdio.c: Likewise.
12323 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12324 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12325
d6c33fda
RM
123262012-05-24 Roland McGrath <roland@hack.frob.com>
12327
c1487492
RM
12328 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12329
12330 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12331 in the third column, to generate for the shared library an IFUNC
12332 that uses _dl_vdso_vsym.
12333 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12334 * Makeconfig (object-suffixes-noshared): New variable.
12335
12336 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12337 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12338 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12339 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12340
d6c33fda
RM
12341 [BZ #14132]
12342 * include/sys/time.h (__gettimeofday): Remove macro.
12343 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12344 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12345 Remove INTDEF.
12346 (__gettimeofday): Add libc_hidden_def.
12347 (gettimeofday): Add libc_hidden_weak.
12348 * sysdeps/mach/gettimeofday.c: Likewise.
12349 * sysdeps/posix/gettimeofday.c: Likewise.
12350 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12351 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12352 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12353 (__gettimeofday_internal): Remove strong_alias.
12354 (__gettimeofday): Add libc_hidden_def.
12355 (gettimeofday): Add libc_hidden_weak.
12356 * sysdeps/unix/syscalls.list (gettimeofday):
12357 Remove __gettimeofday_internal alias.
12358
b5a2bbe6
L
123592012-05-24 Daniel Jacobowitz <drow@false.org>
12360 H.J. Lu <hongjiu.lu@intel.com>
12361
12362 [BZ #12495]
12363 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12364 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12365 (largebin_index_32_big): New.
12366 (largebin_index): Use it for 16-byte alignment.
12367 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12368 correction with front_misalign.
12369
cfba4fda
L
123702012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12371
7f907421
L
12372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12374 Likewise.
12375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12376 Likewise.
12377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12378 Likewise.
12379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12380 Likewise.
12381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12382 Likewise.
12383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12384 Likewise.
12385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12386 Likewise.
12387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12388 Likewise.
12389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12390 Likewise.
12391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12392 Likewise.
12393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12394 Likewise.
12395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12396 Likewise.
12397
cfba4fda
L
12398 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12399 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12400
80bad0cc
JM
124012012-05-24 Joseph Myers <joseph@codesourcery.com>
12402
7a25eb06
JM
12403 [BZ #10846]
12404 [BZ #14036]
12405 * math/libm-test.inc (exp_test): Add test from bug 14036.
12406 (pow_test): Add test from bug 10846.
12407
795405f9
JM
12408 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12409 and other flags.
12410 (special_function): Do not include flags in test name.
12411 (parse_args): Likewise.
12412 * sysdeps/i386/fpu/libm-test-ulps: Update.
12413 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12414 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12415 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12417
80bad0cc
JM
12418 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12419 exceptions.
12420 * math/libm-test.inc ("Philosophy"): Update comment about
12421 exception testing.
12422 (UNDERFLOW_EXCEPTION): New macro.
12423 (UNDERFLOW_EXCEPTION_OK): Likewise.
12424 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12425 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12426 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12427 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12428 (INVALID_EXCEPTION_OK): Update value.
12429 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12430 (OVERFLOW_EXCEPTION_OK): Likewise.
12431 (IGNORE_ZERO_INF_SIGN): Likewise.
12432 (test_exceptions): Handle underflow exceptions.
12433 (acos_test): Update for underflow exception expectations.
12434 (cexp_test): Likewise.
12435 (clog_test): Likewise.
12436 (clog10_test): Likewise.
12437 (csqrt_test): Likewise.
12438 (ctan_test): Likewise.
12439 (ctanh_test): Likewise.
12440 (exp_test): Likewise.
12441 (exp10_test): Likewise.
12442 (exp2_test): Likewise.
12443 (expm1_test): Likewise.
12444 (fma_test): Likewise.
12445 (j0_test): Likewise.
12446 (jn_test): Likewise.
12447 (nexttoward_test): Likewise.
12448 (pow_test): Likewise.
12449 (scalbn_test): Likewise.
12450 (scalbln_test): Likewise.
12451 (tan_test): Likewise.
12452 (y1_test): Likewise.
12453 * sysdeps/i386/fpu/libm-test-ulps: Update.
12454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12455
9e0e3d0b
DM
124562012-05-23 David S. Miller <davem@davemloft.net>
12457
12458 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12459 (__libc_sigaction): Remove unused local variables.
12460
ccd0a08f
L
124612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12462
12463 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12464
62bdf9a6
PE
124652012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12466
f8591f80
PE
12467 mktime: avoid signed integer overflow
12468 * time/mktime.c (__mktime_internal): Do not mishandle the case
12469 where diff == INT_MIN.
12470
94c7d826
PE
12471 mktime: simplify computation of average
12472 * time/mktime.c (ranged_convert): Use new time_t_avg function
12473 instead of rolling our own (probably-slower) code.
12474
ce73d683
PE
12475 mktime: do not assume signed right shift propagates sign bit
12476 * time/mktime.c (isdst_differ): New static function.
12477 (__mktime_internal): No need to normalize tm_isdst now.
12478 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12479 tm_isdst values.
12480
72a22e59
PE
12481 mktime: merge another wrapv change from gnulib
12482 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12483 from some compilers.
12484
68605433
PE
12485 mktime: remove incorrect attempt at unusual arithmetics
12486 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12487 The code didn't really work on such machines anyway.
12488 (TYPE_MINIMUM): Assume two's complement.
12489 (twos_complement_arithmetic): Verify that long_int and time_t
12490 are two's complement (or unsigned, in the latter case).
12491
03cf7fe3
PE
12492 mktime: check signed shifts on long_int and time_t, too
12493 * time/mktime.c (SHR): Check that shifts work as desired
12494 on the types long_int and time_t too, as SHR is used on
12495 such types.
12496
f04dfbc2
PE
12497 mktime: do not assume 'long' is wide enough
12498 * time/mktime.c (verify): Move decl up.
12499 (long_int): New type.
12500 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12501 to remove assumption in the code that 'long' is wide enough to
12502 store year values. This assumption is not true on x32 and on
12503 some non-glibc platforms.
12504
62bdf9a6
PE
12505 mktime: merge wrapv change from gnulib
12506 * time/mktime.c (WRAPV): New macro.
12507 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12508 (guess_time_tm, __mktime_internal): Do not assume that signed
12509 integer overflow wraps around; modern compilers generate code
12510 where this assumption is no longer valid.
12511
5e292e4f
L
125122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12513
12514 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12515 Replace "jmp L(pseudo_end)" with "ret".
12516 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12517 Likewise.
12518
8caf8c87
AJ
125192012-05-23 Andreas Jaeger <aj@suse.de>
12520
12521 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12522 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12523
1a09dc56
AJ
125242012-05-23 Andreas Jaeger <aj@suse.de>
12525 Maximilian Attems <max@stro.at>
12526
12527 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12528 New macros.
12529
1c87aba0
L
125302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12531
12532 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12533 code so that pseudo_end is just ret and the stack pointer is
12534 correct also for static library in error case.
12535
40e45bd5
JM
125362012-05-23 Joseph Myers <joseph@codesourcery.com>
12537
c2670533
JM
12538 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12539 move to syscalls.list.
12540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12544
40e45bd5
JM
12545 * manual/install.texi (Running make install): Do not mention Linux
12546 kernel version for which pt_chown is not needed.
12547 (Linux): Do not mention problems with nscd with 2.0 kernels.
12548 * INSTALL: Regenerated.
12549
be08eda5
AJ
125502012-05-23 Andreas Jaeger <aj@suse.de>
12551
12552 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12553 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12554 macro.
12555 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12556 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12557 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12558 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12559 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12560 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12561 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12562 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12563 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12564 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12565 * sysdeps/unix/sysv/linux/bits/in.h
12566 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12567
a6a056bb
RM
125682012-05-22 Roland McGrath <roland@hack.frob.com>
12569
12570 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12571 (PREPARE_VERSION): Just use assert instead, it will be elided
12572 under [NDEBUG] anyway.
12573
c9009328
L
125742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12575
12576 * sysdeps/unix/sysv/linux/Makefile: Include
12577 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12578 (sysdep_routines): Remove sysctl.
c9009328
L
12579 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12580 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12581 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12582 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12583 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12584
73338355
AJ
125852012-05-22 Andreas Jaeger <aj@suse.de>
12586
12587 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12588 that pseudo_end is just ret and the stack pointer is correct also
12589 for static library in error case.
12590
d44638b0
PP
125912012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12592
12593 [BZ #14122]
12594 * nss/nsswitch.c (defconfig_entries): New variable.
12595 (__nss_database_lookup): Don't leak defconfig entries.
12596 (nss_parse_service_list): Don't leak on error paths.
12597 (free_database_entries): New function.
12598 (free_defconfig): New function.
12599 (free_mem): Move common code to free_database_entries.
12600
31a39bd8
L
126012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12602
da0331a8
L
12603 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12604 Add arch_prctl.
12605 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12606
31a39bd8
L
12607 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12608 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12609 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12610 New macro.
12611 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12612 (INTERNAL_SYSCALL_TYPES): Likewise.
12613 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12614 (LOAD_REGS_TYPES_[1-6]): Likewise.
12615 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12616 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12617
45470df3
AZ
126182012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12619
12620 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12621 copysignl for GLIBC_2_0.
12622 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12623 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12624 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12625 logbl for GLIBC_2_0.
12626 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12627 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12628
98a61bcb
L
126292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12630
a4f6e481
L
12631 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12632 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12633
f63d5db6
L
12634 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12635 Use "neg %eax".
12636
98a61bcb
L
12637 * time/mktime.c: Update copyright years.
12638
95770f14
PE
126392012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12640
6226efbd
PE
12641 mktime: merge comment-quoting-style change from gnulib
12642 * time/mktime.c: Quote 'like this' in comments.
12643 The GNU coding standards suggest that we no longer quote `like this',
12644 as "`" and "'" are typically rendered asymmetrically nowadays.
12645 The typical gnulib style is to quote 'like this' when quoting
12646 code, and "like this" when quoting English.
12647
b99e4f78
PE
12648 * time/mktime.c (compile-command): Add "-I.".
12649
643e01e6
PE
12650 mktime: merge mktime-internal.h change from gnulib
12651 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12652
2554247d
PE
12653 mktime: merge time_r change from gnulib
12654 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12655
826dd0ab
PE
12656 mktime: merge DEBUG change from gnulib
12657 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12658 case system <time.h> has a #define.
12659
bd83aabe
PE
12660 mktime: merge <sys/types.h> change from gnulib
12661 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12662 since <time.t> is now guaranteed to define time_t.
12663
95770f14
PE
12664 mktime: merge HAVE_CONFIG_H change from gnulib
12665 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12666
5e1a27a9
L
126672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12668
0e44a77e
L
12669 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12670 Use "neg %eax".
12671
5e1a27a9
L
12672 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12673 __rlim_t cast.
12674 (struct rusage): Use anonymous union to pad each field to
12675 __syscall_slong_t.
12676
46259bec
DM
126772012-05-21 David S. Miller <davem@davemloft.net>
12678
12679 * Makefules (o-iterator): Remove .s cases.
12680 (compile-command.s): Delete.
12681 (COMPILE.s): Delete.
12682 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12683
59f0c22e
JM
126842012-05-21 Joseph Myers <joseph@codesourcery.com>
12685
12686 * configure.in (libc_cv_predef_stack_protector): Only consider
12687 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12688 * configure: Regenerated.
12689
20c07380
L
126902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12691
bbb3154b
L
12692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12693 New macro. Use R*LP on int and pointer.
12694 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12695 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12696 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12697 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12698
20c07380
L
12699 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12700 [__WORDSIZE_TIME64_COMPAT32] instead of
12701 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12702 (struct utmp): Likewise.
12703 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12704 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12705 Renamed to ...
12706 (__WORDSIZE_TIME64_COMPAT32): This.
12707 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12708 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12709 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12710 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12711 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12712 (__WORDSIZE_TIME64_COMPAT32): New macro.
12713
d8d1017e
AJ
127142012-05-21 Andreas Jaeger <aj@suse.de>
12715
12716 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12717 only if [SHARED]. Add prototype for __wcschr_ia32.
12718
6c7fb145
RM
127192012-05-21 Roland McGrath <roland@hack.frob.com>
12720
12721 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12722 of %rbp unmolested in the jmp_buf while mangling the low bits.
12723 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12724 unmolested high bits of %rbp while demangling the low bits.
12725 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12726
66274218
AJ
127272012-05-21 Andreas Jaeger <aj@suse.de>
12728
07c58f8f
AJ
12729 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12730 * sunrpc/svc_simple.c: Use it for registerrpc.
12731 * sunrpc/xcrypt.c: Use it for passwd2des.
12732
66274218
AJ
12733 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12734
61f65140
L
127352012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12736
12737 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12738 Don't define if [__SYSCALL_WORDSIZE != 32].
12739 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12740 New macro.
12741
5fefb436
AJ
127422012-05-21 Bruno Haible <bruno@clisp.org>
12743 Andreas Jaeger <aj@suse.de>
12744
12745 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12746 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12747 inptr and inend for must_buffer_ch.
12748 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12749 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12750 * stdio-common/Makefile (tests): Remove bug15.
12751 (bug15-ENV): Remove macro.
12752 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12753 anymore.
12754
d8e272ab
AJ
127552012-05-19 Andreas Jaeger <aj@suse.de>
12756 Roland McGrath <roland@hack.frob.com>
12757
12758 * manual/contrib.texi: Completely rewritten. It contains now an
12759 alphabetical list of contributors and their contributions.
12760
4a56a162
RH
127612012-05-21 Richard Henderson <rth@twiddle.net>
12762
12763 * misc/getauxval.c (__getauxval): Use unsigned long int.
12764 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12765 (getauxval): Use unsigned long int.
12766
d024d23c
L
127672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12768
12769 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12770
cbc00a03
RM
127712012-05-21 Roland McGrath <roland@hack.frob.com>
12772
12773 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12774 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12775 __alignof__ (long double).
12776
478143fa
AZ
127772012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12778
12779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12780
c7683a6d
RH
127812012-05-20 Richard Henderson <rth@twiddle.net>
12782
12783 * misc/getauxval.c: New file.
12784 * misc/sys/auxv.h: New file.
12785 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12786 (routines): Add getauxval.
12787 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12788 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12789 * elf/dl-sysdep.c (_dl_auxv): Remove.
12790 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12791 * elf/dl-support.c (_dl_auxv): New variable.
12792 (_dl_aux_init): Initialize it.
12793 * manual/startup.texi (Auxiliary Vector): New node.
12794 * sysdeps/generic/bits/hwcap.h: New file.
12795 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12796 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12797 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12798 * sysdeps/sparc/sysdep.h: ... here. Include it.
12799 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12800 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12802 Update.
c7683a6d
RH
12803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12806 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12811
a6f1845d
AZ
128122012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12813
12814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12815
cbcbe830
DM
128162012-05-19 David S. Miller <davem@davemloft.net>
12817
12818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12819
e0b16cc2
JM
128202012-05-19 Joseph Myers <joseph@codesourcery.com>
12821
12822 [BZ #14123]
12823 * math/s_ccosh.c: Include <float.h>
12824 (__ccosh): Avoid internal overflow calculating sinh and cosh
12825 values before multiplying by sin and cos values.
12826 * math/s_ccoshf.c: Likewise.
12827 * math/s_ccoshl.c: Likewise.
12828 * math/s_csin.c: Likewise.
12829 * math/s_csinf.c: Likewise.
12830 * math/s_csinl.c: Likewise.
12831 * math/s_csinh.c: Likewise.
12832 * math/s_csinhf.c: Likewise.
12833 * math/s_csinhl.c: Likewise.
12834 * math/libm-test.inc (ccos_test): Add more tests.
12835 (ccosh_test): Likewise.
12836 (csin_test): Likewise.
12837 (csinh_test): Likewise.
12838 * sysdeps/i386/fpu/libm-test-ulps: Update.
12839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12840
6ad13e08
L
128412012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12842
f66f0ce8
L
12843 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12844 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12845
6ad13e08
L
12846 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12847
b1d072a7
JM
128482012-05-19 Joseph Myers <joseph@codesourcery.com>
12849
12850 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12851 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12852 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12853 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12854 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12855 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12856 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12857 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12858 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12859 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12860 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12861 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12862 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12863 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12864 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12865 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12866 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12867 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12868 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12869 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12870 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12871 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12872 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12873 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12874 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12875 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12876 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12877 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12878 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12879 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12880 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12881
9eae47cb
AJ
128822012-05-18 Andreas Jaeger <aj@suse.de>
12883
12884 * csu/.gitignore: Delete.
12885
bb07f69f
L
128862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12887
12888 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12889 (timex): Use __syscall_slong_t.
12890
e6bdb741
AJ
128912012-05-18 Andreas Jaeger <aj@suse.de>
12892 Carlos O'Donell <carlos_odonell@mentor.com>
12893
12894 * manual/install.texi (Configuring and compiling): Update
12895 description about files modified in the source directory.
d6c33fda 12896 * INSTALL: Regenerated.
e6bdb741 12897
1b74487e
L
128982012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12899
12900 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12901 value. Use "or" to set return value to -1.
12902 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12903 negate return value.
12904
a88b64b9
TMQMF
129052012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12906
12907 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12908 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12909 failure if the compiler has Graphite support disabled.
12910 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12911 Likewise.
12912 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12913 CFLAGS-memmove.c): Likewise.
12914 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12915 Likewise.
12916
3707636e
L
129172012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12918
610b8622
L
12919 * sysdeps/x86_64/x32/_itoa.h: New file.
12920
7cd195df
L
12921 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12922 getdents system call only if kernel and user dirents have the
12923 same d_ino and d_off.
12924
94b07d20
L
12925 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12926 LLONG_MAX != LONG_MAX.
12927 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12928 (_fitoa_word): Likewise.
12929
18298070
L
12930 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12931 years.
12932 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12933 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12934 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12935
553c7ea4
L
12936 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12937 include <bits/wordsize.h>. Check __x86_64__ instead of
12938 __WORDSIZE.
12939 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12940 if __x86_64__ is defined. Use anonymous union on fpstate.
12941
3707636e
L
12942 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12943 anonymous union.
12944
b53ef01a
AS
129452012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12946
37fb1dc0
AS
12947 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12948 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12949 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12950 Refer to _rtld_local_ro instead of _rtld_global_ro.
12951 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12952 Likewise.
12953 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12954 Likewise.
12955 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12956 Likewise.
12957 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12958 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12959 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12960
b53ef01a
AS
12961 * sysdeps/powerpc/powerpc32/dl-machine.c
12962 (__elf_machine_runtime_setup) [PROF]: Don't reference
12963 _dl_prof_resolve.
12964
7a185db2
AJ
129652012-05-18 Andreas Jaeger <aj@suse.de>
12966
12967 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12968 function only available for GCCs before 3.4 since GCC 3.4
12969 introduced a builtin.
12970 (lrint): Likewise.
12971 (llrintf): Likewise.
12972 (llrint): Likewise.
12973 (fmaxf): Likewise.
12974 (fmax): Likewise.
12975 (fminf): Likewise.
12976 (fmin): Likewise.
12977 (rint): Likewise.
12978 (rintf): Likewise.
12979 (nearbyint): Likewise.
12980 (nearbyintf): Likewise.
12981 (ceil): Likewise.
12982 (ceilf): Likewise.
12983 (floor): Likewise.
12984 (floorf): Likewise.
12985
3e5aef87
L
129862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12987
428bd707
L
12988 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12989 on both fields and cast pointer to __syscall_ulong_t.
12990
3e5aef87
L
12991 * bits/types.h (__fsword_t): New type.
12992 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12993 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12994 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12995 (__FSWORD_T_TYPE): Likewise.
12996 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12997 (__FSWORD_T_TYPE): Likewise.
12998 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12999 (__FSWORD_T_TYPE): Likewise.
13000 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13001 (__FSWORD_T_TYPE): Likewise.
13002 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13003 __SWORD_TYPE with __fsword_t.
13004 (statfs64): Likewise.
13005
1ba7c3dc
DM
130062012-05-17 David S. Miller <davem@davemloft.net>
13007
13008 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13009
59910343
AJ
130102012-05-17 Andreas Jaeger <aj@suse.de>
13011
13012 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13013 warning.
13014
2e4c1e9e
L
130152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13016
13017 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13018
de7f5ce7
AJ
130192012-05-17 Andreas Jaeger <aj@suse.de>
13020
13021 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13022 when it is used.
13023
286abc3d
CM
130242012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13025
13026 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13027
477cc68e
L
130282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13029
13030 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13031 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13032
1a0994f5
CD
130332012-05-17 Andreas Jaeger <aj@suse.de>
13034 Carlos O'Donell <carlos_odonell@mentor.com>
13035
13036 [BZ #14059]
13037 * sysdeps/x86_64/multiarch/init-arch.h
13038 (bit_YMM_Usable): Rename to...
13039 (bit_AVX_Usable): ... this.
13040 (bit_FMA4_Usable): New macro.
13041 (bit_XMM_state): New macro.
13042 (bit_YMM_state): New macro.
13043 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13044 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13045 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13046 (CPUID_OSXSAVE): New macro.
13047 (CPUID_AVX): New macro.
13048 (CPUID_FMA4): New macro.
13049 (index_YMM_Usable): Rename to...
13050 (index_AVX_Usable): ... this.
13051 (HAS_AVX): Use HAS_ARCH_FEATURE.
13052 (HAS_FMA4): Likewise.
13053 (HAS_YMM_USABLE): Remove.
13054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13055 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13056 are present.
13057 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13058 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13059 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13060 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13061 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13062
0af797de
CM
130632012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13064
13065 * math/libm-test.c: Support platforms without multiple rounding modes.
13066 * math/bug-nextafter.c: Support platforms without FP exceptions.
13067 * math/bug-nexttoward.c: Likewise.
13068 * math/test-fenv.c: Likewise.
13069 * math/test-misc.c: Likewise.
13070 * stdlib/bug-getcontext.c: Likewise.
13071
e39745ff
AJ
130722012-05-17 Andreas Jaeger <aj@suse.de>
13073
13074 * manual/examples/search.c (critter_cmp): Change signature to
13075 avoid warnings.
13076 * manual/string.texi (Collation Functions): Likewise.
13077
48970aba
L
130782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13079
13080 * bits/types.h: Fold copyright years.
13081 * bits/typesizes.h: Likewise.
13082 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13083 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13084 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13085 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13086 * time/time.h: Likewise.
13087
bedee953
PP
130882012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13089
13090 [BZ #208]
13091 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13092 in instead of returning them. Return void.
13093 (__libc_mallinfo): Accumulate over all arenas.
13094 (__malloc_stats): Adjust for change in int_mallinfo interface.
13095
61653dfb
RM
130962012-05-16 Roland McGrath <roland@hack.frob.com>
13097
30b99d79
RM
13098 [BZ #10375]
13099 * configure.in (NM): Add AC_CHECK_TOOL for it.
13100 (libc_extra_cflags): New substituted variable.
13101 Check for -fstack-protector being used implicitly.
13102 * configure: Regenerated.
13103 * config.make.in (config-extra-cflags): New variable,
13104 gets @libc_extra_cflags@.
13105 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13106
61653dfb
RM
13107 [BZ #10375]
13108 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13109 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13110 * configure: Regenerated.
13111 * config.make.in (CPPUNDEFS): New substituted variable.
13112 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13113 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13114 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13115
661768bb
L
131162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13117
13118 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13119 (mq_attr): Use __syscall_slong_t.
13120
d4261567
L
131212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13122
13123 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13124 Check __x86_64__ instead of __WORDSIZE.
13125 (_STAT_VER_LINUX): Likewise.
13126 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13127 __syscall_ulong_t and __syscall_slong_t.
13128 (stat64): Likewise.
13129
cf3ff365
L
131302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13131
13132 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13133
76cf3e4d
L
131342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13135
13136 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13137
a637753a
L
131382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13139
13140 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13141 __syscall_ulong_t.
13142
d5e05119
L
13143 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13144 include <bits/wordsize.h>. Check __x86_64__ instead of
13145 __WORDSIZE.
13146 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13147 defined.
13148 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13149
f62ee380
L
13150 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13151 include <bits/wordsize.h>. Check __x86_64__ instead of
13152 __WORDSIZE.
13153 (user_regs_struct): Use "__extension__ unsigned long long"
13154 instead of "unsigned long" if __x86_64__ is defined.
13155 (user): Likewise. Pad after pointer field if __ILP32__ is
13156 defined.
13157
4e124ced
JM
131582012-05-16 Joseph Myers <joseph@codesourcery.com>
13159
6a3951a0
JM
13160 * configure.in (makeinfo): Require version 4.5 or later. Allow
13161 versions 5 to 9.
13162 * configure: Regenerated.
13163 * manual/install.texi (texinfo): Increase version requirement to
13164 4.5 or later.
13165 * INSTALL: Regenerated.
13166
4e124ced
JM
13167 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13168
953ca31a
L
131692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13170
13171 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13172
617aca05
L
13173 * sysdeps/x86_64/x32/ffs.c: New file.
13174
5762f7ae
L
13175 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13176 __syscall_ulong_t.
13177 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13178 defined. Use __syscall_ulong_t.
13179 (shminfo): Use __syscall_ulong_t.
13180 (shm_info): Likewise.
13181
a26b6856
L
13182 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13183 __syscall_ulong_t.
13184
cb2b9ef7
L
13185 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13186 <bits/wordsize.h>.
13187 (msgqnum_t): Use __syscall_ulong_t.
13188 (msglen_t): Likewise.
13189 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13190 __syscall_ulong_t.
13191
34683bb0
L
13192 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13193 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13194
84a68786
L
13195 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13196
48baa5f1
L
13197 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13198 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13199
180be88b
L
13200 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13201 __syscall_slong_t.
13202
5e90c8ad
L
13203 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13204 include <bits/wordsize.h>. Check __x86_64__ instead of
13205 __WORDSIZE.
13206
23dfb58b
L
13207 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13208 "unsigned long long int" if __x86_64__ is defined.
13209 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13210
ce5d54b0
L
13211 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13212 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13213 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13214
13dc9eac
L
13215 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13216 <stdint.h>.
13217 (GET_PC): Cast to uintptr_t first.
13218 (GET_FRAME): Likewise.
13219 (GET_STACK): Likewise.
13220
a7895d15
L
13221 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13222 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13223 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13224 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13225 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13226 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13227 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13228 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13229 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13230 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13231 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13232 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13233 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13234 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13235 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13236 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13237 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13238 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13239 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13240 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13241 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13242 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13243 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13244 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13245 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13246 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13247 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13248 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13249 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13250
656416c9
AS
132512012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13252
5bd66283
AS
13253 * Makerules (+depfiles): Also collect depfiles from .oS in
13254 $(extra-objs).
13255 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13256 .oS, $(libnldbl-routines)).
13257
656416c9
AS
13258 * Makerules (native-compile-mkdep-flags): Define.
13259 * sunrpc/Makefile (extra-objs): Add $(addprefix
13260 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13261 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13262 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13263 calling $(make-target-directory).
13264
a46f2169
L
132652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13266
13267 * bits/types.h (__snseconds_t): Removed.
13268 * time/time.h (struct timespec): Replace __snseconds_t with
13269 __syscall_slong_t.
13270 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13271 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13272 Likewise.
13273 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13274 (__SNSECONDS_T_TYPE): Likewise.
13275 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13276 (__SNSECONDS_T_TYPE): Likewise.
13277 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13278 (__SNSECONDS_T_TYPE): Likewise.
13279
6af6528b
L
132802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13281
13282 * sysdeps/mach/hurd/bits/typesizes.h
13283 (__SYSCALL_SLONG_TYPE): New macro.
13284 (__SYSCALL_ULONG_TYPE): Likewise.
13285
de986b56
L
132862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13287
13288 * bits/types.h (__syscall_slong_t): New type.
13289 (__syscall_ulong_t): Likewise.
13290
13291 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13292 (__SYSCALL_ULONG_TYPE): Likewise.
13293 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13294 (__SYSCALL_SLONG_TYPE): Likewise.
13295 (__SYSCALL_ULONG_TYPE): Likewise.
13296 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13297 (__SYSCALL_SLONG_TYPE): Likewise.
13298 (__SYSCALL_ULONG_TYPE): Likewise.
13299 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13300 (__SYSCALL_SLONG_TYPE): Likewise.
13301 (__SYSCALL_ULONG_TYPE): Likewise.
13302
85736dc7
L
133032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13304
13305 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13306 Add sigaltstack-offsets.sym.
13307 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13308 <sigaltstack-offsets.h>.
13309 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13310 longjmp_msg pointer.
13311 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13312 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13313 signal stack.
13314 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13315
cc03b296
JM
133162012-05-15 Joseph Myers <joseph@codesourcery.com>
13317
a9538892
JM
13318 * elf/stackguard-macros.h: Remove file.
13319 * sysdeps/generic/stackguard-macros.h: New file.
13320 * sysdeps/i386/stackguard-macros.h: Likewise.
13321 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13322 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13323 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13324 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13325 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13326 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13327 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13328 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13329 <elf/stackguard-macros.h>.
13330
cc03b296
JM
13331 [BZ #14109]
13332 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13333 __aligned__ in attribute.
13334 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13335 (gregset_t): Likewise.
13336
93171016
L
133372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13338
13339 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13340 * sysdeps/x86_64/64/Implies-after: Here. New file.
13341 * sysdeps/x86_64/x32/Implies-after: New file.
13342
d86813a0
L
133432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13344
13345 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13346 and access return value for _dl_profile_fixup. Use R10_LP to
13347 load frame size.
13348
2953ec75
L
133492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13350
13351 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13352
3b550e9e
L
133532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13354
13355 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13356 * sysdeps/x86_64/x32/sysdep.h: New file.
13357
eda41706
L
133582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13359
13360 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13361 * sysdeps/x86_64/setjmp.S: Likewise.
13362
9ea01d93
AZ
133632012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13364
13365 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13366 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13367 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13368 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13369 remove unused global constant.
13370
02a91938
CM
133712012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13372
13373 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13374 include of <not-cancel.h>.
13375
6540185f
RM
133762012-05-15 Roland McGrath <roland@hack.frob.com>
13377
13378 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13379
509072a0
AJ
133802012-05-15 Jeff Law <law@redhat.com>
13381 Andreas Jaeger <aj@suse.de>
13382
13383 [BZ #13594]
13384 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13385 out from...
13386 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13387 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13388 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13389 code changing __hst_map_handle.map.
13390
ba75122d
RM
133912012-05-15 Roland McGrath <roland@hack.frob.com>
13392
13393 * configure.in (sysnames): Look for Implies-before and Implies-after
13394 files.
13395 * configure: Regenerated.
13396
890d8bd8
L
133972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13398
13399 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13400 8-byte data alignment with LP_SIZE alignment.
13401
f6ee6623
L
134022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13403
13404 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13405 into R10_LP.
13406
ea2626f6
L
134072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13408
13409 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13410
085f715e
L
134112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13412
13413 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13414 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13415 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13416 Likewise.
13417 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13418
be8498fc
L
134192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13420
13421 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13422 (stackinfo_sub_sp): Likewise.
13423
70bc83b9
L
134242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13425
13426 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13427 RAX_LP.
13428
9bc0b730
L
134292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13430
13431 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13432 into R*_LP.
13433
6d2850e7
L
134342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13435
13436 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13437 sizes into R*_LP.
13438
3cb84561
L
134392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13440
13441 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13442
54e2ed81
L
134432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13444
13445 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13446 into R11_LP and load __x86_64_shared_cache_size_half into
13447 R8_LP.
13448
8a17f349
L
134492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13450
13451 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13452 R8_LP.
13453
777b1eea
AZ
134542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13455
13456 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13457 logb for POWER7.
13458 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13459 logbf for POWER7.
13460 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13461 logbl for POWER7.
13462 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13463 powerpc32/power7/fpu/s_logb.c via #include.
13464 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13465 powerpc32/power7/fpu/s_logbf.c via #include.
13466 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13467 powerpc32/power7/fpu/s_logbl.c via #include.
13468
d20d4ac2
JM
134692012-05-15 Joseph Myers <joseph@codesourcery.com>
13470
13471 * README.libm: Remove file.
13472
6cdef1ab
L
134732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13474
13475 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13476 count for x32. Use R*_LP and omit operand-size suffix.
13477
0b254d8f
L
134782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13479
13480 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13481 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13482 * sysdeps/x86_64/x32/shlib-versions: New file.
13483
ceb809dc
RM
134842012-05-14 Roland McGrath <roland@hack.frob.com>
13485
13486 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13487 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13488 Use _dl_fatal_printf instead.
13489
37f1abd4
JM
134902012-05-14 Joseph Myers <joseph@codesourcery.com>
13491
13492 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13493 set if not set by the user. Do not allow for being unset.
13494 * sysdeps/unix/sysv/linux/configure: Regenerated.
13495
11de3a33
L
134962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13497
13498 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13499 the `q' suffix from lea and replace .quad with ASM_ADDR.
13500
e02f153a
L
135012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13502
13503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13504 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13505 instead of $17.
13506 (PTR_DEMANGLE): Likewise.
13507
520ae0fd
L
135082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13509
13510 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13511 (LP_OP): Likewise.
13512 (ASM_ADDR): Likewise.
13513 (RAX_LP): Likewise.
13514 (RBP_LP): Likewise.
13515 (RBX_LP): Likewise.
13516 (RCX_LP): Likewise.
13517 (RDI_LP): Likewise.
13518 (RSI_LP): Likewise.
13519 (RSP_LP): Likewise.
13520 (R8_LP): Likewise.
13521 (R9_LP): Likewise.
13522 (R10_LP): Likewise.
13523 (R10_LP): Likewise.
13524 (R11_LP): Likewise.
13525 (R12_LP): Likewise.
13526 (R13_LP): Likewise.
13527 (R14_LP): Likewise.
13528 (R15_LP): Likewise.
13529
b985be81
L
135302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13531
13532 * sysdeps/x86_64/x32/dl-machine.h: New file.
13533
6a4888ff
AJ
135342012-05-14 Andreas Jaeger <aj@suse.de>
13535
13536 * manual/Makefile (subdir): Remove export of subdir.
13537 (all): Remove target.
13538 (.PHONY): Remove all from list.
13539 (mkinstalldirs): Remove.
13540 (.PHONY): Remove installdirs from list.
13541 ($(inst_infodir)/libc.info): Use make-target-directory.
13542 (installdirs): Remove.
13543 (subdir_%): Remove.
13544 (glibc-targets): Remove.
13545 (lib): Remove.
13546 (stubs): Remove.
13547 ($(objpfx)stubs ../po/manual.pot): Remove.
13548 ($(objpfx)stamp%): Remove.
13549 (make-target-directory): Remove.
13550 (subdir_install): Remove.
13551 (routines): Remove.
13552 (aux): Remove.
13553 (sources): Remove.
13554 (objects): Remove.
13555 (headers): Remove.
13556
13557 [BZ #13750]
13558 * manual/.gitignore: Remove, it's not needed anymore.
13559 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13560 all files in it.
13561 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13562 directory.
13563 (texis): Renamed to $(objpfx)texis.
13564 (texis-path): New, contains path to generated files.
13565 (chapters.%): Use texis-path for complete path, add extra argument
13566 libc-texinfo.sh.
13567 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13568 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13569 (summary,texi, stamp-summary): Use complete path of
13570 files. Generate files in build dir.
13571 (dir-add.texi): Build in build dir.
13572 (libm-err.texi,stamp-libm-err): Likewise.
13573 (version.texi, stamp-version): Likewise.
13574 (.%c.texi): Likewise.
13575 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13576 (mostlyclean): Remove target.
13577 (realclean): Remove target.
13578 (generated): Add new variable with contents from mostlyclean and
13579 realclean, remove entries duplicated in common-mostlyclean, add
13580 stamp-libm-err and stamp-version.
13581 (generated-dirs): Add libc directory.
13582 ($(inst_infodir)/libc.info): Install files from build dir.
13583
13584 * manual/install.texi (Configuring and compiling): Adjust since
13585 the info files are not part of the tar ball anymore.
13586
7ac77294
AJ
135872012-05-14 Andreas Jaeger <aj@suse.de>
13588
13589 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13590 variable.
13591
ffb7875d
JM
135922012-05-14 Joseph Myers <joseph@codesourcery.com>
13593
13594 [BZ #13717]
13595 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13596 to 2.2.0 where earlier.
13597 * sysdeps/unix/sysv/linux/configure: Regenerated.
13598 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13599 Remove conditional code.
13600 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13601 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13602 Remove conditional code.
13603 [!__NR_lchown]: Likewise.
13604 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13605 [__NR_lchown]: Likewise.
13606 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13607 comment referencing __ASSUME_LCHOWN_SYSCALL.
13608 * sysdeps/unix/sysv/linux/i386/sigaction.c
13609 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13610 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13611 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13612 Remove conditional code.
13613 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13614 (__protocol_available): Remove #if 0 code.
13615 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13616 conditional code.
13617 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13618 * sysdeps/unix/sysv/linux/kernel-features.h
13619 (__ASSUME_GETCWD_SYSCALL): Don't define.
13620 (__ASSUME_REALTIME_SIGNALS): Likewise.
13621 (__ASSUME_PREAD_SYSCALL): Likewise.
13622 (__ASSUME_PWRITE_SYSCALL): Likewise.
13623 (__ASSUME_POLL_SYSCALL): Likewise.
13624 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13625 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13626 non-SPARC.
13627 (__ASSUME_SIOCGIFNAME): Don't define.
13628 (__ASSUME_MSG_NOSIGNAL): Likewise.
13629 (__ASSUME_SENDFILE): Define unconditionally.
13630 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13631 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13632 conditional code.
13633 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13634 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13635 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13636 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13637 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13638 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13639 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13641 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13642 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13644 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13645 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13647 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13648 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13650 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13651 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13653 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13654 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13656 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13657 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13659 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13660 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13662 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13663 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13664 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13665 Remove conditional code.
13666 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13667 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13668 Remove conditional code.
13669 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13670 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13671 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13672 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13673 Remove conditional code.
13674 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13675 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13676 Remove conditional code.
13677 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13678 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13679 Remove conditional code.
13680 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13681 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13682 Remove conditional code.
13683 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13684 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13685 Remove conditional code.
13686 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13687 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13688 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13689 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13690 * sysdeps/unix/sysv/linux/sigaction.c
13691 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13692 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13693 * sysdeps/unix/sysv/linux/sigpending.c
13694 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13695 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13696 * sysdeps/unix/sysv/linux/sigprocmask.c
13697 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13698 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13699 * sysdeps/unix/sysv/linux/sigsuspend.c
13700 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13701 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13702 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13703 (__libc_missing_rt_sigs): Remove.
13704 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13705 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13706 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13707 Remove conditional code.
13708 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13709 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13710 return 1.
13711 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13712 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13713 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13714 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13715
1bfb7291
AJ
137162012-05-14 Andreas Jaeger <aj@suse.de>
13717
caae5a81
AJ
13718 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13719 it's not used in glibc.
13720 (__coshm1): Likewise.
13721 (__acosh1p): Likewise.
13722 (__sgn): Likewise.
13723
1bfb7291
AJ
13724 * manual/string.texi (Copying and Concatenation): Add missing
13725 variable in concat example.
13726 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13727
c044d724
L
137282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13729
144c5467 13730 [BZ #14103]
c044d724
L
13731 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13732 __builtin_clzl with __builtin_clzll.
13733
2523c62b
L
137342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13735
13736 [BZ #14104]
13737 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13738 libc_freeres_ptr.
13739
d7bb4c42
LD
137402012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13741
13742 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13743 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13744 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13745 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13746
9dc4e1fb
MF
137472012-05-14 Mike Frysinger <vapier@gentoo.org>
13748
13749 * NEWS: Update ia64 info.
13750
c7df0112
AS
137512012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13752
13753 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13754 used as bcopy.
13755
dc70356c
TS
137562012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13757
13758 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13759 * sysdeps/unix/syscalls.list (dup3): Likewise.
13760 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13761 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13762
9fb1a21f
L
137632012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13764
13765 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13766 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13767
4822a2a5
L
137682012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13769
13770 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13771 thread pointer.
13772 (TLS_IE): Use mov/add instead of movq/addq to load thread
13773 pointer.
13774 (TLS_GD_PREFIX): New.
13775 (TLS_GD): Use it.
13776
842b81d6
DM
137772012-05-11 David S. Miller <davem@davemloft.net>
13778
13779 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13780 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13781 (_FPU_SETCW): Likewise.
13782
1cf463cd
L
137832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13784
13785 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13786 is 32-byte aligned.
13787
60cc4a18
AS
137882012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13789
13790 [BZ #11837]
13791 * iconvdata/gb18030.c: Update tables.
13792 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13793 characters specially.
13794 (BODY for TO_LOOP): Add encoding of missing ranges.
13795
febb44a4
TS
137962012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13797
13798 [BZ #13673]
13799 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13800 * sysdeps/mach/hurd/dup3.c: Likewise.
13801 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13802 * sysdeps/powerpc/memmove.c:: Likewise.
13803
0a10fb9e
L
138042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13805
13806 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13807 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13808
df8a552f
L
138092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13810
13811 * elf/elf.h (R_X86_64_RELATIVE64): New.
13812 (R_X86_64_NUM): Updated.
13813 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13814 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13815 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13816 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13817 tst-quad1pie tst-quad2pie
13818 (modules-names): Add tst-quadmod1 tst-quadmod2.
13819 ($(objpfx)tst-quad1): New dependency.
13820 ($(objpfx)tst-quad2): Likewise.
13821 ($(objpfx)tst-quad1pie): Likewise.
13822 ($(objpfx)tst-quad2pie): Likewise.
13823 * sysdeps/x86_64/tst-quad1.c: New file.
13824 * sysdeps/x86_64/tst-quad1pie.c: New file.
13825 * sysdeps/x86_64/tst-quad2.c: Likewise.
13826 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13827 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13828 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13829 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13830 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13831
f34d6f84
ST
138322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13833
f42d41d1
ST
13834 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13835 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13836 * streams/stropts.h (t_scalar_t): Define type.
13837
3c3571fc
ST
13838 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13839 (_PATH_PRESERVE): Set to "/var/lib".
13840 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13841
61f06bd3
ST
13842 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13843 instead of int.
13844
918d4d71
ST
13845 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13846 if __dir_mkfile succeeded.
13847
f34d6f84
ST
13848 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13849 checking for _hurd_dtablesize. Unlock it right after having
13850 finished _hurd_dtable allocation.
13851
10589b4a
TS
138522012-05-10 Thomas Schwinge <thomas@schwinge.name>
13853
674cdbc7
TS
13854 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13855 * sysdeps/mach/hurd/configure: Regenerated.
13856 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13857 special-casing to...
13858 * sysdeps/gnu/configure.in: ... this new file.
13859 * sysdeps/unix/sysv/linux/configure: Regenerated.
13860 * sysdeps/gnu/configure: New generated file.
13861
8e41b99f
TS
13862 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13863 for Linux: use nsec instead of usec, as well as:
13864 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13865 members of type struct timespec.
13866 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13867 New macros.
13868 (struct stat64): Likewise.
13869 (_STATBUF_ST_NSEC): New macro.
13870 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13871
10589b4a
TS
13872 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13873 __strtoul_internal rather than strtoul.
13874
63643c85
PT
138752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13876
13877 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13878 and reject them.
13879
3faebe6a
ST
138802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13881
13882 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13883 which preserves existing values.
13884 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13885
c6474b07
PT
138862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13887
13888 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13889 TIMEOUT values. Return EINVAL for NFDS values either negative or
13890 greater than FD_SETSIZE.
13891
1043890b
ST
138922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13893
13894 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13895 allocated, call __vm_protect to finish enabling the existing space, and
13896 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13897 allocate the remainder.
13898
37ed8b9b
PT
138992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13900
13901 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13902 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13903
db653660
ST
139042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13905
37ed8b9b
PT
13906 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13907 sysdeps/mach/hurd/readlink.c.
b29d4053 13908
db653660
ST
13909 * posix/tst-sysconf.c (posix_options): Only use
13910 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13911 _POSIX_SYNCHRONIZED_IO when they are defined
13912 * sysdeps/mach/hurd/bits/posix_opt.h:
13913 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13914 (_XOPEN_REALTIME): Undefine macro.
13915 (_XOPEN_REALTIME_THREADS): Undefine macro.
13916 (_XOPEN_SHM): Undefine macro.
13917 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13918 macro to -1.
13919 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13920 macro to -1.
13921 (_POSIX_ASYNC_IO): Undefine macro.
13922 (_POSIX_PRIORITIZED_IO): Undefine macro.
13923 (_POSIX_SPIN_LOCKS): Define macro to -1.
13924
ee16e894
ST
13925 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13926 SA_NODEFER, SA_RESETHAND.
13927 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13928 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13929 F_DUPFD_CLOEXEC.
13930
6103ae3b
TS
139312012-05-10 Thomas Schwinge <thomas@schwinge.name>
13932
13933 * elf/Makefile (pldd-modules): Define unconditionally.
13934
80b4e5f3
TS
139352012-05-10 Thomas Schwinge <thomas@schwinge.name>
13936
13937 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13938
edadcbd6
ST
139392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13940
13941 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13942 Return ENOENT when name is empty.
13943 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13944
80694780
TS
139452012-05-10 Thomas Schwinge <thomas@schwinge.name>
13946
1792c087
TS
13947 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13948
80694780
TS
13949 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13950
6b645f0d
ST
139512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13952
80694780
TS
13953 Fix mlock in all cases except non-readable pages.
13954 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13955 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 13956
6b645f0d
ST
13957 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13958 (__mkdir): When path is `/', just fail with EEXIST.
13959 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13960
e468f8a3
TS
139612012-05-10 Thomas Schwinge <thomas@schwinge.name>
13962
13963 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13964 <sys/uio.h> (for writev).
13965 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13966 and <sys/param.h> (for MIN).
13967
a4186cff
PT
139682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13969
13970 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13971 REQUESTED_TIME. Properly set the remaining time and return EINTR
13972 if interrupted.
13973
510bbf14
TS
139742012-05-10 Thomas Schwinge <thomas@schwinge.name>
13975
13976 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13977 Depend on against $(link-rpcuserlibs).
13978
5d5722e8
ST
139792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13980
a4186cff
PT
13981 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13982 (__libc_stack_end): Do not use attribute_relro.
13983 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13984 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 13985 to libthread-provided value.
a4186cff
PT
13986 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13987 attribute_relro.
5d5722e8 13988
37233df9
TS
139892012-05-10 Thomas Schwinge <thomas@schwinge.name>
13990
be971a2b
TS
13991 [BZ #3748]
13992 * bits/libc-lock.h (__libc_once_get): New macro.
13993 * sysdeps/mach/bits/libc-lock.h: Likewise.
13994 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13995 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13996 instead of using implementation details.
13997
37233df9
TS
13998 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13999 * libio/freopen.c: Likewise.
14000 * libio/freopen64.c: Likewise.
14001 * misc/syslog.c: Likewise.
14002 * nscd/connections.c: Likewise.
14003 * nscd/netgroupcache.c: Likewise.
14004 * sysdeps/posix/getcwd.c: Likewise.
14005
38de94a5
RM
140062012-05-10 Roland McGrath <roland@hack.frob.com>
14007
14008 * math/w_ilogbf.c: Add #include <limits.h>.
14009
67530489
ST
140102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14011
a4186cff 14012 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14013 path instead of returning without unlocking.
14014
67530489
ST
14015 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14016 immediate-write ioctls.
14017 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14018
5aa3a74a
TS
140192012-05-10 Thomas Schwinge <thomas@schwinge.name>
14020
18bad2ae
TS
14021 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14022 __builtin_frame_address instead of making assumptions about the
14023 location of the return address relative to DATA. Force early load of
14024 the return address.
14025 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14026 __builtin_frame_address.
14027
5aa3a74a
TS
14028 dup3 for GNU Hurd.
14029 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14030 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14031 implement dup3 and do some further code clean-ups.
14032 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14033 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14034
ecd0de9a
ST
140352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14036
cd9fa985
ST
14037 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14038
a4186cff
PT
14039 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14040 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14041 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14042 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14043 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14044 d->port.lock.
802ca5a5 14045
a4186cff
PT
14046 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14047 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14048 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14049
bcf55240
TS
140502012-05-10 Thomas Schwinge <thomas@schwinge.name>
14051
6960eb42
TS
14052 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14053 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14054 definitions.
14055
eb43375f
TS
14056 accept4 for GNU Hurd.
14057 * include/sys/socket.h (__libc_accept4): New prototype.
14058 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14059 to implement __libc_accept4.
14060 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14061 __libc_accept4.
14062 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14063
bcf55240
TS
14064 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14065 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14066 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14067 signal-defines.sym.
14068
6178c55b
ST
140692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14070
a4186cff 14071 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14072
6f080c2f
TS
140732012-05-10 Thomas Schwinge <thomas@schwinge.name>
14074
14075 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14076 assertion on O_CLOEXEC flag.
14077 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14078 * hurd/intern-fd.c: Likewise.
14079 * hurd/port2fd.c: Likewise.
14080
bcfe3a54
ST
140812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14082
14083 [BZ #3906]
14084 * bits/in.h (IPV6_PKTINFO): Define new macro.
14085 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14086
89c9aa49
AZ
140872012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14088
14089 [BZ #13954]
14090 [BZ #13955]
14091 [BZ #13956]
14092 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14093 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14094 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14095 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14096 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14097 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14098 * math/libm-test.inc (logb_test) : Additional logb tests.
14099
021db4be
AJ
141002012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14101 Andreas Jaeger <aj@suse.de>
14102
14103 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14104 * configure: Regenerated.
14105 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14106 * config.make.in (link-obsolete-rpc): New substituted variable.
14107 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14108 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14109 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14110 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14111 so that libc.a contains the symbols.
14112 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14113 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14114 * sunrpc/auth_none.c: Likewise.
14115 * sunrpc/auth_unix.c: Likewise.
14116 * sunrpc/authdes_prot.c: Likewise.
14117 * sunrpc/authuxprot.c: Likewise.
14118 * sunrpc/clnt_gen.c: Likewise.
14119 * sunrpc/clnt_perr.c: Likewise.
14120 * sunrpc/clnt_raw.c: Likewise.
14121 * sunrpc/clnt_simp.c: Likewise.
14122 * sunrpc/clnt_tcp.c: Likewise.
14123 * sunrpc/clnt_udp.c: Likewise.
14124 * sunrpc/clnt_unix.c: Likewise.
14125 * sunrpc/des_crypt.c: Likewise.
14126 * sunrpc/des_soft.c: Likewise.
14127 * sunrpc/get_myaddr.c: Likewise.
14128 * sunrpc/key_call.c: Likewise.
14129 * sunrpc/key_prot.c: Likewise.
14130 * sunrpc/netname.c: Likewise.
14131 * sunrpc/pm_getmaps.c: Likewise.
14132 * sunrpc/pm_getport.c: Likewise.
14133 * sunrpc/pmap_clnt.c: Likewise.
14134 * sunrpc/pmap_prot.c: Likewise.
14135 * sunrpc/pmap_prot2.c: Likewise.
14136 * sunrpc/pmap_rmt.c: Likewise.
14137 * sunrpc/publickey.c: Likewise.
14138 * sunrpc/rpc_cmsg.c: Likewise.
14139 * sunrpc/rpc_common.c: Likewise.
14140 * sunrpc/rpc_dtable.c: Likewise.
14141 * sunrpc/rpc_prot.c: Likewise.
14142 * sunrpc/rpc_thread.c: Likewise.
14143 * sunrpc/rtime.c: Likewise.
14144 * sunrpc/svc.c: Likewise.
14145 * sunrpc/svc_auth.c: Likewise.
14146 * sunrpc/svc_raw.c: Likewise.
14147 * sunrpc/svc_run.c: Likewise.
14148 * sunrpc/svc_tcp.c: Likewise.
14149 * sunrpc/svc_udp.c: Likewise.
14150 * sunrpc/svc_unix.c: Likewise.
14151 * sunrpc/svcauth_des.c: Likewise.
14152 * sunrpc/xcrypt.c: Likewise.
14153 * sunrpc/xdr.c: Likewise.
14154 * sunrpc/xdr_array.c: Likewise.
14155 * sunrpc/xdr_float.c: Likewise.
14156 * sunrpc/xdr_intXX_t.c: Likewise.
14157 * sunrpc/xdr_mem.c: Likewise.
14158 * sunrpc/xdr_rec.c: Likewise.
14159 * sunrpc/xdr_ref.c: Likewise.
14160 * sunrpc/xdr_sizeof.c: Likewise.
14161 * sunrpc/xdr_stdio.c: Likewise.
14162
b5c086a2
RM
141632012-05-10 Roland McGrath <roland@hack.frob.com>
14164
14165 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14166 change. Update copyright years.
14167
6d74dd09
JM
141682012-05-10 Joseph Myers <joseph@codesourcery.com>
14169
14170 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14171
28e72501
MK
141722012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14173 Joseph Myers <joseph@codesourcery.com>
14174 Paul Pluzhnikov <ppluzhnikov@google.com>
14175
14176 [BZ #14012]
14177 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14178 requiring rpcgen.
14179 [cross-compiling] (extra-libs): Likewise.
14180 [cross-compiling] (extra-libs-others): Likewise.
14181 [cross-compiling] (librpcsvc-routines): Likewise.
14182 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14183 [cross-compiling] (omit-deps): Likewise.
14184 (sunrpc-CPPFLAGS): New variable.
14185 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14186 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14187 (cross-rpcgen-objs): New variable.
14188 (extra-objs): Append $(cross-rpcgen-objs).
14189 ($(cross-rpcgen-objs)): New rule.
14190 ($(objpfx)cross-rpcgen): Likewise.
14191 (rpcgen-cmd): Define to use $(built-program-file). Expand
14192 comment.
14193 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14194 ($(objpfx)x%.stmp): Likewise.
14195 * sunrpc/proto.h [IS_IN_build] (_): Define.
14196 [IS_IN_build] (_libc_intl_domainname): Likewise.
14197
c8c59454
L
141982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14199
14200 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14201 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14202 and R_X86_64_TPOFF64.
14203
6f27cd16
JM
142042012-05-10 Joseph Myers <joseph@codesourcery.com>
14205
14206 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14207 sysdeps/unix/sysv/syscalls.list.
14208 (stime): Likewise.
14209 (utime): Likewise.
14210 * sysdeps/unix/sysv/syscalls.list: Remove file.
14211
02467e1c
PE
142122012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14213
14214 [BZ #3440]
14215 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14216 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14217 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14218 (__LC_IDENTIFICATION): Make these macros useful in #if
14219 expressions, as required by C99.
14220
da392631
AS
142212012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14222
14223 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14224 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14225 after this.
14226
8115f29b
L
142272012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14228
14229 * stdlib/longlong.h: Updated from GCC.
14230
bdd74070
AJ
142312012-05-09 Andreas Jaeger <aj@suse.de>
14232
edfe0dbe
AJ
14233 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14234 default is first entry.
14235 (run_mode): Set type.
14236 (main): Remove informal message about syslog.
14237 (options): Fix typo.
14238
bcfe3a54
ST
14239 [BZ #14053]
14240 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14241 to asm.
bcfe3a54
ST
14242 (lrint): Likewise.
14243 (llrintf): Likewise.
14244 (llrint): Likewise.
14245 (rint): Likewise.
14246 (rintf): Likewise.
14247 (nearbyint): Likewise.
14248 (nearbyintf): Likewise.
bdd74070 14249
91d8d69e
AJ
142502012-05-09 Andreas Jaeger <aj@suse.de>
14251 Pedro Alves <palves@redhat.com>
14252
14253 * nscd/nscd.c (run_mode): Use enum.
14254 (main): Cleanup coding style issue.
14255
bb90b80b
AJ
142562012-05-09 Alexandre Oliva <aoliva@redhat.com>
14257 Andreas Jaeger <aj@suse.de>
14258
bcfe3a54
ST
14259 * nscd/nscd.c (go_background): Replaced with...
14260 (run_mode): ... this.
bb90b80b 14261 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14262 (options): Add -F --foreground.
14263 (main): Implement it.
14264 (parse_opt): Parse it.
bb90b80b 14265
1a4b75a1
AJ
142662012-05-09 Andreas Jaeger <aj@suse.de>
14267
14268 [BZ #14083]
14269 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14270 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14271 -Wconversion warning.
14272 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14273 Likewise.
14274
b1cc2472
JM
142752012-05-09 Joseph Myers <joseph@codesourcery.com>
14276
14277 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14278 == 0.
14279 (LC_ALL): Use macro-int-constant.
14280 (LC_COLLATE): Likewise.
14281 (LC_CTYPE): Likewise.
14282 (LC_MESSAGES): Likewise.
14283 (LC_MONETARY): Likewise.
14284 (LC_NUMERIC): Likewise.
14285 (LC_TIME): Likewise.
14286 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14287 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14288 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14289 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14290 Specify type.
14291 [C99-based standards] (float_t): Expect type.
14292 [C99-based standards] (double_t): Expect type.
14293 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14294 type.
14295 [C99-based standards] (HUGE_VALL): Likewise.
14296 [C99-based standards] (INFINITY): Likewise.
14297 [C99-based standards] (NAN): Likewise.
14298 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14299 [C99-based standards] (FP_NAN): Likewise.
14300 [C99-based standards] (FP_NORMAL): Likewise.
14301 [C99-based standards] (FP_SUBNORMAL): Likewise.
14302 [C99-based standards] (FP_ZERO): Likewise.
14303 [C99-based standards] (FP_FAST_FMA): Use
14304 optional-macro-int-constant. Specify type. Require == 1.
14305 [C99-based standards] (FP_FAST_FMAF): Likewise.
14306 [C99-based standards] (FP_FAST_FMAL): Likewise.
14307 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14308 [C99-based standards] (FP_ILOGBNAN): Likewise.
14309 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14310 Specify type.
14311 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14312 [C99-based standards] (math_errhandling): Specify type.
14313 [ISO99 || ISO11] (signgam): Do not allow.
14314 [non-C99-based standards] (copysignf): Do not allow.
14315 [non-C99-based standards] (exp2f): Likewise.
14316 [non-C99-based standards] (log2f): Likewise.
14317 [non-C99-based standards] (modff): Allow.
14318 [non-C99-based standards] (erff): Do not allow.
14319 [non-C99-based standards] (erfcf): Likewise.
14320 [non-C99-based standards] (gammaf): Likewise.
14321 [non-C99-based standards] (hypotf): Likewise.
14322 [non-C99-based standards] (j0f): Likewise.
14323 [non-C99-based standards] (j1f): Likewise.
14324 [non-C99-based standards] (jnf): Likewise.
14325 [non-C99-based standards] (lgammaf): Likewise.
14326 [non-C99-based standards] (tgammaf): Likewise.
14327 [non-C99-based standards] (y0f): Likewise.
14328 [non-C99-based standards] (y1f): Likewise.
14329 [non-C99-based standards] (ynf): Likewise.
14330 [non-C99-based standards] (isnanf): Likewise.
14331 [non-C99-based standards] (acoshf): Likewise.
14332 [non-C99-based standards] (asinhf): Likewise.
14333 [non-C99-based standards] (atanhf): Likewise.
14334 [non-C99-based standards] (cbrtf): Likewise.
14335 [non-C99-based standards] (expm1f): Likewise.
14336 [non-C99-based standards] (ilogbf): Likewise.
14337 [non-C99-based standards] (log1pf): Likewise.
14338 [non-C99-based standards] (logbf): Likewise.
14339 [non-C99-based standards] (nextafterf): Likewise.
14340 [non-C99-based standards] (remainderf): Likewise.
14341 [non-C99-based standards] (rintf): Likewise.
14342 [non-C99-based standards] (scalbf): Likewise.
14343 [non-C99-based standards] (copysignl): Likewise.
14344 [non-C99-based standards] (exp2l): Likewise.
14345 [non-C99-based standards] (log2l): Likewise.
14346 [non-C99-based standards] (modfl): Allow.
14347 [non-C99-based standards] (erfl): Do not allow.
14348 [non-C99-based standards] (erfcl): Likewise.
14349 [non-C99-based standards] (gammal): Likewise.
14350 [non-C99-based standards] (hypotl): Likewise.
14351 [non-C99-based standards] (j0l): Likewise.
14352 [non-C99-based standards] (j1l): Likewise.
14353 [non-C99-based standards] (jnl): Likewise.
14354 [non-C99-based standards] (lgammal): Likewise.
14355 [non-C99-based standards] (tgammal): Likewise.
14356 [non-C99-based standards] (y0l): Likewise.
14357 [non-C99-based standards] (y1l): Likewise.
14358 [non-C99-based standards] (ynl): Likewise.
14359 [non-C99-based standards] (isnanl): Likewise.
14360 [non-C99-based standards] (acoshl): Likewise.
14361 [non-C99-based standards] (asinhl): Likewise.
14362 [non-C99-based standards] (atanhl): Likewise.
14363 [non-C99-based standards] (cbrtl): Likewise.
14364 [non-C99-based standards] (expm1l): Likewise.
14365 [non-C99-based standards] (ilogbl): Likewise.
14366 [non-C99-based standards] (log1pl): Likewise.
14367 [non-C99-based standards] (logbl): Likewise.
14368 [non-C99-based standards] (nextafterl): Likewise.
14369 [non-C99-based standards] (remainderl): Likewise.
14370 [non-C99-based standards] (rintl): Likewise.
14371 [non-C99-based standards] (scalbl): Likewise.
14372 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14373 [non-C99-based standards] (FP_*): Do not allow.
14374 [C99-based standards] (FP_*): Change to
14375 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14376 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14377 allow.
14378 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14379 (SIG_ERR): Likewise.
14380 [X/Open-based standards] (SIG_HOLD): Likewise.
14381 (SIG_IGN): Likewise.
14382 (SIGABRT): Use macro-int-constant. Specify type. Require
14383 positive value.
14384 (SIGFPE): Likewise.
14385 (SIGILL): Likewise.
14386 (SIGINT): Likewise.
14387 (SIGSEGV): Likewise.
14388 (SIGTER): Likewise.
14389 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14390 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14391 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14392 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14393 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14394 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14395 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14396 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14397 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14398 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14399 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14400 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14401 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14402 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14403 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14404 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14405 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14406 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14407 [X/Open-based standards] (SIGTRAP): Likewise.
14408 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14409 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14410 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14411 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14412 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14413 allow.
14414
b9f1922d
IW
144152012-05-08 Ian Wienand <ianw@vmware.com>
14416
14417 [BZ #14080]
14418 * time/tzset.c (__tzset_parse_tz): Update default rules for
14419 daylight time changes in the Energy Policy Act of 2005.
14420
1db86e88
AJ
144212012-05-09 Andreas Jaeger <aj@suse.de>
14422
14423 [BZ #13983]
14424 * elf/ldconfig.c (parse_conf): Change string to make clear that
14425 ldconfig only issued a warning if ld.so.conf does not exist.
14426
dee4a4e3
DM
144272012-05-08 David S. Miller <davem@davemloft.net>
14428
ee0db190
DM
14429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14430 movxtod instead of popping the value on the stack.
14431
dee4a4e3
DM
14432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14433
6a43ec98
CD
144342012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14435
14436 * config.h.in: Add HAVE_ARM_PCS_VFP.
14437
05c2c961
RMG
144382012-05-08 Roland Mc Grath <roland@hack.frob.com>
14439
bcfe3a54
ST
14440 [BZ #13979]
14441 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14442 checking but the checks are disabled for any reason.
05c2c961 14443
4b30f61a
L
144442012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14445
14446 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14447 and ELF64_R_TYPE with ELFW(R_TYPE).
14448
eee2bc67
JM
144492012-05-08 Joseph Myers <joseph@codesourcery.com>
14450
7ea5391a
JM
14451 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14452 (ulimit): Likewise.
14453
eee2bc67
JM
14454 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14455 (settimeofday): Likewise.
14456
abb66a67
MF
144572012-05-08 Mike Frysinger <vapier@gentoo.org>
14458
14459 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14460 a struct th_u2 inside the union, and move tu_block/tu_code into
14461 a new th_u3 union of tu_block/tu_code inside of that. Move
14462 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14463 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14464 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14465 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14466 (th_stuff): Change to th_u1.tu_stuff.
14467 (th_data): Define.
14468 (th_msg): Change to th_u1.th_u2.tu_data.
14469
7f18b530
DM
144702012-05-07 David S. Miller <davem@davemloft.net>
14471
05760585
DM
14472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14473
7f18b530
DM
14474 [BZ #14074]
14475 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14476 (SETUP_PIC_REG): Use it.
14477 (SETUP_PIC_REG_LEAF): Use it.
14478
495fd99f
JM
144792012-05-07 Joseph Myers <joseph@codesourcery.com>
14480
14481 [BZ #13885]
14482 [BZ #13923]
14483 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14484 USE_AS_EXPM1L.
14485 (EXPL_FINITE): Likewise.
14486 (FLDLOG): Likewise.
14487 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14488 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14489 e_expl.S.
14490 * sysdeps/x86_64/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/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14496 e_expl.S.
14497 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14498 test of -max_value argument for long double.
14499 * sysdeps/i386/fpu/libm-test-ulps: Update.
14500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14501
6693d694
DM
145022012-05-06 David S. Miller <davem@davemloft.net>
14503
14504 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14505 quad soft-float symbols whose references which are compiler
14506 generated.
14507 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14508
6c23e11c
JM
145092012-05-06 Joseph Myers <joseph@codesourcery.com>
14510
d8b82cad
JM
14511 [BZ #13884]
14512 [BZ #13914]
14513 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14514 USE_AS_EXP10L.
14515 (EXPL_FINITE): Likewise.
14516 (FLDLOG): Likewise.
14517 (c0): Likewise.
14518 (c1): Likewise.
14519 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14520 Adjust comments for base varying.
14521 (__expl_finite): Change alias to EXPL_FINITE.
14522 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14523 e_expl.S.
14524 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14525 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14526 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14527 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14528 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14529 USE_AS_EXP10L.
14530 (EXPL_FINITE): Likewise.
14531 (FLDLOG): Likewise.
14532 (c0): Likewise.
14533 (c1): Likewise.
14534 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14535 Adjust comments for base varying.
14536 (__expl_finite): Change alias to EXPL_FINITE.
14537 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14538 tests for bugs.
14539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14540
6c23e11c
JM
14541 [BZ #14064]
14542 * math/libm-test.inc (check_float_internal): Correct ulp
14543 calculation for subnormal expected results.
14544
29ba805c
AJ
145452012-05-06 Andreas Jaeger <aj@suse.de>
14546
14547 * Makeconfig (+math-flags): New, set to -frounding-math.
14548 (+cflags): Add +math-flags so that all of glibc gets compiled with
14549 it.
14550
14551 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14552
7b17aeda
JM
145532012-05-05 Joseph Myers <joseph@codesourcery.com>
14554
5779f134
JM
14555 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14556 Disable one test.
14557
41498f4d
JM
14558 [BZ #13787]
14559 [BZ #13922]
14560 [BZ #14036]
14561 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14562 (__ieee754_expl): Allow for and saturate large arguments.
14563 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14564 (u_threshold): Likewise.
14565 (__exp): Call __ieee754_exp before checking for overflow and
14566 underflow.
14567 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14568 (u_threshold): Likewise.
14569 (__expf): Call __ieee754_expf before checking for overflow and
14570 underflow.
14571 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14572 (u_threshold): Likewise.
14573 (__expl): Call __ieee754_expl before checking for overflow and
14574 underflow.
14575 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14576 (__ieee754_expl): Allow for and saturate large arguments.
14577 * math/libm-test.inc (exp_test): Add another test. Do not allow
14578 missing overflow exception on overflow.
14579 (expm1_test): Do not allow missing overflow exception on overflow.
14580
6698b8bf
JM
14581 * sysdeps/i386/fpu/e_expl.c: Move to ...
14582 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14583 rather than using inline asm.
14584 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14585 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14586 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14587
7b17aeda
JM
14588 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14589 (nice): Likewise.
14590 (poll): Likewise.
14591 (signal): Likewise.
14592 (time): Likewise.
14593 (times): Likewise.
14594
f7c85819
JM
145952012-05-04 Joseph Myers <joseph@codesourcery.com>
14596
14597 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14598 sysdeps/unix/common/syscalls.list.
14599 (fchmod): Likewise.
14600 (fchown): Likewise.
14601 (ftruncate): Likewise.
14602 (getrusage): Likewise.
14603 (gettimeofday): Likewise.
14604 (setpgid): Likewise.
14605 (setregid): Likewise.
14606 (setreuid): Likewise.
14607 (sigaction): Likewise.
14608 (truncate): Likewise.
14609 (vhangup): Likewise.
14610 * sysdeps/unix/common/syscalls.list: Remove file.
14611 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14612 * sysdeps/unix/sysv/linux/Implies: Likewise.
14613
336270d0
L
146142012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14615
14616 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14618 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14619 Moved to ...
14620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14621 Here.
14622 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14623 to ...
14624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14625 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14626 to ...
14627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14628 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14629 to ...
14630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14631 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14632 to ...
14633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14634 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14635 to ...
14636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14637 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14638 to ...
14639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14640 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14641 to ...
14642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14643 Here.
14644 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14645 to ...
14646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14647 Here.
14648 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14649 to ...
14650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14651 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14652 Moved to ...
14653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14654 Here.
14655 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14656 to ...
14657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14658
d128e450
JM
146592012-05-04 Joseph Myers <joseph@codesourcery.com>
14660
fa8ee516
JM
14661 * sysdeps/unix/common/bits/dirent.h: Remove file.
14662 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14663
d128e450
JM
14664 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14665 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14666 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14667 * sysdeps/unix/bsd/isatty.c: Likewise.
14668 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14669 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14670 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14671
ff8faaf0 146722012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14673
62881be4 14674 [BZ #13563]
31dc8730
AZ
14675 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14676 long double comparison inaccuracies.
14677 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14679
6fef930c
AS
146802012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14681
14682 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14683 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14684
8f203e6c
JM
146852012-05-04 Joseph Myers <joseph@codesourcery.com>
14686
14687 [BZ #14049]
14688 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14689 nonzero digits before rounding a hex value.
14690 * stdlib/tst-strtod.c (tests): Add another test.
14691
5197d9c2
AK
146922012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14693
14694 * sysdeps/s390/fpu/libm-test-ulps: Update.
14695
f0c1dedf
AJ
146962012-05-03 Andreas Jaeger <aj@suse.de>
14697
14698 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14699 does not get optimized out.
14700 (malloc_opt_barrier): New.
14701
a65ef2ae 147022012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14703 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14704
2b942cb7 14705 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14706 intermediate file deletion.
2b942cb7 14707 (generated): Add .symlist files.
a65ef2ae 14708
54b71e02
JM
147092012-05-03 Joseph Myers <joseph@codesourcery.com>
14710
14711 [BZ #13775]
14712 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14713 Redirect under this condition.
14714 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14715 [__USE_GNU] (__dprintf_chk): Not under this condition.
14716 [__USE_GNU] (__vdprintf_chk): Likewise.
14717 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14718 under this condition.
14719 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14720 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14721 [__USE_XOPEN2K8] (vdprintf): Likewise.
14722 [__USE_GNU] (__dprintf_chk): Not under this condition.
14723 [__USE_GNU] (__vdprintf_chk): Likewise.
14724 [__USE_GNU] (dprintf): Likewise.
14725 [__USE_GNU] (vdprintf): Likewise.
14726
d3dfcc41
RM
147272012-05-03 Roland McGrath <roland@hack.frob.com>
14728
14729 * elf/Makefile (common-generated): Set this instead of generated for
14730 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14731 $(all-built-dso)-derived lists.
14732
7ac30cc5
AJ
147332012-05-03 Andreas Jaeger <aj@suse.de>
14734
0c51e550
AJ
14735 * sysdeps/i386/fpu/libm-test-ulps: Update.
14736
7ac30cc5
AJ
14737 * FAQ: Removed.
14738 * FAQ.in: Likewise.
14739 * scripts/gen-FAQ.pl: Likewise.
14740 * manual/install.texi (Installation): Point to online location of
14741 FAQ.
14742 * Makefile (files-for-dist): Remove FAQ.
14743 (FAQ): Remove.
14744
d4c2917f
AM
147452012-05-02 Allan McRae <allan@archlinux.org>
14746
14747 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14748 (LDFLAGS-reldepmod5.so): Likewise.
14749 (LDFLAGS-reldep6mod1.so): Likewise.
14750 (LDFLAGS-reldep6mod4.so): Likewise.
14751 (LDFLAGS-reldep8mod3.so): Likewise.
14752 (LDFLAGS-unload4mod1.so): Likewise.
14753 (LDFLAGS-unload4mod2.so): Likewise.
14754 (LDFLAGS-tst-initorder): Likewise.
14755 (LDFLAGS-tst-initordera2.so): Likewise.
14756 (LDFLAGS-tst-initordera3.so): Likewise.
14757 (LDFLAGS-tst-initordera4.so): Likewise.
14758 (LDFLAGS-tst-initorderb2.so): Likewise.
14759 (LDFLAGS-noload): Likewise.
14760 (LDFLAGS-next): Likewise.
14761 (LDFLAGS-order2mod1.so): Likewise.
14762 (LDFLAGS-order2mod2.so): Likewise.
14763 (LDFLAGS-tst-initorder2): Likewise.
14764 (LDFLAGS-tst-initorder2a.so): Likewise.
14765 (LDFLAGS-tst-initorder2b.so): Likewise.
14766 (LDFLAGS-tst-initorder2c.so): Likewise.
14767 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14768
d77f993f
DM
147692012-05-02 David S. Miller <davem@davemloft.net>
14770
14771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14772
171a70b4
PP
147732012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14774
14775 [BZ #14055]
14776 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14777
0be196ad
AJ
147782012-05-02 Andreas Jaeger <aj@suse.de>
14779
14780 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14781 since we manipulate rounding mode.
14782 (CPPFLAGS-test-idouble.c): Likewise.
14783 (CPPFLAGS-test-ifloat.c): Likewise.
14784 (CFLAGS-test-ldouble.c): Likewise.
14785 (CFLAGS-test-double.c): Likewise.
14786 (CFLAGS-test-float.c): Likewise.
14787 (CFLAGS-test-misc.c): Likewise.
14788 (CFLAGS-test-test-fenv.c): Likewise.
14789
4f9d04aa
AZ
147902012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14791
2b942cb7
RM
14792 [BZ #2550]
14793 [BZ #2570]
14794 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14795 comparisons to determine direction to adjust input.
4f9d04aa 14796
82a79e7d
RM
147972012-05-01 Roland McGrath <roland@hack.frob.com>
14798
f5a01ca9
RM
14799 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14800 output to the target.
14801
90fe4186
RM
14802 * scripts/localplt.awk: New file.
14803 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14804 (check-localplt-CFLAGS): Variable removed.
14805 ($(all-built-dso:=.jmprel)): New static pattern rule.
14806 (generated): Add those targets.
14807 (localplt-built-dso): New variable.
14808 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14809
14810 * elf/check-localplt.c: File removed.
14811
82397ed6
RM
14812 * scripts/check-execstack.awk: New file.
14813 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14814 (check-execstack-CFLAGS): Variable removed.
14815 ($(objpfx)check-execstack.h): Target removed.
14816 ($(objpfx)execstack-default): New target.
14817 (generated): Add that instead of check-execstack.h.
14818 ($(all-built-dso:=.phdr)): New static pattern rule.
14819 (generated): Add those targets.
14820 * elf/check-execstack.c: File removed.
14821
82a79e7d
RM
14822 * scripts/check-textrel.awk: New file.
14823 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14824 (check-textrel-CFLAGS): Variable removed.
14825 (all-built-dso): Use := to define.o
14826 ($(all-built-dso:=.dyn)): New static pattern rule.
14827 (generated): Add those targets.
14828 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14829 * config.make.in (READELF): New substituted variable.
14830 * elf/check-textrel.c: File removed.
14831
62fde54f 148322012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14833
615605c9
JM
14834 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14835 allow.
14836 * conform/data/ctype.h-data [C99-based standards] (isblank):
14837 Expect function.
14838 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14839 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14840 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14841 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14842 Specify type. Require positive value.
14843 (EILSEQ): Likewise.
14844 (ERANGE): Likewise.
14845 [ISO || POSIX] (EILSEQ): Do not expect.
14846 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14847 Specify type. Require positive value.
14848 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14849 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14850 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14851 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14852 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14853 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14854 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14855 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14856 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14857 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14858 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14859 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14860 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14861 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14862 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14863 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14864 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14865 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14866 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14867 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14868 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14869 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14870 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14871 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14872 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14873 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14874 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14875 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14876 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14877 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14878 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14879 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14880 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14881 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14882 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14883 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14884 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14885 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14886 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14887 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14888 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14889 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14890 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14891 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14892 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14893 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14894 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14895 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14896 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14897 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14898 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14899 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14900 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14901 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14902 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14903 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14904 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14905 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14906 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14907 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14908 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14909 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14910 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14911 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14912 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14913 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14914 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14915 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14916 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14917 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14918 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14919 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14920 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14921 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14922 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14923 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14924 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14925 Require >= 2.
14926 (FLT_ROUNDS): Expect as macro, not constant.
14927 (FLT_MANT_DIG): Use macro-int-constant.
14928 (DBL_MANT_DIG): Likewise.
14929 (LDBL_MANT_DIG): Likewise.
14930 (FLT_DIG): Likewise.
14931 (DBL_DIG): Likewise.
14932 (LDBL_DIG): Likewise.
14933 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14934 (DBL_MIN_EXP): Likewise.
14935 (LDBL_MIN_EXP): Likewise.
14936 (FLT_MAX_EXP): Use macro-int-constant.
14937 (DBL_MAX_EXP): Likewise.
14938 (LDBL_MAX_EXP): Likewise.
14939 (FLT_MAX_10_EXP): Likewise.
14940 (DBL_MAX_10_EXP): Likewise.
14941 (LDBL_MAX_10_EXP): Likewise.
14942 (FLT_MAX): Use macro-constant.
14943 (DBL_MAX): Likewise.
14944 (LDBL_MAX): Likewise.
14945 (FLT_EPSILON): Use macro-constant. Give upper bound.
14946 (DBL_EPSILON): Likewise.
14947 (LDBL_EPSILON): Likewise.
14948 (FLT_MIN): Likewise.
14949 (DBL_MIN): Likewise.
14950 (LDBL_MIN): Likewise.
14951 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14952 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14953 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14954 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14955 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14956 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14957 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14958 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14959 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14960 [ISO11] (FLT_TRUE_MIN): Likewise.
14961 [ISO11] (LDBL_TRUE_MIN): Likewise.
14962 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14963 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14964 (SCHAR_MIN): Use macro-int-constant. Specify type.
14965 (SCHAR_MAX): Likewise.
14966 (UCHAR_MAX): Likewise.
14967 (CHAR_MIN): Likewise.
14968 (CHAR_MAX): Likewise.
14969 (MB_LEN_MAX): Use macro-int-constant.
14970 (SHRT_MIN): Use macro-int-constant. Specify type.
14971 (SHRT_MAX): Likewise.
14972 (USHRT_MAX): Likewise.
14973 (INT_MAX): Likewise.
14974 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14975 bound negative.
14976 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14977 bound with "U".
14978 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14979 bound with "L".
14980 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14981 bound negative. Suffix upper bound with "L".
14982 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14983 bound with "UL".
14984 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14985 Specify type.
14986 [C99-based standards] (LLONG_MAX): Likewise.
14987 [C99-based standards] (ULLONG_MAX): Likewise.
14988 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14989 == 0.
14990 [ISO11] (max_align_t): Require type.
14991 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14992
c9140a62
JM
14993 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14994 from $CFLAGS, without defining away __attribute__ calls.
14995 (checknamespace): Use $CFLAGS_namespace.
14996
9af0bf29
JM
14997 * conform/conformtest.pl (@keywords): Only include C99 keywords
14998 for standards based on C99 or C11.
14999
343222a2
JM
15000 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15001 Disable tests.
15002 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15003 UNIX98]: Likewise.
15004
661f8cf0
JM
15005 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15006 usability of symbols in #if.
15007
ee74b9cb
JM
15008 * conform/conformtest.pl: If macro or constant types start
15009 "promoted:", expect the symbol to be of the following type
15010 promoted by the integer promotions.
62fde54f 15011
aafc49b3
JM
15012 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15013 in one place. Also handle "macro-constant".
15014
fefdf574
JM
15015 * conform/conformtest.pl: Only accept expected macro values with
15016 "==". Parse all "macro" lines in one place.
15017 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15018
f2d922fe
JM
15019 * conform/conformtest.pl: Handle braced types on "constant" lines
15020 instead of handling "typed-constant".
15021 * conform/data/signal.h-data: Use "constant" instead of
15022 "typed-constant".
15023
d22956c9
JM
15024 * conform/conformtest.pl: Handle "optional-" at start of lines in
15025 one place rather than duplicating several cases. Handle each
15026 format of "macro" line with initial "optional-".
15027
028e2e38
JM
15028 * conform/conformtest.pl: Only accept expected constant or
15029 optional-constant values with "==". Parse all "constant" lines in
15030 one place. Parse all "optional-constant" lines in one place.
15031 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15032 * conform/data/fmtmsg.h-data: Likewise.
15033 * conform/data/netinet/in.h-data: Likewise.
15034 * conform/data/tar.h-data: Likewise.
15035 * conform/data/limits.h-data: Use "==" form on "constant" and
15036 "optional-constant" lines.
15037
1b8f2850
JM
15038 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15039 Use -std=c99 for XOPEN2K.
15040 (@knownproblems): Remove.
15041 (newtoken): Don't check %isknown.
15042
a05a144b
JM
15043 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15044 Do not expect macro.
15045 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15046 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15047 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15048 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15049 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15050 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15051 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15052 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15053 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15054 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15055 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15056 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15057 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15058 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15059 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15060 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15061 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15062 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15063 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15064 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15065 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15066 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15067 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15068 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15069 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15070 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15071 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15072 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15073 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15074 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15075 [XPG3] (acosh): Likewise.
15076 [XPG3] (asinh): Likewise.
15077 [XPG3] (atanh): Likewise.
15078 [XPG3] (cbrt): Likewise.
15079 [XPG3] (expm1): Likewise.
15080 [XPG3] (ilogb): Likewise.
15081 [XPG3] (log1p): Likewise.
15082 [XPG3] (logb): Likewise.
15083 [XPG3] (nextafter): Likewise.
15084 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15085 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15086 [XPG3] (remainder): Likewise.
15087 [XPG3] (rint): Likewise.
15088 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15089 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15090 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15091 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15092 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15093 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15094 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15095 [UNIX98 || XOPEN2K] (scalb): Expect.
15096 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15097 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15098 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15099 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15100 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15101 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15102 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15103 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15104 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15105 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15106 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15107 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15108 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15109 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15110 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15111 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15112 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15113 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15114 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15115 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15116 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15117 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15118 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15119 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15120 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15121 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15122 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15123 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15124 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15125 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15126 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15127 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15128 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15129 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15130 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15131 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15132 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15133 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15134 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15135 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15136 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15137 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15138 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15139 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15140 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15141 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15142 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15143 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15144 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15145 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15146 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15147 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15148 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15149 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15150 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15151 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15152 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15153 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15154 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15155 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15156 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15157 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15158 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15159 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15160 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15161 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15162 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15163 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15164 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15165 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15166 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15167 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15168 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15169 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15170 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15171 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15172 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15173 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15174 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15175 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15176 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15177 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15178 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15179 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15180 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15181 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15182 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15183 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15184 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15185 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15186 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15187 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15188 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15189 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15190 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15191 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15192 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15193 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15194 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15195 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15196 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15198 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15199 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15200 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15201 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15202 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15203 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15204 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15205 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15207 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15208 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15209 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15210 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15211 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15212 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15213 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15214 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15215 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15216 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15217 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15218 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15219 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15220 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15221 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15222 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15223 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15224 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15225 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15226 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15227 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15228 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15229 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15230 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15231 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15232 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15233
73c5ebe3
JM
15234 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15235 _XOPEN_SOURCE_EXTENDED for XPG4.
15236
39c33b6c
JM
15237 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15238
62fde54f
JM
15239 * Makeconfig (localtime): Remove variable.
15240 (inst_localtime-file): Likewise.
15241
0741d64c
AS
152422012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15243
15244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15245 Update.
15246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15247 Update.
15248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15249 Update.
15250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15251 Update.
15252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15253 Update.
15254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15255 Update.
15256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15257 Update.
15258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15259 Update.
15260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15261 Update.
15262
7cb029ee
JM
152632012-05-01 Joseph Myers <joseph@codesourcery.com>
15264
15265 [BZ #2550]
15266 [BZ #2570]
15267 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15268 comparisons to determine direction to adjust input.
15269 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15270 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15271 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15272 Likewise.
15273 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15274 Likewise.
15275 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15276 Likewise.
15277 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15278 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15279 Likewise.
15280 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15281 Likewise.
15282 * math/libm-test.inc (nexttoward_test): Add more tests.
15283
412bd966
AS
152842012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15285
15286 [BZ #14040]
15287 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15288 in version GLIBC_2.1, not GLIBC_2.0.
15289 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15290 Likewise.
15291
9568c0c2
JM
152922012-04-30 Joseph Myers <joseph@codesourcery.com>
15293
adfbc8ac
JM
15294 [BZ #13942]
15295 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15296 (1 - x) * (1 + x).
15297 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15298 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15299 * math/libm-test.inc (acos_test): Add more tests.
15300 (asin_test): Likewise.
15301 * sysdeps/i386/fpu/libm-test-ulps: Update.
15302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15303
5ba3cc69
JM
15304 [BZ #14034]
15305 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15306 of square root.
15307 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15308 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15309 * math/libm-test.inc (acos_test_tonearest): New function.
15310 (acos_test_towardzero): Likewise.
15311 (acos_test_downward): Likewise.
15312 (acos_test_upward): Likewise.
15313 (asin_test_tonearest): Likewise.
15314 (asin_test_towardzero): Likewise.
15315 (asin_test_downward): Likewise.
15316 (asin_test_upward): Likewise.
15317 (main): Call the new functions.
15318 * sysdeps/i386/fpu/libm-test-ulps: Update.
15319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15320
9568c0c2
JM
15321 [BZ #13884]
15322 [BZ #13924]
15323 * math/e_exp10.c: Include <float.h>.
15324 (__ieee754_exp10): Handle underflow here rather than multiplying
15325 large negative argument by M_LN10.
15326 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15327 of __ieee754_expf.
15328 * math/e_exp10l.c: Include <float.h>.
15329 (__ieee754_exp10l): Handle underflow here rather than multiplying
15330 large negative argument by M_LN10l.
15331 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15332 spurious overflow exception on underflow.
15333
5ac3ea17
MP
153342012-04-29 Marek Polacek <polacek@redhat.com>
15335
15336 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15337 (__fortify_function): New macro.
15338 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15339 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15340 __extern_always_inline.
15341 * libio/bits/stdio2.h: Likewise.
15342 * libio/bits/stdio.h: Likewise.
15343 * string/string.h: Likewise.
15344 * string/bits/string3.h: Likewise.
15345 * include/stdio.h: Likewise.
15346 * stdlib/bits/stdlib.h: Likewise.
15347 * stdlib/stdlib.h: Likewise.
15348 * rt/bits/mqueue2.h: Likewise.
15349 * rt/mqueue.h: Likewise.
15350 * posix/bits/unistd.h: Likewise.
15351 * posix/unistd.h: Likewise.
15352 * io/bits/poll2.h: Likewise.
15353 * io/bits/fcntl2.h: Likewise.
15354 * io/fcntl.h: Likewise.
15355 * io/sys/poll.h: Likewise.
15356 * misc/bits/syslog.h: Likewise.
15357 * misc/bits/syslog-ldbl.h: Likewise.
15358 * misc/sys/syslog.h: Likewise.
15359 * socket/bits/socket2.h: Likewise.
15360 * socket/sys/socket.h: Likewise.
15361 * debug/tst-chk1.c: Likewise.
15362 * wcsmbs/bits/wchar2.h: Likewise.
15363 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15364 * wcsmbs/wchar.h: Likewise.
15365
ecf0ebfb
AJ
153662012-04-29 Andreas Jaeger <aj@suse.de>
15367
15368 * Makerules (tests): Remove enable-check-abi protection.
15369 (check-abi-warn): Remove.
15370 (check-abi-%): Remove check-abi-warn usage.
15371
15372 * configure.in: Remove check-abi configure option.
15373 * configure: Regenerated.
15374 * config.make.in (enable-check-abi): Remove.
15375
6d5c57fa
AS
153762012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15377
24c5d07e 15378 [BZ #14033]
ded5180a
AS
15379 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15380 double functions to double *_finite functions.
15381
7e0d315d
AS
15382 [BZ #13941]
15383 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15384 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15385 LDBL_MIN_EXP.
15386 * stdio-common/Makefile (tests): Add tst-sprintf3.
15387 * stdio-common/tst-sprintf3.c: New file.
15388
6d5c57fa
AS
15389 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15390 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15391
0749ff8b
JM
153922012-04-28 Joseph Myers <joseph@codesourcery.com>
15393
15394 * conform/conformtest.pl: Remove duplicate typed-constant
15395 handling.
15396
8dbd5d7b
DM
153972012-04-28 David S. Miller <davem@davemloft.net>
15398
15399 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15400 (check-abi-%): Remove AWK script prerequisite and explicit
15401 abilist directory.
15402 (check-abi): Rewrite to just diff the symlist with the abilist.
15403 (config-tls, config-abi-config): Delete, no longer used.
15404 (update-abi-%): Remove AWK script and explicit abilist directory.
15405 (update-abi): Rewrite to simply compare and conditionally copy the
15406 symlist and the sysdep abilist file. Remove update-abi-config
15407 checks.
15408 * abilist/ld.abilist: Remove.
15409 * abilist/libBrokenLocale.abilist: Remove.
15410 * abilist/libanl.abilist: Remove.
15411 * abilist/libcrypt.abilist: Remove.
15412 * abilist/libdl.abilist: Remove.
15413 * abilist/librt.abilist: Remove.
15414 * abilist/libthread_db.abilist: Remove.
15415 * abilist/libutil.abilist: Remove.
15416 * scripts/extract-abilist.awk: Remove.
15417 * scripts/merge-abilist.awk: Remove.
15418 * sysdeps/generic/libcidn.abilist: New file.
15419 * sysdeps/generic/libnss_compat.abilist: New file.
15420 * sysdeps/generic/libnss_db.abilist: New file.
15421 * sysdeps/generic/libnss_dns.abilist: New file.
15422 * sysdeps/generic/libnss_files.abilist: New file.
15423 * sysdeps/generic/libnss_hesiod.abilist: New file.
15424 * sysdeps/generic/libnss_nis.abilist: New file.
15425 * sysdeps/generic/libnss_nisplus.abilist: New file.
15426 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15427 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15428 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15429 file.
15430 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15431 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15432 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15433 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15434 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15435 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15436 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15437 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15438 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15439 file.
15440 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15441 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15442 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15443 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15444 file.
15445 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15446 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15447 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15448 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15449 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15450 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15451 file.
15452 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15453 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15454 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15455 file.
15456 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15458 New file.
15459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15460 New file.
15461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15462 New file.
15463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15464 New file.
15465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15466 New file.
15467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15468 New file.
15469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15470 New file.
15471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15472 New file.
15473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15474 New file.
15475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15476 New file.
15477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15478 New file.
15479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15480 New file.
15481 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15482 New file.
15483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15484 file.
15485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15486 New file.
15487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15488 New file.
15489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15490 file.
15491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15492 New file.
15493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15494 New file.
15495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15496 file.
15497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15498 New file.
15499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15500 New file.
15501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15502 New file.
15503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15504 New file.
15505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15506 New file.
15507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15508 New file.
15509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15511 file.
15512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15513 New file.
15514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15515 file.
15516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15517 file.
15518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15519 file.
15520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15521 file.
15522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15523 file.
15524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15525 New file.
15526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15527 file.
15528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15529 file.
15530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15531 New file.
15532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15533 file.
15534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15536 file.
15537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15538 New file.
15539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15540 file.
15541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15542 file.
15543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15544 file.
15545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15546 file.
15547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15548 file.
15549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15550 New file.
15551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15552 file.
15553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15554 file.
15555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15556 New file.
15557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15558 file.
15559 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15560 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15561 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15562 file.
15563 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15564 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15565 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15566 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15567 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15568 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15569 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15570 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15571 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15572 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15575 file.
15576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15577 New file.
15578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15579 file.
15580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15581 file.
15582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15583 file.
15584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15585 file.
15586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15587 file.
15588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15589 New file.
15590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15591 New file.
15592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15593 file.
15594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15595 New file.
15596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15597 file.
15598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15600 file.
15601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15602 New file.
15603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15604 file.
15605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15606 file.
15607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15608 file.
15609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15610 file.
15611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15612 file.
15613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15614 New file.
15615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15616 New file.
15617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15618 file.
15619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15620 New file.
15621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15622 file.
15623
41d73a1b
JM
156242012-04-28 Joseph Myers <joseph@codesourcery.com>
15625
15626 * conform/conformtest.pl: Fix typo in handling typed-constant from
15627 allow-header.
15628
28aeeda4
JM
156292012-04-27 Joseph Myers <joseph@codesourcery.com>
15630
adae8f5e
JM
15631 * README: Cut down references to pre-2.6 Linux kernels and
15632 Linuxthreads. Update lists of configurations in libc and ports
15633 and sort alphabetically. Say "or newer" with Linux kernel version
15634 requirements.
15635
28aeeda4
JM
15636 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15637
a462cb63
RA
156382012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15639
15640 [BZ #887]
15641 * math/libm-test.inc (logb_test_downward): New test to expose
15642 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15643 rounding mode.
15644
6ad3493e
JM
156452012-04-27 Joseph Myers <joseph@codesourcery.com>
15646
15647 [BZ #14027]
15648 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15649 to be done.
15650 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15651 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15652
2ce4f015
JM
156532012-04-26 Joseph Myers <joseph@codesourcery.com>
15654
5aeb141a
JM
15655 * sysdeps/unix/i386/brk.S: Remove file.
15656 * sysdeps/unix/i386/dl-brk.S: Likewise.
15657 * sysdeps/unix/i386/pipe.S: Likewise.
15658 * sysdeps/unix/i386/sigreturn.S: Likewise.
15659 * sysdeps/unix/i386/syscall.S: Likewise.
15660 * sysdeps/unix/i386/vfork.S: Likewise.
15661 * sysdeps/unix/i386/wait.S: Likewise.
15662
7143acae
JM
15663 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15664 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15665
2ce4f015
JM
15666 * configure.in (arm*-none*): Do not allow without
15667 --enable-hacker-mode.
15668 (netbsd*): Remove case setting base_os.
15669 (386bsd*): Likewise.
15670 (freebsd*): Likewise.
15671 (bsdi*): Likewise.
15672 (osf*): Likewise.
15673 (sunos*): Likewise.
15674 (ultrix*): Likewise.
15675 (newsos*): Likewise.
15676 (dynix*): Likewise.
15677 (*bsd*): Likewise.
15678 (sysv*): Likewise.
15679 (isc*): Likewise.
15680 (esix*): Likewise.
15681 (sco*): Likewise.
15682 (minix*): Likewise.
15683 (irix4*): Likewise.
15684 (irix6*): Likewise.
15685 (solaris[2-9]*): Likewise.
15686 (none): Likewise.
15687 * configure: Regenerated.
15688
0ac229c8
AZ
156892012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15690
15691 [BZ #11521]
15692 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15693 overflow or cancellation in calculating denominator.
15694 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15695 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15696 down expression to avoid unexpected rounding in newer GCCs.
15697 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15698
33f244f4
DM
156992012-04-26 David S. Miller <davem@davemloft.net>
15700
15701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15702 long-double compat symbols.
15703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15716
cfa1f3e8
DM
157172012-04-25 David S. Miller <davem@davemloft.net>
15718
15719 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15720 HWCAP_* values only after the memory barriers have been defined.
15721 (atomic_full_barrier): Define.
15722 (atomic_read_barrier): Define.
15723 (atomic_write_barrier): Define.
15724
6e236b92
SP
157252012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15726
15727 * shlib-versions: Add libgcc_s version information.
15728 * sysdeps/generic/libgcc_s.h: Remove.
15729 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15730 libgcc_s.h.
15731 * sysdeps/gnu/unwind-resume.c: Likewise.
15732 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15733
aab39a09
DM
157342012-04-25 David S. Miller <davem@davemloft.net>
15735
15736 * sysdeps/unix/sparc/brk.S: Delete.
15737 * sysdeps/unix/sparc/dl-brk.S: Delete.
15738 * sysdeps/unix/sparc/pipe.S: Delete.
15739 * sysdeps/unix/sparc/sysdep.S: Delete.
15740 * sysdeps/unix/sparc/sysdep.h: Delete.
15741 * sysdeps/unix/sparc/vfork.S: Delete.
15742 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15743 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15744 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15745 ret_ERRVAL, r0, r1, MOVE): Define.
15746 (JUMPTARGET): Remove.
15747 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15748 sysdeps/unix/sparc/sysdep.h
15749 (ENTRY, END): Remove.
15750 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15751
a3cc4f48
JM
157522012-04-25 Joseph Myers <joseph@codesourcery.com>
15753
2ed8cda2
JM
15754 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15755 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15756 -DIS_IN_build.
15757
35d76d59
JM
15758 * timezone/README: Update upstream location and email address for
15759 tzcode and tzdata.
15760 * timezone/zdump.c: Update from tzcode 2012b.
15761 * timezone/zic.c: Likewise.
15762
a3cc4f48
JM
15763 * configure.in (libc_cv_as_needed): Remove test.
15764 * configure: Regenerated.
15765 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15766 conditional definition.
15767 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15768 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15769 * config.make.in (have-as-needed): Remove variable.
15770
ceab42c3
SP
157712012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15772 Paul Pluzhnikov <ppluzhnikov@google.com>
15773
15774 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15775 strings correctly.
15776
3ce2865f
CLT
157772012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15778
15779 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15780 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15781 * sysdeps/sh/strlen.S: Likewise.
15782
f37e0d68
JM
157832012-04-24 Joseph Myers <joseph@codesourcery.com>
15784
ae186e9a
JM
15785 * sysdeps/unix/fork.S: Remove file.
15786 * sysdeps/unix/i386/fork.S: Likewise.
15787 * sysdeps/unix/sparc/fork.S: Likewise.
15788
b96914af
JM
15789 * sysdeps/unix/system.c: Remove file.
15790 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15791
f37e0d68
JM
15792 * sysdeps/unix/getegid.S: Remove file.
15793 * sysdeps/unix/geteuid.S: Likewise.
15794
87ef29ca
RM
157952012-04-24 Roland McGrath <roland@hack.frob.com>
15796
83bcd236
RM
15797 * scripts/check-localplt.awk: New file.
15798 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15799 of diff.
15800 * scripts/data/localplt-generic.data: Add a comment.
15801
87ef29ca
RM
15802 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15803 NODE when __dir_mkfile failed.
15804 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15805 Reported by Ludovic Courtès <ludo@gnu.org>.
15806
e5a6e567
AJ
158072012-04-24 Andreas Jaeger <aj@suse.de>
15808
15809 * Makerules (common-clean): Also remove gen-as-const-headers
15810 files.
15811
c1820385
JM
158122012-04-24 Joseph Myers <joseph@codesourcery.com>
15813
15814 * Makerules (native-compile): Do not change working directory for
15815 build. Use $(OUTPUT_OPTION) in command.
15816 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15817
94e02fc4
AZ
158182012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15819
15820 [BZ #13886]
15821 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15822 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15823 * math/libm-test.inc (floor_test): Add more tests.
15824 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15825
3a533ca3
JM
158262012-04-24 Joseph Myers <joseph@codesourcery.com>
15827
940ab4b3
JM
15828 * sysdeps/unix/getdents.c: Remove file.
15829 * sysdeps/unix/sysv/getdents.c: Likewise.
15830 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15831
90e037bd
JM
15832 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15833 sysdeps/unix/mman/syscalls.list.
15834 (mmap): Likewise.
15835 (mprotect): Likewise.
15836 (msync): Likewise.
15837 (munmap): Likewise.
15838 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15839 * sysdeps/unix/mman/syscalls.list: Remove.
15840 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15841
3a533ca3
JM
15842 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15843 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15844 * configure: Regenerated.
15845 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15846 $(libgcc_s_suffix).
15847 * config.make.in (libgcc_s_suffix): Remove variable.
15848
1ad743de
JM
158492012-04-23 Joseph Myers <joseph@codesourcery.com>
15850
4ad451e2
JM
15851 * sysdeps/unix/sysv/gethostname.c: Move to ...
15852 * sysdeps/posix/gethostname.c: ... here.
15853
5e37ce39
JM
15854 * sysdeps/unix/execve.S: Remove file.
15855
1ad743de
JM
15856 * sysdeps/unix/_exit.S: Remove file.
15857
4e681b5b
AJ
158582012-04-23 Andreas Jaeger <aj@suse.de>
15859
15860 [BZ #13739]
15861 * manual/Makefile: Remove make dist support, there's no
15862 need for a stand-alone documentation tar ball.
15863 (TEXI2DVI): Define always, it's not in Makeconfig.
15864 (dist): Removed.
15865 (tar-it): Removed.
15866 (edition): Removed.
15867 (glibc-doc-$(edition).tar): Removed
15868 (%.Z): Removed.
15869 (%.gz): Removed.
15870 (%.uu): Removed.
15871 (ETAGS): Remove, it's in Makeconfig.
15872 (move-if-change): Remove, it's in Makeconfig.
15873
38686a03 158742012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15875
15876 [BZ #13970]
15877 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15878 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15879 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15880 (strtod_l, strtof_l, strtold_l): Remove __wur.
15881 It is not necessarily an error to ignore strtol's return value.
15882 One can reliably look at the stored endptr to decide whether
15883 the number had valid syntax.
15884
7c0616fa
AJ
158852012-04-21 Andreas Jaeger <aj@suse.de>
15886
803cb6b7 15887 [BZ #13739]
7c0616fa
AJ
15888 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15889
b0fe253f
JM
158902012-04-21 Joseph Myers <joseph@codesourcery.com>
15891
15892 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15893 * sysdeps/unix/sysv/Versions: Remove file.
15894
8280f22d
MT
158952012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15896
15897 [BZ #13927]
15898 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15899
75ce411f 159002012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15901
15902 [BZ #7064]
15903 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15904 version from __vm86.
15905
097d59fa
JM
159062012-04-20 Joseph Myers <joseph@codesourcery.com>
15907
a90f3bcb
JM
15908 * sysdeps/unix/common/lxstat.c: Remove file.
15909 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15910
edc7ea78
JM
15911 * sysdeps/unix/sysv/Makefile: Remove file.
15912
cb78c221
JM
15913 * sysdeps/unix/sysv/direct.h: Remove file.
15914
efa6a45f
JM
15915 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15916 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15917 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15918 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15919 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15920 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15921 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15922
9c9f2d0c
JM
15923 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15924
4541c83b
JM
15925 * sysdeps/unix/xmknod.c: Remove file.
15926 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15927
f5d153a0
JM
15928 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15929
aa746595
JM
15930 * sysdeps/unix/sysv/i386/time.S: Remove file.
15931
cce5905e
JM
15932 * sysdeps/unix/fxstat.c: Remove file.
15933 * sysdeps/unix/xstat.c: Likewise.
15934 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15935
37fa3841
JM
15936 * sysdeps/unix/sysv/sigaction.c: Remove file.
15937
ff1962a3
JM
15938 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15939 (sysdep_headers): Remove variable.
15940 [termio.h not in sysdep_headers] (generated): Likewise.
15941 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15942 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15943 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15944 * sysdeps/unix/sysv/tcflow.c: Likewise.
15945 * sysdeps/unix/sysv/tcflush.c: Likewise.
15946 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15947 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15948 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15949 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15950 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15951
e7740d31
JM
15952 * sysdeps/unix/siglist.c: Remove file.
15953
ee06f18b
JM
15954 * sysdeps/unix/getppid.S: Remove file.
15955
097d59fa
JM
15956 * sysdeps/unix/mkdir.c: Remove file.
15957 * sysdeps/unix/rmdir.c: Likewise.
15958
ff3d51ec
AS
159592012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15960
15961 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15962 ERR_MAX value.
15963 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15964 errlist-compat value.
15965
50f81fd7
DM
159662012-04-18 David S. Miller <davem@davemloft.net>
15967
15968 * sysdeps/generic/memcopy.h (reg_char): Delete.
15969 * debug/strcat_chk.c: Use char, not reg_char.
15970 * debug/strcpy_chk.c: Likewise.
15971 * debug/strncat_chk.c: Likewise.
15972 * debug/strncpy_chk.c: Likewise.
15973 * string/memchr.c: Likewise.
15974 * string/memrchr.c: Likewise.
15975 * string/rawmemchr.c: Likewise.
15976 * string/strcat.c: Likewise.
15977 * string/strchr.c: Likewise.
15978 * string/strchrnul.c: Likewise.
15979 * string/strcmp.c: Likewise.
15980 * string/strcpy.c: Likewise.
15981 * string/strncat.c: Likewise.
15982 * string/strncmp.c: Likewise.
15983 * string/strncpy.c: Likewise.
15984
8ff41c46
WS
159852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15986
15987 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15988 __builtin_memcopy is called when src and dest ranges are known to not
15989 overlap.
15990
6b652f46
WS
159912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15992
15993 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15994 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15995 fwd_align_merge macro call.
15996 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15997 bwd_align_merge macro call.
15998 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15999
b282631e
WS
160002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16001
16002 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16003 bwd_align_merge macros.
16004 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16005 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16006 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16007
95aa737c
DM
160082012-04-18 David S. Miller <davem@davemloft.net>
16009
16010 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16011
7a99a614
AJ
160122012-04-18 Andreas Jaeger <aj@suse.de>
16013
16014 [BZ# 6794]
16015 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16016 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16017 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16018
16019 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16020 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16021 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16022
16023 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16024 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16025 Adjust for changed ldbl-128 files.
16026
16027 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16028 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16029 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16030
e5270c23
DM
160312012-04-17 David S. Miller <davem@davemloft.net>
16032
16033 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16034
fb5e92c9
AS
160352012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16036
16037 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16038 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16039 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16040 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16041 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16042 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16043
76da7265
AZ
160442012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16045
16046 [BZ #6794]
16047 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16048 * math/libm-test.inc: Add ilogb errno and exception tests.
16049 * math/w_ilogb.c: New file: ilogb wrapper.
16050 * math/w_ilogbf.c: New file: ilogbf wrapper.
16051 * math/w_ilogbl.c: New file: ilogbl wrapper.
16052 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16053 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16054 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16055 exception being thrown with 0.0 as argument.
16056 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16057 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16058 exception being thrown with 0.0 as argument.
16059 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16060 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16061 exception being thrown with 0.0 as argument.
16062 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16063 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16064 exception being thrown with 0.0 as argument.
16065 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16066 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16067 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16068 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16069 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16070 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16071 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16072 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16073 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16074
0396e69d
PB
160752012-04-17 Petr Baudis <pasky@ucw.cz>
16076
16077 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16078 with altivec.
16079
750b5926
MP
160802012-04-16 Marek Polacek <polacek@redhat.com>
16081
16082 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16083
751728a1
MP
160842012-04-16 Marek Polacek <polacek@redhat.com>
16085
16086 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16087 operands of fdivp instruction.
16088
34a27407
L
160892012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16090
16091 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16092 * elf/tst-auditmod3b.c: Likewise.
16093 * elf/tst-auditmod4b.c: Likewise.
16094 * elf/tst-auditmod5b.c: Likewise.
16095 * elf/tst-auditmod6b.c: Likewise.
16096 * elf/tst-auditmod6c.c: Likewise.
16097 * elf/tst-auditmod7b.c: Likewise.
16098 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16099 * sysdeps/x86_64/preconfigure.in: Likewise.
16100 * sysdeps/x86_64/preconfigure: Regenerated.
16101
7e73e17d
L
161022012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16103
16104 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16105 __ILP32__.
16106
c7a6ab72
AB
161072012-04-13 Antoine Balestrat <merkil33@gmail.com>
16108
16109 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16110 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16111
a9e8e0e0
CL
161122012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16113
16114 [BZ #13973]
16115 * locale/iso-639.def: Fix gl language name. Spotted by
16116 Yaron Shahrabani.
16117
ec98af7d
RM
161182012-04-12 Roland McGrath <roland@hack.frob.com>
16119
16120 [BZ #2074]
16121 * libio/libio.h (__io_write_fn): Update comment.
16122
247c3ede
PB
161232012-04-12 Petr Baudis <pasky@ucw.cz>
16124
16125 [BZ #2074]
16126 * stdio.texi (Hook Functions): The user provided writer function
16127 is not allowed to return -1.
16128
55939d6d
DM
161292012-04-11 David S. Miller <davem@davemloft.net>
16130
16131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16132
90020f5a
MF
161332012-04-11 Mike Frysinger <vapier@gentoo.org>
16134
16135 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16136 Add a leading slash to rtkaio.
16137
288f9098
JM
161382012-04-11 Jim Meyering <meyering@redhat.com>
16139
90020f5a
MF
16140 [BZ #11959]
16141 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16142 It is not necessarily an error to ignore fwrite's return
16143 value. One can reliably use ferror to test for errors after
16144 the fact.
288f9098 16145
4be2b570
L
161462012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16147
16148 * bits/types.h (__snseconds_t): New type.
16149 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16150
16151 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16152 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16153 (__SNSECONDS_T_TYPE): Likewise.
16154 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16155 (__SNSECONDS_T_TYPE): Likewise.
16156 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16157 (__SNSECONDS_T_TYPE): Likewise.
16158
288f9098 161592012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16160
16161 [BZ #2636]
16162 * manual/time.texi (Processor Time): Return type of times is
16163 elapsed real time since an arbitrary point in the past.
16164 (CPU Time): Move CLK_TCK from here...
16165 (Processor Time): ...to here. Correct description.
16166 * manual/conf.texi (Constants for Sysconf): Correct description of
16167 _SC_CLK_TCK.
16168
d7dd4413
DM
161692012-04-10 David S. Miller <davem@davemloft.net>
16170
16171 [BZ #13967]
16172 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16173 where the is a gap between DT_REL(A) and DT_JMPREL.
16174
b46068fc
L
161752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16176
16177 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16178 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16179 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16180
73d65cc3
SP
161812012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16182
16183 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16184 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16185 (dl_main): Handle --inhibit-cache.
16186 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16187 _dl_inhibit_cache.
16188 * elf/dl-load.c (_dl_map_object): Use it.
16189 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16190
bcc8d661
JM
161912012-04-09 Joseph Myers <joseph@codesourcery.com>
16192
8f9a2fae
JM
16193 [BZ #13872]
16194 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16195 (__ieee754_powl): Saturate large exponents rather than testing for
16196 overflow of y*log2(x).
16197 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16198 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16199 exceptions.
16200
bcc8d661
JM
16201 [BZ #11521]
16202 * math/s_ctan.c: Include <float.h>.
16203 (__ctan): Avoid internal overflow or cancellation in calculating
16204 denominator.
16205 * math/s_ctanf.c: Likewise.
16206 * math/s_ctanl.c: Likewise.
16207 * math/s_ctanh.c: Likewise.
16208 * math/s_ctanhf.c: Likewise.
16209 * math/s_ctanhl.c: Likewise.
16210 * math/libm-test.inc (ctan_test): Add more tests.
16211 (ctanh_test): Likewise.
16212 * sysdeps/i386/fpu/libm-test-ulps: Update.
16213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16214
823fbbb4
AJ
162152012-04-09 Andreas Jaeger <aj@suse.de>
16216
03879793
AJ
16217 [BZ #6894]
16218 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16219 is an optional BSD extension.
16220
823fbbb4
AJ
16221 [BZ #10254]
16222 * manual/stdio.texi (Opening Streams): Document additional fopen
16223 parameters.
16224
8de131cb
RM
162252012-04-09 Roland McGrath <roland@hack.frob.com>
16226
16227 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16228 %eax without telling the compiler.
16229
c0ed9d7d
CD
162302012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16231
16232 [BZ # 13963]
16233 * manual/install.texi: Use sourceware.org.
16234
c483f6b4
JM
162352012-04-09 Joseph Myers <joseph@codesourcery.com>
16236
d7dd9453
JM
16237 [BZ #13873]
16238 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16239 (__ieee754_pow): Generate overflow and underflow using huge*huge
16240 and tiny*tiny rather than just returning constant infinity or zero
16241 for large exponents.
16242 * math/libm-test.inc (pow_test): Require overflow exceptions for
16243 applicable cases of large exponents.
16244
c483f6b4
JM
16245 [BZ #706]
16246 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16247 (__ieee754_pow): Use iterative multiplication algorithm only for
16248 integer exponents with absolute value below 1024. Check for odd
16249 integer exponents when using algorithm for real exponents.
16250 * math/libm-test.inc (pow_test): Add more tests.
16251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16252
d2de7579
JM
162532012-04-08 Joseph Myers <joseph@codesourcery.com>
16254
16255 [BZ #13705]
16256 * math/libm-test.inc (exp_test): Do not allow overflow exception
16257 on underflow test.
16258
f77f1232
AJ
162592012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16260
16261 [BZ #13705]
16262 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16263 instead of __kernel_standard_f.
16264
3884932b
MF
162652012-04-08 Mike Frysinger <vapier@gentoo.org>
16266
16267 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16268 * sysdeps/x86_64/memset_chk.S: Likewise.
16269
54472e9c
AJ
162702012-04-08 Andreas Jaeger <aj@suse.de>
16271
6ab0fbfc
AJ
16272 [BZ #10153]
16273 * manual/startup.texi (Environment Access): Describe return value
16274 for putenv and setenv.
16275
61efba8c
AJ
16276 [BZ #6895]
16277 * manual/filesys.texi (Directory Entries): Add description for
16278 DT_LNK.
16279
95c3f29a
AJ
16280 [BZ #6890]
16281 * manual/filesys.texi (Directory Entries): Clarify that it's file
16282 system not operating system in the description of DT_UNKNOWN.
16283
54472e9c
AJ
16284 [BZ #6578]
16285 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16286
624254b1
SC
162872012-04-08 Stephen Compall <s11@member.fsf.org>
16288
16289 [BZ #6649]
16290 * manual/llio.texi (Opening and Closing Files): Add cross
16291 reference to explain mode argument.
16292
1e4920e0
MF
162932012-04-07 Mike Frysinger <vapier@gentoo.org>
16294
16295 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16296 * sysdeps/x86_64/memset_chk.S: Likewise.
16297
5ed848f3
DM
162982012-04-07 David S. Miller <davem@davemloft.net>
16299
16300 * elf/elf.h (R_SPARC_WDISP10): Define.
16301 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16302 R_SPARC_SIZE32.
16303 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16304 R_SPARC_SIZE64 and R_SPARC_H34.
16305
96154cd8
CD
163062012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16307
16308 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16309 conditions and remove no longer applicable assertion.
16310
9904dc47
L
163112012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16312
16313 * bits/byteswap.h: Include <features.h>.
16314 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16315 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16316
f8887d0a
L
163172012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16318
16319 * bits/byteswap.h (__bswap_16): Removed.
16320 Include <bits/byteswap-16.h> to get __bswap_16.
16321 * sysdeps/i386/bits/byteswap.h: Likewise.
16322 * sysdeps/s390/bits/byteswap.h: Likewise.
16323 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16324 * bits/byteswap-16.h: New file.
16325 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16326 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16327 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16328 * string/Makefile (headers): Add bits/byteswap-16.h.
16329
62470f60
PP
163302012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16331
16332 [BZ #13895]
16333 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16334 extra indirection.
16335 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16336 * nss/tst-nss-static.c: New.
16337
4dad7bab
RM
163382012-04-06 Robert Millan <rmh@gnu.org>
16339
16340 [BZ #6486]
16341 * manual/llio.texi (File Position Primitive): lseek
16342 refers to WHENCE when it really means OFFSET.
16343
e9142a17
AJ
163442012-04-06 Andreas Jaeger <aj@suse.de>
16345
2c040eff
AJ
16346 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16347 strncmp declarations.
16348
e9142a17
AJ
16349 * abilist/libc.abilist: Add __poll and __ppoll.
16350
ff9f1c5f
DM
163512012-04-05 David S. Miller <davem@davemloft.net>
16352
dcd2ae90
DM
16353 * scripts/check-local-headers.sh: Accept a host triplet in the
16354 path matched by the exclude regexp.
16355
993eb054
DM
16356 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16357 definition.
16358 * sysdeps/powerpc/powerpc32/dl-machine.h
16359 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16360 * sysdeps/s390/s390-32/dl-machine.h
16361 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16362 * sysdeps/sparc/sparc32/dl-machine.h
16363 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16364 * sysdeps/sparc/sparc64/dl-machine.h
16365 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16366
ff9f1c5f
DM
16367 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16368 lazy binding.
48e2e132 16369 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16370 undefined symbol errors.
16371
48e2e132 16372 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16373 DT_NEEDED entries.
16374
e80d6f94
MM
163752012-04-05 Michael Matz <matz@suse.de>
16376
16377 [BZ #13592]
16378 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16379
349fa79f
AJ
163802012-04-05 Andreas Jaeger <aj@suse.de>
16381
16382 [BZ #13908]
16383 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16384 comment.
16385
f402708f
KK
163862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16387
16388 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16389 which ROUND is no valid rounding mode.
16390
2ecccfc9
KK
163912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16392
16393 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16394 read again.
16395 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16396
8a53f50f
KK
163972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16398
16399 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16400 an exception using FPU order intentionally.
16401
164022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16403
16404 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16405 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16406 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16407 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16408
d653abb7
SJ
164092012-04-05 Simon Josefsson <simon@josefsson.org>
16410
16411 [BZ #12340]
16412 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16413 EINVAL when BUFLEN is too smal.
16414
c3b1bf7d
TS
164152012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16416
16417 [BZ #13553]
16418 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16419 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16420
b1aa60f3
AJ
164212012-04-03 Andreas Jaeger <aj@suse.de>
16422
c3b1bf7d 16423 [BZ #13938]
67f60a26
AJ
16424 * manual/setjmp.texi (System V contexts): Fix sentence.
16425
b1aa60f3
AJ
16426 [BZ #13926]
16427 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16428 New macro for this case.
16429 [!__GNUC__] (__bswap_64): New inline function for this case.
16430 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16431 * bits/byteswap.h: Likewise.
16432 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16433 ull, guard with __GLIBC_HAVE_LONG_LONG.
16434
16435 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16436 __GLIBC_HAVE_LONG_LONG.
16437
16438 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16439 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16440
39c59c35
TMQMF
164412012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16442
16443 [BZ #13691]
16444 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16445 inptr and inend, rather than using last_ch.
16446
135ffda8
DM
164472012-04-02 David S. Miller <davem@davemloft.net>
16448
16449 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16450 * stdio-common/printf-parse.h (read_int): Change return type to
16451 'int', return -1 on INT_MAX overflow.
16452 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16453 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16454 overflows INT_MAX. Check for overflow of in-format-string precision
16455 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16456 SIZE_MAX not INT_MAX for integer overflow test.
16457 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16458 skip the construct in the format string but do not record anything.
16459 * stdio-common/bug22.c: Adjust to test both width/prevision
16460 INT_MAX overflow as well as total length INT_MAX overflow. Check
16461 explicitly for proper errno values.
16462
228c019e
TS
164632012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16464
302cadd3
TS
16465 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16466 CHAR_MAX.
16467 * string/test-strcmp.c [! WIDE]: Likewise.
16468 * time/tst-mktime2.c: Likewise for INT_MAX.
16469 * string/test-string.h: #include <sys/param.h> for MIN.
16470
228c019e
TS
16471 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16472 * sysdeps/i386/init-first.c (init): Likewise.
16473 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16474 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16475 * sysdeps/sh/init-first.c (init): Likewise.
16476
cfa633f5
UD
164772012-04-01 Ulrich Drepper <drepper@gmail.com>
16478
16479 * po/ru.po: Update from translation team.
d1635ef8 16480 * po/vi.po: Likewise.
cfa633f5 16481
6cd0a5ea
SP
164822012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16483
16484 * resolv/nss_dns/dns-host.c: Merge copyright years.
16485
4b43400f
LD
164862012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16487
16488 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16489 Optimize memcpy with prefetch if
16490 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16491 src, dst pointers have unequal 16 byte alignments.
16492
48c41d04
SP
164932012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16494
16495 [BZ #13928]
16496 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16497 from a CNAME entry and return the minimum ttl for the query.
16498 (gaih_getanswer_slice): Likewise.
16499
b8dc394d
JL
165002012-03-30 Jeff Law <law@redhat.com>
16501
16502 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16503 due to long keys.
16504 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16505 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16506
2f5a5ed0
JL
16507 * resolv/nss_dns/dns-host.c: Update copyright year.
16508
1d39e359
UD
165092012-03-30 Ulrich Drepper <drepper@gmail.com>
16510
c030f70c 16511 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16512 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16513
1d39e359
UD
16514 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16515 comments for sendmmsg.
16516
165172012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16518
16519 [BZ #13691]
16520 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16521 with only 1 character between 0x0041 and 0x01b0.
16522 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16523 * wcsmbs/tst-mbsnrtowcs.c: New file.
16524
20fde227
DM
165252012-03-29 David S. Miller <davem@davemloft.net>
16526
16527 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16528 small copies by hand.
16529
984a4237
JL
165302012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16531
16532 [BZ #13761]
16533 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16534 _nss_compat_initgroups_dyn): Fall back to malloc/free
16535 for large group memberships.
16536
18c9d62b
DM
165372012-03-28 David S. Miller <davem@davemloft.net>
16538
88d85d4f
DM
16539 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16540 that branches into memcpy.
16541 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16542 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16543 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16544 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16545 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16546 bits.
16547 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16548 implementation too.
16549 * sysdeps/sparc/mempcpy.S: New file.
16550
e5aa83e1
DM
16551 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16552 the IFUNC routine in the libc case.
16553 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16554
88570753
DM
16555 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16556 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16557 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16558 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16559 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16560 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16561 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16562 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16563
249d7567
DM
16564 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16565 loop to 256 bytes instead of 64 bytes and fix test signedness.
16566
18c9d62b
DM
16567 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16568 * sysdeps/sparc/sparc32/Makefile: rather than here...
16569 * sysdeps/sparc/sparc64/Makefile: and here.
16570
05f3d1f6
UD
165712012-03-28 Ulrich Drepper <drepper@gmail.com>
16572
16573 * malloc/mallocbug.c: Avoid warnings about unused variables.
16574
86ae07a8
JL
165752012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16576
16577 [BZ #13760]
16578 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16579 in the right place. Discard and retry query if response is
16580 larger than input buffer size.
16581
41bf21a1
JM
165822012-03-28 Joseph Myers <joseph@codesourcery.com>
16583
d6270972
JM
16584 [BZ #369]
16585 [BZ #2678]
16586 [BZ #3866]
16587 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16588 x for large integer exponent.
16589 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16590 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16591 sign of result as needed afterwards.
16592 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16593 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16594 result for underflowing pow the same as for overflow.
16595 (__kernel_standard_l): Handle powl overflow and underflow here
16596 rather than calling __kernel_standard.
16597 * math/libm-test.inc (pow_test): Add more tests.
16598
414fca03 16599 [BZ #3868]
41bf21a1
JM
16600 [BZ #13879]
16601 [BZ #13910]
16602 [BZ #13911]
16603 [BZ #13912]
16604 [BZ #13913]
16605 [BZ #13915]
16606 [BZ #13916]
16607 [BZ #13917]
16608 [BZ #13918]
16609 [BZ #13919]
16610 [BZ #13920]
16611 [BZ #13921]
16612 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16613 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16614 (__kernel_standard_l): New function.
16615 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16616 __kernel_standard.
16617 * math/w_acosl.c (__acosl): Likewise.
16618 * math/w_asinl.c (__asinl): Likewise.
16619 * math/w_atan2l.c (__atan2l): Likewise.
16620 * math/w_atanhl.c (__atanhl): Likewise.
16621 * math/w_coshl.c (__coshl): Likewise.
16622 * math/w_exp10l.c (__exp10l): Likewise.
16623 * math/w_exp2l.c (__exp2l): Likewise.
16624 * math/w_fmodl.c (__fmodl): Likewise.
16625 * math/w_hypotl.c (__hypotl): Likewise.
16626 * math/w_j0l.c (__j0l, __y0l): Likewise.
16627 * math/w_j1l.c (__j1l, __y1l): Likewise.
16628 * math/w_jnl.c (__jnl, __ynl): Likewise.
16629 * math/w_lgammal.c (__lgammal): Likewise.
16630 * math/w_log10l.c (__log10l): Likewise.
16631 * math/w_log2l.c (__log2l): Likewise.
16632 * math/w_logl.c (__logl): Likewise.
16633 * math/w_powl.c (__powl): Likewise.
16634 * math/w_remainderl.c (__remainderl): Likewise.
16635 * math/w_scalbl.c (sysv_scalbl): Likewise.
16636 * math/w_sinhl.c (__sinhl): Likewise.
16637 * math/w_sqrtl.c (__sqrtl): Likewise.
16638 * math/w_tgammal.c (__tgammal): Likewise.
16639 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16640 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16641 * math/libm-test.inc (acos_test): Add more tests.
16642 (acosh_test): Likewise.
16643 (asin_test): Likewise.
16644 (atanh_test): Likewise.
16645 (exp_test): Likewise.
16646 (exp10_test): Likewise.
16647 (exp2_test): Likewise.
16648 (expm1_test): Likewise.
16649 (lgamma_test): Likewise.
16650 (log_test): Likewise.
16651 (log10_test): Likewise.
16652 (log1p_test): Likewise.
16653 (log2_test): Likewise.
16654 (pow_test): Do not allow some spurious overflow exceptions.
16655 (sqrt_test): Add more tests.
16656 (tgamma_test): Likewise.
16657 (y0_test): Likewise.
16658 (y1_test): Likewise.
16659 (yn_test): Likewise.
16660
dd62fda6
AB
166612012-03-27 Anton Blanchard <anton@samba.org>
16662
16663 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16664 MAP_HUGETLB.
16665 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16666 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16667 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16668
1e3cdfda
AJ
166692012-03-27 David S. Miller <davem@davemloft.net>
16670
b855ab85
DM
16671 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16672
1e3cdfda
AJ
16673 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16674 have-as-vis3 check.
16675
166762012-03-27 Andreas Jaeger <aj@suse.de>
16677
16678 * sysdeps/x86_64/elf/configure.in: Moved to ...
16679 * sysdeps/x86_64/configure.in: ... here.
16680 * sysdeps/x86_64/elf/start.S: Moved to ...
16681 * sysdeps/x86_64/start.S: ... here.
16682 * sysdeps/x86_64/elf/configure: Delete.
16683
16684 * sysdeps/x86_64/configure.in: Merge contents from
16685 sysdeps/i386/configure.in (without i686 check).
16686
16687 * sysdeps/i386/elf/Versions: Merge into ...
16688 * sysdeps/i386/Versions: ... this.
16689 * sysdeps/i386/elf/Versions: Delete file.
16690 * sysdeps/i386/elf/start.S: Moved to ...
16691 * sysdeps/i386/start.S: ...here.
16692 * sysdeps/i386/elf/configure.in: Merge into...
16693 * sysdeps/i386/configure.in: ...here.
16694 * sysdeps/i386/elf/configure.in: Delete file.
16695 * sysdeps/i386/elf/configure: Delete file.
16696
16697 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16698 * debug/backtracesyms.c: ... here.
16699 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16700 * debug/backtracesymsfd.c: ... here.
16701 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16702 * sysdeps/generic/ifunc-sel.h: ... here.
16703
16704 * sysdeps/unix/i386/start.c: Delete file.
16705 * sysdeps/unix/sparc/start.c: Delete file.
16706 * sysdeps/unix/start.c: Delete file.
16707
16708 * sysdeps/sh/elf/configure.in: Moved to ...
16709 * sysdeps/sh/configure.in: ... here.
16710 * sysdeps/sh/elf/start.S: Moved to ...
16711 * sysdeps/sh/start.S: ... here.
16712 * sysdeps/sh/elf/configure: Delete file.
16713
16714 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16715 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16716 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16717 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16718 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16719 * sysdeps/powerpc/powerpc64/start.S: here.
16720 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16721 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16722 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16723 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16724 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16725
16726 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16727 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16728 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16729 * sysdeps/powerpc/powerpc32/start.S: ... here.
16730 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16731 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16732 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16733
16734 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16735 * sysdeps/powerpc/ifunc-sel.h: ... here.
16736 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16737 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16738
16739 * sysdeps/sparc/elf/configure.in: Moved to ...
16740 * sysdeps/sparc/configure.in: ... here.
16741 * sysdeps/sparc/elf/configure: Delete file.
16742 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16743 * sysdeps/sparc/sparc32/start.S: ... here.
16744 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16745 * sysdeps/sparc/sparc64/start.S: ... here.
16746 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16747 * sysdeps/sparc/sparc32/Makefile: ... this.
16748 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16749 * sysdeps/sparc/sparc64/Makefile: ... this.
16750
16751 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16752 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16753 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16754 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16755 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16756 * sysdeps/s390/s390-32/setjmp.S: ... here.
16757 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16758 * sysdeps/s390/s390-32/configure.in: ... here.
16759 * sysdeps/s390/s390-32/elf/configure: Delete file.
16760 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16761 * sysdeps/s390/s390-32/start.S: ... here.
16762
16763 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16764 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16765 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16766 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16767 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16768 * sysdeps/s390/s390-64/setjmp.S: ... here.
16769 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16770 * sysdeps/s390/s390-64/configure.in: ... here
16771 * sysdeps/s390/s390-64/elf/configure: Delete file.
16772 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16773 * sysdeps/s390/s390-64/start.S: ... here.
16774 * sysdeps/s390/s390-64/elf/configure: Delete.
16775
16776 * configure.in: Remove support for elf directories in sysdeps.
16777
16778 * configure: Regenerated.
16779 * sysdeps/i386/configure: Regenerated.
16780 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16781 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16782 * sysdeps/s390/s390-32/configure: Regenerated.
16783 * sysdeps/s390/s390-64/configure: Regenerated.
16784 * sysdeps/sh/configure: Regenerated.
16785 * sysdeps/sparc/configure: Regenerated.
16786 * sysdeps/x86_64/configure: Regenerated.
16787
a3f61311
AS
167882012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16789
c876e002
AS
16790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16791
a3f61311
AS
16792 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16793 denormal result into account.
16794
ac4c54f0
RM
167952012-03-25 Roland McGrath <roland@hack.frob.com>
16796
16797 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16798 Reported by Allan McRae <allan@archlinux.org>.
16799
6a9b9c02
JL
168002012-03-23 Jeff Law <law@redhat.com>
16801
16802 * nss/getnssent.c (__nss_getent): Fix typo.
16803
4c42a0c1
DM
168042012-03-23 David S. Miller <davem@davemloft.net>
16805
16806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16807
1532c7ac
L
168082012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16809
16810 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16811 to pad to uint64_t for each field.
16812 (dl_tls_index): Replace unsigned long with uint64_t.
16813
3ff42526
PP
168142012-03-23 Daniel Jacobowitz <dmj@google.com>
16815 Paul Pluzhnikov <ppluzhnikov@google.com>
16816
16817 [BZ #6528]
16818 * grp/Makefile (otherlibs): Don't set it.
16819 * inet/Makefile (otherlibs): Likewise.
16820 * login/Makefile (otherlibs): Likewise.
16821 * nscd/Makefile (otherlibs): Likewise.
16822 * posix/Makefile (otherlibs): Likewise.
16823 * pwd/Makefile (otherlibs): Likewise.
16824 * rt/Makefile (otherlibs): Likewise.
16825 * sunrpc/Makefile (otherlibs): Likewise.
16826 * nss/Makefile (otherlibs): Likewise.
16827 Add libnss_files to routines and static-only-routines.
16828 ($(objpfx)getent): Remove rule.
16829 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16830 static-only-routines.
16831
7c69cd14
JM
168322012-03-22 Joseph Myers <joseph@codesourcery.com>
16833
16834 [BZ #13892]
16835 * math/s_cexp.c: Include <float.h>.
16836 (__cexp): Handle exp result overflowing not necessarily
16837 overflowing both real and imaginary parts of result.
16838 * math/s_cexpf.c: Likewise.
16839 * math/s_cexpl.c: Likewise.
16840 * math/libm-test.inc (cexp_test): Add more tests.
16841 * sysdeps/i386/fpu/libm-test-ulps: Update.
16842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16843
81b035fe
L
168442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16845
16846 * include/link.h (ELFW): New macro.
16847 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16848 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16849
1da7940c
L
168502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16851
16852 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16853 with uint64_t.
16854
b749dbb9
L
168552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16856
16857 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16858 declaration.
16859 (struct La_x32_retval): Likewise.
16860
2ff87f3f
L
168612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16862
16863 * sysdeps/x86_64/preconfigure.in: New file.
16864 * sysdeps/x86_64/preconfigure: New generated file.
16865
c0df8e69
JM
168662012-03-22 Joseph Myers <joseph@codesourcery.com>
16867
48e44791
JM
16868 [BZ #13824]
16869 * math/e_exp2l.c: Include <float.h>.
16870 (__ieee754_exp2l): Handle overflow and underflow cases
16871 separately. Only pass fractional part of argument to
16872 __ieee754_expl.
16873 * math/libm-test.inc (exp2_test): Add more tests.
16874
c0df8e69
JM
16875 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16876 negating x to take absolute value.
16877 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16878 Likewise.
16879 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16880 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16881 Likewise.
16882 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16883 computing low part if x was negated.
16884 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16885
c8e43ba7
L
168862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16887
16888 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16889 la_x32_gnu_pltexit.
16890 (pltexit): Cast int_retval to ptrdiff_t.
16891 * elf/tst-auditmod3b.c: Likewise.
16892 * elf/tst-auditmod4b.c: Likewise.
16893 * elf/tst-auditmod5b.c: Likewise.
16894 * elf/tst-auditmod6b.c: Likewise.
16895 * elf/tst-auditmod6c.c: Likewise.
16896 * elf/tst-auditmod7b.c: Likewise.
16897
16898 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16899 and x32_gnu_pltexit.
16900
16901 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16902 __ELF_NATIVE_CLASS.
16903 (La_x32_regs): New macro.
16904 (La_x32_retval): Likewise.
16905 (la_x32_gnu_pltenter): New function prototype.
16906 (la_x32_gnu_pltexit): Likewise.
16907
7998fa78
AS
169082012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16909
dcb33988
AS
16910 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16911 exponent.
16912
233fc563
AS
16913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16914
7998fa78
AS
16915 * configure.in (libc_cv_cc_nofma): Check for option to disable
16916 generation of FMA instructions.
16917 * configure: Regenerate.
16918 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16919 * sysdeps/ieee754/dbl-64/Makefile: New file.
16920 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16921 Remove brandred-fma4.
16922 (CFLAGS-brandred-fma4.c): Remove.
16923 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16924 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16925 define.
16926 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16927 define.
16928
8e95c99a
L
169292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16930
16931 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16932 LLONG_MAX != LONG_MAX.
16933 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16934 (_fitoa_word): Likewise.
16935 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16936 LLONG_MAX != LONG_MAX.
16937 * stdio-common/_itowa.h: Include <_itoa.h>.
16938 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16939 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16940 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16941 only if not defined.
16942 (_ITOA_WORD_TYPE): Likewise.
16943 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16944 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16945
6f4db457
DM
169462012-03-21 David S. Miller <davem@davemloft.net>
16947
16948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16949
7785fe5a
L
169502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16951
16952 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16953 of x86_64 when setting libc_cv_slibdir, libdir and
16954 libc_cv_localedir.
16955 * sysdeps/unix/sysv/linux/configure: Regenerated.
16956
4535cd55
JM
169572012-03-21 Joseph Myers <joseph@codesourcery.com>
16958
16959 * manual/lang.texi (Old Varargs): Remove section.
16960 (How Variadic): Update menu.
16961 (va_start): Do not mention varargs.h.
16962
17228132
TS
169632012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16964 Joseph Myers <joseph@codesourcery.com>
16965
16966 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16967 link test.
16968 * configure: Regenerated.
16969
8149f976
TS
169702012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16971
05f3d1f6
UD
16972 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16973 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16974 conformtest.pl
8149f976 16975
1a4ac776
JM
169762012-03-21 Joseph Myers <joseph@codesourcery.com>
16977
be22ce65
JM
16978 * NOTES: Remove.
16979 * Makefile (files-for-dist): Remove NOTES.
16980 (NOTES): Remove rule.
16981 * README: Don't refer to NOTES.
16982 * manual/creature.texi: Don't include macros.texi.
16983 * manual/intro.texi (creature.texi): Remove comment referring to
16984 NOTES.
16985
40b601fb
JM
16986 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16987 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16988 * configure: Regenerated.
16989 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16990 LIBC_TRY_CC_OPTION.
16991 (libc_cv_as_i686): Likewise.
16992 (libc_cv_cc_avx): Likewise.
16993 (libc_cv_cc_sse2avx): Likewise.
16994 (libc_cv_cc_fma4): Likewise.
16995 (libc_cv_cc_novzeroupper): Likewise.
16996 * sysdeps/i386/configure: Regenerated.
16997
1a4ac776
JM
16998 [BZ #13883]
16999 * sysdeps/i386/fpu/s_cexp.S: Remove.
17000 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17001 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17002 * math/libm-test.inc (cexp_test): Add more tests.
17003 * sysdeps/i386/fpu/libm-test-ulps: Update.
17004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17005
a458e7fe
AM
170062012-03-21 Allan McRae <allan@archlinux.org>
17007
17008 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17009
0cb7efc5
JM
170102012-03-21 Joseph Myers <joseph@codesourcery.com>
17011
17012 [BZ #13871]
17013 * math/w_exp2.c: Do not include <float.h>.
17014 (o_threshold, u_threshold): Remove.
17015 (__exp2): Calculate result before checking finiteness and calling
17016 __kernel_standard.
17017 * math/w_exp2f.c: Likewise.
17018 * math/w_exp2l.c: Likewise.
17019 * math/libm-test.inc (exp2_test): Require overflow exception for
17020 1e6 input.
2460d3aa
JM
17021
17022 [BZ #3866]
17023 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17024 range of signed 64-bit integers before using fistpll. Remove
17025 checks for whether integers fit in mantissa bits.
17026 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17027 the range of signed 32-bit integers before using fistpl. Remove
17028 checks for whether integers fit in mantissa bits.
17029 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17030 (__ieee754_powl): Test for y outside the range of signed 64-bit
17031 integers before using fistpll. Reduce 64-bit values to 63-bit
17032 ones as needed.
17033 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17034 divide-by-zero is raised for zero to large negative powers.
17035 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17036 (__ieee754_powl): Test for y outside the range of signed 64-bit
17037 integers before using fistpll. Reduce 64-bit values to 63-bit
17038 ones as needed.
17039 * math/libm-test.inc (pow_test): Add more tests.
17040
eb96ffb0
L
170412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17042
17043 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17044 <stdio-common/_itoa.h>.
17045 * debug/segfault.c: Likewise.
17046 * elf/dl-cache.c: Likewise.
17047 * elf/dl-minimal.c: Likewise.
17048 * elf/dl-misc.c: Likewise.
17049 * elf/dl-sysdep.c: Likewise.
17050 * elf/dl-version.c: Likewise.
17051 * elf/rtld.c: Likewise.
17052 * hurd/hurdsock.c: Likewise.
17053 * hurd/lookup-retry.c: Likewise.
17054 * malloc/malloc.c: Likewise.
17055 * malloc/mtrace.c: Likewise.
17056 * nscd/nscd_getgr_r.c: Likewise.
17057 * nscd/nscd_getpw_r.c: Likewise.
17058 * nscd/nscd_getserv_r.c: Likewise.
17059 * posix/getopt_init.c: Likewise.
17060 * posix/wordexp.c: Likewise.
17061 * stdio-common/_itoa.c: Likewise.
17062 * stdio-common/printf_fphex.c: Likewise.
17063 * stdio-common/vfprintf.c: Likewise.
17064 * string/_strerror.c: Likewise.
17065 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17066 * sysdeps/i386/i686/hp-timing.h: Likewise.
17067 * sysdeps/mach/_strerror.c: Likewise.
17068 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17069 * sysdeps/mach/hurd/sethostid.c: Likewise.
17070 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17071 * sysdeps/mach/xpg-strerror.c: Likewise.
17072 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17073 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17074 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17075 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17076 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17077 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17078 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17079 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17080 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17081 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17082 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17083 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17084 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17085 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17086 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17087 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17088 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17089 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17090 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17091 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17092 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17093
17094 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17095
17096 * stdio-common/_itoa.h: Moved to ...
17097 * sysdeps/generic/_itoa.h: Here.
17098
17099 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17100
17101 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17102 instead of "_itoa.h" and "_itowa.h".
17103 * stdio-common/vfprintf.: Likewise.
17104
d1af992d
L
171052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17106
17107 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17108 <bits/wordsize.h>.
17109 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17110 (__signbit): Likwise.
17111 (llrintf): Likwise.
17112 (llrint): Likwise.
17113
114883e0
L
171142012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17115
17116 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17117 __WORDSIZE != 64.
17118
c135cc1b
JM
171192012-03-20 Joseph Myers <joseph@codesourcery.com>
17120
17121 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17122 OVERFLOW_EXCEPTION_OK.
17123 * math/libm-test.inc ("Philosophy"): Update comment about
17124 exception testing.
17125 (OVERFLOW_EXCEPTION): Define.
17126 (OVERFLOW_EXCEPTION_OK): Likewise.
17127 (INVALID_EXCEPTION_OK): Renumber.
17128 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17129 (IGNORE_ZERO_INF_SIGN): Likewise.
17130 (test_exceptions): Handle FE_OVERFLOW.
17131 (exp10_test): Expect overflow exceptions.
17132 (exp2_test): Likewise.
17133 (expm1_test): Likewise.
17134 (nextafter_test): Likewise.
17135 (pow_test): Likewise.
17136 (scalbn_test): Likewise.
17137 (scalbln_test): Likewise.
17138
95443d88
L
171392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17140
17141 * sysdeps/x86_64/bits/atomic.h
17142 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17143 64bit integer.
17144 (atomic_exchange_acq): Likewise.
17145 (__arch_exchange_and_add_body): Likewise.
17146 (__arch_add_body): Likewise.
17147 (atomic_add_negative): Likewise.
17148 (atomic_add_zero): Likewise.
17149
490df6c4
L
171502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17151
c2722551 17152 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17153 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17154
5e52b189
L
171552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17156
17157 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17158 Check __x86_64__ instead of __WORDSIZE.
17159
a9879d4c
L
171602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17161
17162 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17163
5df98260
DM
171642012-03-19 David S. Miller <davem@davemloft.net>
17165
e1497744
DM
17166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17167
5df98260
DM
17168 * sysdeps/sparc/fpu/fenv_private.h: New file.
17169 * sysdeps/sparc/fpu/math_private.h: Use it.
17170 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17171 Remove.
17172 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17173 (libc_feholdexcept_setroundl): Remove.
17174 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17175 Remove.
17176 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17177 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17178
b4c35121
L
171792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17180
17181 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17182 int64_t instead of long int.
17183 (INSERT_WORDS64): Likwise.
17184
56965fd7
L
171852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17186
17187 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17188 _Unwind_GetCFA return to _Unwind_Ptr first.
17189
83d1aec8
JM
171902012-03-19 Joseph Myers <joseph@codesourcery.com>
17191
1897ad44
JM
17192 [BZ #13629]
17193 * math/s_clog.c: Include <float.h>.
17194 (__clog): Scale large or subnormal inputs.
17195 * math/s_clogf.c: Likewise.
17196 * math/s_clogl.c: Likewise.
17197 * math/s_clog10.c: Include <float.h>.
17198 (M_LOG10_2): Define.
17199 (__clog10): Scale large or subnormal inputs.
17200 * math/s_clog10f.c: Likewise.
17201 * math/s_clog10l.c: Likewise.
17202 * math/libm-test.inc (clog_test): Add more tests.
17203 (clog10_test): Likewise.
17204 * sysdeps/i386/fpu/libm-test-ulps: Update.
17205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17206
7726d6a9
JM
17207 [BZ #11451]
17208 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17209 x and y.
17210 * math/libm-test.inc (atan2_test): Add another test.
17211
83d1aec8
JM
17212 * Makerules (common-objdir-compile): Remove.
17213 * sysdeps/unix/Makefile (config-generated): Do not add
17214 $(unix-generated) to variable.
17215 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17216 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17217 Remove rule.
17218 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17219 Likewise.
17220 [generic bits/local_lim.h] (before-compile): Do not append to
17221 variable.
17222 [generic bits/local_lim.h] (common-generated): Likewise.
17223 [generic sys/param.h] (before-compile): Do not append to variable.
17224 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17225 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17226 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17227 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17228 include.
17229 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17230 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17231 [generic sys/param.h] ($(addprefix
17232 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17233 [generic sys/param.h] (common-generated): Do not append to
17234 variable.
17235 [generic sys/param.h] (sysdep_headers): Likewise.
17236 [generic bits/errno.h] (before-compile): Do not append to
17237 variable.
17238 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17239 rule.
17240 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17241 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17242 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17243 [generic bits/errno.h] (common-generated): Do not append to
17244 variable.
17245 [generic bits/ioctls.h] (before-compile): Do not append to
17246 variable.
17247 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17248 rule.
17249 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17250 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17251 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17252 rule.
17253 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17254 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17255 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17256 [generic bits/ioctls.h] (common-generated): Do not append to
17257 variable.
17258 [generic sys/syscall.h] (syscall.h): Remove variable.
17259 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17260 rule.
17261 [generic sys/syscall.h] (before-compile): Do not append to
17262 variable.
17263 [generic sys/syscall.h] (common-generated): Likewise.
17264 * sysdeps/unix/errnos-tmpl.c: Remove file.
17265 * sysdeps/unix/errnos.awk: Likewise.
17266 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17267 * sysdeps/unix/ioctls.awk: Likewise.
17268 * sysdeps/unix/mk-local_lim.c: Likewise.
17269 * sysdeps/unix/snarf-ioctls: Likewise.
17270
4851a949
RH
172712012-03-19 Richard Henderson <rth@twiddle.net>
17272
bd37f2ee
RH
17273 * sysdeps/i386/fpu/fenv_private.h: New file.
17274 * sysdeps/i386/fpu/math_private.h: Use it.
17275 (math_opt_barrier, math_force_eval): Remove.
17276 (libc_feholdexcept_setround_53bit): Remove.
17277 (libc_feupdateenv_53bit): Remove.
17278 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17279 (math_opt_barrier, math_force_eval): Remove.
17280 (libc_feholdexcept): Remove.
17281 (libc_feholdexcept_setround): Remove.
17282 (libc_fetestexcept, libc_fesetenv): Remove.
17283 (libc_feupdateenv_test): Remove.
17284 (libc_feupdateenv, libc_feholdsetround): Remove.
17285 (libc_feresetround): Remove.
17286
d0adc922
RH
17287 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17288 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17289
0fe0f1f8
RH
17290 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17291 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17292 (libc_feupdateenv_testl): New.
17293 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17294 (libc_feupdateenv_testf): New.
17295 (libc_feupdateenv): Use libc_feupdateenv_test.
17296 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17297 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17298
eb92c487
RH
17299 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17300 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17301 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17302 (libc_feresetround_noex): New.
17303 (libc_feresetround_noexf): New.
17304 (libc_feresetround_noexl): New.
17305 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17306 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17307 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17308 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17309 SET_RESTORE_ROUND.
17310 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17311 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17312 (__cos): Likewise.
17313 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17314 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17315 SET_RESTORE_ROUND_NOEX.
17316 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17317 SET_RESTORE_ROUND_NOEXF.
17318 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17319 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17320 (libc_feholdsetroundf): New.
17321 (libc_feresetround, libc_feresetroundf): New.
17322
7d2e8012
RH
17323 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17324 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17325 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17326
b4dabbb4
RH
17327 * sysdeps/generic/math_private.h: Include <fenv.h>.
17328 (default_libc_feholdexcept): New.
17329 (default_libc_feholdexcept_setround): New.
17330 (default_libc_fesetenv, default_libc_feupdateenv): New.
17331 (libc_feholdexcept): Only define if undefined.
17332 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17333 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17334 (libc_feholdexcept_setroundl): Likewise.
17335 (libc_feholdexcept_setround_53bit): Likewise.
17336 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17337 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17338 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17339 (libc_feupdateenv_53bit): Likewise.
17340 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17341 (libc_feholdexcept): Convert from macro to inline function.
17342 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17343 (libc_fesetenv, libc_feupdateenv): Likewise.
17344
4851a949
RH
17345 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17346 not previously defined.
17347 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17348 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17349 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17350 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17351 * sysdeps/ieee754/flt-32/math_private.h: New file.
17352 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17353 math_private.h below SET_FLOAT_WORD.
17354 (__isnan, __isinf_ns, __finite): Remove.
17355 (__isnanf, __isinf_nsf, __finitef): Remove.
17356
e79d442e
AS
173572012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17358
17359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17360
90b80344
DM
173612012-03-17 David S. Miller <davem@davemloft.net>
17362
17363 [BZ #6471]
17364 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17365 for 2.16.
17366
edc21804
DM
173672012-03-16 David S. Miller <davem@davemloft.net>
17368
77e927af
DM
17369 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17370 warnings.
17371
374976dd
DM
17372 [BZ #6471]
17373 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17374 properly.
17375 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17376 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17377 sysdep_routines when subdir is sysvipc.
17378 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17379 __getshmlba helper.
17380
edc21804
DM
17381 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17382
473c3ef3
L
173832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17384
17385 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17386 [__LP64__].
17387
eb0f39b6
L
173882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17389
17390 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17391 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17392 (__lround): Renamed to ...
17393 (__llround): This. Replace long int with long long int.
17394 Define lround functions as aliases of llround functions.
17395 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17396
6b6cd74b
L
173972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17398
17399 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17400 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17401 adresses to uintptr_t. Replace "long int" and "unsigned long
17402 int" with "greg_t" on va_arg.
17403
f1a77b01
L
174042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17405
17406 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17407 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17408
17409 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17410 Move e_machine check before EI_CLASS check. Handle x32
17411 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17412 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17413 SKIP_EM_IA_64 and include
17414 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17415
17416 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17417 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17418 (add_system_dir): New macro.
17419
17420 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17421 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17422
11b90b9f
JM
174232012-03-16 Joseph Myers <joseph@codesourcery.com>
17424
c36e1d23
JM
17425 [BZ #2551]
17426 [BZ #2552]
17427 [BZ #2553]
17428 [BZ #2554]
17429 [BZ #2562]
17430 [BZ #2563]
17431 [BZ #2565]
17432 [BZ #2566]
17433 [BZ #2576]
17434 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17435 (y0): Likewise.
17436 * math/w_j0f.c (j0f): Likewise.
17437 (y0f): Likewise.
17438 * math/w_j0l.c (__j0l): Likewise.
17439 (__y0l): Likewise.
17440 * math/w_j1.c (j1): Likewise.
17441 (y1): Likewise.
17442 * math/w_j1f.c (j1f): Likewise.
17443 (y1f): Likewise.
17444 * math/w_j1l.c (__j1l): Likewise.
17445 (__y1l): Likewise.
17446 * math/w_jn.c (jn): Likewise.
17447 (yn): Likewise.
17448 * math/w_jnf.c (jnf): Likewise.
17449 (ynf): Likewise.
17450 * math/w_jnl.c (__jnl): Likewise.
17451 (__ynl): Likewise.
17452 * math/libm-test.inc (j0_test): Add more tests.
17453 (j1_test): Likewise.
17454 (jn_test): Likewise. Add trailing semicolon to existing test.
17455 (y0_test): Likewise.
17456 (y1_test): Likewise.
17457 * sysdeps/i386/fpu/libm-test-ulps: Update.
17458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17459
11b90b9f
JM
17460 [BZ #13851]
17461 [BZ #13854]
17462 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17463 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17464 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17465 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17466 (__tanl): Set errno for infinite argument.
17467 * sysdeps/i386/fpu/mptan.c: Remove.
17468 * sysdeps/i386/fpu/s_tan.S: Likewise.
17469 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17470 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17471 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17472 * math/libm-test.inc (tan_test): Add more tests and enable more
17473 tests for double and long double.
17474 * sysdeps/i386/fpu/libm-test-ulps: Update.
17475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17476
6a1bd2a1
JK
174772012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17478
17479 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17480 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17481
10a803e0
RM
174822012-03-16 Roland McGrath <roland@hack.frob.com>
17483
17484 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17485 * configure.in: Use it for both main tree and add-ons.
17486 * configure: Regenerated.
17487
f196c7f7
L
174882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17489
17490 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17491
8848d99d
JM
174922012-03-16 Joseph Myers <joseph@codesourcery.com>
17493
96cbe7f4
JM
17494 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17495 in comment.
17496
8848d99d
JM
17497 [BZ #13851]
17498 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17499 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17500 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17501 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17502 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17503 infinite argument.
17504 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17505 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17506 != 0 for prec == 2.
17507 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17508 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17509 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17510 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17511 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17512 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17513 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17514 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17515 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17516 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17517 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17518 * math/libm-test.inc (cos_test): Add more tests and enable more
17519 tests for long double.
17520 (sin_test): Likewise.
17521 (sincos_test): Likewise.
17522 * sysdeps/i386/fpu/libm-test-ulps: Update.
17523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17524
dd7f4703
DM
175252012-03-16 David S. Miller <davem@davemloft.net>
17526
17527 * sysdeps/sparc/fpu/math_private.h: New file.
17528
006f1daa
DM
175292012-03-15 David S. Miller <davem@davemloft.net>
17530
c0c83bc8
DM
17531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17532 file.
e6a62e18 17533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17535 file.
e6a62e18
DM
17536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17541 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17542 sysdep routines.
17543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17544
88cb87d9
DM
17545 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17546 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17547
006f1daa 17548 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17550 sparc-ifunc.h
006f1daa 17551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17553 Likewise.
17554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17555 Likewise.
006f1daa
DM
17556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17560 Likewise.
006f1daa
DM
17561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17566 Likewise.
17567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17568 Likewise.
006f1daa
DM
17569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17573 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17575 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17576 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17577 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17587 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17588 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17589 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17590 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17591 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17592 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17593
11e0098e
AS
175942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17595
17596 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17597 scaling.
17598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17599
e85b09d0
AJ
176002012-03-15 Andreas Jaeger <aj@suse.de>
17601
17602 [BZ #13852]
17603 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17604 ieee754/flt-32 implementation for sin, cos and sincos.
17605 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17606 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17607 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17608 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17609 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17610 ieee754/flt-32 implementation for tan.
17611
17612 * math/libm-test.inc (cos_test): Enable some large input tests for
17613 float as well
17614 (sin_test): Likewise.
17615 (sincos_test): Likewise.
17616 (tan_test): Add tests for large input.
17617
17618 * sysdeps/i386/fpu/libm-test-ulps: Update.
17619
81c64153
AJ
176202012-03-15 Andreas Jaeger <aj@suse.de>
17621
17622 [BZ #13658]
17623 * math/libm-test.inc (cos_test): Add more test cases.
17624 (sin_test): Likewise.
17625 (sincos_test): Likewise.
17626
7bbfa5c6
AJ
176272012-03-15 Andreas Jaeger <aj@suse.de>
17628
17629 [BZ #13837]
17630 * math/libm-test.inc (cos_test): Add a test case for large input
17631 value.
17632 (sin_test): Likewise.
17633 (sincos_test): Likewise.
17634
176352012-03-15 Andreas Jaeger <aj@suse.de>,
17636 Joseph Myers <joseph@codesourcery.com>
17637
17638 [BZ #13658]
0671f479 17639 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17640 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17641 * sysdeps/i386/fpu/branred.c: Likewise.
17642 * sysdeps/i386/fpu/dosincos.c: Likewise.
17643 * sysdeps/i386/fpu/mpa.c: Likewise.
17644 * sysdeps/i386/fpu/s_cos.S: Likewise.
17645 * sysdeps/i386/fpu/s_sin.S: Likewise.
17646 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17647 * sysdeps/i386/fpu/sincos32.c: Likewise.
17648
17649 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17650 Define.
17651 (libc_feupdateenv_53bit): Define.
17652 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17653 Define.
17654 (libc_feupdateenv_53bit): Define.
17655
17656 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17657 53 bit (without extend i386 double precision).
17658
17659 * math/libm-test.inc (sincos_test): Add tests for large input.
17660 (sin): Likewise.
17661 (cos): Likewise.
17662
17663 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17664
9cad04ea
AS
176652012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17666
17667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17668
f7062b9a
DM
176692012-03-15 David S. Miller <davem@davemloft.net>
17670
17671 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17672 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17673 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17674 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17687 file.
f7062b9a 17688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17690 file.
f7062b9a 17691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17693 file.
f7062b9a 17694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17696 file.
f7062b9a
DM
17697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17698 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17699 fmin/fmax sysdep routines.
17700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17701
7bd951ff
DM
177022012-03-14 David S. Miller <davem@davemloft.net>
17703
559398ab
DM
17704 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17707 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17708 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17712 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17714 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17724 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17730 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17731 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17732 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17733 routines.
17734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17735 file.
559398ab 17736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17738 file.
559398ab 17739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17741 file.
559398ab 17742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17744 file.
559398ab 17745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17747 file.
559398ab 17748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17750 file.
17751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17752 file.
17753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17754 file.
17755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17756 file.
17757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17758 New file.
17759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17760 file.
17761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17762 file.
559398ab 17763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17765 file.
559398ab 17766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17768 file.
559398ab 17769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17771 file.
559398ab 17772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17774 VIS3 routines.
559398ab
DM
17775
17776 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17777 New file.
17778
5a1c1e32
DM
17779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17780
eae47a36
DM
17781 * sysdeps/sparc/configure.in: New file.
17782 * sysdeps/sparc/configure: Generate.
17783 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17784 * configure: Regenerate.
17785 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17786 * config.make.in (have-as-vis3): New.
17787 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17788 available use -Av9d instead of -Av9a.
17789 * sysdeps/sparc/sparc64/Makefile: Likewise.
17790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17792 New file.
17793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17794 file.
17795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17796 New file.
17797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17798 file.
eae47a36
DM
17799 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17800 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17801 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17802 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17804
c0c83bc8
DM
17805 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17806 fzeros/fnegs to load 0x80000000 into a float register instead of
17807 using the stack.
7bd951ff
DM
17808 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17809
bd951ccb
JM
178102012-03-14 Joseph Myers <joseph@codesourcery.com>
17811
17812 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17813 bits/syscall.h.
17814 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17815 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17816 ($(inst_includedir)/bits/syscall.h): Remove rule.
17817 ($(objpfx)bits/syscall.d): Include instead of
17818 $(objpfx)syscall-list.d.
17819 (generated): Change syscall-list.h and syscall-list.d to
17820 bits/syscall.h and bits/syscall.d.
17821
bb4e6db2
RM
178222012-03-14 Roland McGrath <roland@hack.frob.com>
17823
17824 [BZ #13846]
17825 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17826
aa4a2ae1
JM
178272012-03-14 Joseph Myers <joseph@codesourcery.com>
17828
e456826d
JM
17829 [BZ #13841]
17830 * math/s_csqrt.c: Include <float.h>.
17831 (__csqrt): Scale large or subnormal inputs.
17832 * math/s_csqrtf.c: Likewise.
17833 * math/s_csqrtl.c: Likewise.
17834 * math/libm-test.inc (csqrt_test): Add more tests.
17835 * sysdeps/i386/fpu/libm-test-ulps: Update.
17836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17837
aa4a2ae1
JM
17838 [BZ #13840]
17839 * math/libm-test.inc (hypot_test): Add more tests.
17840
7c10fd35
DM
178412012-03-13 David S. Miller <davem@davemloft.net>
17842
17843 [BZ #13840]
17844 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17845 double-precision for the calculation instead of scaling.
17846
f453b98b
JM
178472012-03-13 Joseph Myers <joseph@codesourcery.com>
17848
17849 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17850 manipulate bits before adding and subtracting TWO52[sx].
17851 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17852 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17853 Likewise.
17854 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17855
09a3453f
DM
178562012-03-13 David S. Miller <davem@davemloft.net>
17857
8e59da90
DM
17858 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17859 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17860 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17861 rtld-global-offsets.h
17862 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17863
2a8ab7f2
DM
17864 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17865 large parameters.
17866
10f62770
DM
17867 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17868
5f0bdb18
DM
17869 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17870 'err' in the ifdef scope in which it is actually used.
17871
09a3453f
DM
17872 * nss/nss_db/db-init.c: Include string.h
17873
b4b2eb5e
DM
178742012-03-12 David S. Miller <davem@davemloft.net>
17875
98bb2f1c
DM
17876 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17877 masking out of the most significant byte of random value used.
17878 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17879 Fix coding style in previous change.
17880
b4b2eb5e
DM
17881 * sysdeps/unix/sysv/linux/kernel-features.h
17882 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17883 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17884 expression.
17885 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17886 later.
17887
6e226b09
DM
178882012-03-11 David S. Miller <davem@davemloft.net>
17889
a1bcbd40
DM
17890 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17891 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17892 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17893 for 'resultvar' otherwise things get truncated on 64-bit.
17894
cb9d6174
DM
17895 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17896 Fix masking out of the most significant byte of random value used.
17897
6e226b09
DM
17898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17899
058c132d
AS
179002012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17901
17902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17903
2d2cd515
DM
179042012-03-09 David S. Miller <davem@davemloft.net>
17905
17906 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17907 variables with appropriate CPP guards.
17908 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17909 frame pointer, not the stack pointer. Correct layout comments. Fix test
17910 on resulting framesize and the management of the outregs buffer for pltexit.
17911 Preserve floating point return values across _dl_call_pltexit call.
17912 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17913 framesize and the management of the outregs buffer for pltexit.
17914 Preserve floating point return values across _dl_call_pltexit
17915 call.
17916 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17917 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17918 (print_exit): Fix format string for return register value.
17919
9a07f9d0
JM
179202012-03-10 Joseph Myers <joseph@codesourcery.com>
17921
17922 * sunrpc/Makefile (others): Add rpcgen.
17923 ($(objpfx)rpcgen): Remove special build rule and dependency on
17924 libc.
17925 * sunrpc/rpcgen.c: New file.
17926
547b5e30
PE
179272012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17928
c524201a
PE
17929 [BZ #13673]
17930 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17931 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17932 * sysdeps/i386/crti.S: Likewise.
17933 * sysdeps/i386/crtn.S: Likewise.
17934 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17935 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17936 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17937 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17938 * sysdeps/sh/crti.S: Likewise.
17939 * sysdeps/sh/crtn.S: Likewise.
17940 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17941
7b6235f2
PE
17942 [BZ #13673]
17943 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17944 with URL.
17945 * locale/programs/locfile-kw.gperf: Likewise.
17946 * locale/programs/charmap-kw.h: Regenerated.
17947 * locale/programs/locfile-kw.h: Likewise.
17948
547b5e30
PE
17949 [BZ #13673]
17950 * intl/plural.y: Replace FSF snail mail address with URL.
17951 * intl/plural.c: Regenerated.
17952
5f0a5dae
RH
179532012-03-09 Richard Henderson <rth@twiddle.net>
17954
17955 * include/math_private.h: Remove file.
17956 * math/math_private.h: Move file ...
17957 * sysdeps/generic/math_private.h: ... here.
17958
b8c03620
RH
17959 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17960 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17961 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17962
4e234f5d 17963 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
17964 and <math_private.h>.
17965 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17966 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17967 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17968 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17969 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17970 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17971 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17972 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17973 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17974 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17975 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17976 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17977 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17978 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17979 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17980 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17981 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17982 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17983 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17984 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17985 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17987 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17988 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17989 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17990 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17991 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17992 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17993 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17994 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17995 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17996 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17997 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17998 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17999 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18000 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18001 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18002 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18003 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18004 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18005 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18006 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18007 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18008 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18009 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18010 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18011 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18012 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18013 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18014 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18015 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18016 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18017 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18018 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18019 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18020 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18021 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18022 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18023 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18024 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18025 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18026 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18027 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18028 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18030 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18031 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18032 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18033 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18034 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18035 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18036 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18037 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18038 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18039 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18040 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18041 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18043 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18044 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18045 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18047 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18048 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18049 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18050 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18051 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18052 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18053 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18054 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18055 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18056 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18057 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18058 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18059 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18060 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18061 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18062 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18063 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18064 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18065 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18066 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18067 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18068 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18069 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18070 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18071 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18072 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18073 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18074 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18075 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18076 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18077 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18078 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18079 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18080 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18081 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18082 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18083 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18084 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18085 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18086 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18087 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18088 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18089 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18090 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18091 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18092 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18093 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18094 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18095 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18096 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18097 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18098 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18099 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18100 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18101 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18102 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18103 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18104 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18105 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18106 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18107 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18108 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18109 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18110 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18111 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18112 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18113 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18114 * sysdeps/ieee754/k_standard.c: Likewise.
18115 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18116 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18117 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18118 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18119 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18120 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18121 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18122 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18123 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18124 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18125 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18126 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18127 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18128 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18129 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18130 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18131 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18132 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18133 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18134 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18135 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18157 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18158 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18159 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18161 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18162 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18205 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18206 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18208 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18210 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18211 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18212 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18213 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18218 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18219 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18220 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18222 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18224 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18226 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18227 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18228 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18229 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18230 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18234 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18235 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18237 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18242 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18243 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18244 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18247 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18248 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18249 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18251 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18252 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18253 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18254 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18255 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18256 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18257 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18258 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18262 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18263 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18264 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18265 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18266 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18268 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18272 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18273 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18274 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18275 * sysdeps/ieee754/s_lib_version.c: Likewise.
18276 * sysdeps/ieee754/s_matherr.c: Likewise.
18277 * sysdeps/ieee754/s_signgam.c: Likewise.
18278 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18279 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18280 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18281 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18282 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18283 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18284 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18285 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18286 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18287 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18288 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18289 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18290 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18291 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18292 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18293 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18294 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18295 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18296 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18297 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18299
1991fa03
JM
183002012-03-09 Joseph Myers <joseph@codesourcery.com>
18301
18302 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18303 * sunrpc/rpc_main.c: Likewise.
18304 * sunrpc/rpc_svcout.c: Likewise.
18305
60d6f5a6
DM
183062012-03-09 David S. Miller <davem@davemloft.net>
18307
18308 * include/math_private.h: New file.
18309
4962050e
JM
183102012-03-09 Joseph Myers <joseph@codesourcery.com>
18311
02a6f887
JM
18312 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18313 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18314 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18315 from <bits/socket_type.h>.
18316 (enum __socket_type): Don't define here.
18317 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18319 bits/socket_type.h.
18320
c6e013c1
JM
18321 [BZ #13566]
18322 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18323 checking __USE_GNU.
18324
4962050e
JM
18325 * Makerules ($(inst_includedir)/%.h): New rule.
18326 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18327 (install-others): Remove variable setting.
18328 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18329
38842f45
RH
183302012-03-08 Richard Henderson <rth@twiddle.net>
18331
67bb6da6
RH
18332 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18333 from macro to inline function; merge with the
18334 !__LIBC_INTERNAL_MATH_INLINES version.
18335 (__ieee754_sqrtf): Likewise.
18336
15194b4b
RH
18337 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18338 to inline function.
18339 (__rintf, __floor, __floorf): Likewise.
18340
64e21ede
RH
18341 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18342 macro to inline function.
18343 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18344
38842f45
RH
18345 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18346 not <math/math_private.h>.
18347
c64bf5fe
DM
183482012-03-08 David S. Miller <davem@davemloft.net>
18349
18350 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18351 copyright year.
18352 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18353
82d86f28
TS
183542012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18355
18356 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18357 normalization.
18358 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18359 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18360
aea5d727
UD
183612012-03-08 Ulrich Drepper <drepper@gmail.com>
18362
18363 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18364 be defined individually, they must be defined as a block. Define
18365 S for printing a string instead of hidint the different by using a
18366 macro for adding the 'l'.
18367 * stdio-common/tst-fphex-wide.c: Adjust.
18368
70bca0a3
MP
183692012-03-07 Marek Polacek <polacek@redhat.com>
18370
18371 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18372
65b81130
MP
183732012-03-08 Marek Polacek <polacek@redhat.com>
18374
18375 [BZ #13806]
18376 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18377 * stdio-common/tst-fphex.c: Define a few macros to make the
18378 test reusable. Use them.
18379 * stdio-common/tst-fphex-wide.c: New file.
18380
07037eeb
JM
183812012-03-08 Joseph Myers <joseph@codesourcery.com>
18382
a7a93d50
JM
18383 [BZ #6911]
18384 * manual/macros.texi (gnusystems): New macro.
18385 (nongnusystems): Likewise.
18386 (gnulinuxhurdsystems): Likewise.
18387 (gnuhurdsystems): Likewise..
18388 (gnulinuxsystems): Likewise.
18389 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18390 variants of the GNU system, not "GNU system".
18391 * manual/conf.texi: Likewise.
18392 * manual/errno.texi: Likewise. Update example of errno macro
18393 expansion.
18394 * manual/filesys.texi: Likewise.
18395 (getumask): Document as specific to GNU/Hurd.
18396 * manual/install.texi: Likewise. Reword some references to
18397 GNU/Linux.
18398 * manual/intro.texi: Likewise.
18399 * manual/io.texi: Likewise.
18400 (File Name Portability): Detail which constraints are inapplicable
18401 to all GNU systems and which are only inapplicable to GNU/Hurd.
18402 * manual/job.texi: Likewise.
18403 * manual/llio.texi: Likewise.
18404 (O_NOCTTY): Document as present on GNU/Linux.
18405 * manual/maint.texi: Likewise.
18406 * manual/memory.texi: Likewise.
18407 * manual/pattern.texi: Likewise.
18408 * manual/pipe.texi: Likewise.
18409 * manual/process.texi: Likewise.
18410 * manual/resource.texi: Likewise.
18411 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18412 child on GNU/Hurd.
18413 * manual/setjmp.texi: Likewise.
18414 * manual/signal.texi: Likewise.
18415 * manual/startup.texi: Likewise.
18416 * manual/stdio.texi: Likewise.
18417 * manual/terminal.texi: Likewise.
18418 (ONLCR): Document as POSIX.
18419 (OXTABS): Document availability on GNU/Linux as XTABS.
18420 (ONOEOT): Document availability separately from other bits.
18421 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18422 * manual/time.texi: Likewise.
18423 * manual/users.texi: Likewise.
18424 * INSTALL: Regenerated.
18425 * sysdeps/gnu/errlist.c: Regenerated.
18426
07037eeb
JM
18427 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18428 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18429 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18430 puts.
18431 * configure: Regenerated.
18432
d1d3431a
JM
184332012-03-07 Joseph Myers <joseph@codesourcery.com>
18434
af6a1e37
JM
18435 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18436 default includes instead of AC_HEADER_CHECK.
18437 * sysdeps/i386/configure: Regenerated.
18438
d1d3431a
JM
18439 [BZ #10716]
18440 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18441 * math/s_cacoshf.c (__cacoshf): Likewise.
18442 * math/s_cacoshl.c (__cacoshl): Likewise.
18443 * math/s_casinh.c (__casinh): Set signs of result from argument.
18444 * math/s_casinhf.c (__casinhf): Likewise.
18445 * math/s_casinhl.c (__casinhl): Likewise.
18446 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18447 (casinh_test): Add more tests.
18448 * sysdeps/i386/fpu/libm-test-ulps: Update.
18449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18450
482ff4da
UD
184512012-03-07 Ulrich Drepper <drepper@gmail.com>
18452
872fda05
UD
18453 * po/zh_TW.po: Update from translation team.
18454
a4300c7a
UD
18455 * login/Makefile (distribute): Remove variable.
18456 * catgets/Makefile: Likewise.
18457 * mach/Makefile: Likewise.
18458 * malloc/Makefile: Likewise.
18459 * misc/Makefile: Likewise.
18460 * iconv/Makefile: Likewise.
18461 * nscd/Makefile: Likewise.
18462 * hurd/Makefile: Likewise.
18463 * manual/Makefile: Likewise.
18464 * locale/Makefile: Likewise.
18465 * intl/Makefile: Likewise.
18466 * conform/Makefile: Likewise.
18467 * nss/Makefile: Likewise.
18468 * time/Makefile: Likewise.
18469 * soft-fp/Makefile: Likewise.
18470 * dirent/Makefile: Likewise.
18471 * gmon/Makefile: Likewise.
18472 * po/Makefile: Likewise.
18473 * rt/Makefile: Likewise.
18474 * socket/Makefile: Likewise.
18475 * math/Makefile: Likewise.
18476 * signal/Makefile: Likewise.
18477 * debug/Makefile: Likewise.
18478 * elf/Makefile: Likewise.
18479 * timezone/Makefile: Likewise.
18480 * stdlib/Makefile: Likewise.
18481 * iconvdata/Makefile: Likewise.
18482 * sunrpc/Makefile: Likewise.
18483 * io/Makefile: Likewise.
18484 * argp/Makefile: Likewise.
18485 * inet/Makefile: Likewise.
18486 * hesiod/Makefile: Likewise.
18487 * grp/Makefile: Likewise.
18488 * csu/Makefile: Likewise.
18489 * wctype/Makefile: Likewise.
18490 * crypt/Makefile: Likewise.
18491 * libio/Makefile: Likewise.
18492 * string/Makefile: Likewise.
18493 * nis/Makefile: Likewise.
18494 * resolv/Makefile: Likewise.
18495 * stdio-common/Makefile: Likewise.
18496 * wcsmbs/Makefile: Likewise.
18497 * dlfcn/Makefile: Likewise.
18498 * posix/Makefile: Likewise.
18499
3b7c4e74 18500 [BZ #6959]
482ff4da
UD
18501 * timezone/Makefile: Don't install timezone files, just the programs
18502 and scripts.
18503
f72ed77d
UD
185042012-03-06 Ulrich Drepper <drepper@gmail.com>
18505
a000466f
UD
18506 * nss/databases.def: Add missing gshadow entry.
18507
f72ed77d
UD
18508 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18509
a53b7a4e
MP
185102012-03-06 Marek Polacek <polacek@redhat.com>
18511
18512 [BZ #13726]
18513 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18514 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18515 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18516 * stdio-common/tst-long-dbl-fphex.c: New file.
18517
e9258400
DM
185182012-03-06 David S. Miller <davem@davemloft.net>
18519
18520 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18521 (set_obp_int): New function.
18522 (get_obp_int): New function.
18523 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18524 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18525 Avoid unused variable warnings on 'val' and use builtin_expect.
18526 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18527 __builtin_expect.
e9258400
DM
18528 (INLINE_CLONE_SYSCALL): Likewise.
18529
3bd2c723
DM
185302012-03-05 David S. Miller <davem@davemloft.net>
18531
18532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18533
bbb78d03
AS
185342012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18535
884c5db4
AS
18536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18537
bbb78d03
AS
18538 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18539 only for |x| >= 40.
18540 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18541
1c9f702a 185422012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18543
18544 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18545 Replace gettimeofday with __vdso_gettimeofday.
18546
7be16f82
RM
18547 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18548 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18549 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18550
18551 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18552 time with __vdso_time.
18553
ed58a00f
JM
185542012-03-05 Joseph Myers <joseph@codesourcery.com>
18555
18556 * manual/lang.texi (size_t): Note types to which size_t may be
18557 equivalent with the GNU C Library, but do not describe when
18558 differences between them are significant.
18559
30ee4ced
AJ
185602012-03-05 Andreas Jaeger <aj@suse.de>
18561
18562 * sysdeps/i386/fpu/libm-test-ulps: Update.
18563
b7cd39e8
JM
185642012-03-05 Joseph Myers <joseph@codesourcery.com>
18565
18566 [BZ #3976]
18567 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18568 (__ieee754_pow): Save and restore rounding mode and use
18569 round-to-nearest for main computations.
18570 * math/libm-test.inc (pow_test_tonearest): New function.
18571 (pow_test_towardzero): Likewise.
18572 (pow_test_downward): Likewise.
18573 (pow_test_upward): Likewise.
18574 (main): Call the new functions.
18575 * sysdeps/i386/fpu/libm-test-ulps: Update.
18576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18577
18578 [BZ #3976]
18579 * math/libm-test.inc (cosh_test_tonearest): New function.
18580 (cosh_test_towardzero): Likewise.
18581 (cosh_test_downward): Likewise.
18582 (cosh_test_upward): Likewise.
18583 (sinh_test_tonearest): Likewise.
18584 (sinh_test_towardzero): Likewise.
18585 (sinh_test_downward): Likewise.
18586 (sinh_test_upward): Likewise.
18587 (main): Call the new functions.
18588 * sysdeps/i386/fpu/libm-test-ulps: Update.
18589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18590
6c6a98c9
TV
185912012-03-05 Tom de Vries <tom@codesourcery.com>
18592
18593 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18594 default stack guard is set in last bytes.
18595 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18596
21bb2d2e 185972012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18598
21bb2d2e 18599 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18600
21bb2d2e
AJ
18601 [BZ #13656]
18602 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18603 possibly allocate from heap instead of stack.
18604 * stdio-common/bug-vfprintf-nargs.c: New file.
18605 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18606
c6922934
AS
186072012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18608
18609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18610
bc957d53
MP
186112012-03-03 Marek Polacek <polacek@redhat.com>
18612
18613 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18614 * math/math_private.h: Likewise.
18615 * stdlib/tst-strtod.c: Likewise.
18616 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18617 * sysdeps/x86_64/bits/atomic.h: Likewise.
18618
6358490d
DM
186192012-03-02 David S. Miller <davem@davemloft.net>
18620
18621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18625 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18626 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18627 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18628 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18629
01ae168d
RM
186302012-03-02 Roland McGrath <roland@hack.frob.com>
18631
d9a17c07
RM
18632 [BZ #13792]
18633 * manual/examples/README: New file, says the example source files
18634 can be used under GPL>=2.
18635 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18636 line containing just "*/".
18637 * manual/examples/add.c: Add copyright header (GPL>=2).
18638 * manual/examples/argp-ex1.c: Likewise.
18639 * manual/examples/argp-ex2.c: Likewise.
18640 * manual/examples/argp-ex3.c: Likewise.
18641 * manual/examples/argp-ex4.c: Likewise.
18642 * manual/examples/atexit.c: Likewise.
18643 * manual/examples/db.c: Likewise.
18644 * manual/examples/dir.c: Likewise.
18645 * manual/examples/dir2.c: Likewise.
18646 * manual/examples/execinfo.c: Likewise.
18647 * manual/examples/filecli.c: Likewise.
18648 * manual/examples/filesrv.c: Likewise.
18649 * manual/examples/fmtmsgexpl.c: Likewise.
18650 * manual/examples/genpass.c: Likewise.
18651 * manual/examples/inetcli.c: Likewise.
18652 * manual/examples/inetsrv.c: Likewise.
18653 * manual/examples/isockad.c: Likewise.
18654 * manual/examples/longopt.c: Likewise.
18655 * manual/examples/memopen.c: Likewise.
18656 * manual/examples/memstrm.c: Likewise.
18657 * manual/examples/mkfsock.c: Likewise.
18658 * manual/examples/mkisock.c: Likewise.
18659 * manual/examples/mygetpass.c: Likewise.
18660 * manual/examples/pipe.c: Likewise.
18661 * manual/examples/popen.c: Likewise.
18662 * manual/examples/rprintf.c: Likewise.
18663 * manual/examples/search.c: Likewise.
18664 * manual/examples/select.c: Likewise.
18665 * manual/examples/setjmp.c: Likewise.
18666 * manual/examples/sigh1.c: Likewise.
18667 * manual/examples/sigusr.c: Likewise.
18668 * manual/examples/stpcpy.c: Likewise.
18669 * manual/examples/strdupa.c: Likewise.
18670 * manual/examples/strftim.c: Likewise.
18671 * manual/examples/strncat.c: Likewise.
18672 * manual/examples/subopt.c: Likewise.
18673 * manual/examples/swapcontext.c: Likewise.
18674 * manual/examples/termios.c: Likewise.
18675 * manual/examples/testopt.c: Likewise.
18676 * manual/examples/testpass.c: Likewise.
18677 * manual/examples/timeval_subtract.c: Likewise.
18678
01ae168d
RM
18679 [BZ #13792]
18680 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18681 function to ...
18682 * manual/timeval_subtract.c.texi: ... here, new file.
18683
49efa33d
DM
186842012-03-02 David S. Miller <davem@davemloft.net>
18685
18686 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18687
28afd92d
JM
186882012-03-02 Joseph Myers <joseph@codesourcery.com>
18689
804360ed
JM
18690 [BZ #3976]
18691 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18692 (__sin): Save and restore rounding mode and use round-to-nearest
18693 for all computations.
18694 (__cos): Save and restore rounding mode and use round-to-nearest
18695 for all computations.
18696 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18697 <fenv.h>.
18698 (tan): Save and restore rounding mode and use round-to-nearest for
18699 all computations.
18700 * math/libm-test.inc (cos_test_tonearest): New function.
18701 (cos_test_towardzero): Likewise.
18702 (cos_test_downward): Likewise.
18703 (cos_test_upward): Likewise.
18704 (sin_test_tonearest): Likewise.
18705 (sin_test_towardzero): Likewise.
18706 (sin_test_downward): Likewise.
18707 (sin_test_upward): Likewise.
18708 (tan_test_tonearest): Likewise.
18709 (tan_test_towardzero): Likewise.
18710 (tan_test_downward): Likewise.
18711 (tan_test_upward): Likewise.
18712 (main): Call the new functions.
18713 * sysdeps/i386/fpu/libm-test-ulps: Update.
18714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18715
a6d06d7b
JM
18716 [BZ #10135]
18717 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18718 small n, then large n, before computing and testing k+n.
18719 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18720 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18721 Likewise.
18722 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18723 Likewise.
18724 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18725 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18726 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18727 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18728 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18729 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18730 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18731 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18732 * math/libm-test.inc (scalbn_test): Add more tests.
18733 (scalbln_test): Likewise.
18734
07e12bb3
JM
18735 * manual/filesys.texi (mode_t): Describe constraints on size and
18736 signedness, not exact equivalence to a particular type.
18737 (ino_t): Likewise.
18738 (ino64_t): Likewise.
18739 (dev_t): Likewise.
18740 (nlink_t): Likewise.
18741 (blkcnt_t): Likewise.
18742 (blkcnt64_t): Likewise.
18743 * manual/llio.texi (off_t): Likewise.
18744
28afd92d
JM
18745 [BZ #3976]
18746 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18747 (__ieee754_exp): Save and restore rounding mode and use
18748 round-to-nearest for all computations.
18749 * math/libm-test.inc (exp_test_tonearest): New function.
18750 (exp_test_towardzero): Likewise.
18751 (exp_test_downward): Likewise.
18752 (exp_test_upward): Likewise.
18753 (main): Call the new functions.
18754 * sysdeps/i386/fpu/libm-test-ulps: Update.
18755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18756
b1eeb65d
CD
187572012-03-01 Chris Demetriou <cgd@google.com>
18758
18759 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18760 have predictable order.
18761
53362a4b
DM
187622012-03-01 David S. Miller <davem@davemloft.net>
18763
3c969083
DM
18764 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18765
759707de
DM
18766 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18767 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18768 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18769 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18770
dfdb8ff2
DM
18771 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18772 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18773 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18775 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18776 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18777 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18778 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18779 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18780
ead89f96
DM
18781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18782
7f66bd07
DM
18783 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18784 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18785 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18786
53362a4b
DM
18787 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18788 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18789 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18790 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18791 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18792 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18793 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18794 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18795 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18796 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18797 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18798 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18799 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18800 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18801 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18802 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18803 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18804 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18805 * sysdeps/sparc/elf/configure: Regenerated.
18806
7b1902cb
JM
188072012-03-01 Joseph Myers <joseph@codesourcery.com>
18808
bec039bc
JM
18809 * configure.in (AS, LD): Require binutils 2.20 or later.
18810 * configure: Regenerated.
18811 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18812 as required minimum version.
18813 * INSTALL: Regenerated.
18814
7b1902cb
JM
18815 [BZ #2541]
18816 [BZ #4108]
18817 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18818 before squaring exponent.
18819 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18820 bottom long double and 27 bits of top long double before squaring
18821 exponent.
18822 * math/libm-test.inc (erfc_test): Add more tests.
18823 * sysdeps/i386/fpu/libm-test-ulps: Update.
18824 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18826
f775c276
KT
188272012-03-01 Kai Tietz <ktietz@redhat.com>
18828
18829 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18830 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18831 containing bit-fields.
18832 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18833 * soft-fp/single.h (_FP_UNION_S): Likewise.
18834 * soft-fp/double.h (_FP_UNION_D): Likewise.
18835
5b8a4d4a
JM
188362012-02-29 Joseph Myers <joseph@codesourcery.com>
18837
0bab47b6
JM
18838 [BZ #13786]
18839 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18840 not include ../strcmp.S.
18841 [USE_AS_STRNCASECMP_L]: Likewise.
18842 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18843 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18844 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18845 (__strncasecmp_l_ia32): Define as alias to
18846 __strncasecmp_l_nonascii.
18847
0fcad3e2
JM
18848 [BZ #5794]
18849 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18850 * sysdeps/i386/fpu/libm-test-ulps: Update.
18851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18852
5b8a4d4a
JM
18853 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18855
8fdceb2e
JL
188562012-02-29 Jeff Law <law@redhat.com>
18857
18858 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18859 out of bounds read.
18860
1f393a11
MP
188612012-02-29 Marek Polacek <polacek@redhat.com>
18862
18863 [BZ #13706]
18864 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18865 * elf/Makefile: Add rules to run tst-unused-dep.out.
18866
8847f037
DM
188672012-02-28 David S. Miller <davem@davemloft.net>
18868
18869 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18870 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18871 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18872 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18873 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18874 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18875
169d7f11
JM
188762012-02-29 Joseph Myers <joseph@codesourcery.com>
18877
18878 * math/libm-test.inc (llround_test): Move one test from
18879 lround_test. Use TEST_f_L in moved test.
18880 (lround_test): Move misplaced test to llround_test. Add testcase
18881 from bug 2561.
18882
39adf059
UD
188832012-02-28 Ulrich Drepper <drepper@gmail.com>
18884
18885 * sysdeps/x86_64/fpu/e_expf.S: New file.
18886 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18887
71b5d1c5
SB
188882012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18889
18890 [BZ #13637]
18891 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18892 of remain_len that may cause incomplete multi-byte character and
18893 false match.
18894 * posix/bug-regex33.c: New file.
18895 * posix/Makefile (tests): Add bug-regex33.
18896
1f77f049
JM
188972012-02-28 Joseph Myers <joseph@codesourcery.com>
18898
18899 * manual/macros.texi: New file.
18900 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18901 * manual/libc.texinfo: Include macros.texi.
18902 * manual/creatute.texi: Likewise.
18903 * manual/install.texi: Likewise.
18904 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18905 @glibcadj{} in references to the GNU C Library.
18906 * manual/charset.texi: Likewise.
18907 * manual/conf.texi: Likewise.
18908 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18909 when not using those macros.
18910 * manual/creature.texi: Likewise.
18911 * manual/crypt.texi: Likewise.
18912 * manual/errno.texi: Likewise.
18913 * manual/filesys.texi: Likewise.
18914 * manual/header.texi: Likewise.
18915 * manual/install.texi: Likewise.
18916 * manual/intro.texi: Likewise.
18917 * manual/io.texi: Likewise.
18918 * manual/job.texi: Likewise.
18919 * manual/lang.texi: Likewise.
18920 * manual/libc.texiinfo: Likewise.
18921 * manual/llio.texi: Likewise.
18922 * manual/locale.texi: Likewise.
18923 * manual/maint.texi: Likewise.
18924 * manual/math.texi: Likewise.
18925 * manual/memory.texi: Likewise.
18926 * manual/message.texi: Likewise.
18927 * manual/nss.texi: Likewise.
18928 * manual/pattern.texi: Likewise.
18929 * manual/process.texi: Likewise.
18930 * manual/resource.texi: Likewise.
18931 * manual/search.texi: Likewise.
18932 * manual/setjmp.texi: Likewise.
18933 * manual/signal.texi: Likewise.
18934 * manual/socket.texi: Likewise.
18935 * manual/startup.texi: Likewise.
18936 * manual/stdio.texi: Likewise.
18937 * manual/string.texi: Likewise.
18938 * manual/sysinfo.texi: Likewise.
18939 * manual/syslog.texi: Likewise.
18940 * manual/terminal.texi: Likewise.
18941 * manual/time.texi: Likewise.
18942 * manual/users.texi: Likewise.
18943 * INSTALL: Regenerated.
18944 * NOTES: Regenerated.
d40c5d54 18945 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 18946
450bf206
AS
189472012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18948
18949 * include/dirent.h: Include <dirstream.h> before
18950 <dirent/dirent.h>.
18951
741a235b
DM
189522012-02-28 David S. Miller <davem@davemloft.net>
18953
18954 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18955 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18956 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18957 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18958
d6b5aa58
DM
189592012-02-27 David S. Miller <davem@davemloft.net>
18960
1aff59a3
DM
18961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18963 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18964 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18965
d6b5aa58
DM
18966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18967 frame pointer instead of stack pointer relative arg slot.
18968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18969 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18970 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18971
433f48bf
CD
189722012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18973
18974 [BZ #3992]
18975 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18976
d674b76d
DM
189772012-02-27 David S. Miller <davem@davemloft.net>
18978
18979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18983 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18984 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18985 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18986 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18987
0e7727f7
JM
189882012-02-27 Joseph Myers <joseph@codesourcery.com>
18989
18990 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18991 later. Allow versions 5-9.
43be4ca2 18992 * configure: Regenerated.
0e7727f7
JM
18993 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18994 required minimum version and 4.6 as recommended version. Do not
18995 mention bugs in GCC 2.7 and 2.8.
43be4ca2 18996 * INSTALL: Regenerated.
0e7727f7 18997
a78bc654
DM
189982012-02-27 David S. Miller <davem@davemloft.net>
18999
428d5830
DM
19000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19004 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19005 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19006 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19007 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19008
a78bc654
DM
19009 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19010 manipulate bits before adding and subtracting TWO112[sx].
19011 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19012
4579f81c
RM
190132012-02-27 Roland McGrath <roland@hack.frob.com>
19014
36c8acb4
RM
19015 [BZ #13775]
19016 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19017 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19018 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19019 being in POSIX, because they are in 1003.1-2008.
19020
84ad622b
RM
19021 * rt/tst-aio.c: Include <fcntl.h>.
19022 * rt/tst-aio7.c: Likewise.
19023 * rt/tst-aio64.c: Likewise.
19024
4579f81c
RM
19025 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19026
abd923db
JM
190272012-02-27 Joseph Myers <joseph@codesourcery.com>
19028
19029 * manual/install.texi (--with-headers): Describe headers as
19030 interface headers, not private headers.
19031 (Specific advice for GNU/Linux systems): Describe use of headers
19032 from "make headers_install", not private headers from older
19033 kernels.
43be4ca2 19034 * INSTALL: Regenerated.
abd923db
JM
19035 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19036 Change to 2.6.19.
19037 * sysdeps/unix/sysv/linux/configure: Regenerated.
19038
6664049b
JM
19039 * manual/llio.texi (fclean): Remove documentation.
19040
bb8b6697
JM
19041 * manual/Makefile (libc-texi-generated): New variable. Include
19042 version.texi.
19043 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19044 $(libc-texi-generated), not duplicated list of files.
19045 (version.texi, stamp-version): New rules.
19046 (realclean): Remove $(libc-texi-generated), not individual files
19047 from that list. Do not remove dir-add.texinfo.
19048 * manual/libc.texinfo: Comment out uses of edition numbers and
19049 references to printed manual. Remove last-updated dates.
19050 (EDITION): Comment out.
19051 (ISBN): Likewise.
19052 (VERSION, UPDATED): Remove.
19053 (version.texi): Include.
19054
12e5c3b9
AS
190552012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19056
19057 * sysdeps/posix/spawni.c: Include <signal.h>.
19058 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19059 * sysdeps/pthread/aio_fsync.c: Likewise.
19060
4efeffc1 190612012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19062
ba63ba08
UD
19063 * conform/Makefile (tests): Run only when not cross-compiling and
19064 when fast-check is not defined.
19065
d94a4670
UD
19066 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19067 * conform/data/limits.h-data: Fixes for POSIX2008.
19068 * conform/run-conformtest.sh: Run all tests.
19069 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19070 headers.
19071 * include/bits/dlfcn.h: Likewise.
19072 * include/langinfo.h: Likewise.
19073 * include/monetary.h: Likewise.
19074 * include/sys/poll.h: Likewise.
19075
19076 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19077 for __USE_GNU.
19078 * posix/spawn.h: Define __need_sigset_t.
19079 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19080 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19081 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19082 to get sigevent_t only.
19083 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19084 only for __USE_GNU.
19085 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19086 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19087 process_vm_writev only for __USE_GNU.
19088 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19089
19090 * conform/Makefile: For now ignore errors from run-conformtest.
19091 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19092 POSIX to avoid namespace pollution. Don't prepend headers.
19093 * conform/data/aio.h-data: Fixes for POSIX testing.
19094 * conform/data/fcntl.h-data: Likewise.
19095 * conform/data/glob.h-data: Likewise.
19096 * conform/data/grp.h-data: Likewise.
19097 * conform/data/pthread.h-data: Likewise.
19098 * conform/data/pwd.h-data: Likewise.
19099 * conform/data/signal.h-data: Likewise.
19100 * conform/data/spawn.h-data: Likewise.
19101 * conform/data/stdio.h-data: Likewise.
19102 * conform/data/stdlib.h-data: Likewise.
19103 * conform/data/stropts.h-data: Likewise.
19104 * conform/data/sys/mman.h-data: Likewise.
19105 * conform/data/sys/stat.h-data: Likewise.
19106 * conform/data/sys/types.h-data: Likewise.
19107 * conform/data/sys/wait.h-data: Likewise.
19108 * conform/data/time.h-data: Likewise.
19109 * conform/data/unistd.h-data: Likewise.
19110 * conform/data/utime.h-data: Likewise.
19111
19112 * io/sys/stat.h: fchmod was always in POSIX.
19113 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19114 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19115 * rt/aio.h: Define __need_timespec before including <time.h>.
19116 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19117 struct. Add forward declaration of pthread_attr_t and use it in
19118 sigevent.
19119 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19120 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19121 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19122 always remove CLK_TCK definition.
19123
c20105c3
AS
191242012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19125
19126 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19127
7a270350
UD
191282012-02-25 Ulrich Drepper <drepper@gmail.com>
19129
31341567
UD
19130 * conform/run-conformtest.sh: New file.
19131 * conform/Makefile: Run run-conformtest for tests.
19132 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19133 support.
19134
19135 * conform/data/uchar.h-data: New file.
19136 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19137 * conform/data/arpa/inet.h-data: Likewise.
19138 * conform/data/assert.h-data: Likewise.
19139 * conform/data/complex.h-data: Likewise.
19140 * conform/data/cpio.h-data: Likewise.
19141 * conform/data/ctype.h-data: Likewise.
19142 * conform/data/dirent.h-data: Likewise.
19143 * conform/data/dlfcn.h-data: Likewise.
19144 * conform/data/errno.h-data: Likewise.
19145 * conform/data/fcntl.h-data: Likewise.
19146 * conform/data/float.h-data: Likewise.
19147 * conform/data/fmtmsg.h-data: Likewise.
19148 * conform/data/fnmatch.h-data: Likewise.
19149 * conform/data/ftw.h-data: Likewise.
19150 * conform/data/glob.h-data: Likewise.
19151 * conform/data/grp.h-data: Likewise.
19152 * conform/data/iconv.h-data: Likewise.
19153 * conform/data/inttypes.h-data: Likewise.
19154 * conform/data/langinfo.h-data: Likewise.
19155 * conform/data/libgen.h-data: Likewise.
19156 * conform/data/limits.h-data: Likewise.
19157 * conform/data/locale.h-data: Likewise.
19158 * conform/data/math.h-data: Likewise.
19159 * conform/data/monetary.h-data: Likewise.
19160 * conform/data/mqueue.h-data: Likewise.
19161 * conform/data/ndbm.h-data: Likewise.
19162 * conform/data/net/if.h-data: Likewise.
19163 * conform/data/netdb.h-data: Likewise.
19164 * conform/data/netinet/in.h-data: Likewise.
19165 * conform/data/nl_types.h-data: Likewise.
19166 * conform/data/poll.h-data: Likewise.
19167 * conform/data/pthread.h-data: Likewise.
19168 * conform/data/pwd.h-data: Likewise.
19169 * conform/data/regex.h-data: Likewise.
19170 * conform/data/sched.h-data: Likewise.
19171 * conform/data/search.h-data: Likewise.
19172 * conform/data/semaphore.h-data: Likewise.
19173 * conform/data/setjmp.h-data: Likewise.
19174 * conform/data/signal.h-data: Likewise.
19175 * conform/data/spawn.h-data: Likewise.
19176 * conform/data/stdarg.h-data: Likewise.
19177 * conform/data/stdio.h-data: Likewise.
19178 * conform/data/stdlib.h-data: Likewise.
19179 * conform/data/string.h-data: Likewise.
19180 * conform/data/strings.h-data: Likewise.
19181 * conform/data/stropts.h-data: Likewise.
19182 * conform/data/sys/ipc.h-data: Likewise.
19183 * conform/data/sys/mman.h-data: Likewise.
19184 * conform/data/sys/msg.h-data: Likewise.
19185 * conform/data/sys/resource.h-data: Likewise.
19186 * conform/data/sys/select.h-data: Likewise.
19187 * conform/data/sys/sem.h-data: Likewise.
19188 * conform/data/sys/shm.h-data: Likewise.
19189 * conform/data/sys/socket.h-data: Likewise.
19190 * conform/data/sys/stat.h-data: Likewise.
19191 * conform/data/sys/statvfs.h-data: Likewise.
19192 * conform/data/sys/time.h-data: Likewise.
19193 * conform/data/sys/timeb.h-data: Likewise.
19194 * conform/data/sys/times.h-data: Likewise.
19195 * conform/data/sys/types.h-data: Likewise.
19196 * conform/data/sys/uio.h-data: Likewise.
19197 * conform/data/sys/un.h-data: Likewise.
19198 * conform/data/sys/utsname.h-data: Likewise.
19199 * conform/data/sys/wait.h-data: Likewise.
19200 * conform/data/syslog.h-data: Likewise.
19201 * conform/data/tar.h-data: Likewise.
19202 * conform/data/termios.h-data: Likewise.
19203 * conform/data/utime.h-data: Likewise.
19204 * conform/data/utmpx.h-data: Likewise.
19205 * conform/data/varargs.h-data: Likewise.
19206 * conform/data/wchar.h-data: Likewise.
19207 * conform/data/wctype.h-data: Likewise.
19208 * conform/data/wordexp.h-data: Likewise.
19209
19210 * include/stropts.h: New file.
19211 * include/uchar.h: New file.
19212 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19213 * include/assert.h: Likewise.
19214 * include/ctype.h: Likewise.
19215 * include/dirent.h: Likewise.
19216 * include/dlfcn.h: Likewise.
19217 * include/fcntl.h: Likewise.
19218 * include/fnmatch.h: Likewise.
19219 * include/glob.h: Likewise.
19220 * include/grp.h: Likewise.
19221 * include/libio.h: Likewise.
19222 * include/locale.h: Likewise.
19223 * include/math.h: Likewise.
19224 * include/net/if.h: Likewise.
19225 * include/netdb.h: Likewise.
19226 * include/netinet/in.h: Likewise.
19227 * include/pthread.h: Likewise.
19228 * include/pwd.h: Likewise.
19229 * include/regex.h: Likewise.
19230 * include/sched.h: Likewise.
19231 * include/search.h: Likewise.
19232 * include/setjmp.h: Likewise.
19233 * include/signal.h: Likewise.
19234 * include/stdio.h: Likewise.
19235 * include/stdlib.h: Likewise.
19236 * include/string.h: Likewise.
19237 * include/sys/cdefs.h: Likewise.
19238 * include/sys/mman.h: Likewise.
19239 * include/sys/msg.h: Likewise.
19240 * include/sys/resource.h: Likewise.
19241 * include/sys/select.h: Likewise.
19242 * include/sys/socket.h: Likewise.
19243 * include/sys/stat.h: Likewise.
19244 * include/sys/statvfs.h: Likewise.
19245 * include/sys/time.h: Likewise.
19246 * include/sys/times.h: Likewise.
19247 * include/sys/uio.h: Likewise.
19248 * include/sys/utsname.h: Likewise.
19249 * include/sys/wait.h: Likewise.
19250 * include/termios.h: Likewise.
19251 * include/time.h: Likewise.
19252 * include/ulimit.h: Likewise.
19253 * include/unistd.h: Likewise.
19254 * include/utime.h: Likewise.
19255 * include/wchar.h: Likewise.
19256 * include/wctype.h: Likewise.
19257 * include/wordexp.h: Likewise.
19258
19259 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19260
7a270350
UD
19261 * time/time.h: TIME_UTC must be a macro.
19262 Make timespec_get available for ISO C11 only as well.
19263
7724defc
UD
192642012-02-24 Ulrich Drepper <drepper@gmail.com>
19265
19266 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19267 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19268
6b1d1d46
JM
192692012-02-24 Joseph Myers <joseph@codesourcery.com>
19270
19271 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19272
0f8bbd69
JM
192732012-02-24 Joseph Myers <joseph@codesourcery.com>
19274
19275 * manual/texinfo.tex: Update to version 2012-01-19.16.
19276
66ab80bc
JM
192772012-02-24 Joseph Myers <joseph@codesourcery.com>
19278
19279 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19280
74981cc5
RM
192812012-02-24 Roland McGrath <roland@hack.frob.com>
19282
ee968201
RM
19283 [BZ #13738]
19284 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19285 * manual/fdl-1.3.texi: New file.
19286 * manual/fdl-1.1.texi: File removed.
19287
74981cc5
RM
19288 [BZ #13738]
19289 * manual/libc.texinfo (FDL_VERSION): New @set.
19290 Use it for mention of FDL in cover text.
19291 (Documentation License): Use it in @include file name.
19292
7bb764bc
JM
192932012-02-22 Joseph Myers <joseph@codesourcery.com>
19294 Roland McGrath <roland@hack.frob.com>
19295
19296 [BZ #5461]
19297 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19298 not LONG_LONG_MAX and LONG_LONG_MIN.
19299 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19300 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19301 name.
19302 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19303
6cbeae47
JM
193042012-02-22 Joseph Myers <joseph@codesourcery.com>
19305
19306 [BZ #2547]
19307 [BZ #11365]
19308 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19309 manipulate bits before adding and subtracting TWO23[sx].
19310 * math/libm-test.inc (nearbyint_test): Add more tests.
19311
fe45ce09
JM
193122012-02-22 Joseph Myers <joseph@codesourcery.com>
19313
19314 [BZ #2548]
19315 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19316 bits before adding and subtracting TWO23[sx].
19317 * math/libm-test.inc (rint_test): Add more tests.
19318 (rint_test_tonearest): Likewise.
19319 (rint_test_towardzero): Likewise.
19320 (rint_test_downward): Likewise.
19321 (rint_test_upward: Likewise.
19322
ff3b3d82
JM
193232012-02-22 Joseph Myers <joseph@codesourcery.com>
19324
19325 [BZ #10110]
19326 * include/stdc-predef.h: New file. Extracted from features.h.
19327 * include/features.h: Include stdc-predef.h.
19328 * Makefile (headers): Add stdc-predef.h.
19329 * CONFORMANCE (Compiler limitations): Update.
19330
ef0aab35
JM
193312012-02-22 Joseph Myers <joseph@codesourcery.com>
19332
19333 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19334
58639409
DM
193352012-02-21 David S. Miller <davem@davemloft.net>
19336
19337 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19338 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19339
c0e70b25
DM
193402012-02-20 David S. Miller <davem@davemloft.net>
19341
19342 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19343 using a normal save/restore sequence, rather than allocating a
19344 dummy stack frame just to store a frame pointer and restore.
19345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19346
fb06851d
JM
193472012-02-21 Joseph Myers <joseph@codesourcery.com>
19348
19349 * manual/install.texi: Fix stray word in line-wrapped comment.
19350
7a8b71c3
DM
193512012-02-20 David S. Miller <davem@davemloft.net>
19352
d510c123
DM
19353 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19354 both binutils and gcc support GOTDATA.
19355
0722d7c2
DM
19356 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19357 "rd %pc" in the PIC register setup sequences.
19358
3d2b3019
DM
19359 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19360 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19361 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19362 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19363 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19364 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19365 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19366 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19367 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19368 (SYSCALL_ERROR_HANDLER): Likewise.
19369 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19370 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19371 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19372 (SYSCALL_ERROR_HANDLER): Likewise.
19373
c80098a9
DM
19374 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19375 (HAVE_GCC_GOTDATA): New.
19376 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19377 relocation support in both binutils and gcc.
19378 * sysdeps/sparc/elf/configure: Regenerate.
19379
3a2545a0
DM
19380 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19381 * sysdeps/sparc/sparc32/elf/configure: Delete.
19382 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19383 * sysdeps/sparc/sparc64/elf/configure: Delete.
19384 * sysdeps/sparc/elf/configure.in: New file.
19385 * sysdeps/sparc/elf/configure: Generate.
19386
7a8b71c3
DM
19387 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19388 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19389 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19390 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19391 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19392
f1e86fca
JM
193932012-02-21 Joseph Myers <joseph@codesourcery.com>
19394
19395 * manual/install.texi: Do not mention specific glibc version
19396 numbers.
19397 * manual/libc.texinfo (VERSION, UPDATED): Update.
19398 (@copying): Use @copyright{} and range of years.
19399
0e7dfaef
JM
194002012-02-21 Joseph Myers <joseph@codesourcery.com>
19401
19402 [BZ #13695]
19403 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19404 [crti.S not in sysdirs] (generated): Do not append.
19405 [crti.S not in sysdirs] (omit-deps): Likewise.
19406 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19407 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19408 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19409 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19410 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19411 Likewise.
19412 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19413 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19414 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19415 * csu/defs.awk: Remove file.
19416 * sysdeps/generic/initfini.c: Likewise.
19417 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19418 variable.
19419 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19420 Likewise.
19421
599af3ca
JM
194222012-02-20 Joseph Myers <joseph@codesourcery.com>
19423
19424 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19425 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19426 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19427 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19428 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19429 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19430 <bits/epoll.h>.
19431 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19432 (__EPOLL_PACKED): Define to empty if not defined by
19433 <bits/epoll.h>.
19434 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19436 bits/epoll.h.
19437
0e499750
JM
194382012-02-20 Joseph Myers <joseph@codesourcery.com>
19439
19440 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19441 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19442 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19443 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19444 <bits/timerfd.h>.
19445 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19447 bits/timerfd.h.
19448
5ad91f6e
JM
194492012-02-20 Joseph Myers <joseph@codesourcery.com>
19450
19451 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19452 in C locale.
19453 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19454 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19455 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19457
06b99b02
AJ
194582012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19459
19460 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19461 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19462
7638c0fd
AS
194632012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19464
19465 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19466 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19467 defined.
19468 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19469 Likewise.
19470 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19471 entry for 2.16.
19472
92221550
AJ
194732012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19474
19475 * math/w_acos.c: Use non-signaling floating-point comparisons.
19476 * math/w_acosf.c: Likewise.
19477 * math/w_acosh.c: Likewise.
19478 * math/w_acoshf.c: Likewise.
19479 * math/w_acoshl.c: Likewise.
19480 * math/w_acosl.c: Likewise.
19481 * math/w_asin.c: Likewise.
19482 * math/w_asinf.c: Likewise.
19483 * math/w_asinl.c: Likewise.
19484 * math/w_atanh.c: Likewise.
19485 * math/w_atanhf.c: Likewise.
19486 * math/w_atanhl.c: Likewise.
19487 * math/w_exp2.c: Likewise.
19488 * math/w_exp2f.c: Likewise.
19489 * math/w_exp2l.c: Likewise.
19490 * math/w_j0.c: Likewise.
19491 * math/w_j0f.c: Likewise.
19492 * math/w_j0l.c: Likewise.
19493 * math/w_j1.c: Likewise.
19494 * math/w_j1f.c: Likewise.
19495 * math/w_j1l.c: Likewise.
19496 * math/w_jn.c: Likewise.
19497 * math/w_jnf.c: Likewise.
19498 * math/w_log.c: Likewise.
19499 * math/w_log10.c: Likewise.
19500 * math/w_log10f.c: Likewise.
19501 * math/w_log10l.c: Likewise.
19502 * math/w_log2.c: Likewise.
19503 * math/w_log2f.c: Likewise.
19504 * math/w_log2l.c: Likewise.
19505 * math/w_logf.c: Likewise.
19506 * math/w_logl.c: Likewise.
19507 * math/w_sqrt.c: Likewise.
19508 * math/w_sqrtf.c: Likewise.
19509 * math/w_sqrtl.c: Likewise.
19510 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19511 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19512 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19513 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19514 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19515
ebaf36eb
JM
195162012-02-19 Joseph Myers <joseph@codesourcery.com>
19517
19518 [BZ #9739]
19519 * manual/string.texi (strnlen): Use correct parameter name in
19520 equivalent expression.
19521
71c254a6
JM
195222012-02-19 Joseph Myers <joseph@codesourcery.com>
19523
19524 [BZ #11174]
19525 * manual/users.texi (seteuid): Consistently use neweuid for
19526 argument name.
19527
16d2c631
JM
195282012-02-19 Joseph Myers <joseph@codesourcery.com>
19529
19530 [BZ #13704]
19531 * manual/nss.texi (Services in the NSS configuration): Correct
19532 list of services in example configuration file.
19533
cd837b09
NB
195342012-02-19 Nick Bowler <nbowler@draconx.ca>
19535
19536 [BZ #11322]
19537 * manual/arith.texi: Remove statements about negative zero
19538 behaving identically to zero.
19539
02c4bbad
JM
195402012-02-18 Joseph Myers <joseph@codesourcery.com>
19541
19542 [BZ #5993]
19543 * manual/install.texi: Do not document upgrading from libc5.
19544
366842e7
JM
195452012-02-18 Joseph Myers <joseph@codesourcery.com>
19546
19547 [BZ #4596]
19548 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19549
dd54084d
DM
195502012-02-18 David S. Miller <davem@davemloft.net>
19551
19552 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19553 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19554 %o7 across the call.
19555 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19556 instead.
19557 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19558 SETUP_PIC_REG_LEAF.
19559 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19560 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19561 * sysdeps/sparc/crtn.S: Likewise.
19562
2bcc53a3
UD
195632012-02-17 Ulrich Drepper <drepper@gmail.com>
19564
19565 * aout/Makefile: Remove.
19566
09c093b5
RK
195672012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19568
19569 [BZ #13058]
19570 * manual/examples/argp-ex1.c (main): Format definition in GNU
19571 style.
19572 * manual/examples/argp-ex2.c (main): Likewise.
19573 * manual/examples/argp-ex3.c (main): Likewise.
19574 * manual/examples/argp-ex4.c (main): Likewise.
19575 * manual/examples/longopt.c (main): Use new-style prototype
19576 definition.
19577 * manual/examples/strncat.c (main): Specify return type and use
19578 (void) for arguments.
19579 * manual/examples/subopt.c (main): Use char **argv argument.
19580
2ee633a2
JM
195812012-02-17 Joseph Myers <joseph@codesourcery.com>
19582
19583 [BZ #5077]
19584 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19585 rounding modes.
19586
0520adde
FB
195872012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19588
19589 [BZ #6907]
19590 * manual/string.texi (strchr): Change when strchrnul is
19591 recommended.
19592
3f4081cd
DGM
195932012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19594
19595 [BZ #174]
19596 * manual/locale.texi (setlocale): Document LOCPATH.
19597
d1b10e78
JM
195982012-02-17 Joseph Myers <joseph@codesourcery.com>
19599
19600 [BZ #10210]
19601 * manual/process.texi (execle): Move @dots{} before last argument.
19602
79c6869c
PB
196032012-02-17 Paul Bolle <pebolle@tiscali.nl>
19604
19605 [BZ #12047]
19606 * manual/charset.texi (Generic Charset Conversion): Fix typo
19607 (LC_TYPE -> LC_CTYPE).
19608
cc6e48bc
NB
196092012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19610
19611 [BZ #5805]
19612 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19613 (scalbnf): Likewise.
19614 (scalbnl): Likewise.
19615 (scalbln): Likewise.
19616 (scalblnf): Likewise.
19617 (scalblnl): Likewise.
19618 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19619 (vwarnx): Likewise.
19620 (verr): Likewise.
19621 (verrx): Likewise.
19622 * manual/filesys.texi (telldir): Use braces around return type.
19623 * manual/llio.texi (mmap): Add space after comma.
19624 (mmap64): Likewise.
19625 * manual/math.texi (jn): Use @var{} on parameter names.
19626 (jnf): Likewise.
19627 (jnl): Likewise.
19628 (yn): Likewise.
19629 (ynf): Likewise.
19630 (ynl): Likewise.
19631 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19632 line.
19633 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19634 "...".
19635 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19636 (sched_get_priority_max): Likewise.
19637 * manual/signal.texi (sigvec): Add space after comma.
19638 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19639 names.
19640 (if_indextoname): Likewise.
19641 (if_freenameindex): Likewise.
19642 (sendto): Use ',' instead of '.' in prototype.
19643 * manual/startup.texi (syscall): Use @dots{} instead of literal
19644 "...".
19645 * manual/stdio.texi (__fpending): Separate initial words of
19646 paragraph from @deftypefun line.
19647 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19648 "...".
19649 (vsyslog): Use @var{} on parameter names.
19650 * manual/terminal.texi (stty): Use @var{} on parameter names.
19651 * manual/users.texi (getutmp): Use @var{} on parameter names.
19652 (getutmpx): Likewise.
19653
5b23062f
JM
196542012-02-17 Joseph Myers <joseph@codesourcery.com>
19655
19656 [BZ #6884]
19657 * manual/stdio.texi (fopen): Fix typos in description of
19658 ",ccs=STRING".
19659
8dee4833
AJ
196602012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19661
19662 [BZ #4026]
19663 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19664 get clock_id definition.
19665
9078ce93
TS
196662012-02-17 Thomas Schwinge <thomas@schwinge.name>
19667
19668 [BZ #4822]
19669 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19670 (madvise): Cast every argument to void on its own.
19671
3835c55f
JM
196722012-02-17 Joseph Myers <joseph@codesourcery.com>
19673
19674 [BZ #9902]
19675 * manual/startup.texi (Exit Status): Fix typo.
19676
35c47e37
JM
196772012-02-17 Joseph Myers <joseph@codesourcery.com>
19678
19679 [BZ #10140]
19680 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19681 * manual/examples/argp-ex2.c: Likewise.
19682 * manual/examples/argp-ex3.c: Likewise.
19683
e3b69ca7
RH
196842012-02-16 Richard Henderson <rth@redhat.com>
19685
19686 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19687 * sysdeps/s390/s390-32/initfini.c: Remove.
19688 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19689 * sysdeps/s390/s390-64/initfini.c: Remove.
19690
df83af67
KK
196912012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19692
19693 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19694 compiler output for sysdeps/generic/initfini.c.
19695 * sysdeps/sh/elf/initfini.c: Remove file.
19696
f63f3380
DM
196972012-02-16 David S. Miller <davem@davemloft.net>
19698
fb59b3a4
DM
19699 [BZ #11494]
19700 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19701
f63f3380
DM
19702 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19703 * sysdeps/sparc/crti.S: New file.
19704 * sysdeps/sparc/crtn.S: New file.
19705 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19706 * sysdeps/sparc/sparc64/Makefile: Likewise.
19707
df6a4a4a
MF
197082012-02-15 Mike Frysinger <vapier@gentoo.org>
19709
6dd8f3dc 19710 [BZ #3335]
df6a4a4a
MF
19711 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19712
1cac7236
RM
197132012-02-15 Roland McGrath <roland@hack.frob.com>
19714
d2c736f8
RM
19715 [BZ #4822]
19716 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19717
1cac7236
RM
19718 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19719 (write, read, close): Likewise.
19720 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19721
8e475601
JM
197222012-02-15 Joseph Myers <joseph@codesourcery.com>
19723
19724 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19725 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19726 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19727 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19728 <bits/signalfd.h>.
19729 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19730 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19731 bits/signalfd.h.
19732
ed656b40
MP
197332012-02-14 Marek Polacek <polacek@redhat.com>
19734
19735 * sysdeps/x86_64/crti.S: New file.
19736 * sysdeps/x86_64/crtn.S: New file.
19737 * sysdeps/x86_64/elf/initfini.c: Remove file.
19738
2a979d3a
JM
197392012-02-13 Joseph Myers <joseph@codesourcery.com>
19740
19741 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19742 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19743 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19744 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19745 <bits/inotify.h>.
19746 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19748 bits/inotify.h.
19749
2a418ac3
JM
197502012-02-13 Joseph Myers <joseph@codesourcery.com>
19751
19752 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19753 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19754 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19755 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19756 <bits/eventfd.h>.
19757 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19759 bits/eventfd.h.
19760
fb779be7
TS
197612012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19762
e19e83c5
RM
19763 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19764 __feraiseexcept instead of feraiseexcept.
7c35ffed 19765
fb779be7
TS
19766 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19767 nanosleep invocations.
19768 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19769 strings, and add error checking for a nanosleep invocations.
19770
59ba27a6
PE
197712012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19772
19773 Replace FSF snail mail address with URLs, as per GNU coding standards.
19774 Most of the snail mail addresses were wrong anyway, and omitting
19775 them makes the source code easier to maintain. Almost all of the
19776 changes are to license notices and to locale LC_IDENTIFICATION
19777 addresses, except for this one:
19778 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19779 not its snail mail address.
19780
57b957eb
RH
197812012-02-09 Richard Henderson <rth@twiddle.net>
19782
af850b1c
RH
19783 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19784 of kernel-features.h.
19785
57b957eb
RH
19786 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19787
6b73181a
MP
197882012-02-08 Marek Polacek <polacek@redhat.com>
19789
19790 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19791 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19792 * sysdeps/gnu/_G_config.h: Likewise.
19793 * sysdeps/generic/_G_config.h: Likewise.
19794
26ecc33a
AS
197952012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19796
6c6dbc63
AS
19797 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19798 tests.
19799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19800
e216c012
AS
19801 * sysdeps/powerpc/powerpc32/crti.S: New file.
19802 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19803 * sysdeps/powerpc/powerpc64/crti.S: New file.
19804 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19805
26ecc33a
AS
19806 * Makeconfig (have-initfini): Don't set.
19807 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19808 * configure.in (nopic_initfini): Don't substitute.
19809 * config.h.in (HAVE_INITFINI): Don't #undef.
19810 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19811 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19812
3add8e13
JM
198132012-02-08 Joseph Myers <joseph@codesourcery.com>
19814
19815 Support crti.S and crtn.S provided directly by architectures.
19816 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19817 [crti.S in sysdirs] (omit-deps): Likewise.
19818 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19819 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19820 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19821 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19822 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19823 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19824 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19825 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19826 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19827 compiler output for sysdeps/generic/initfini.c.
19828 * sysdeps/i386/elf/Makefile: Remove file.
19829 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19830
a22f12b4
MP
198312012-02-07 Marek Polacek <polacek@redhat.com>
19832
19833 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19834 * sysdeps/gnu/_G_config.h: Likewise.
19835 * sysdeps/mach/hurd/_G_config.h: Likewise.
19836
148cf100
MP
198372012-02-07 Marek Polacek <polacek@redhat.com>
19838
19839 * math/Makefile (tests): Add tst-CMPLX2.
19840 * math/tst-CMPLX2.c: New file.
19841
cfdc0dd7
AS
198422012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19843
84ba42c4
AS
19844 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19845
cfdc0dd7
AS
19846 * math/libm-test.inc (jn_test): Add missing L suffix.
19847
622c86f4
MP
198482012-02-06 Marek Polacek <polacek@redhat.com>
19849
19850 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19851 * sysdeps/i386/fpu/e_powf.S: Likewise.
19852 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19853 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19854 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19855 * sysdeps/i386/fpu/e_pow.S: Likewise.
19856 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19857 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19858 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19859 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19860 * sysdeps/i386/fpu/e_log2.S: Likewise.
19861 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19862 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19863 * sysdeps/i386/fpu/e_powl.S: Likewise.
19864 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19865 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19866 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19867 * sysdeps/i386/fpu/e_logl.S: Likewise.
19868 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19869 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19870 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19871 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19872 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19873 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19874 * sysdeps/i386/fpu/e_log.S: Likewise.
19875 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19876 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19877 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19878 * sysdeps/i386/fpu/e_logf.S: Likewise.
19879 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19880 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19881 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19882 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19883 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19884 * sysdeps/i386/fpu/e_log10.S: Likewise.
19885 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19886 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19887 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19888 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19889 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19890 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19891 * sysdeps/i386/asm-syntax.h: Likewise.
19892 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19893 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19894 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19895 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19896 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19897 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19898 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19899 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19900 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19901 * sysdeps/powerpc/sysdep.h: Likewise.
19902 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19903 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19904
d4a54ac6
JM
199052012-02-06 Joseph Myers <joseph@codesourcery.com>
19906
19907 [BZ #411]
19908 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19909
314054ea
JM
199102012-02-06 Joseph Myers <joseph@codesourcery.com>
19911
19912 * sysdeps/i386/sysdep.h: Include <features.h>.
19913 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19914 version.
19915
d8e0ca50
JM
199162012-02-05 Joseph Myers <joseph@codesourcery.com>
19917
19918 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19919 Define.
19920 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19921 LOAD_PIC_REG_STR.
19922
b1da7dd9
JM
199232012-02-03 Joseph Myers <joseph@codesourcery.com>
19924
19925 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19926 (SETUP_PIC_REG): Use GET_PC_THUNK.
19927 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19928 macro.
19929
9a1d9254
JM
199302012-02-03 Joseph Myers <joseph@codesourcery.com>
19931
19932 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19933 for non-PIC compilation.
19934 (SETUP_PIC_REG): Add .p2align directive.
19935 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19936 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19937 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19938 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19939 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19940 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19941 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19942 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19943 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19944 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19945 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19946 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19947 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19948 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19949 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19950 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19951 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19952 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19953 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19954 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19955 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19956 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19957 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19958 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19959 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19960 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19961 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19962 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19963 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19964 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19965 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19966 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19967 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19968 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19969 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19970 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19971 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19972 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19973 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19974 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19975 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19976
65dc3b75
JM
199772012-02-03 Joseph Myers <joseph@codesourcery.com>
19978
19979 * math/tst-CMPLX.c: Include <stdio.h>.
19980
d55bf177
JM
199812012-01-31 Joseph Myers <joseph@codesourcery.com>
19982
19983 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19984 float.
19985 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19986 * sysdeps/sparc/bits/mathdef.h: Likewise.
19987
69db4f8f
MP
199882012-01-31 Marek Polacek <polacek@redhat.com>
19989
19990 * libio/libio.h: Don't define _PARAMS.
19991 * locale/programs/config.h: Don't define PARAMS.
19992 * stdlib/strtol_l.c: Likewise.
19993 (__strtol_l): Remove PARAMS from the prototype.
19994
41b81892
UD
199952012-01-31 Ulrich Drepper <drepper@gmail.com>
19996
3b49edc0
UD
19997 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19998 names. Just use the correct names. Remove unnecessary wrapper
19999 functions.
20000 * malloc/arena.c: Likewise.
20001 * malloc/hooks.c: Likewise.
20002
41b81892
UD
20003 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20004 ARENA_TEST says not to. Simplify test for creation of a new arena.
20005 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20006
27a25b6e
UD
200072012-01-30 Ulrich Drepper <drepper@gmail.com>
20008
20009 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20010 into tail calls.
20011 (update_get_addr): New function.
20012 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20013 GET_ADDR_MODULE parameter.
20014
c8a89e7d
JM
200152012-01-30 Joseph Myers <joseph@codesourcery.com>
20016
20017 * crypt/cert.c: Remove __STDC__ conditionals.
20018 * crypt/crypt-entry.c: Likewise.
20019 * crypt/crypt_util.c: Likewise.
20020 * libio/filedoalloc.c: Likewise.
20021 * libio/fileops.c: Likewise.
20022 * libio/genops.c: Likewise.
20023 * libio/iofclose.c: Likewise.
20024 * libio/iofdopen.c: Likewise.
20025 * libio/iofopen.c: Likewise.
20026 * libio/iofopen64.c: Likewise.
20027 * libio/iogetdelim.c: Likewise.
20028 * libio/iopopen.c: Likewise.
20029 * libio/obprintf.c: Likewise.
20030 * libio/oldfileops.c: Likewise.
20031 * libio/oldiofclose.c: Likewise.
20032 * libio/oldiofdopen.c: Likewise.
20033 * libio/oldiofopen.c: Likewise.
20034 * libio/oldiopopen.c: Likewise.
20035 * libio/wfiledoalloc.c: Likewise.
20036 * libio/wgenops.c: Likewise.
20037 * locale/programs/xmalloc.c: Likewise.
20038 * misc/syslog.c: Likewise.
20039 * stdio-common/xbug.c: Likewise.
20040 * string/memchr.c: Likewise.
20041 * string/memcmp.c: Likewise.
20042 * string/memrchr.c: Likewise.
20043 * string/rawmemchr.c: Likewise.
20044 * sysdeps/posix/getcwd.c: Likewise.
20045 * time/strftime_l.c: Likewise.
20046
3b100462
JM
200472012-01-30 Joseph Myers <joseph@codesourcery.com>
20048
20049 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20050 * config.make.in (config-cflags-sse2avx): Define.
20051 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20052 Fix typo.
20053
607998af
CM
200542012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20055
20056 * scripts/config.guess: Update from upstream config git repository.
20057 * scripts/config.sub: Likewise.
20058
3601428f
CM
200592012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20060
3ac8b282
CM
20061 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20062 (EM_NUM): Update.
20063 (R_TILEPRO_*, R_TILEGX_*): New macros.
20064
e034841e
CM
20065 * scripts/firstversions.awk: Fix bug in version range handling.
20066
540d7568
CM
20067 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20068
3601428f
CM
20069 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20070
463de862
CM
20071 * include/sys/epoll.h: New file.
20072 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20073 libc_hidden_def.
20074
73139a76
UD
200752012-01-28 Ulrich Drepper <drepper@gmail.com>
20076
96bc5b45
UD
20077 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20078 Avoid unnecessary __WORDSIZE == 64 test.
20079 (fmaxf): Use VEX format if possible.
20080 (fmax): Likewise.
20081 (fminf): Likewise.
20082 (fmin): Likewise.
20083
56f6f6a2
UD
20084 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20085 * math/math_private.h: Remove libc_fegetround* and
20086 libc_fesetround*.
20087 * sysdeps/i386/configure.in: Check for -msse2avx.
20088 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20089 also if SSE2AVX is defined.
20090 Remove libc_fegetround* and libc_fesetround*.
20091 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20092 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20093 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20094 of HAS_YMM_USABLE.
20095 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20096 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20097 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20098 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20099 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20100
73139a76
UD
20101 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20102
d73f93a4
AZ
201032012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20104
20105 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20106 size is not set.
20107 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20108
6ee65ed6
UD
201092012-01-27 Ulrich Drepper <drepper@gmail.com>
20110
20111 [BZ #13618]
20112 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20113 relocation.
20114 * Makeconfig (libm): Define.
20115 * elf/Makefile: Add rules to build and run tst-relsort1.
20116 * elf/tst-relsort1.c: New file.
20117 * elf/tst-relsort1mod1.c: New file.
20118 * elf/tst-relsort1mod2.c: New file.
20119
8db21882
JM
201202012-01-27 Joseph Myers <joseph@codesourcery.com>
20121
20122 * math/s_ldexp.c: Remove __STDC__ conditionals.
20123 * math/s_ldexpf.c: Likewise.
20124 * math/s_ldexpl.c: Likewise.
20125 * math/s_nextafter.c: Likewise.
20126 * math/s_nexttowardf.c: Likewise.
20127 * math/s_significand.c: Likewise.
20128 * math/s_significandf.c: Likewise.
20129 * math/s_significandl.c: Likewise.
20130 * math/w_jnl.c: Likewise.
20131 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20132 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20133 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20134 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20135 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20136 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20137 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20138 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20139 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20140 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20141 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20143 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20144 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20145 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20146 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20147 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20148 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20149 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20150 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20151 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20152 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20153 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20154 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20155 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20156 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20157 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20158 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20159 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20160 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20161 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20162 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20163 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20164 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20165 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20166 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20167 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20168 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20169 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20170 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20171 * sysdeps/ieee754/k_standard.c: Likewise.
20172 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20173 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20174 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20175 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20176 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20177 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20178 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20179 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20180 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20181 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20182 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20183 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20184 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20185 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20186 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20187 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20188 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20189 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20190 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20191 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20192 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20193 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20194 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20195 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20196 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20197 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20198 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20199 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20200 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20201 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20202 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20203 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20204 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20205 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20206 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20207 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20208 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20209 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20210 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20211 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20212 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20213 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20214 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20215 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20216 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20217 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20218 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20219 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20220 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20221 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20222 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20223 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20224 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20225 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20226 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20227 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20228 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20229 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20230 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20231 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20232 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20233 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20234 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20235 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20236 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20237 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20238 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20239 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20240 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20241 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20242 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20243 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20244 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20245 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20246 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20247 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20248 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20249 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20250 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20251 * sysdeps/ieee754/s_matherr.c: Likewise.
20252 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20253 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20256
965a54a4
JM
202572012-01-26 Joseph Myers <joseph@codesourcery.com>
20258
20259 * crypt/md5.h: Remove __STDC__ conditionals.
20260 * libio/libioP.h: Likewise.
20261 * locale/programs/config.h: Likewise.
20262 * sysdeps/generic/sysdep.h: Likewise.
20263 * sysdeps/i386/asm-syntax.h: Likewise.
20264 * sysdeps/s390/asm-syntax.h: Likewise.
20265 * sysdeps/unix/sysdep.h: Likewise.
20266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20268
7071ad79
JM
202692012-01-26 Joseph Myers <joseph@codesourcery.com>
20270
20271 * libio/libio.h: Remove __STDC__ conditionals.
20272 * malloc/obstack.h: Likewise.
20273 * math/complex.h: Likewise.
20274 * math/math.h: Likewise.
20275 * sysdeps/generic/_G_config.h: Likewise.
20276 * sysdeps/gnu/_G_config.h: Likewise.
20277 * sysdeps/mach/hurd/_G_config.h: Likewise.
20278 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20279 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20280 * sysdeps/sparc/bits/mathdef.h: Likewise.
20281
afc5ed09
UD
202822012-01-26 Ulrich Drepper <drepper@gmail.com>
20283
20284 [BZ #13583]
20285 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20286 Clean up HAS_* macros.
afc5ed09 20287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20288 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20289 possible.
20290 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20291 HAS_AVX.
20292 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20293 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20294 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20295 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20296 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20297
bdb6de1d
JM
202982012-01-25 Joseph Myers <joseph@codesourcery.com>
20299
20300 * elf/tst-unique3.cc (gets): Remove declaration.
20301 * elf/tst-unique3lib.cc (gets): Likewise.
20302 * elf/tst-unique3lib2.cc (gets): Likewise.
20303 * elf/tst-unique4.cc (gets): Likewise.
20304
b15549e6
UD
203052012-01-24 Ulrich Drepper <drepper@gmail.com>
20306
20307 * include/stdio.h: Add C++ protection. Add gets declarations and
20308 definitions.
20309 * debug/tst-chk1.c: Don't declare gets here.
20310 * stdio-common/tst-gets.c: Likewise.
20311
a037381f
JM
203122012-01-24 Joseph Myers <joseph@codesourcery.com>
20313
20314 * posix/glob: Remove directory.
20315
f1d4aa75
JM
203162012-01-24 Joseph Myers <joseph@codesourcery.com>
20317
20318 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20319
81c0c964
PT
203202012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20321
20322 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20323 of the non-standard EPFNOSUPPORT.
20324
0ea698ae
ST
203252011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20326
20327 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20328 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20329 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20330
d220b117
UD
203312012-01-21 Ulrich Drepper <drepper@gmail.com>
20332
20333 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20334
3e1aa84e
UD
203352012-01-20 Ulrich Drepper <drepper@gmail.com>
20336
20337 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20338 transient errors.
20339 * nscd/grpcache.c (cache_addgr): Likewise.
20340 * nscd/hstcache.c (cache_addhst): Likewise.
20341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20342 * nscd/pwdcache.c (cache_addpw): Likewise.
20343 * nscd/servicescache.c (cache_addserv): Likewise.
20344
400aa020
UD
203452012-01-16 Ulrich Drepper <drepper@gmail.com>
20346
d77e7869
UD
20347 * malloc/malloc.c: Various cleanups.
20348 * malloc/hooks.c: Likewise.
20349
400aa020
UD
20350 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20351 * stdlib/bug-fmtmsg1.c: New file.
20352
20353 * stdlib/fmtmsg.c (init): Add missing unlock.
20354 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20355
e0a309cf
MP
203562012-01-12 Marek Polacek <polacek@redhat.com>
20357
20358 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20359 and _GNU_SOURCE.
20360
929d11c7
WS
203612012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20362
20363 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20364 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20365 macro to ensure uniqueness of label name.
20366 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20367 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20368
41d0e869
UD
203692012-01-11 Ulrich Drepper <drepper@gmail.com>
20370
0cc5ed3b
UD
20371 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20372
41d0e869
UD
20373 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20374 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20375 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20376 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20377
a47a831a
UD
203782012-01-10 Ulrich Drepper <drepper@gmail.com>
20379
daa891c0
UD
20380 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20381
20382 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20383 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20384 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20385
e58ef0f2
UD
20386 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20387
a47a831a 20388 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20389 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20390 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20391 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20392
20393 * math/bits/math-finite.h: Add ldexp support.
20394
a0bfc9c7
MP
203952012-01-10 Marek Polacek <polacek@redhat.com>
20396
20397 * locale/programs/localedef.h (show_archive_content): Add noreturn
20398 attribute.
20399
d6e97a1d
UD
204002012-01-09 Ulrich Drepper <drepper@gmail.com>
20401
20402 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20403
d5835c26
UD
204042012-01-08 Ulrich Drepper <drepper@gmail.com>
20405
e5f484c6
UD
20406 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20407
d5835c26
UD
20408 * io/Makefile (headers): Add bits/poll2.h.
20409
d1f741e9
WS
204102011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20411
20412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20413 typo #include statement.
20414
ec09c1c4
UD
204152012-01-08 Ulrich Drepper <drepper@gmail.com>
20416
20417 * include/sys/cdefs.h: Define __attribute_alloc_size.
20418 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20419 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20420 * elf/pldd.c: Likewise.
20421 * iconv/iconv_charmap.c: Likewise.
20422 * iconv/iconvconfig.c: Likewise.
20423 * iconv/strtab.c: Likewise.
20424 * locale/programs/locale.c: Likewise.
20425 * locale/programs/localedef.h: Likewise.
20426 * locale/programs/simple-hash.c: Likewise.
20427 * nscd/nscd.h: Likewise.
20428 * nss/makedb.c: Likewise.
20429 * sysdeps/generic/ldconfig.h: Likewise.
20430 * locale/programs/localedef.c: Remove xmalloc prototype.
20431 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20432
20b38e03
PP
204332012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20434
20435 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20436 appropriate.
20437
a0da5fe1
UD
204382012-01-08 Ulrich Drepper <drepper@gmail.com>
20439
1d5a644a 20440 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20441 * math/tst-CMPLX.c: New file.
1d5a644a 20442
8784a6db
UD
20443 * math/complex.h (CMPLXL): Fix typo.
20444
d9a216c0
UD
20445 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20446 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20447 GLIBC_2.16.
20448 * debug/tst-chk1.c: Add poll and ppoll tests.
20449 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20450 * include/sys/poll.h: Add hidden proto for ppoll.
20451 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20452 * sysdeps/mach/hurd/ppoll.c: Likewise.
20453 * io/ppoll.c: Likewise.
20454 * debug/poll_chk.c: New file.
20455 * debug/ppoll_chk.c: New file.
20456 * include/bits/poll2.h: New file.
20457 * io/bits/poll2.h: New file.
20458
ac097f5c
UD
20459 [BZ #1350]
20460 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20461
2119dcfa
UD
20462 * configure.in: static is always set to yes. Remove.
20463 * config.make.in: Don't set build-static.
20464 * Makeconfig: Remove use of build-static.
20465 * dlfcn/Makefile: Likewise.
20466 * elf/Makefile: Likewise.
20467 * math/Makefile: Likewise.
20468 * misc/Makefile: Likewise.
20469 * nptl/Makefile: Likewise.
20470 * sysdeps/mach/hurd/Makefile: Likewise.
20471
121766a9
UD
20472 * configure.in: PWD_P is not used anymore.
20473 * config.make.in: Remove PWD_P entry.
20474
51a1d39c 20475 * configure.in: Remove last remnants of RANLIB.
8720d066 20476 No need to check for signed size_t anymore.
215f4bdc
UD
20477 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20478 and IA-64.
3857022a 20479 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20480 * aclocal.m4: Likewise.
20481
d3ed7225
UD
20482 * wcsmbs/mbrtoc16.c: Implement using towc function.
20483 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20484 * wcsmbs/wcsmbsload.c: Likewise.
20485 * iconv/gconv_simple.c: Likewise.
20486 * iconv/gconv_int.h: Likewise.
20487 * iconv/gconv_builtin.h: Likewise.
20488 * iconv/iconv_prog.c: Remove CHAR16 handling.
20489
20490 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20491
20492 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20493
a0da5fe1
UD
20494 * configure.in: Remove --with-elf and --enable-bounded options.
20495 Dont set base_machine for ia64. More non-ELF conditions removed.
20496 Remove testing and setting of leading underscore information.
20497 * config.make.in (build-bounded): Set to no.
20498 * config.h.in: Remove NO_UNDERSCORES entry.
20499 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20500 them.
20501 * csu/start.c: Remove !NO_UNDERSCORE code.
20502 * locale/localeinfo.h: Likewise.
20503 * sysdeps/generic/machine-gmon.h: Likewise.
20504 * sysdeps/generic/sysdep.h: Likewise.
20505 * sysdeps/i386/sysdep.h: Likewise.
20506 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20507 * sysdeps/mach/sysdep.h: Likewise.
20508 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20509 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20510 * sysdeps/sh/sysdep.h: Likewise.
20511 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20512 * sysdeps/unix/i386/sysdep.S: Likewise.
20513 * sysdeps/unix/sparc/start.c: Likewise.
20514 * sysdeps/unix/sparc/sysdep.S: Likewise.
20515 * sysdeps/unix/sparc/sysdep.h: Likewise.
20516 * sysdeps/unix/start.c: Likewise.
20517 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20518 * sysdeps/x86_64/sysdep.h: Likewise.
20519
df78418a
UD
205202012-01-07 Ulrich Drepper <drepper@gmail.com>
20521
a784e502
UD
20522 [BZ #13553]
20523 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20524 for non-gcc.
20525 * argp/argp-fmtstream.h: Use const instead __const.
20526 * argp/argp.h: Likewise.
20527 * assert/assert.h: Likewise.
20528 * bits/fenv.h: Likewise.
20529 * bits/sched.h: Likewise.
20530 * bits/sigset.h: Likewise.
20531 * bits/sigthread.h: Likewise.
20532 * catgets/nl_types.h: Likewise.
20533 * conform/data/pthread.h-data: Likewise.
20534 * crypt/crypt-private.h: Likewise.
20535 * crypt/crypt.h: Likewise.
20536 * crypt/crypt_util.c: Likewise.
20537 * ctype/ctype.h: Likewise.
20538 * debug/execinfo.h: Likewise.
20539 * debug/mbsnrtowcs_chk.c: Likewise.
20540 * debug/mbsrtowcs_chk.c: Likewise.
20541 * debug/wcsnrtombs_chk.c: Likewise.
20542 * debug/wcsrtombs_chk.c: Likewise.
20543 * debug/wcstombs_chk.c: Likewise.
20544 * dirent/dirent.h: Likewise.
20545 * dlfcn/dlfcn.h: Likewise.
20546 * elf/neededtest4.c: Likewise.
20547 * grp/grp.h: Likewise.
20548 * gshadow/gshadow.h: Likewise.
20549 * iconv/gconv.h: Likewise.
20550 * iconv/gconv_int.h: Likewise.
20551 * iconv/gconv_simple.c: Likewise.
20552 * iconv/iconv.h: Likewise.
20553 * iconv/loop.c: Likewise.
20554 * iconv/skeleton.c: Likewise.
20555 * include/aio.h: Likewise.
20556 * include/aliases.h: Likewise.
20557 * include/argz.h: Likewise.
20558 * include/arpa/inet.h: Likewise.
20559 * include/assert.h: Likewise.
20560 * include/dirent.h: Likewise.
20561 * include/dlfcn.h: Likewise.
20562 * include/execinfo.h: Likewise.
20563 * include/fcntl.h: Likewise.
20564 * include/fenv.h: Likewise.
20565 * include/glob.h: Likewise.
20566 * include/grp.h: Likewise.
20567 * include/libintl.h: Likewise.
20568 * include/mntent.h: Likewise.
20569 * include/netdb.h: Likewise.
20570 * include/pwd.h: Likewise.
20571 * include/rpc/netdb.h: Likewise.
20572 * include/sched.h: Likewise.
20573 * include/search.h: Likewise.
20574 * include/shadow.h: Likewise.
20575 * include/signal.h: Likewise.
20576 * include/stdio.h: Likewise.
20577 * include/stdlib.h: Likewise.
20578 * include/string.h: Likewise.
20579 * include/sys/socket.h: Likewise.
20580 * include/sys/stat.h: Likewise.
20581 * include/sys/statfs.h: Likewise.
20582 * include/sys/statvfs.h: Likewise.
20583 * include/sys/syslog.h: Likewise.
20584 * include/sys/time.h: Likewise.
20585 * include/sys/uio.h: Likewise.
20586 * include/time.h: Likewise.
20587 * include/unistd.h: Likewise.
20588 * include/utmp.h: Likewise.
20589 * include/wchar.h: Likewise.
20590 * include/wctype.h: Likewise.
20591 * inet/aliases.h: Likewise.
20592 * inet/arpa/inet.h: Likewise.
20593 * inet/netinet/ether.h: Likewise.
20594 * inet/netinet/in.h: Likewise.
20595 * intl/libintl.h: Likewise.
20596 * io/bits/fcntl2.h: Likewise.
20597 * io/fcntl.h: Likewise.
20598 * io/ftw.h: Likewise.
20599 * io/sys/poll.h: Likewise.
20600 * io/sys/stat.h: Likewise.
20601 * io/sys/statfs.h: Likewise.
20602 * io/sys/statvfs.h: Likewise.
20603 * io/utime.h: Likewise.
20604 * libio/bits/stdio.h: Likewise.
20605 * libio/bits/stdio2.h: Likewise.
20606 * libio/libio.h: Likewise.
20607 * libio/libioP.h: Likewise.
20608 * libio/stdio.h: Likewise.
20609 * locale/lc-ctype.c: Likewise.
20610 * locale/locale.h: Likewise.
20611 * login/utmp.h: Likewise.
20612 * malloc/arena.c: Likewise.
20613 * malloc/malloc.c: Likewise.
20614 * malloc/malloc.h: Likewise.
20615 * malloc/mcheck.c: Likewise.
20616 * malloc/mtrace.c: Likewise.
20617 * math/bits/mathcalls.h: Likewise.
20618 * math/fenv.h: Likewise.
20619 * math/math_private.h: Likewise.
20620 * misc/bits/error.h: Likewise.
20621 * misc/bits/syslog.h: Likewise.
20622 * misc/err.h: Likewise.
20623 * misc/error.h: Likewise.
20624 * misc/fstab.h: Likewise.
20625 * misc/mntent.h: Likewise.
20626 * misc/regexp.h: Likewise.
20627 * misc/search.h: Likewise.
20628 * misc/sgtty.h: Likewise.
20629 * misc/sys/mman.h: Likewise.
20630 * misc/sys/syslog.h: Likewise.
20631 * misc/sys/uio.h: Likewise.
20632 * misc/sys/xattr.h: Likewise.
20633 * misc/ttyent.h: Likewise.
20634 * nis/rpcsvc/ypclnt.h: Likewise.
20635 * nss/nss.h: Likewise.
20636 * posix/bits/unistd.h: Likewise.
20637 * posix/fnmatch.h: Likewise.
20638 * posix/glob.h: Likewise.
20639 * posix/sched.h: Likewise.
20640 * posix/spawn.h: Likewise.
20641 * posix/sys/wait.h: Likewise.
20642 * posix/unistd.h: Likewise.
20643 * posix/wordexp.h: Likewise.
20644 * pwd/pwd.h: Likewise.
20645 * resolv/netdb.h: Likewise.
20646 * resource/sys/resource.h: Likewise.
20647 * rt/aio.h: Likewise.
20648 * rt/bits/mqueue2.h: Likewise.
20649 * rt/mqueue.h: Likewise.
20650 * shadow/shadow.h: Likewise.
20651 * signal/signal.h: Likewise.
20652 * socket/send.c: Likewise.
20653 * socket/sendto.c: Likewise.
20654 * socket/sys/socket.h: Likewise.
20655 * stdio-common/printf.h: Likewise.
20656 * stdlib/bits/stdlib.h: Likewise.
20657 * stdlib/fmtmsg.h: Likewise.
20658 * stdlib/monetary.h: Likewise.
20659 * stdlib/stdlib.h: Likewise.
20660 * stdlib/ucontext.h: Likewise.
20661 * streams/stropts.h: Likewise.
20662 * string/argz.h: Likewise.
20663 * string/bits/string2.h: Likewise.
20664 * string/string.h: Likewise.
20665 * string/strings.h: Likewise.
20666 * sunrpc/rpc/auth.h: Likewise.
20667 * sunrpc/rpc/auth_des.h: Likewise.
20668 * sunrpc/rpc/clnt.h: Likewise.
20669 * sunrpc/rpc/netdb.h: Likewise.
20670 * sunrpc/rpc/pmap_clnt.h: Likewise.
20671 * sunrpc/rpc/xdr.h: Likewise.
20672 * sysdeps/generic/inttypes.h: Likewise.
20673 * sysdeps/generic/net/if.h: Likewise.
20674 * sysdeps/generic/sys/swap.h: Likewise.
20675 * sysdeps/gnu/net/if.h: Likewise.
20676 * sysdeps/gnu/utmpx.h: Likewise.
20677 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20678 * sysdeps/i386/i486/bits/string.h: Likewise.
20679 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20680 * sysdeps/s390/bits/string.h: Likewise.
20681 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20682 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20683 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20684 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20685 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20686 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20687 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20688 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20689 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20690 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20691 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20692 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20693 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20694 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20695 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20696 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20697 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20699 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20700 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20701 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20702 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20703 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20704 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20705 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20706 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20707 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20708 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20709 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20710 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20711 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20712 * sysvipc/sys/ipc.h: Likewise.
20713 * sysvipc/sys/msg.h: Likewise.
20714 * sysvipc/sys/sem.h: Likewise.
20715 * sysvipc/sys/shm.h: Likewise.
20716 * termios/termios.h: Likewise.
20717 * time/sys/time.h: Likewise.
20718 * time/time.h: Likewise.
20719 * wcsmbs/bits/wchar2.h: Likewise.
20720 * wcsmbs/uchar.h: Likewise.
20721 * wcsmbs/wchar.h: Likewise.
20722 * wctype/wctype.h: Likewise.
20723
0269750c
UD
20724 [BZ #13551]
20725 * Makeconfig: Remove all but ELF support including AIX support.
20726 * Makerules: Likewise.
20727 * config.h.in: Likewise.
20728 * config.make.in: Likewise.
20729 * configure: Likewise.
20730 * configure.in: Likewise.
20731 * csu/Makefile: Likewise.
20732 * csu/version.c: Likewise.
20733 * debug/Makefile: Likewise.
20734 * dlfcn/Makefile: Likewise.
20735 * elf/Makefile: Likewise.
20736 * extra-lib.mk: Likewise.
20737 * iconv/Makefile: Likewise.
20738 * include/libc-symbols.h: Likewise.
20739 * include/shlib-compat.h: Likewise.
20740 * resolv/Makefile: Likewise.
20741 * resolv/res_libc.c: Likewise.
20742 * rt/Makefile: Likewise.
20743 * sysdeps/i386/asm-syntax.h: Likewise.
20744 * sysdeps/i386/sysdep.h: Likewise.
20745 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20746 * sysdeps/mach/sysdep.h: Likewise.
20747 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20748 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20749 * sysdeps/s390/asm-syntax.h: Likewise.
20750 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20751 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20752 * sysdeps/sh/sysdep.h: Likewise.
20753 * sysdeps/unix/sparc/sysdep.h: Likewise.
20754 * sysdeps/wordsize-32/divdi3.c: Likewise.
20755 * sysdeps/x86_64/sysdep.h: Likewise.
20756
00bbd29b
UD
20757 * argp/Versions: Remove _argp_unlock_xxx.
20758
20759 [BZ #13559]
20760 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20761 * abilist/libBrokenLocale.abilist: Likewise.
20762 * abilist/libanl.abilist: Likewise.
20763 * abilist/libc.abilist: Likewise.
20764 * abilist/libcrypt.abilist: Likewise.
20765 * abilist/libdl.abilist: Likewise.
20766 * abilist/libm.abilist: Likewise.
20767 * abilist/libnsl.abilist: Likewise.
20768 * abilist/libpthread.abilist: Likewise.
20769 * abilist/libresolv.abilist: Likewise.
20770 * abilist/librt.abilist: Likewise.
20771 * abilist/libthread_db.abilist: Likewise.
20772 * abilist/libutil.abilist: Likewise.
20773 * abilist/libnss_db.abilist: New file.
20774
20775 * scripts/abilist.awk: Add support for indirect functions.
20776
a2693a0e
UD
20777 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20778
3f05895f
UD
20779 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20780
ecb6fb48
UD
20781 * shlib-versions: Remove entries for ports architectures.
20782
664f8cb9
UD
20783 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20784 files in ports.
20785 * elf/stackguard-macros.h: Remove support for IA-64.
20786 * elf/tst-auditmod1.c: Likewise.
20787 * sysdeps/generic/ldsodefs.h: Likewise.
20788
7ae81d88
UD
20789 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20790 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20791 configure files.
20792
bdeba135
UD
20793 [BZ #13552]
20794 * configure.in: Remove --enable-omitfp support.
20795 * FAQ.in: Adjust.
20796 * config.make.in: Likewise.
20797 * Makeconfig: Likewise.
20798 * manual/install.texi: Likewise.
20799
d75a0a62
UD
20800 In case anyone cares, the IA-64 architecture could move to ports.
20801 * sysdeps/ia64/*: Removed.
20802 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20803 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20804
dcc9756b
UD
20805 [BZ #13555]
20806 * configure.in: Remove entries for unsupported architectures.
20807
d3761ebc 20808 [BZ #13533]
9954432e
UD
20809 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20810 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20811 routines.
20812 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20813 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20814 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20815 fall back to using wcrtomb.
20816 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20817 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20818 renaming.
20819 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20820 * wcsmbs/tst-c16c32-1.c: New file.
20821
20822 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20823 local variable.
20824
c3a87236
UD
20825 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20826
28926a1b
UD
20827 * elf/tst-unique3.cc: Add explicit declaration of gets.
20828 * elf/tst-unique3lib.cc: Likewise.
20829 * elf/tst-unique3lib2.cc: Likewise.
20830 * elf/tst-unique4.cc: Likewise.
20831
df78418a
UD
20832 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20833
8ecd6b2a
JM
208342012-01-06 Joseph Myers <joseph@codesourcery.com>
20835
20836 [BZ #13566]
20837 * assert/assert.h (static_assert): Don't define for C++.
20838 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20839 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20840
9f115170
UD
208412012-01-03 Ulrich Drepper <drepper@gmail.com>
20842
5e0d0300
UD
20843 * iconv/loop.c (single loop): Fix assertion in storing of
20844 remaining bytes.
20845
9f115170
UD
20846 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20847
81fb02b0
UD
208482012-01-01 Ulrich Drepper <drepper@gmail.com>
20849
20850 * posix/getconf.c: Update copyright year.
20851 * nss/getent.c: Likewise.
a316c1f6 20852 * nss/makedb.c: Likewise.
81fb02b0
UD
20853 * iconv/iconvconfig.c: Likewise.
20854 * iconv/iconv_prog.c: Likewise.
20855 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20856 * elf/pldd.c: Likewise.
20857 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20858 * catgets/gencat.c: Likewise.
20859 * csu/version.c: Likewise.
20860 * elf/ldd.bash.in: Likewise.
20861 * elf/sprof.c (print_version): Likewise.
20862 * locale/programs/locale.c: Likewise.
20863 * locale/programs/localedef.c: Likewise.
a316c1f6 20864 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20865 * nscd/nscd.c (print_version): Likewise.
20866 * debug/xtrace.sh: Likewise.
20867 * malloc/memusage.sh: Likewise.
20868 * malloc/mtrace.pl: Likewise.
20869 * debug/catchsegv.sh: Likewise.
20870
2ba92745
JJ
208712011-12-30 Jakub Jelinek <jakub@redhat.com>
20872
20873 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20874 pure attribute.
20875
dadebdae
UD
208762011-12-24 Ulrich Drepper <drepper@gmail.com>
20877
d3761ebc 20878 [BZ #13533]
db6af3eb
UD
20879 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20880 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20881 transformations.
20882 * iconv/gconv_int.h: Likewise.
20883 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20884 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20885 from libc for GLIBC_2.16.
20886 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20887 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20888 * wcsmbs/uchar.h: Really define mbstate_t.
20889 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20890 * wcsmbs/c16rtomb.c: New file.
20891 * wcsmbs/mbrtoc16.c: New file.
20892 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20893 for C/POSIX locale.
20894 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20895 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20896
dadebdae
UD
20897 * wcsmbs/wchar.h: Add missing __restrict.
20898
67371b56
UD
208992011-12-23 Ulrich Drepper <drepper@gmail.com>
20900
74033a25
UD
20901 [BZ #13532]
20902 * time/Makefile (routines): Add timespec_get.
20903 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20904 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20905 timespec for ISO C11.
20906 * time/timespec_get.c: New file.
20907 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20908 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20909
380d7e87
UD
20910 [BZ #13531]
20911 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20912 * stdlib/stdlib.h: Declare aligned_alloc.
20913 * Versions.def: Add GLIBC_2.16 for libc.
20914 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20915
4e9e7a35
UD
20916 [BZ 13527]
20917 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20918 ISO C11.
20919
380d7e87 20920 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20921 code.
20922
03a71829
UD
20923 [BZ #13528]
20924 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20925
839e283e
UD
20926 [BZ #13529]
20927 * assert/assert.h (static_assert): Define.
20928
ce5294e2 20929 * version.h: Update for 2.16 development version.
90fa7312 20930
8d44e150 20931 [BZ #13526]
d7809905
UD
20932 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20933 _ISOC11_SOURCE.
20934
c0da14cd
UD
20935 * version.h (RELEASE): Bump for 2.15 release.
20936 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20937
530a3249
MP
20938 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20939 Patch by Marek Polacek <mpolacek@redhat.com>.
20940
67371b56
UD
20941 * bits/byteswap.h: Protect long long constants with __extension__.
20942 * sysdeps/i386/bits/byteswap.h: Likewise.
20943 * sysdeps/ia64/bits/byteswap.h: Likewise.
20944 * sysdeps/s390/bits/byteswap.h: Likewise.
20945 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20946
15db4de1
LD
209472011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20948
20949 [BZ #13540]
bbe315ea
LD
20950 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20951 destination buffer.
15db4de1
LD
20952 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20953
2b2596b1
MP
209542011-12-23 Marek Polacek <polacek@redhat.com>
20955
20956 * elf/dl-addr.c (determine_info): Add inline keyword.
20957 * elf/tst-auditmod4b.c (check_avx): Likewise.
20958 * elf/tst-auditmod6b.c (check_avx): Likewise.
20959 * elf/tst-auditmod6c.c (check_avx): Likewise.
20960 * elf/tst-auditmod7b.c (check_avx): Likewise.
20961
70c6c246
UD
209622011-12-23 Ulrich Drepper <drepper@gmail.com>
20963
20964 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20965 !__SSE_MATH__.
20966
c044cf14
LD
209672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20968
15db4de1 20969 [BZ #13540]
c044cf14
LD
20970 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20971 processing for last bytes.
20972
6b13d9d9
BH
209732011-08-06 Bruno Haible <bruno@clisp.org>
20974
d455f537
BH
20975 [BZ #13061]
20976 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20977 U+0385, not to U+1FEE.
20978
6b13d9d9
BH
20979 [BZ #13062]
20980 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20981 entry for U+00A5 U+0301.
20982
db910efd
UD
209832011-12-22 Ulrich Drepper <drepper@gmail.com>
20984
27deeafc
UD
20985 [BZ #13166]
20986 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20987 buffer for the output is too small.
20988
aed9d171
UD
20989 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20990 optimization.
20991
db910efd
UD
20992 [BZ #13185]
20993 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20994 SSE flags if possible.
20995
2bd779ae
LD
209962011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20997
e7f9dac3 20998 [BZ #13540]
2bd779ae
LD
20999 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21000 processing for last bytes.
21001
154bfc16
JM
210022011-12-22 Joseph Myers <joseph@codesourcery.com>
21003
21004 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21005 (syscall-list-default-options, syscall-list-default-condition)
21006 (syscall-list-includes): Define.
21007 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21008 list of ABIs and options and #if conditions for each ABI. Do not
21009 handle common syscalls between ABIs specially.
21010 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21011 Remove.
21012 (syscall-list-variants, syscall-list-32bit-options)
21013 (syscall-list-32bit-condition, syscall-list-64bit-options)
21014 (syscall-list-64bit-condition): Define.
21015 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21016 (syscall-list-variants, syscall-list-32bit-options)
21017 (syscall-list-32bit-condition, syscall-list-64bit-options)
21018 (syscall-list-64bit-condition): Define.
21019 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21020 Remove.
21021 (syscall-list-variants, syscall-list-32bit-options)
21022 (syscall-list-32bit-condition, syscall-list-64bit-options)
21023 (syscall-list-64bit-condition): Define.
21024 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21025 Remove.
21026 (syscall-list-variants, syscall-list-32bit-options)
21027 (syscall-list-32bit-condition, syscall-list-64bit-options)
21028 (syscall-list-64bit-condition): Define.
21029
21eaf3a5
UD
210302011-12-22 Ulrich Drepper <drepper@gmail.com>
21031
16c6f992
UD
21032 * locale/iso-639.def: Add brx entry.
21033
41043168
UD
21034 [BZ #13328]
21035 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21036 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21037
21eaf3a5
UD
21038 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21039 __feraiseexcept_renamed.
21040
e3a851a2
UD
210412011-12-21 Ulrich Drepper <drepper@gmail.com>
21042
4920765e
UD
21043 [BZ #13538]
21044 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21045 EPOLLET with unsigned values.
21046 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21047 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21048
e3a851a2
UD
21049 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21050 to large cancellation.
21051 * math/s_cacoshf.c: Likewise.
21052 * math/s_cacoshl.c: Likewise.
21053
b27e24b8
RK
210542011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21055
21056 [BZ #13305]
aebefeee 21057 [BZ #12786]
b27e24b8
RK
21058 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21059 * math/s_cacoshf.c: Likewise.
21060 * math/s_cacoshl.c: Likewise.
21061
ee190f67
UD
210622011-12-21 Ulrich Drepper <drepper@gmail.com>
21063
21064 [BZ #13439]
21065 * iconv/gconv.h: Define __GCONV_SWAP.
21066 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21067 * iconvdata/utf-16.c: Likewise.
21068 * iconvdata/utf-32.c: Likewise.
21069
707f25df
AS
210702011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21071
21072 [BZ #13524]
21073 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21074 numerator after shifting it by one limb.
21075
d2daaa1e
RÁE
210762011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21077
21078 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21079 under [__USE_EXTERN_INLINES].
21080
a4647e72
UD
210812011-12-17 Ulrich Drepper <drepper@gmail.com>
21082
21083 [BZ #13446]
21084 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21085
f0b264f1
AZ
210862011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21087
21088 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21089 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21090 optimized code.
21091 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21092 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21093 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21094 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21095 for strncasecmp/strncasecmp_l compilation.
21096 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21097 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21098
8ef4f244
MP
210992011-12-08 Marek Polacek <mpolacek@redhat.com>
21100
21101 [BZ #13484]
21102 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21103 of __asm__.
21104
97ac2654
UD
211052011-12-17 Ulrich Drepper <drepper@gmail.com>
21106
21107 [BZ #13506]
21108 * time/tzfile.c (__tzfile_read): Check values from file header.
21109
91d2a845
WS
211102011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21111
21112 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21113 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21114 * powerpc/powerpc32/dl-start.S: Likewise.
21115 * powerpc/powerpc32/elf/start.S: Likewise.
21116 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21117 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21118 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21119 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21120 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21121 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21122 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21123 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21124 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21125 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21126 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21127 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21128 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21129 * powerpc/powerpc32/memset.S: Likewise.
21130 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21131 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21132 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21133 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21134 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21135 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21136 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21137 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21138 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21139 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21140 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21141 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21142 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21143
a1267ba1
AZ
211442011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21145
21146 * math/libm-test.inc: Added more nearbyint tests.
21147 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21148 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21149 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21150 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21151
ad8ac1bd
RL
211522011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21153
21154 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21155 FD_CLOEXEC.
21156
1d3e4b61
UD
211572011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21158
21159 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21160 Add wcscpy-ssse3 wcscpy-c.
21161 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21162 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21163 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21164 * sysdeps/x86_64/wcschr.S: New file.
21165 * sysdeps/x86_64/wcsrchr.S: New file.
21166 * string/test-strcmp.c: Remove checking of wcscmp function for
21167 wrong alignments.
21168 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21169 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21170 wcsrchr-sse2 wcsrchr-c.
21171 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21172 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21173 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21174 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21175 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21176 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21177 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21178 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21179 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21180 * wcsmbc/wcschr.c (WCSCHR): New macro.
21181
5b330a2d
UD
211822011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21183
21184 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21185 * wcsmbs/test-wcsrchr.c: New file.
21186 * string/test-strrchr.c: Add wcsrchr support.
21187 (WIDE): New macro.
21188 * wcsmbs/test-wcscpy.c: New file.
21189 * string/test-strcpy.c: Add wcscpy support.
21190 (WIDE): New macro.
26428b7c 21191
f039c043
UD
211922011-12-10 Ulrich Drepper <drepper@gmail.com>
21193
21194 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21195 the inner loop.
21196
850fb039
AS
211972011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21198
21199 [BZ #13472]
21200 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21201
4efbd5cb
UD
212022011-12-04 Ulrich Drepper <drepper@gmail.com>
21203
52ff5dd0 21204 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21205 Minor optimizations.
52ff5dd0 21206
4efbd5cb
UD
21207 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21208 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21209 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21210
8a426e12
UD
212112011-12-03 Ulrich Drepper <drepper@gmail.com>
21212
aff2453d
UD
21213 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21214 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21215 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21216 for gcc to avoid warnings.
21217 * inet/Makefile (tests): Add tst-checks.
21218 * inet/tst-checks.c: New file.
21219
21220 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21221 warning.
21222
21223 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21224 __wmemcmp_sse2.
21225
21226 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21227 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21228
8a426e12
UD
21229 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21230
9bea3473
UD
212312011-12-02 Ulrich Drepper <drepper@gmail.com>
21232
3a965496
UD
21233 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21234 problem.
21235
9bea3473
UD
21236 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21237
f101631b
UD
212382011-11-29 Joseph Myers <joseph@codesourcery.com>
21239
21240 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21241 conditional on GCC version.
21242 (__arch_compare_and_exchange_val_8_acq)
21243 (__arch_compare_and_exchange_val_16_acq)
21244 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21245 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21246 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21247
a98275aa
UD
212482011-12-02 Joseph Myers <joseph@codesourcery.com>
21249
21250 * sysdeps/sh/backtrace.c: New file.
21251
d4cc29a2
AS
212522011-12-02 Andreas Schwab <schwab@redhat.com>
21253
21254 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21255 parenthesis.
21256
6257af2d
AS
212572011-12-01 Andreas Schwab <schwab@redhat.com>
21258
21259 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21260 falling back to utime.
21261
b5f44c1a
AS
212622011-11-30 Andreas Schwab <schwab@redhat.com>
21263
21264 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21265 expectations for float.
21266
f3a6cc0a
AS
212672011-11-29 Andreas Schwab <schwab@redhat.com>
21268
21269 * locale/weight.h (findidx): Add parameter len.
21270 * locale/weightwc.h (findidx): Likewise.
21271 * posix/fnmatch_loop.c (FCT): Adjust caller.
21272 * posix/regcomp.c (build_equiv_class): Likewise.
21273 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21274 * posix/regexec.c (check_node_accept_bytes): Likewise.
21275 * string/strcoll_l.c (STRCOLL): Likewise.
21276 * string/strxfrm_l.c (STRXFRM): Likewise.
21277
9d65ea3a
UD
212782011-11-17 Ulrich Drepper <drepper@gmail.com>
21279
21280 * Makefile.in: Remove CVSOPT handling.
21281 * configure.in: Remove use of AC_REVISION.
21282 * iconvdata/Makefile (distribute): No need to filter out CVS.
21283 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21284 handling.
21285
5583a086
AS
212862011-11-16 Andreas Schwab <schwab@redhat.com>
21287
21288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21289 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21290 [USE_AS_STRNCASECMP_L]: Likewise.
21291 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21292 NO_TLS_DIRECT_SEG_REFS.
21293 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21294 Fix argument offsets for non-PIC.
21295 [USE_AS_STRNCASECMP_L]: Likewise.
21296 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21297 NO_TLS_DIRECT_SEG_REFS.
21298
d62a8200
UD
212992011-11-15 Ulrich Drepper <drepper@gmail.com>
21300
9d65ea3a 21301 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21302 O_CLOEXEC.
21303 * locale/loadlocale.c (_nl_load_locale): Likewise.
21304
09f93bd3
AS
213052011-11-15 Andreas Schwab <schwab@redhat.com>
21306
446514f9
AS
21307 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21308 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21309 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21310 (SYSCALL_GETTIME): Set errno on error.
21311
09f93bd3
AS
21312 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21313 count references to noai6ai_cached.
21314
312be3f9
UD
213152011-11-15 Ulrich Drepper <drepper@gmail.com>
21316
21317 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21318
21319 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21320 FD_CLOEXEC for /proc/self/maps.
21321
21322 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21323 FD_CLOEXEC for /proc/meminfo.
21324
21325 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21326 gai.conf.
21327
21328 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21329 FD_CLOEXEC for given file.
21330
21331 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21332
21333 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21334 FD_CLOEXEC for /etc/hosts.
21335 (_gethtent): Likewise.
21336
21337 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21338
21339 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21340 cancellation and set FD_CLOEXEC for /etc/netgroup.
21341
21342 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21343 reading /etc/publickey.
21344
21345 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21346 allow cancellation when reading /etc/group.
21347
21348 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21349 cancellation.
21350 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21351
21352 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21353 when using data file.
21354
21355 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21356
21357 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21358 (write_nis_obj): Use "c" and "e" in fopen.
21359
21360 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21361
21362 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21363
21364 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21365
21366 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21367
21368 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21369 locale.alias.
21370
21371 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21372
21373 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21374
21375 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21376
21377 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21378 file parsing and set FD_CLOEXEC.
21379
82af0fa8
UD
213802011-11-14 Ulrich Drepper <drepper@gmail.com>
21381
21382 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21383
a5fb313c
AS
213842011-11-14 Andreas Schwab <schwab@redhat.com>
21385
21386 * malloc/arena.c (arena_get2): Don't call reused_arena when
21387 _int_new_arena failed.
21388
6abf3465
UD
213892011-11-14 Ulrich Drepper <drepper@gmail.com>
21390
21391 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21392 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21393 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21394 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21395 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21396 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21397 to compile strcasecmp and strncasecmp.
21398 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21399 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21400
21401 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21402
76e3966e
UD
214032011-11-13 Ulrich Drepper <drepper@gmail.com>
21404
21405 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21406 locale-defines.sym to gen-as-const-headers.
21407 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21408 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21409 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21410 to compile strcasecmp and strncasecmp.
21411 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21412 strcasecmp_l and strncasecmp_l.
21413 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21414 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21415 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21416 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21417 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21418 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21419 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21420 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21421 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21422 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21423 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21424
ab26144e
UD
214252011-11-12 Ulrich Drepper <drepper@gmail.com>
21426
7edb22ef
UD
21427 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21428 result of SYSDEP_GETTIME_CPU to retval.
21429 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21430 parameter list to macro. Remove trailing semicolon. Adjust users.
21431
9694fc44
UD
21432 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21433 variable.
21434
8ad89ef8
UD
21435 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21436 mantissa words.
21437 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21438
0c822ef9
UD
21439 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21440 from unused variable.
21441
874e0564
UD
21442 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21443 DWARF definitions.
21444 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21445 for assembling.
21446
3a2edc79
UD
21447 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21448 over namespaces.
21449
f3c2577f
UD
21450 * sunrpc/rpc_prot.c (rejected): Fix case value.
21451
294ce126
UD
21452 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21453 unsigned long long int to avoid warnings in shift.
21454
5e2b63c6
UD
21455 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21456 of use of trans.
21457 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21458 variable tmp.
21459
e7f4b08e
UD
21460 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21461 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21462 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21463
ab26144e
UD
21464 * nis/nis_table.c (nis_list): Use variable of correct type for
21465 result of __follow_path call.
21466
8a6d5255
AZ
214672011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21468
21469 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21470 of math functions ceil, trunc, floor, round, and sqrt, when
21471 avaliable on the platform.
21472 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21473 name clash.
21474 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21475 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21476 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21477
aaddc98c
MP
214782011-10-30 Marek Polacek <mpolacek@redhat.com>
21479
21480 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21481 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21482
95b7042b
RM
214832011-11-11 Roland McGrath <roland@hack.frob.com>
21484
21485 * include/unistd.h: Fix __readlink return type.
21486 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21487
57769839
UD
214882011-11-11 Ulrich Drepper <drepper@gmail.com>
21489
21490 * stdlib/ucontext.h: Undo last change for makecontext.
21491
edc5984d
AS
214922011-11-11 Andreas Schwab <schwab@redhat.com>
21493
98591e58
AS
21494 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21495
edc5984d
AS
21496 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21497 * setjmp/setjmp.h: Mark functions as non-leaf.
21498 * setjmp/bits/setjmp2.h: Likewise.
21499 * stdlib/ucontext.h: Likewise.
21500
77cdc054
AS
215012011-11-10 Andreas Schwab <schwab@redhat.com>
21502
21503 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21504 (reused_arena): Don't check arena limit.
21505 (arena_get2): Atomically check arena limit.
21506
fe72eebd
UD
215072011-11-08 Ulrich Drepper <drepper@gmail.com>
21508
5f078c32
UD
21509 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21510 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21511
fe72eebd
UD
21512 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21513 instructions.
21514
ae1bc2fa
AS
215152011-11-07 Andreas Schwab <schwab@redhat.com>
21516
7583a88d
AS
21517 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21518 handler when locking.
21519
ae1bc2fa
AS
21520 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21521 Fix size of allocated buffer.
21522
10fb0bfa
AS
215232011-11-04 Andreas Schwab <schwab@redhat.com>
21524
998832a4
AS
21525 [BZ #10103]
21526 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21527 declarations for long double functions.
21528 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21529
10fb0bfa
AS
21530 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21531
3d7ba52b
AS
215322011-11-03 Andreas Schwab <schwab@redhat.com>
21533
a9ae54a1
AS
21534 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21535 installed.
21536
3d7ba52b
AS
21537 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21538 is disabled.
21539
bc8db248
ST
215402011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21541
21542 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21543
45b96dd6
AS
215442011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21545
647776f6
AS
21546 * include/alloca.h (stackinfo_alloca_round): Define.
21547 (extend_alloca): Use it.
21548 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21549 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21550 here.
21551
d91a8b93
AS
21552 * scripts/check-local-headers.sh: Ignore libaudit.h.
21553
45b96dd6
AS
21554 * nscd/Makefile (extra-objs): Make recursively expanded.
21555
432d41ce
UD
215562011-11-01 Ulrich Drepper <drepper@gmail.com>
21557
34372fc6
UD
21558 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21559 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21560
fadb59f8
UD
21561 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21562 * posix/tst-rfc3484-2.c: Likewise.
21563 * posix/tst-rfc3484-3.c: Likewise.
21564
78239589
UD
21565 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21566 process_vm_writev.
21567 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21568 process_vm_writev.
21569 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21570 process_vm_writev from libc using GLIBC_2.15 version.
21571
432d41ce
UD
21572 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21573
02f9c6cf
PP
215742011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21575
21576 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21577 stack usage.
21578
3a2c0242
UD
215792011-10-31 Ulrich Drepper <drepper@gmail.com>
21580
f4ec4833
UD
21581 [BZ #13367]
21582 * nss/getent.c (initgroups_keys): Show error message in case no group
21583 names are given.
21584
3a2c0242
UD
21585 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21586 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21587 __bump_nl_timestamp.
21588 * nscd/connections (nscd_init): When host database is served open
21589 netlink socket and request notification about configuration changes.
21590 (main_loop_poll): Track netlink file descriptor and bump timestamp
21591 in case data becomes available.
21592 (main_loop_epoll): Likewise.
21593 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21594 (database_pers_head): Add extra_data fileds.
21595 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21596 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21597 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21598 Adjust caller.
21599 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21600 in6ai data, call __free_in6ai.
21601 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21602 Add -DHAVE_NETLINK.
21603 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21604 interface information. Reuse previous data if netlink timestamp
21605 is not changed.
21606 (__bump_nl_timestamp): New function.
21607 (__free_in6ai): New function.
21608
636064eb
UD
216092011-10-30 Ulrich Drepper <drepper@gmail.com>
21610
21611 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21612 close_not_cancel_no_status here.
21613 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21614
9beb2334
UD
216152011-10-29 Ulrich Drepper <drepper@gmail.com>
21616
6ef76f3b
UD
21617 [BZ #13276]
21618 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21619 return value.
21620
0ffc4f3e 21621 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21622 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21623 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21624
cb95113e
UD
216252011-07-03 Andreas Jaeger <aj@suse.de>
21626
21627 [BZ #10709]
21628 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21629 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21630 * math/libm-test.inc (sin_test): Add test case.
21631
a1b560ff
UD
216322011-10-29 Ulrich Drepper <drepper@gmail.com>
21633
c9aaface
UD
21634 [BZ #13337]
21635 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21636 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21637
d272e7f1
UD
21638 * elf/chroot_canon.c (chroot_canon): Cleanups.
21639
1bc33071
UD
21640 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21641
1760874d
TJ
21642 [BZ #13335]
21643 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21644 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21645
51d91b18
UD
21646 * string/test-strchr.c: Make usable for strchrnul testing.
21647 * string/test-strchrnul.c: New file.
21648 * string/Makefile (strop-tests): Add strchrnul.
21649
a1b560ff 21650 * po/it.po: Update from translation team.
b611fb81 21651 * po/es.po: Likewise.
a1b560ff 21652
a5b81e1f
UD
216532011-10-28 Ulrich Drepper <drepper@gmail.com>
21654
fd52bc6d
UD
21655 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21656 the three constants needed as parameters. Drop the others.
21657 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21658 __m128i_strloadu_tolower.
52e4b9eb
UD
21659 Create and initialize variable zero and use it in all the places
21660 where _mm_setzero_si128 was used.
fd52bc6d 21661
a5b81e1f
UD
21662 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21663 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21664 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21665 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21666 anymore.
21667 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21668 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21669 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21670 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21671 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21672 __mpranred, __mptan.
21673 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21674 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21675 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21676 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21677 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21678 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21679 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21680 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21681 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21682
b4343346
AS
216832011-10-28 Andreas Schwab <schwab@redhat.com>
21684
0c92d8a8
AS
21685 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21686 redefine if SHARED.
21687 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21688
b4343346
AS
21689 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21690 wide char related routines to wcsmbs subdir.
21691
3871f58f
AS
216922011-10-27 Andreas Schwab <schwab@redhat.com>
21693
21694 [BZ #13344]
21695 * misc/sys/cdefs.h (__THROWNL): Define.
21696 * posix/unistd.h: Use __THREADNL instead of __THREAD
21697 for memory synchronization functions.
21698
94d44d9f
RM
216992011-10-26 Roland McGrath <roland@hack.frob.com>
21700
21b64b15 21701 [BZ #13349]
94d44d9f
RM
21702 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21703 doesn't exist.
21704 * manual/stdio.texi (Obstack Streams): Node removed.
21705
f6ce9294
AS
217062011-10-26 Andreas Schwab <schwab@redhat.com>
21707
80479147
AS
21708 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21709 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21710 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21711
f6ce9294
AS
21712 * math/math_private.h (math_force_eval): Allow non-addressable
21713 arguments.
21714 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21715
618280a1
UD
217162011-10-25 Ulrich Drepper <drepper@gmail.com>
21717
e0016b11
UD
21718 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21719 file is not needed.
21720
21721 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21722 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21723 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21724 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21725 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21726 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21727 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21728 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21729 Add AVX variants.
21730 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21731 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21732 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21733 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21734 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21735 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21736 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21737 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21738 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21739 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21740 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21741 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21742 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21743 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21744 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21745 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21746 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21747 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21748 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21749
21750 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21751 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21752
618280a1
UD
21753 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21754 place. Use VEX encoding when compiling for AVX.
21755
37822576
AS
217562011-10-25 Andreas Schwab <schwab@redhat.com>
21757
1f1e1947
AS
21758 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21759 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21760
37822576
AS
21761 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21762
31ea014d
UD
217632011-10-25 Ulrich Drepper <drepper@gmail.com>
21764
d7826aa1 21765 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21766 useless if() expression.
d7826aa1
UD
21767 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21768 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21769 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21770 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21771 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21772 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21773 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21774 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21775 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21776 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21777 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21778 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21779 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21780 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21781 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21782 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21783 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21784 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21785 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21786
31ea014d
UD
21787 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21788
16437fec
AS
217892011-10-25 Andreas Schwab <schwab@redhat.com>
21790
21791 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21792 condition.
21793 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21794
31d3cc00
UD
217952011-10-25 Ulrich Drepper <drepper@gmail.com>
21796
21797 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21798 .text section. Avoid duplicate constants.
21799 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21800 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21801 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21803 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21805 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21806 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21807 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21808 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21809 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21810 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21811 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21812 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21813 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21814 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21815 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21816 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21817 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21818 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21819 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21820 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21821 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21822 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21823 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21824 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21825 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21826 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21827 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21828 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21829 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21830 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21831 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21832 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21833 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21834 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21835 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21836 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21837 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21838 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21839 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21840 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21841 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21842 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21843 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21844
58985aa9
UD
218452011-10-24 Ulrich Drepper <drepper@gmail.com>
21846
202c9deb
UD
21847 * sysdeps/x86_64/dla.h: Move to ...
21848 * sysdeps/x86_64/fpu/dla.h: ...here.
21849 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21850 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21851
af968f62
UD
21852 * config.make.in: Add have-mfma4 entry.
21853 * configure.in: Substitute libc_cv_cc_fma4.
21854 * math/Makefile (dbl-only-routines): Add sincostab.
21855 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21856 Use __sincostab not sincos.
21857 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21858 name is a macro.
21859 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21860 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21861 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21862 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21863 using __copysign.
21864 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21865 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21866 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21867 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21868 and __inv.
21869 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21870 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21871 __copysign.
21872 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21873 define aliases when function name is a macro.
21874 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21875 sysdeps/ieee754/dbl-64/sincos.tbl.
21876 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21877 fma4-enabled routines.
21878 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21879 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21880 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21881 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21882 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21883 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21884 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21885 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21886 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21887 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21888 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21889 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21890 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21891 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21892 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21893 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21894 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21895 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21896 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21897 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21898 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21899 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21900 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21901 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21902 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21903 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21904 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21905 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21906 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21907 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21908
58985aa9
UD
21909 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21910 rename.
21911 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21913 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21914 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21915 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21916 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21917 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21918 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21919
a201fbcf
AS
219202011-10-24 Andreas Schwab <schwab@redhat.com>
21921
21922 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21923
fc2ee42a
LD
219242011-10-23 Ulrich Drepper <drepper@gmail.com>
21925
bb3129bd
UD
21926 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21927
0275fff8
UD
21928 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21929 prediction.
21930 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21931
2fa2ae85
UD
21932 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21933 Remove unused variable magic_bits.
21934 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21935
fc2ee42a
LD
21936 * string/strnlen.c: Define and use STRNLEN macro.
21937 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21938 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21939 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21940 * wcsmbs/wcslen.c: Define and use WCSLEN.
21941 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21942 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21943 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21944 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21945 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21946 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21947 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21948
ce7dd29f
LD
219492011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21950
21951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21952 strnlen-sse2-no-bsf.
21953 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21954 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21955 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21956 Add strnlen support.
21957 (USE_AS_STRNLEN): New macro.
21958 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21959 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21960 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21961 * sysdeps/x86_64/wcslen.S: New file.
21962
979c70a3
MZ
219632011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21964
21965 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21966 XMM-moves are used for copying on small sizes.
21967
2d09f82f
LD
219682011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21969
21970 * wcsmbs/Makefile (strop-tests): Add wcschr.
21971 * wcsmbs/test-wcschr.c: New file.
21972 * string/test-strchr.c: Update.
21973 Add wcschr support.
21974 (WIDE): New macro.
21975
619fccca
LD
219762011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21977
2d09f82f 21978 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
21979 * wcsmbs/test-wcslen.c: New file.
21980 * string/test-strlen.c: Update.
21981 Add wcslen support.
21982 (WIDE): New macro.
21983
09f699ea
UD
219842011-10-23 Ulrich Drepper <drepper@gmail.com>
21985
21986 * po/it.po: Update from translation team.
21987
95584d3b
LD
219882011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21989
21990 * sysdeps/x86_64/wcscmp.S: Update.
21991 Fix wrong comparison semantics.
21992 wcscmp shall use signed comparison not unsigned.
21993 Don't use substraction to avoid overflow bug.
21994 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21995 * wcsmbc/wcscmp.c: Likewise.
21996 * string/test-strcmp.c: Likewise.
21997 Add new tests to check cases with negative values.
21998
c8b3296b
UD
219992011-10-23 Ulrich Drepper <drepper@gmail.com>
22000
22001 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22002 * sysdeps/x86_64/dla.h: ...here. New file.
22003 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22004 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22005 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22006 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22007 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22008 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22009 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22010 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22011 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22012
246ad57a
AS
220132011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22014
22015 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22016 __ynl_finite aliases.
22017
a1a87169
UD
220182011-10-22 Ulrich Drepper <drepper@gmail.com>
22019
0d355eb7
UD
22020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22021
a1a87169
UD
22022 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22023 define DLA_FMA.
22024 [DLA_FMA] (EMULV): Use DLA_FMA.
22025 [DLA_FMA] (MUL12): Use EMULV.
22026 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22027 that are not needed.
22028 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22029 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22030 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22031 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22032 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22033 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22034 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22035
ee2aafe0
AS
220362011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22037
22038 * math/s_nan.c: Undef __nan.
22039 * math/s_nanf.c: Undef __nanf.
22040 * math/s_nanl.c: Undef __nanl.
22041 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22042 "math_private.h".
22043
bc62c2fb
UD
220442011-10-22 Ulrich Drepper <drepper@gmail.com>
22045
77425c63
UD
22046 * math/s_catan.c: Add branch predictions.
22047 * math/s_catanf.c: Likewise.
22048 * math/s_catanh.c: Likewise.
22049 * math/s_catanhf.c: Likewise.
22050 * math/s_catanhl.c: Likewise.
22051 * math/s_catanl.c: Likewise.
22052 * math/s_cexp.c: Likewise.
22053 * math/s_cexpf.c: Likewise.
22054 * math/s_cexpl.c: Likewise.
22055 * math/s_clog.c: Likewise.
22056 * math/s_clog10.c: Likewise.
22057 * math/s_clog10f.c: Likewise.
22058 * math/s_clog10l.c: Likewise.
22059 * math/s_clogf.c: Likewise.
22060 * math/s_clogl.c: Likewise.
22061 * math/s_csqrt.c: Likewise.
22062 * math/s_csqrtf.c: Likewise.
22063 * math/s_csqrtl.c: Likewise.
22064 * math/s_ctanf.c: Likewise.
22065 * math/s_ctanh.c: Likewise.
22066 * math/s_ctanhf.c: Likewise.
22067 * math/s_ctanhl.c: Likewise.
22068 * math/s_ctanl.c: Likewise.
22069
bc62c2fb
UD
22070 * math/math_private.h: Define __nan, __nanf, __nanl.
22071 * math/s_cacosh.c: Include <math_private.h>.
22072 * math/s_cacoshl.c: Likewise.
22073 * math/s_casinh.c: Likewise.
22074 * math/s_casinhf.c: Likewise.
22075 * math/s_casinhl.c: Likewise.
22076 * math/s_ccos.c: Rely entire on ccosh.
22077 * math/s_ccosf.c: Rely entire on ccoshf.
22078 * math/s_ccosl.c: Rely entirely on ccoshl.
22079 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22080 Remove tests for FE_INVALID.
22081 * math/s_ccoshf.c: Likewise.
22082 * math/s_ccoshl.c: Likewise.
22083 * math/s_csin.c: Likewise.
22084 * math/s_csinf.c: Likewise.
22085 * math/s_csinh.c Likewise.
22086 * math/s_csinhf.c: Likewise.
22087 * math/s_csinhl.c: Likewise.
22088 * math/s_csinl.c: Likewise.
22089 * math/s_ctan.c: Likewise.
22090 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22091 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22092 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22093
8ec250a4
UD
220942011-10-21 Ulrich Drepper <drepper@gmail.com>
22095
c196fed8
UD
22096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22097 compilation problems.
22098
8ec250a4
UD
22099 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22100 __builtin_expect.
22101
8d4f46c6
UD
221022011-10-20 Ulrich Drepper <drepper@gmail.com>
22103
ed72b654
UD
22104 * sysdeps/i386/configure.in: Test for -mfma4 option.
22105 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22106 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22107 COMMON_CPUID_INDEX_80000001.
22108 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22109 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22110 use it if FMA3 is not supported.
22111 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22112
8d4f46c6
UD
22113 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22114 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22115
d45c60c2
AS
221162011-10-20 Andreas Schwab <schwab@redhat.com>
22117
22118 [BZ #12892]
22119 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22120 it would create a cycle with a link time dependency.
22121
d9a4d2ab
UD
221222011-10-19 Ulrich Drepper <drepper@gmail.com>
22123
855d1560
UD
22124 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22125 instruction.
22126 * string/Makefile (strop-tests): Add rawmemchr.
22127 * string/test-rawmemchr.c: New file.
22128
d9a4d2ab
UD
22129 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22130 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22131 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22132 when compiling str{,n}casecmp and when AVX is available. Hook up
22133 new optimized code in initializers.
22134
8f3b1ffe
AS
221352011-10-19 Andreas Schwab <schwab@redhat.com>
22136
22137 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22138 __feraiseexcept instead of feraiseexcept.
22139
d38f1dba
UD
221402011-10-18 Ulrich Drepper <drepper@gmail.com>
22141
d9a8d0ab
UD
22142 * math/math_private.h: Define defaults for libc_fetestexcept and
22143 libc_feupdateenv.
22144 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22145 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22146 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22147 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22148 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22149 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22150 libc_fetestexcept and libc_feupdateenv.
22151
4855e3dd
UD
22152 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22153 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22154 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22155 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22156 libc_feholdexcept_setround.
22157
581d30e3
UD
22158 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22159 Add s_nearbyint-c and s_nearbyintf-c.
22160 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22161 nearbyintf inlines.
22162 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22163 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22164 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22165 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22166
d38f1dba
UD
22167 * math/math_private.h: Define defaults for libc_fegetround,
22168 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22169 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22170 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22171 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22172 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22173 standard functions.
22174 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22175 Remove comments and hacks for old compiler versions.
22176 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22177 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22178 libc_feholdexceptl.
22179
caa6c9d8
AS
221802011-10-18 Andreas Schwab <schwab@redhat.com>
22181
22182 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22183 (__feraiseexcept_renamed): Add __NTH.
22184 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22185 namespace violations.
22186
97c066e6
UD
221872011-10-17 Ulrich Drepper <drepper@gmail.com>
22188
99ce7b04
UD
22189 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22190
1004d182
UD
22191 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22192
228a984d
UD
22193 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22194 recently added interfaces.
22195 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22196
c8553a6a
UD
22197 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22198 about macro parameter expansion.
22199
ed22dcf6
UD
22200 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22201 __NO_MATH_INLINES is defined. Cleanups.
22202
22203 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22204 and __floorf is target has SSE4.1.
22205 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22206 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22207 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22208 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22209
b171c137
UD
22210 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22211 name.
22212 (floorf): Likewise.
22213
97c066e6
UD
22214 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22215
629f62ef
AS
222162011-10-17 Andreas Schwab <schwab@redhat.com>
22217
49a43d80
AS
22218 * misc/sys/cdefs.h: Fix last change.
22219
629f62ef
AS
22220 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22221 database lookup.
22222
e453f6cd
UD
222232011-10-16 Ulrich Drepper <drepper@gmail.com>
22224
aa78043a
UD
22225 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22226
ad0f5cad
UD
22227 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22228 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22229 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22230 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22231 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22232 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22233 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22234 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22235 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22236 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22237 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22238 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22239 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22240 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22241 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22242 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22243 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22244 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22245 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22246 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22247 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22248 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22249
22250 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22251 ceil, ceilf, floor, floorf.
22252
22253 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22254 Perform IRELATIVE relocations last.
22255
e453f6cd
UD
22256 * elf/do-rel.h: Add another parameter nrelative, replacing the
22257 local variable with the same name. Change name of the function
22258 to end in Rel or Rela (uppercase).
22259 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22260 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22261 elf_dynamic_do_##reloc function.
22262
fd5bdc09
UD
222632011-10-15 Ulrich Drepper <drepper@gmail.com>
22264
79b195b5
UD
22265 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22266 is sufficient, at least on modern CPUs.
22267
d4a28569
UD
22268 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22269
b61099b5
UD
22270 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22271 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22272
bcf01e6d
UD
22273 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22274 __expl_finite.
22275 * math/bits/math-finite.h: Add entries for exp.
22276 * math/e_expl.c: Add __*_finite alias.
22277 * sysdeps/i386/fpu/e_exp.S: Likewise.
22278 * sysdeps/i386/fpu/e_expf.S: Likewise.
22279 * sysdeps/i386/fpu/e_expl.c: Likewise.
22280 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22281 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22282 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22283 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22284 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22285 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22286 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22287
ba1a0d59
UD
22288 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22289 is sufficient, at least on modern CPUs.
22290
fd5bdc09
UD
22291 * ctype/ctype-info.c (__ctype_init): Define.
22292 * include/ctype.h (__ctype_init): Declare.
22293 (__ctype_b_loc): The variable is always initialized.
22294 (__ctype_toupper_loc): Likewise.
22295 (__ctype_tolower_loc): Likewise.
22296 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22297 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22298
7872cfb0
AS
222992011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22300
b468825a
AS
22301 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22302
7872cfb0
AS
22303 * configure.in: Also look in $cxxmachine/include for C++ system
22304 headers.
22305
be13f7bf
LD
223062011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22307
22308 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22309 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22310 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22311 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22312 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22313 (USE_AS_WMEMCMP): New macro.
22314 Fixing indents.
22315 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22316 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22317 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22318 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22320 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22321 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22322 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22323 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22324 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22325 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22326 (USE_AS_WMEMCMP): New macro.
22327 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22328 * sysdeps/string/test-memcmp.c: Update.
22329 Fix simple_wmemcmp.
22330 Add new tests.
22331 * wcsmbs/wmemcmp.c: Update.
22332 (WMEMCMP): New macro.
22333 Fix overflow bug.
22334
556a2007
AJ
223352011-10-12 Andreas Jaeger <aj@suse.de>
22336
22337 [BZ #13268]
22338 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22339
538faaa7
UD
223402011-10-15 Ulrich Drepper <drepper@gmail.com>
22341
ab6737ff
UD
22342 * libio/iofwide.c (do_length): Avoid warning.
22343
538faaa7
UD
22344 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22345
396a21b1
UD
223462011-10-14 Ulrich Drepper <drepper@gmail.com>
22347
cdf2901f
UD
22348 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22349
38ad40ce
UD
22350 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22351 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22352 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22353 * sysdeps/i386/i686/fpu/e_log.S: New file.
22354 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22355 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22356
396a21b1
UD
22357 * ctype/ctype.h: Add support for inlined isXXX functions when
22358 compiling C++ code.
22359
6b1f68c9
AS
223602011-10-14 Andreas Schwab <schwab@redhat.com>
22361
349290c0
AS
22362 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22363
6b1f68c9
AS
22364 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22365
f2282d42
RM
223662011-10-13 Roland McGrath <roland@hack.frob.com>
22367
22368 [BZ #13291]
22369 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22370
5298ffa8
AS
223712011-10-13 Andreas Schwab <schwab@redhat.com>
22372
714fad23
AS
22373 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22374 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22375 feraiseexcept.
22376
81dcc7fb
AS
22377 * sysdeps/x86_64/memrchr.S: Check for zero size.
22378
5298ffa8
AS
22379 * string/stratcliff.c: Add memrchr tests.
22380
951fbcec
LD
223812011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22382
22383 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22384 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22385 rawmemchr-sse2 rawmemchr-sse2-bsf.
22386 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22387 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22388 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22389 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22390 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22391 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22392 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22393 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22394 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22395 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22396 * string/memrchr.c (MEMRCHR): New macro.
22397
0ac5ae23
UD
223982011-10-12 Ulrich Drepper <drepper@gmail.com>
22399
22400 Add integration with gcc's -ffinite-math-only and optimize wrapper
22401 functions in libm.
22402 * Versions.def: Define GLIBC_2.15 version for libm.
22403 * math/Makefile (headers): Add bits/math-finite.h.
22404 * math/bits/math-finite.h: New file.
22405 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22406 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22407 * math/e_acoshl.c: Add __*_finite alias.
22408 * math/e_acosl.c: Likewise.
22409 * math/e_asinl.c: Likewise.
22410 * math/e_atan2l.c: Likewise.
22411 * math/e_atanhl.c: Likewise.
22412 * math/e_coshl.c: Likewise.
22413 * math/e_exp10.c: Likewise.
22414 * math/e_exp10f.c: Likewise.
22415 * math/e_exp10l.c: Likewise.
22416 * math/e_exp2l.c: Likewise.
22417 * math/e_fmodl.c: Likewise.
22418 * math/e_gammal_r.c: Likewise.
22419 * math/e_hypotl.c: Likewise.
22420 * math/e_j0l.c: Likewise.
22421 * math/e_j1l.c: Likewise.
22422 * math/e_jnl.c: Likewise.
22423 * math/e_lgammal_r.c: Likewise.
22424 * math/e_log10l.c: Likewise.
22425 * math/e_log2l.c: Likewise.
22426 * math/e_logl.c: Likewise.
22427 * math/e_powl.c: Likewise.
22428 * math/e_sinhl.c: Likewise.
22429 * math/e_sqrtl.c: Likewise.
22430 * math/e_scalb.c: Completely rewritten and optimized.
22431 * math/e_scalbf.c: Likewise.
22432 * math/e_scalbl.c: Likewise.
22433 * math/w_acos.c: Likewise.
22434 * math/w_acosf.c: Likewise.
22435 * math/w_acosl.c: Likewise.
22436 * math/w_acosh.c: Likewise.
22437 * math/w_acoshf.c: Likewise.
22438 * math/w_acoshl.c: Likewise.
22439 * math/w_asin.c: Likewise.
22440 * math/w_asinf.c: Likewise.
22441 * math/w_asinl.c: Likewise.
22442 * math/w_atan2.c: Likewise.
22443 * math/w_atan2f.c: Likewise.
22444 * math/w_atan2l.c: Likewise.
22445 * math/w_atanh.c: Likewise.
22446 * math/w_atanhf.c: Likewise.
22447 * math/w_atanhl.c: Likewise.
22448 * math/w_exp10.c: Likewise.
22449 * math/w_exp10f.c: Likewise.
22450 * math/w_exp10l.c: Likewise.
22451 * math/w_fmod.c: Likewise.
22452 * math/w_fmodf.c: Likewise.
22453 * math/w_fmodl.c: Likewise.
22454 * math/w_j0.c: Likewise.
22455 * math/w_j0f.c: Likewise.
22456 * math/w_j0l.c: Likewise.
22457 * math/w_j1.c: Likewise.
22458 * math/w_j1f.c: Likewise.
22459 * math/w_j1l.c: Likewise.
22460 * math/w_jn.c: Likewise.
22461 * math/w_jnf.c: Likewise.
22462 * math/w_log.c: Likewise.
22463 * math/w_logf.c: Likewise.
22464 * math/w_logl.c: Likewise.
22465 * math/w_log10.c: Likewise.
22466 * math/w_log10f.c: Likewise.
22467 * math/w_log10l.c: Likewise.
22468 * math/w_log2.c: Likewise.
22469 * math/w_log2f.c: Likewise.
22470 * math/w_log2l.c: Likewise.
22471 * math/w_pow.c: Likewise.
22472 * math/w_powf.c: Likewise.
22473 * math/w_powl.c: Likewise.
22474 * math/w_remainder.c: Likewise.
22475 * math/w_remainderf.c: Likewise.
22476 * math/w_remainderl.c: Likewise.
22477 * math/w_scalb.c: Likewise.
22478 * math/w_scalbf.c: Likewise.
22479 * math/w_scalbl.c: Likewise.
22480 * math/w_sqrt.c: Likewise.
22481 * math/w_sqrtf.c: Likewise.
22482 * math/w_sqrtl.c: Likewise.
22483 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22484 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22485 used.
22486 * math/math_private.h: Declare __kernel_standard_f.
22487 * math/w_cosh.c: Remove cruft and optimize a bit.
22488 * math/w_coshf.c: Likewise.
22489 * math/w_coshl.c: Likewise.
22490 * math/w_exp2.c: Likewise.
22491 * math/w_exp2f.c: Likewise.
22492 * math/w_exp2l.c: Likewise.
22493 * math/w_hypot.c: Likewise.
22494 * math/w_hypotf.c: Likewise.
22495 * math/w_hypotl.c: Likewise.
22496 * math/w_lgamma.c: Likewise.
22497 * math/w_lgamma_r.c: Likewise.
22498 * math/w_lgammaf.c: Likewise.
22499 * math/w_lgammaf_r.c: Likewise.
22500 * math/w_lgammal.c: Likewise.
22501 * math/w_lgammal_r.c: Likewise.
22502 * math/w_sinh.c: Likewise.
22503 * math/w_sinhf.c: Likewise.
22504 * math/w_sinhl.c: Likewise.
22505 * math/w_tgamma.c: Likewise.
22506 * math/w_tgammaf.c: Likewise.
22507 * math/w_tgammal.c: Likewise.
22508 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22509 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22510 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22511 Minor optimizations. Pretty printing. Remove cruft.
22512 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22513 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22514 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22515 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22516 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22517 * sysdeps/i386/fpu/e_asin.S: Likewise.
22518 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22519 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22520 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22521 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22522 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22523 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22524 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22525 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22526 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22527 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22528 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22529 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22530 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22531 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22532 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22533 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22534 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22535 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22536 * sysdeps/i386/fpu/e_log.S: Likewise.
22537 * sysdeps/i386/fpu/e_log10.S: Likewise.
22538 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22539 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22540 * sysdeps/i386/fpu/e_log2.S: Likewise.
22541 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22542 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22543 * sysdeps/i386/fpu/e_logf.S: Likewise.
22544 * sysdeps/i386/fpu/e_logl.S: Likewise.
22545 * sysdeps/i386/fpu/e_pow.S: Likewise.
22546 * sysdeps/i386/fpu/e_powf.S: Likewise.
22547 * sysdeps/i386/fpu/e_powl.S: Likewise.
22548 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22549 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22550 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22551 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22552 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22553 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22554 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22555 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22556 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22557 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22558 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22559 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22560 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22561 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22562 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22563 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22564 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22565 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22566 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22567 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22568 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22569 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22570 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22571 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22572 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22573 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22574 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22575 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22576 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22577 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22578 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22579 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22580 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22581 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22582 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22583 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22584 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22585 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22586 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22587 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22588 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22589 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22590 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22591 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22592 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22593 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22594 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22595 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22596 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22597 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22598 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22599 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22600 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22601 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22602 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22603 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22604 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22605 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22606 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22607 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22608 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22609 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22610 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22611 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22612 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22613 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22614 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22615 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22616 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22617 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22618 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22619 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22621 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22622 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22623 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22624 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22625 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22626 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22627 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22628 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22629 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22630 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22631 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22632 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22633 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22634 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22635 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22636 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22637 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22638 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22639 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22640 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22641 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22642 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22643 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22644 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22645 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22646 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22647 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22648 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22649 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22650 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22651 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22652 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22653 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22654 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22655 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22656 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22657 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22658 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22659 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22660 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22661 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22662 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22663 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22664 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22665 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22666 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22667 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22668 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22669 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22670 (__isnanf): Likewise.
22671 (__isinf_ns): Likewise.
22672 (__isinf_nsf): Likewise.
22673 (__finite): Likewise.
22674 (__finitef): Likewise.
22675 (__ieee754_sqrt): Define as macro.
22676 (__ieee754_sqrtf): Define as macro.
22677 (__ieee754_sqrtl): Define as macro.
22678 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22679 inlined copy.
22680 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22681 __FINITE_MATH_ONLY__ consistent.
22682 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22683
12cc2fcd
AS
226842011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22685
a843a204
AS
22686 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22687 of rawmemchr.
22688
12cc2fcd
AS
22689 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22690
c853acd5
UD
226912011-10-09 Ulrich Drepper <drepper@gmail.com>
22692
22693 * po/ja.po: Update from translation team.
22694
c658d255
RM
226952011-10-08 Roland McGrath <roland@hack.frob.com>
22696
110946e4
RM
22697 * locale/programs/locarchive.c (prepare_address_space): New function.
22698 (create_archive, enlarge_archive, open_archive): Use it.
22699
50604220
RM
22700 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22701 inside [SHARED], where it is used.
22702
c658d255
RM
22703 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22704
22705 * nss/getent.c (netgroup_keys): Remove unused variable.
22706 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22707
6a621eb7
UD
227082011-10-08 Ulrich Drepper <drepper@gmail.com>
22709
7edb55ce
UD
22710 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22711 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22712 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22713 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22714 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22715 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22716 * math/Makefile (libm-calls): Add s_isinf_ns.
22717 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22718 * math/multc3.c: Likewise.
22719 * math/s_casin.c: Likewise.
22720 * math/s_casinf.c: Likewise.
22721 * math/s_casinl.c: Likewise.
22722 * math/s_ccos.c: Likewise.
22723 * math/s_ccosf.c: Likewise.
22724 * math/s_ccosl.c: Likewise.
22725 * math/s_ctan.c: Likewise.
22726 * math/s_ctanf.c: Likewise.
22727 * math/s_ctanh.c: Likewise.
22728 * math/s_ctanhf.c: Likewise.
22729 * math/s_ctanhl.c: Likewise.
22730 * math/s_ctanl.c: Likewise.
22731 * math/w_fmod.c: Likewise.
22732 * math/w_fmodf.c: Likewise.
22733 * math/w_fmodl.c: Likewise.
22734 * math/w_remainder.c: Likewise.
22735 * math/w_remainderf.c: Likewise.
22736 * math/w_remainderl.c: Likewise.
22737 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22738 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22739 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22740 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22741 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22742 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22743 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22744 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22745
187da0ae
UD
22746 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22747 of the number.
22748 * stdio-common/printf_fphex.c: Likewise.
22749 * stdio-common/printf_size.c: Likewise.
22750
9277c064
UD
22751 * math/e_exp10.c: Include math_private.h using <...> not "...".
22752 * math/e_exp10f.c: Likewise.
22753 * math/e_exp10l.c: Likewise.
22754 * math/e_exp2l.c: Likewise.
22755 * math/e_j0l.c: Likewise.
22756 * math/e_j1l.c: Likewise.
22757 * math/e_jnl.c: Likewise.
22758 * math/e_lgammal_r.c: Likewise.
22759 * math/e_rem_pio2l.c: Likewise.
22760 * math/e_scalb.c: Likewise.
22761 * math/e_scalbf.c: Likewise.
22762 * math/e_scalbl.c: Likewise.
22763 * math/k_cosl.c: Likewise.
22764 * math/k_sinl.c: Likewise.
22765 * math/k_tanl.c: Likewise.
22766 * math/s_cacoshf.c: Likewise.
22767 * math/s_catan.c: Likewise.
22768 * math/s_catanf.c: Likewise.
22769 * math/s_catanh.c: Likewise.
22770 * math/s_catanhf.c: Likewise.
22771 * math/s_catanhl.c: Likewise.
22772 * math/s_catanl.c: Likewise.
22773 * math/s_ccosh.c: Likewise.
22774 * math/s_ccoshf.c: Likewise.
22775 * math/s_ccoshl.c: Likewise.
22776 * math/s_cexp.c: Likewise.
22777 * math/s_cexpf.c: Likewise.
22778 * math/s_cexpl.c: Likewise.
22779 * math/s_clog.c: Likewise.
22780 * math/s_clog10.c: Likewise.
22781 * math/s_clog10f.c: Likewise.
22782 * math/s_clog10l.c: Likewise.
22783 * math/s_clogf.c: Likewise.
22784 * math/s_clogl.c: Likewise.
22785 * math/s_csin.c: Likewise.
22786 * math/s_csinf.c: Likewise.
22787 * math/s_csinh.c: Likewise.
22788 * math/s_csinhf.c: Likewise.
22789 * math/s_csinhl.c: Likewise.
22790 * math/s_csinl.c: Likewise.
22791 * math/s_csqrt.c: Likewise.
22792 * math/s_csqrtf.c: Likewise.
22793 * math/s_csqrtl.c: Likewise.
22794 * math/s_ctan.c: Likewise.
22795 * math/s_ctanf.c: Likewise.
22796 * math/s_ctanh.c: Likewise.
22797 * math/s_ctanhf.c: Likewise.
22798 * math/s_ctanhl.c: Likewise.
22799 * math/s_ctanl.c: Likewise.
22800 * math/s_ldexp.c: Likewise.
22801 * math/s_ldexpf.c: Likewise.
22802 * math/s_ldexpl.c: Likewise.
22803 * math/s_significand.c: Likewise.
22804 * math/s_significandf.c: Likewise.
22805 * math/s_significandl.c: Likewise.
22806 * math/w_acos.c: Likewise.
22807 * math/w_acosf.c: Likewise.
22808 * math/w_acosh.c: Likewise.
22809 * math/w_acoshf.c: Likewise.
22810 * math/w_acoshl.c: Likewise.
22811 * math/w_acosl.c: Likewise.
22812 * math/w_asin.c: Likewise.
22813 * math/w_asinf.c: Likewise.
22814 * math/w_asinl.c: Likewise.
22815 * math/w_atan2.c: Likewise.
22816 * math/w_atan2f.c: Likewise.
22817 * math/w_atan2l.c: Likewise.
22818 * math/w_atanh.c: Likewise.
22819 * math/w_atanhf.c: Likewise.
22820 * math/w_atanhl.c: Likewise.
22821 * math/w_cosh.c: Likewise.
22822 * math/w_coshf.c: Likewise.
22823 * math/w_coshl.c: Likewise.
22824 * math/w_dremf.c: Likewise.
22825 * math/w_exp10.c: Likewise.
22826 * math/w_exp10f.c: Likewise.
22827 * math/w_exp10l.c: Likewise.
22828 * math/w_exp2.c: Likewise.
22829 * math/w_exp2f.c: Likewise.
22830 * math/w_fmod.c: Likewise.
22831 * math/w_fmodf.c: Likewise.
22832 * math/w_fmodl.c: Likewise.
22833 * math/w_hypot.c: Likewise.
22834 * math/w_hypotf.c: Likewise.
22835 * math/w_hypotl.c: Likewise.
22836 * math/w_j0.c: Likewise.
22837 * math/w_j0f.c: Likewise.
22838 * math/w_j0l.c: Likewise.
22839 * math/w_j1.c: Likewise.
22840 * math/w_j1f.c: Likewise.
22841 * math/w_j1l.c: Likewise.
22842 * math/w_jn.c: Likewise.
22843 * math/w_jnf.c: Likewise.
22844 * math/w_jnl.c: Likewise.
22845 * math/w_lgamma.c: Likewise.
22846 * math/w_lgamma_r.c: Likewise.
22847 * math/w_lgammaf.c: Likewise.
22848 * math/w_lgammaf_r.c: Likewise.
22849 * math/w_lgammal.c: Likewise.
22850 * math/w_lgammal_r.c: Likewise.
22851 * math/w_log.c: Likewise.
22852 * math/w_log10.c: Likewise.
22853 * math/w_log10f.c: Likewise.
22854 * math/w_log10l.c: Likewise.
22855 * math/w_log2.c: Likewise.
22856 * math/w_log2f.c: Likewise.
22857 * math/w_log2l.c: Likewise.
22858 * math/w_logf.c: Likewise.
22859 * math/w_logl.c: Likewise.
22860 * math/w_pow.c: Likewise.
22861 * math/w_powf.c: Likewise.
22862 * math/w_powl.c: Likewise.
22863 * math/w_remainder.c: Likewise.
22864 * math/w_remainderf.c: Likewise.
22865 * math/w_remainderl.c: Likewise.
22866 * math/w_scalb.c: Likewise.
22867 * math/w_scalbf.c: Likewise.
22868 * math/w_scalbl.c: Likewise.
22869 * math/w_sinh.c: Likewise.
22870 * math/w_sinhf.c: Likewise.
22871 * math/w_sinhl.c: Likewise.
22872 * math/w_sqrt.c: Likewise.
22873 * math/w_sqrtf.c: Likewise.
22874 * math/w_sqrtl.c: Likewise.
22875 * math/w_tgamma.c: Likewise.
22876 * math/w_tgammaf.c: Likewise.
22877 * math/w_tgammal.c: Likewise.
22878
6a621eb7
UD
22879 * po/ja.po: Update from translation team.
22880
bf582445
AJ
228812011-09-29 Andreas Jaeger <aj@suse.de>
22882
f9efbf3a
AJ
22883 [BZ #13179]
22884 * sunrpc/netname.c (netname2host): Fix logic.
22885
bf582445
AJ
22886 [BZ #6779]
22887 [BZ #6783]
22888 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22889 correctly.
22890 * math/w_remainder.c (__remainder): Likewise.
22891 * math/w_remainderf.c (__remainderf): Likewise.
22892 * math/libm-test.inc (remainder_test): Add test cases.
22893
48693bea
AK
228942011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22895
22896 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22897 sdiv_qrnnd.
22898
42622229
LD
228992011-10-07 Ulrich Drepper <drepper@gmail.com>
22900
22901 * string/test-memcmp.c: Avoid unncessary #defines.
22902 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22903
093ecf92
LD
229042011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22905
22906 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22907 Use new sse2 version for core i3 - i7 as it's faster
22908 than sse42 version.
22909 (bit_Prefer_PMINUB_for_stringop): New.
22910 * sysdeps/x86_64/rawmemchr.S: Update.
22911 Replace with faster SSE2 version.
22912 * sysdeps/x86_64/memrchr.S: New file.
22913 * sysdeps/x86_64/memchr.S: Update.
22914 Replace with faster SSE2 version.
22915
fde56e5c
MP
229162011-09-12 Marek Polacek <mpolacek@redhat.com>
22917
22918 * elf/dl-load.c (lose): Add cast to avoid warning.
22919
21fd49a9
UD
229202011-10-07 Ulrich Drepper <drepper@gmail.com>
22921
5a06e643
UD
22922 * po/ca.po: Update from translation team.
22923
684ae515
UD
22924 * inet/getnetgrent_r.c: Hook up nscd.
22925 * nscd/Makefile (routines): Add nscd_netgroup.
22926 (nscd-modules): Add netgroupcache.
22927 (CFLAGS-netgroupcache.c): Define.
22928 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22929 (cache_search): Add const to second parameter.
22930 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22931 INNETGR.
22932 (dbs): Add netgrdb entry.
22933 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22934 (verify_persistent_db): Handle netgrdb.
22935 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22936 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22937 GETFDNETGR.
22938 (netgroup_response_header): Define.
22939 (innetgroup_response_header): Define.
22940 (datahead): Add netgroup_response_header and innetgroup_response_header
22941 elements.
22942 * nscd/nscd.conf: Add entries for netgroup cache.
22943 * nscd/nscd.h (dbtype): Add netgrdb.
22944 (_PATH_NSCD_NETGROUP_DB): Define.
22945 (netgroup_iov_disabled): Declare.
22946 (xmalloc, xcalloc, xrealloc): Move declarations here.
22947 (cache_search): Adjust prototype.
22948 Add netgroup-related prototypes.
22949 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22950 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22951 (__nscd_innetgr): Declare.
22952 * nscd/selinux.c (perms): Use access_vector_t as element type and
22953 add netgroup-related initializers.
22954 * nscd/netgroupcache.c: New file.
22955 * nscd/nscd_netgroup.c: New file.
22956 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22957 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22958 For four parameters use innetgr.
22959 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22960 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22961 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22962 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22963
21fd49a9
UD
22964 * nscd/connections.c (register_traced_file): Don't register file
22965 for disabled databases.
22966
054c0457
UD
229672011-10-06 Ulrich Drepper <drepper@gmail.com>
22968
32b63198
UD
22969 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22970
054c0457
UD
22971 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22972 from tree and freeing node.
22973
64031225
JO
229742011-09-25 Jiri Olsa <jolsa@redhat.com>
22975
22976 * nss/nsswitch.c (__nss_database_lookup): Handle
22977 nss_parse_service_list out of memory case.
22978
0490345c
JO
229792011-09-15 Jiri Olsa <jolsa@redhat.com>
22980
22981 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22982 out of memory case.
22983
3a62d00d
AS
229842011-10-04 Andreas Schwab <schwab@redhat.com>
22985
22986 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22987 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22988 pass it down.
22989 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22990 elf_machine_rela, elf_machine_lazy_rel.
22991 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22992 (ELF_DYNAMIC_DO_REL): Likewise.
22993 (ELF_DYNAMIC_DO_RELA): Likewise.
22994 (ELF_DYNAMIC_RELOCATE): Likewise.
22995 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22996 to ELF_DYNAMIC_DO_REL.
22997 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22998 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22999 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23000 elf_machine_rela.
23001 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23002 skip_ifunc, don't call ifunc function if non-zero.
23003 (elf_machine_rela): Likewise.
23004 (elf_machine_lazy_rel): Likewise.
23005 (elf_machine_lazy_rela): Likewise.
23006 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23007 (elf_machine_lazy_rel): Likewise.
23008 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23009 Likewise.
23010 (elf_machine_lazy_rel): Likewise.
23011 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23012 Likewise.
23013 (elf_machine_lazy_rel): Likewise.
23014 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23015 (elf_machine_lazy_rel): Likewise.
23016 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23017 (elf_machine_lazy_rel): Likewise.
23018 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23019 (elf_machine_lazy_rel): Likewise.
23020 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23021 (elf_machine_lazy_rel): Likewise.
23022 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23023 (elf_machine_lazy_rel): Likewise.
23024 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23025 (elf_machine_lazy_rel): Likewise.
23026
68577918
UD
230272011-09-28 Ulrich Drepper <drepper@gmail.com>
23028
23029 * nss/nss_files/files-init.c (_nss_files_init): Use static
23030 initialization for all the *_traced_file variables.
23031
68822d74
AS
230322011-09-28 Andreas Schwab <schwab@redhat.com>
23033
23034 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23035
2056100b
RM
230362011-09-27 Roland McGrath <roland@hack.frob.com>
23037
23038 [BZ #13226]
23039 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23040
32c76b63
AS
230412011-09-27 Andreas Schwab <schwab@redhat.com>
23042
23043 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23044 Reread the line before reparsing it.
23045
bf972c9d
AS
230462011-09-26 Andreas Schwab <schwab@redhat.com>
23047
23048 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23049
e057a1b5
JM
230502011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23051 Maxim Kuvyrkov <maxim@codesourcery.com>
23052 Joseph Myers <joseph@codesourcery.com>
23053
23054 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23055 if needed for __stack_chk_guard.
23056
bc7e1c36
RM
230572011-09-19 Roland McGrath <roland@hack.frob.com>
23058
ecb1482f
RM
23059 * sysdeps/posix/spawni.c (script_execute): Always define it.
23060 It will be optimized away if unused.
23061 (maybe_script_execute): New function.
23062 (__spawni): Call it.
23063
bc7e1c36
RM
23064 * Makerules: Don't include tls.make.
23065 (config-tls): Always set to thread.
23066 * tls.make.c: File removed.
23067
1c3b002b
MF
230682011-09-19 Mike Frysinger <vapier@gentoo.org>
23069
23070 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23071 * config.make.in (CPPFLAGS-config): New substituted variable.
23072
2840865d
UD
230732011-09-15 Ulrich Drepper <drepper@gmail.com>
23074
88738eb6
UD
23075 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23076
cbf645a6 23077 [BZ #13192]
2840865d
UD
23078 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23079 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23080
b402e91a
RM
230812011-09-15 Roland McGrath <roland@hack.frob.com>
23082
23083 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23084 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23085 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23086 (CALL_FAIL): Likewise.
23087 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23088 (CALL_FAIL): Macro removed.
23089 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23090
4c1a1f71
UD
230912011-09-15 Ulrich Drepper <drepper@gmail.com>
23092
23093 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23094 for __FINITE_MATH_ONLY__ == 1.
23095
edc121be
AS
230962011-09-15 Andreas Schwab <schwab@redhat.com>
23097
23098 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23099 __ieee754_sqrt instead of sqrt.
23100 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23101 __ieee754_sqrtf instead of sqrtf.
23102 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23103 __floorf instead of floorf.
23104 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23105 __floorf, __truncf instead of floorf, truncf.
23106
cd205654
UD
231072011-09-14 Ulrich Drepper <drepper@gmail.com>
23108
ee4d0315
UD
23109 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23110
cd205654
UD
23111 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23112 __extern_always_inline.
23113 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23114 32-bit.
23115
48b67d71
AS
231162011-09-14 Andreas Schwab <schwab@redhat.com>
23117
23118 * elf/rtld.c (dl_main): Also relocate in dependency order when
23119 doing symbol dependency testing.
23120
1ae12c75
AS
231212011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23122
23123 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23124 Always define `refsym'.
23125
995a80df
AS
231262011-09-13 Andreas Schwab <schwab@redhat.com>
23127
e529793b
AS
23128 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23129 (__FD_ELT): Renamed from __FDELT.
23130 * misc/bits/select2.h (__FD_ELT): Likewise.
23131 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23132 __FD_MASK instead of __FDELT, __FDMASK.
23133 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23134 Likewise.
23135 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23136 Likewise.
23137
52d4fef8
AS
23138 * elf/Makefile (gen-ldd): Fix pattern.
23139
995a80df
AS
23140 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23141 (init_tls): Likewise.
23142
8682f8b0
UD
231432011-09-12 Ulrich Drepper <drepper@gmail.com>
23144
23145 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23146
de82006d
AS
231472011-09-12 Andreas Schwab <schwab@redhat.com>
23148
a7c8e6a1
AS
23149 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23150 `struct cmsghdr *' instead of `void *'.
23151 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23152 Likewise.
23153
0f31fe77
AS
231542011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23155
23156 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23157 if non-absolute.
23158 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23159 ldd_rewrite_script.
0f31fe77 23160
32b4c839
UD
231612011-09-11 Ulrich Drepper <drepper@gmail.com>
23162
83cd1420
UD
23163 * configure.in: Remove --with-tls option.
23164 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23165 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23166 out in case it is missing.
23167 * sysdeps/ia64/elf/configure.in: Likewise.
23168 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23169 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23170 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23171 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23172 * sysdeps/sh/elf/configure.in: Likewise.
23173 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23174 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23175 * sysdeps/x86_64/elf/configure.in: Likewise.
23176 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23177 * sysdeps/mach/hurd/tls.h: Likewise.
23178
633f745d
UD
23179 [BZ #13067]
23180 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23181
f318beb8
UD
23182 [BZ #13090]
23183 * configure.in: Fix use of AC_INIT.
23184
32b4c839
UD
23185 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23186
3ce1f295
UD
231872011-09-10 Ulrich Drepper <drepper@gmail.com>
23188
bb016596
UD
23189 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23190 __set_errno.
8e58439c
UD
23191 * malloc/hooks.c: Likewise.
23192
aebae053 23193 [BZ #11929]
02d46fc4
UD
23194 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23195 variables statically.
23196 (narenas): Initialize.
23197 (list_lock): Initialize.
bb016596
UD
23198 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23199 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23200 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23201 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23202 Add initializers to main_arena and mp_.
23203 (malloc_state): Remove pagesize member. Change all users to use
23204 GLRO(dl_pagesize).
23205
23206 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23207 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23208 is always initialized.
23209
22a89187
UD
23210 * malloc/malloc.c: Removed unused configurations and dead code.
23211 * malloc/arena.c: Likewise.
23212 * malloc/hooks.c: Likewise.
02d46fc4 23213 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23214
d063d164
UD
23215 * include/tls.h: Removed. USE___THREAD must always be defined.
23216 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23217 * elf/dl-libc.c: Likewise.
23218 * elf/dl-tsd.c: Likewise.
23219 * include/errno.h: Likewise.
23220 * include/netdb.h: Likewise.
23221 * include/resolv.h: Likewise.
23222 * inet/herrno-loc.c: Likewise.
23223 * inet/herrno.c: Likewise.
23224 * malloc/arena.c: Likewise.
23225 * malloc/hooks.c: Likewise.
23226 * malloc/malloc.c: Likewise.
23227 * resolv/res-state.c: Likewise.
23228 * resolv/res_libc.c: Likewise.
23229 * sysdeps/i386/dl-machine.h: Likewise.
23230 * sysdeps/ia64/dl-machine.h: Likewise.
23231 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23232 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23233 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23234 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23235 * sysdeps/sh/dl-machine.h: Likewise.
23236 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23237 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23238 * sysdeps/unix/i386/sysdep.S: Likewise.
23239 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23240 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23241 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23242 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23243 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23244 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23245 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23246 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23247 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23249 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23250 * sysdeps/x86_64/dl-machine.h: Likewise.
23251 * tls.make.c: Likewise.
23252
3ce1f295
UD
23253 * configure.in: Remove --with-__thread option. Make tests for
23254 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23255 tls_model attribute fail if no support is available. Remove
23256 USE_IN_LIBIO.
23257 * Makeconfig: Adjust for dropped configure option. All features are
23258 now mandatory.
23259 * Makerules: Likewise.
23260 * Versions.def: Likewise.
23261 * argp/argp-fmtstream.c: Likewise.
23262 * argp/argp-fmtstream.h: Likewise.
23263 * argp/argp-help.c: Likewise.
23264 * assert/assert.c: Likewise.
23265 * config.h.in: Likewise.
23266 * config.make.in: Likewise.
23267 * configure: Likewise.
23268 * configure.in: Likewise.
23269 * csu/Versions: Likewise.
23270 * csu/init.c: Likewise.
23271 * elf/tst-audit2.c: Likewise.
23272 * elf/tst-tls10.c: Likewise.
23273 * elf/tst-tls10.h: Likewise.
23274 * elf/tst-tls11.c: Likewise.
23275 * elf/tst-tls12.c: Likewise.
23276 * elf/tst-tls14.c: Likewise.
23277 * elf/tst-tlsmod11.c: Likewise.
23278 * elf/tst-tlsmod12.c: Likewise.
23279 * elf/tst-tlsmod13.c: Likewise.
23280 * elf/tst-tlsmod13a.c: Likewise.
23281 * elf/tst-tlsmod14a.c: Likewise.
23282 * elf/tst-tlsmod15b.c: Likewise.
23283 * elf/tst-tlsmod16a.c: Likewise.
23284 * elf/tst-tlsmod16b.c: Likewise.
23285 * elf/tst-tlsmod7.c: Likewise.
23286 * elf/tst-tlsmod8.c: Likewise.
23287 * elf/tst-tlsmod9.c: Likewise.
23288 * gmon/gmon.c: Likewise.
23289 * grp/fgetgrent_r.c: Likewise.
23290 * grp/putgrent.c: Likewise.
23291 * hurd/fopenport.c: Likewise.
23292 * include/libc-symbols.h: Likewise.
23293 * include/tls.h: Likewise.
23294 * intl/gettextP.h: Likewise.
23295 * intl/loadinfo.h: Likewise.
23296 * locale/global-locale.c: Likewise.
23297 * locale/localeinfo.h: Likewise.
23298 * mach/devstream.c: Likewise.
23299 * malloc/arena.c: Likewise.
23300 * malloc/set-freeres.c: Likewise.
23301 * misc/err.c: Likewise.
23302 * misc/getttyent.c: Likewise.
23303 * misc/mntent_r.c: Likewise.
23304 * posix/getopt.c: Likewise.
23305 * posix/wordexp.c: Likewise.
23306 * pwd/fgetpwent_r.c: Likewise.
23307 * resolv/Versions: Likewise.
23308 * resolv/res_hconf.c: Likewise.
23309 * shadow/fgetspent_r.c: Likewise.
23310 * shadow/putspent.c: Likewise.
23311 * stdio-common/printf_fphex.c: Likewise.
23312 * stdio-common/tmpfile.c: Likewise.
23313 * stdlib/abort.c: Likewise.
23314 * stdlib/fmtmsg.c: Likewise.
23315 * sunrpc/auth_unix.c: Likewise.
23316 * sunrpc/clnt_perr.c: Likewise.
23317 * sunrpc/clnt_tcp.c: Likewise.
23318 * sunrpc/clnt_udp.c: Likewise.
23319 * sunrpc/clnt_unix.c: Likewise.
23320 * sunrpc/openchild.c: Likewise.
23321 * sunrpc/svc_simple.c: Likewise.
23322 * sunrpc/svc_tcp.c: Likewise.
23323 * sunrpc/svc_udp.c: Likewise.
23324 * sunrpc/svc_unix.c: Likewise.
23325 * sunrpc/xdr.c: Likewise.
23326 * sunrpc/xdr_array.c: Likewise.
23327 * sunrpc/xdr_rec.c: Likewise.
23328 * sunrpc/xdr_ref.c: Likewise.
23329 * sunrpc/xdr_stdio.c: Likewise.
23330
1248c1c4
PB
233312011-09-09 Ulrich Drepper <drepper@gmail.com>
23332
23333 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23334
233352011-07-03 Andreas Jaeger <aj@suse.de>
23336
23337 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23338 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23339 regenerate with gen-libm-tests.pl.
23340
233412010-05-12 Petr Baudis <pasky@suse.cz>
23342
23343 [BZ #11589]
23344 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23345 around j0() zero points by switching to j1().
23346 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23347 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23348 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23349 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23350
f22e1074
UD
233512011-09-09 Ulrich Drepper <drepper@gmail.com>
23352
f19009c1
UD
23353 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23354 instead of 0.
23355 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23356 instead of 0.
f19009c1
UD
23357 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23358 Patch in part by Pavel Roskin <proski@gnu.org>.
23359
3f8cc204
UD
23360 [BZ #13138]
23361 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23362 realloc.
23363 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23364 Free memory block if necessary.
23365
f22e1074
UD
23366 [BZ #12847]
23367 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23368 be NULL. Don't lock in this case.
23369
0a2349f9
RM
233702011-09-09 Roland McGrath <roland@hack.frob.com>
23371
23372 * elf/elf.h (ELFOSABI_GNU): New macro.
23373 (ELFOSABI_LINUX): Define to that.
23374
f3cdd467
DZ
233752011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23376
23377 * string/strncat.c (strncat): Undef the symbol in case it has been
23378 defined in bits/string.h.
23379
74718d13
UD
233802011-09-09 Ulrich Drepper <drepper@gmail.com>
23381
633e9e0f
UD
23382 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23383
0a2349f9 23384 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23385 link map.
23386
f9924780
AJ
233872011-08-17 Andreas Jaeger <aj@suse.de>
23388
23389 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23390
7f5517aa
PP
233912011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23392 Ian Lance Taylor <iant@google.com>
23393
23394 * math/libm-test.inc (lround_test): New testcase.
23395 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23396
762011fe
UD
233972011-09-08 Ulrich Drepper <drepper@gmail.com>
23398
92963737
UD
23399 * Makefile: Remove support for automatic cvs check-ins.
23400 * Makerules: Likewise.
23401 * config.make.in: Likewise.
23402 * configure.in: Likewise.
23403 * intl/Makefile: Likewise.
23404 * locale/Makefile: Likewise.
23405 * po/Makefile: Likewise.
23406 * posix/Makefile: Likewise.
23407 * sysdeps/gnu/Makefile: Likewise.
23408 * sysdeps/mach/hurd/Makefile: Likewise.
23409 * sysdeps/sparc/sparc32/Makefile: Likewise.
23410
b0727fd8
JS
23411 [BZ #13118]
23412 * posix/Makefile (bug-regex32-ENV): Define.
23413 Patch by John Stanley <jpsinthemix@verizon.net>.
23414
a0f33f99
UD
23415 * misc/Makefile (headers): Add bits/select2.h.
23416 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23417 * misc/bits/select2.h: New file.
23418 * include/bits/select2.h: New file.
23419 * debug/Makefile (routines): Add fdelt_chk.
23420 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23421 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23422 FD_ISSET.
23423 * debug/fdelt_chk.c: New file.
23424
762011fe
UD
23425 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23426 * wcsmbs/test-wmemcmp.c: Likewise.
23427 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23428 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23429
234302011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23431
23432 * string/Makefile (strop-tests): Add memcmp.
23433 * string/test-wmemcmp.c: New file.
23434 * string/test-memcmp.c: Add wmemcmp support.
23435
7f513ec8
RM
234362011-09-08 Roland McGrath <roland@hack.frob.com>
23437
0442afb4
RM
23438 [BZ #13153]
23439 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23440 2011-07-19 change.
23441
7f513ec8
RM
23442 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23443 garbage value in a __mach_port_mod_refs call in the cases of the
23444 task-self and thread-self ports.
23445
a12b2239
ST
234462011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23447
23448 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23449
610f9ab4
AS
234502011-09-08 Andreas Schwab <schwab@redhat.com>
23451
7f513ec8 23452 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23453
48882a1a
LD
234542011-09-07 Ulrich Drepper <drepper@gmail.com>
23455
b49865be
UD
23456 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23457
fdc86bc9
UD
23458 * elf/dl-libc.c (dlerror_run): Pass back error code from
23459 dl_catch_error.
23460
c966526a
UD
23461 [BZ #13123]
23462 * elf/dl-load.c (lose): Free l_origin if it is valid.
23463
48882a1a
LD
23464 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23465 names.
23466 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23467 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23468 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23469 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23470 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23471 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23472
77a2a8b4
AZ
234732011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23474
23475 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23476 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23477 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23478 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23479 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23480 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23481 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23482 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23483 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23484 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23485
24f579d8
AM
234862011-08-15 Alan Modra <amodra@gmail.com>
23487
23488 [BZ #13092]
23489 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23490 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23491 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23492 ppc_mcount to static-only-routines.
23493 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23494 __mcount_internal.
23495 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23496 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23497
3d4837df
UD
234982011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23499
23500 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23501 for finite and infinity parameters.
23502
22700377
WS
235032011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23504
23505 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23506 and add nop instructions for throughput optimization.
23507 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23508
5025581e
WS
235092011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23510
23511 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23512 aligned copy for power7 with vector-scalar instructions.
23513 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23514
08a300c9
L
235152011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23516
23517 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23518 AVX check.
23519
59178ef9
AS
235202011-09-07 Andreas Schwab <schwab@redhat.com>
23521
23522 [BZ #13144]
23523 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23524 last change.
23525
e38ba7ab
UD
235262011-09-07 Ulrich Drepper <drepper@gmail.com>
23527
23528 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23529 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23530 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23531 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23532 clock_gettime.
23533
d53a73ac
UD
235342011-09-06 Ulrich Drepper <drepper@gmail.com>
23535
fc8bffcc
UD
23536 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23537 Forgot to demangle the pointer.
23538
ceaa0c5d
UD
23539 * sysdeps/i386/sysdep.h: Define atom_text_section.
23540 * sysdeps/x86_64/sysdep.h: Likewise.
23541 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23542 section with atom_text_section.
23543 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23544 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23545 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23546 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23547 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23548
a77d3c17
UD
23549 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23550 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23551 already be defined. Change to take two parameters and don't assign
23552 result to variable. Adjust all users.
23553 Define INTERNAL_GETTIME if not already defined.
23554 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23555 call.
23556 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23557 HAVE_CLOCK_GETTIME_VSYSCALL.
23558 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23559
d53a73ac
UD
23560 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23561 gettimeofday vsyscall, just use time.
23562
a8f84144
AS
235632011-09-06 Andreas Schwab <schwab@redhat.com>
23564
23565 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23566 <errno.h>.
23567
ef606249
UD
235682011-09-06 Ulrich Drepper <drepper@gmail.com>
23569
23570 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23571 syscall on x86-64.
23572 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23573 syscall.
23574 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23575 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23576 syscall if possible.
23577
6585cb60
UD
235782011-09-05 Ulrich Drepper <drepper@gmail.com>
23579
23580 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23581 e_ident. Don't pass to find_mapsXX.
23582 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23583
a5f524e4
LD
235842011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23585
23586 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23587 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23588 * sysdeps/x86_64/multiarch/strchr.S: Update.
23589 Check bit_slow_BSF bit.
23590 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23591 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23592 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23593
554881ef
UD
235942011-09-05 Ulrich Drepper <drepper@gmail.com>
23595
d96de963
UD
23596 [BZ #13134]
23597 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23598 before glibc 2.15.
23599 (tryshell): Define.
23600 (__spawni): Change last parameter to be flag. Test
23601 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23602 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23603 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23604 * posix/spawni.c: Likewise.
23605 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23606 * posix/spawnp.c: Likewise. Change normal version to use
23607 SPAWN_XFLAGS_USE_PATH.
23608 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23609 SPAWN_XFLAGS_TRY_SHELL.
23610
d48e5868
UD
23611 [BZ #13150]
23612 * posix/glob.h: Remove gcc 1.x support.
23613
554881ef
UD
23614 [BZ #13068]
23615 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23616
693fb948
LD
236172011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23618
23619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23620 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23621 strrchr-sse2-bsf
23622 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23623 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23624 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23625 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23626 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23627 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23628
1b48c537
UD
236292011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23630
49d42c37
UD
23631 * sysdeps/x86_64/wcscmp.S: New file.
23632
1b48c537
UD
23633 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23634 wcscmp-c wcscmp-sse2
23635 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23636 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23637 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23638 * wcsmbs/wcscmp.c: Allow renaming.
23639
15c95c5d
DM
236402011-09-05 David S. Miller <davem@davemloft.net>
23641
23642 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23643 stack slot, rather than the struct return pointer slot.
23644 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23645 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23647 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23648
2f0ad8f3
UD
236492011-09-05 Ulrich Drepper <drepper@gmail.com>
23650
d88ae418
UD
23651 * po/ja.po: Update from translation team.
23652
2f0ad8f3
UD
23653 [BZ #13144]
23654 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23655 kernel in 64-bit binaries.
23656
5f4318d1
DM
236572011-09-01 David S. Miller <davem@davemloft.net>
23658
23659 * elf/elf.h (HWCAP_SPARC_*): Move to..
23660 * sysdeps/sparc/sysdep.h: this new file and add new values.
23661 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23662 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23663 _DL_HWCAP_COUNT to 24.
23664 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23665 entries.
23666 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23667 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23668 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23669 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23670 instead of magic constants.
23671 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23672
3ba57516
DM
236732011-08-31 David S. Miller <davem@davemloft.net>
23674
23675 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23676 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23677 Reimplement to do errno handling inline.
23678 (SYSCALL_ERROR_HANDLER): New macro.
23679 (__SYSCALL_STRING): Do not do errno handling in asm.
23680 (__CLONE_SYSCALL_STRING): Delete.
23681 (__INTERNAL_SYSCALL_STRING): Delete.
23682 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23683 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23684 (PSEUDO): Reimplement to do errno handling inline.
23685 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23686 (SYSCALL_ERROR_HANDLER): New macro.
23687 (__SYSCALL_STRING): Do not do errno handling in asm.
23688 (__CLONE_SYSCALL_STRING): Delete.
23689 (__INTERNAL_SYSCALL_STRING): Delete.
23690 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23691 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23692 i386.
23693 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23694 (inline_syscall*): Add 'err' argument.
23695 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23696 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23697 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23698 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23699
23700 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23701 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23702
2bc17433
AS
237032011-08-30 Andreas Schwab <schwab@redhat.com>
23704
23705 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23706
fbeb5f4d
JO
237072011-08-29 Jiri Olsa <jolsa@redhat.com>
23708
23709 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23710 directive.
23711
ad69cc26
DM
237122011-08-24 David S. Miller <davem@davemloft.net>
23713
23714 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23715
39dd69df
AS
237162011-08-24 Andreas Schwab <schwab@redhat.com>
23717
23718 * elf/Makefile: Add rules to build and run unload8 test.
23719 * elf/unload8.c: New file.
23720 * elf/unload8mod1.c: New file.
23721 * elf/unload8mod1x.c: New file.
23722 * elf/unload8mod2.c: New file.
23723 * elf/unload8mod3.c: New file.
23724
23725 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23726 it wasn't used.
23727
2c0b250a
DM
237282011-08-23 David S. Miller <davem@davemloft.net>
23729
23730 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23731 subtract stack bias.
23732 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23733 %sp not %fp in calculations.
23734 (_JMPBUF_UNWINDS_ADJ): Likewise.
23735
22044b48
DM
23736 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23737 (aio_suspend): Call it to force an exception region around the
23738 AIO_MISC_WAIT() invocation.
23739
2cae4995
AS
237402011-08-23 Andreas Schwab <schwab@redhat.com>
23741
23742 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23743 backslash.
23744
873a772e
AJ
237452011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23746
23747 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23748 protection macro.
23749 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23750 and <dl-machine.h>.
23751 (Elf64_FuncDesc): Remove.
23752
25ad0df1
DM
237532011-08-22 David S. Miller <davem@davemloft.net>
23754
23755 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23756 sigaltstack check, add missing cfi directives.
23757 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23758 missing cfi directives, and sigaltstack handling.
23759
e888bcbe
AS
237602011-08-16 Andreas Schwab <schwab@redhat.com>
23761
23762 [BZ #11724]
23763 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23764 object is seen twice.
23765 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23766
23767 * elf/Makefile (distribute): Add tst-initorder2.c.
23768 (tests): Add tst-initorder2.
23769 (modules-names): Add tst-initorder2a tst-initorder2b
23770 tst-initorder2c tst-initorder2d. Add rules to build them.
23771 ($(objpfx)tst-initorder2.out): New rule.
23772 * elf/tst-initorder2.c: New file.
23773 * elf/tst-initorder2.exp: New file.
23774
87162f46
AS
237752011-08-22 Andreas Schwab <schwab@redhat.com>
23776
70538b7f
AS
23777 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23778
f55ffe58
AS
23779 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23780 dependencies back to end of function.
23781
87162f46
AS
23782 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23783 $(elfobjdir)/ld.so.
23784
91b392a4
UD
237852011-08-21 Ulrich Drepper <drepper@gmail.com>
23786
23787 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23788 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23789 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23790 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23791 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23792 of __vdso_gettimeofday.
23793 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23794 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23795 attribute_hidden.
23796 (_libc_vdso_platform_setup): Remove initialization of
23797 __vdso_gettimeofday and __vdso_time.
23798
5c43483f
UD
237992011-08-20 Ulrich Drepper <drepper@gmail.com>
23800
775a77e7
UD
23801 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23802 and fgetc_unlocked.
23803 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23804 getc_unlocked.
89f447ed 23805
49c74ba9
UD
23806 * elf/dl-open.c (add_to_global): Report additions to the global scope
23807 for LD_DEBUG=scopes.
23808 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23809 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23810
5c43483f
UD
23811 [BZ #13114]
23812 * stdio-common/Makefile (tests): Add bug24.
23813 * stdio-common/bug24.c: New file.
23814
a101b025
AJ
238152011-08-19 Andreas Jaeger <aj@suse.de>
23816
23817 [BZ #13114]
23818 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23819 non-existant file when using close-on-exec mode.
23820
c88f1766
UD
238212011-08-20 Ulrich Drepper <drepper@gmail.com>
23822
0276a718
UD
23823 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23824 the very first instruction.
23825
c88f1766
UD
23826 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23827 the CFI state in the end.
23828 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23829 inclusion of dl-trampoline.h.
23830 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23831
51ccffa0
AS
238322011-08-19 Andreas Schwab <schwab@redhat.com>
23833
94d7165f
AS
23834 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23835 expectations for long double.
23836
51ccffa0
AS
23837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23838 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23839
fd708658 238402011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23841
23842 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23843 artificual limit depends upon the system page size.
23844
44f0a71e
UD
238452011-08-17 Ulrich Drepper <drepper@gmail.com>
23846
23847 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23848 * resolv/Makefile: Define CFLAGS-libresolv.
23849
8de79a24
AS
238502011-08-17 Andreas Schwab <schwab@redhat.com>
23851
23852 * nss/makedb.c (compute_tables): Make variables used in nested
23853 function static.
23854
27724598
UD
238552011-08-17 Ulrich Drepper <drepper@gmail.com>
23856
c5305d88
UD
23857 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23858 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23859 if buffer was too small.
23860
27724598
UD
23861 * elf/pldd.c (main): Attach to all threads in the process.
23862 Rewrite /proc handling to use *at functions.
23863
076fe015
UD
238642011-08-16 Ulrich Drepper <drepper@gmail.com>
23865
174baab3
UD
23866 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23867 specifies first scope to show.
23868 (dl_open_worker): Update callers. Move printing scope of new
23869 object to before the relocation.
44f0a71e 23870 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23871 * sysdeps/generic/ldsodefs.h: Update declaration.
23872
076fe015
UD
23873 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23874 string for the scope number.
23875
a60df2c3
UD
238762011-08-14 Ulrich Drepper <drepper@gmail.com>
23877
23878 * nscd/servicescache.c (cache_addserv): Make sure written is always
23879 initialized.
23880
5e4287d1
RM
238812011-08-14 Roland McGrath <roland@hack.frob.com>
23882
85ae0589
RM
23883 * sysdeps/i386/i486/bits/atomic.h
23884 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23885 statement expression, so as to suppress "set but not used" warning.
23886 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23887
69f63097
RM
23888 * string/strncat.c (STRNCAT): Use prototype definition.
23889
675456ef
RM
23890 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23891 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23892 -Iprograms here.
23893 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23894 (localedef-modules): Add localedef.
23895 (locale-modules): Add locale.
23896
5e4287d1
RM
23897 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23898 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23899 to avoid a warning.
23900
9c96ff23
DM
239012011-08-14 David S. Miller <davem@davemloft.net>
23902
23903 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23904 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23905
f9ddf089
UD
239062011-08-13 Ulrich Drepper <drepper@gmail.com>
23907
44f0a71e 23908 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23909 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23910 * elf/rtld.c (dl_main): Set l_name of vDSO.
23911 Call _dl_show_scope when DL_DEBUG_SCOPES.
23912 (process_dl_debug): Recognize scopes flag and also set it for all.
23913 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23914 Declare _dl_show_scope.
23915
1dc27704
UD
23916 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23917 (do_dlopen): Pass caller_dlopen to dl_open.
23918 (__libc_dlopen_mode): Initialize caller_dlopen.
23919
f9ddf089
UD
23920 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23921 of libc. Make tolower call locale-independent. Optimize a bit by
23922 using isdigit instead of isalnum.
23923 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23924
9ac533d3
UD
239252011-08-12 Ulrich Drepper <drepper@gmail.com>
23926
23927 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23928 was a dependency or dynamically loaded.
23929
89edf2e9
UD
239302011-08-11 Ulrich Drepper <drepper@gmail.com>
23931
8e999d29
UD
23932 * intl/l10nflist.c: Allow architecture-specific pop function.
23933 * sysdeps/x86_64/l10nflist.c: New file.
23934
89edf2e9
UD
23935 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23936 classification.
23937
14d96785
AS
239382011-08-10 Andreas Schwab <schwab@redhat.com>
23939
23940 * include/dirent.h: Add libc_hidden_proto for scandirat and
23941 scandirat64. Don't declare __scandirat64.
23942 * dirent/scandirat.c: Add libc_hidden_def.
23943 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23944 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23945
6761ac04
DM
239462011-08-10 David S. Miller <davem@davemloft.net>
23947
23948 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23949 enum.
23950 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23951 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23952 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23953
c55fbd1e
UD
239542011-08-09 Ulrich Drepper <drepper@gmail.com>
23955
23956 * Versions.def [libc]: Add GLIBC_2.15.
23957 * dirent/Makefile (routines): Add scandirat and scandirat64.
23958 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23959 GLIBC_2.15.
23960 * dirent/dirent.h: Declare scandirat and scandirat64.
23961 * dirent/scandirat.c: New file.
23962 * dirent/scandirat64.c: New file.
23963 * sysdeps/wordsize-64/scandirat.c: New file.
23964 * sysdeps/wordsize-64/scandirat64.c: New file.
23965 * dirent/opendir.c: Define opendirat.
23966 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23967 using scandirat.
23968 * dirent/scandir64.c: Adjust for scandir.c change.
23969 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23970 __scandirat64, and __scandir_cancel_handler.
23971 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23972 additional parameter and use openat instead of open (outside of ld.so).
23973 Add new __opendir as wrapper around __opendirat.
23974 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23975 here without requiring old scandirat implementation.
23976
879165f2
UD
239772011-08-08 Ulrich Drepper <drepper@gmail.com>
23978
23979 * dirent/scandir.c (cancel_handler): Renamed to
23980 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23981 defined. Adjust users.
23982 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23983 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23984
cb7e923b
UD
239852011-08-04 Ulrich Drepper <drepper@gmail.com>
23986
16292edd
UD
23987 * string/test-string.h (IMPL): Use __STRING to expand name and then
23988 stringify it.
23989
cb7e923b
UD
23990 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23991 of cleanups.
23992
cff82933
LD
239932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23994
23995 * string/Makefile: Update.
23996 (strop-tests): Append strncat.
23997 * string/test-wcscmp.c: New file.
23998 New comprehensive test for wcscmp.
23999 * string/test-strcmp.c: Update.
24000 (WIDE): New define.
24001
9be9bfcc
AS
240022011-07-22 Andreas Schwab <schwab@redhat.com>
24003
24004 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24005 line.
24006
2e96f1c7
AS
240072011-07-26 Andreas Schwab <schwab@redhat.com>
24008
24009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24010 encoding to ACE if AI_IDN.
24011
85188888
JJ
240122011-08-01 Jakub Jelinek <jakub@redhat.com>
24013
24014 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24015 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24016
5fa16e9b
LD
240172011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24018
24019 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24020 Fix overflow bug in strncat.
24021 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24022
24023 * string/test-strncat.c: Update.
24024 Add new tests for checking overflow bugs.
24025
240262011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24027
24028 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24029 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24030 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24031 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24032 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24033 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24034 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24035 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24036 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24037
24038 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24039 (USE_AS_STRCAT): Define.
24040 Add strcat and strncat support.
24041 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24042
8c1a459f
AS
240432011-07-25 Andreas Schwab <schwab@redhat.com>
24044
24045 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24046 __n bigger than INT_MAX+1.
24047 (__strncmp_g): Likewise.
24048
bba33c28
UD
240492011-07-23 Ulrich Drepper <drepper@gmail.com>
24050
798be72d
UD
24051 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24052 * libio/stido.h: Likewise.
24053
8accd4dc
UD
24054 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24055 (AF_NFC): Define.
24056 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24057 (AF_NFC): Define.
24058
cbff0d96
UD
24059 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24060 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24061 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24062 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24063 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24064
9191c04a
UD
24065 [BZ #13021]
24066 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24067 installed.
24068
bba33c28
UD
24069 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24070 typo.
24071 (_dl_x86_64_save_sse): Likewise.
24072
90f139dd
UD
240732011-07-22 Ulrich Drepper <drepper@gmail.com>
24074
1aae088a
UD
24075 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24076 OSXSAVE.
24077 (_dl_x86_64_save_sse): Likewise.
24078
8e2045f5
UD
24079 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24080
90f139dd
UD
24081 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24082
1d002f25
AS
240832011-07-21 Andreas Schwab <schwab@redhat.com>
24084
24085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24086 change.
24087 (_dl_x86_64_save_sse): Use correct AVX check.
24088
21137f89
UD
240892011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24090
24091 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24092 bug in strncpy/strncat.
24093 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24094
a65c0b7a
UD
240952011-07-21 Ulrich Drepper <drepper@gmail.com>
24096
24097 * string/tester.c (test_strcat): Add tests for different alignments
24098 of source and destination.
24099 (test_strncat): Likewise.
24100
6986b98a
UD
241012011-07-20 Ulrich Drepper <drepper@gmail.com>
24102
90bb2039
UD
24103 [BZ #12852]
24104 * posix/glob.c (glob): Check passed in values before using them in
24105 expressions to avoid some overflows.
24106 (glob_in_dir): Likewise.
24107
5644ef54
UD
24108 [BZ #13007]
24109 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24110 check for AVX enablement so that we don't crash with old kernels and
24111 new hardware.
24112 * elf/tst-audit4.c: Add same checks here.
24113 * elf/tst-audit6.c: Likewise.
24114
24115 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24116
bfc9dc9b
AS
241172011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24118
24119 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24120
702e64bb
UD
241212011-07-20 Ulrich Drepper <drepper@gmail.com>
24122
24123 * po/cs.po: Update from translation team.
24124 * po/bg.po: Likewise.
24125
295e904f
MP
241262011-07-12 Marek Polacek <mpolacek@redhat.com>
24127
24128 * misc/sys/cdefs.h: Add support for const attribute.
24129 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24130 to gnu_dev_{major,minor,makedev} functions.
24131
3ff94596
MP
241322011-07-20 Marek Polacek <mpolacek@redhat.com>
24133
24134 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24135
28b59fca
AS
241362011-07-20 Andreas Schwab <schwab@redhat.com>
24137
24138 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24139 strlen results.
24140
19df733e
AK
241412011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24142
24143 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24144 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24145 register in order to avoid conflicts with the soft frame pointer
24146 being held in r11 when necessary.
24147 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24148 (INTERNAL_VSYSCALL_NCS): Likewise.
24149
c8835729
MP
241502011-07-14 Marek Polacek <mpolacek@redhat.com>
24151
24152 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24153 * elf/dl-fini.c (_dl_fini): Adjust caller.
24154 * elf/dl-close.c (_dl_close_worker): Likewise.
24155 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24156
b902330c
MP
241572011-07-15 Marek Polacek <mpolacek@redhat.com>
24158
8991e135
MP
24159 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24160 "aux_cache->nlibs < 0".
24161
b902330c
MP
24162 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24163 in the reload-count case.
24164
99710781
LD
241652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24166
24167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24168 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24169 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24170 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24171 * sysdeps/x86_64/multiarch/strcat.S: New file.
24172 * sysdeps/x86_64/multiarch/strncat.S: New file.
24173 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24174 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24175 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24176 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24177 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24178 (USE_AS_STRCAT): Define.
24179 Add strcat and strncat support.
24180 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24181 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24182 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24183 * string/strncat.c: Update.
24184 (USE_AS_STRNCAT): Define.
24185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24186 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24187 and i7.
24188 * sysdeps/x86_64/multiarch/init-arch.h
24189 (bit_Prefer_PMINUB_for_stringop): New.
24190 (index_Prefer_PMINUB_for_stringop): Likewise.
24191 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24192 bit_Prefer_PMINUB_for_stringop.
24193
7dc6bd90
UD
241942011-07-19 Ulrich Drepper <drepper@gmail.com>
24195
24196 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24197 buffer64.
24198 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24199 of casting of buffer.
24200 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24201 buffer32 and buffer64.
24202 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24203 writes instead of casting of buffer.
24204 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24205 buffer32.
24206 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24207 casting of buffer.
24208
e0e72284
AS
242092011-07-19 Andreas Schwab <schwab@redhat.com>
24210
24211 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24212
feb1eb0b
UD
242132011-07-19 Ulrich Drepper <drepper@gmail.com>
24214
24215 * nscd/nscd.c (termination_handler): Don't do anything for a database
24216 if it has not yet been initialized.
24217
298711ff
UD
242182011-07-18 Ulrich Drepper <drepper@gmail.com>
24219
24220 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24221
242222011-07-15 Marek Polacek <mpolacek@redhat.com>
24223
24224 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24225
f9d68389
UD
242262011-07-18 Ulrich Drepper <drepper@gmail.com>
24227
24228 * po/nl.po: Update from translation team.
24229 * po/sv.po: Likewise.
24230
db290cf5
RM
242312011-07-16 Roland McGrath <roland@hack.frob.com>
24232
24233 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24234 now disallowed by GCC.
5c550700 24235
fd5e21c7
RM
24236 * configure.in (use-default-link): Default to yes if a test -shared
24237 link meets our qualifications.
24238 * configure: Regenerated.
24239
5c550700
RM
24240 * config.make.in (output-format): New variable.
24241 * configure.in: Check for ld --print-output-format support.
24242 * configure: Regenerated.
24243 * Makerules ($(common-objpfx)format.lds)
24244 [$(output-format) != unknown]: Just use $(output-format),
24245 instead of the linker-script munging.
24246
9fa2c032
RM
242472011-07-14 Roland McGrath <roland@hack.frob.com>
24248
a6928d51
RM
24249 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24250 of $(common-objpfx)shlib.lds.
24251 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24252
661607b3
RM
24253 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24254 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24255
9fa2c032
RM
24256 * configure.in (-z relro check): Adjust test code to add a large
24257 writable data section after it.
24258 * configure: Regenerated.
24259
defe9061
RM
242602011-07-11 Roland McGrath <roland@hack.frob.com>
24261
24262 * configure.in (-z relro check): Fix test code to make the variable
24263 truly const.
24264 * configure: Regenerated.
24265
319b9ad4
UD
242662011-07-11 Ulrich Drepper <drepper@gmail.com>
24267
24268 * nscd/nscd.h (struct traced_file): Define.
24269 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24270 elements. Add traced_files.
24271 (inotify_fd): Declare.
24272 (register_traced_file): Declare.
24273 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24274 (inotify_fd): Export.
24275 (resolv_conf_descr): Remove.
24276 (nscd_init): Move inotify descriptor creation to main.
24277 Don't register files for notification here.
24278 (register_traced_file): New function.
24279 (invalidate_cache): Don't use reset_res to determine whether to call
24280 res_init, go through the list of registered files.
24281 (main_loop_poll): The inotify descriptors are now stored in the
24282 structures for the traced files.
24283 (main_loop_epoll): Likewise
24284 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24285 to __nss_disable_nscd.
24286 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24287 for a database anymore. Check the records for all the registered
24288 files instead.
24289 * nss/Makefile (libnss_files-routines): Add files-init.
24290 (libnss_db-routines): Add db-init.
24291 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24292 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24293 * nss/nss_db/db-init.c: New file.
24294 * nss/nss_files/files-init.c: New file.
24295 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24296 __nss_lookup_function.
24297 (__nss_lookup_function): Call nss_load_library.
24298 (nss_load_all_libraries): New function.
24299 (__nss_disable_nscd): Take parameter with callback function for files
24300 to register. Set is_nscd. Load all the DSOs for the NSS modules
24301 used for the cached services.
24302 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24303 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24304 options for features to all the files in nscd.
24305
24306 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24307
23bee3e8
RM
243082011-07-10 Roland McGrath <roland@hack.frob.com>
24309
24310 * csu/elf-init.c (__libc_csu_init): Comment typo.
24311
46a5b7f0
UD
243122011-07-09 Ulrich Drepper <drepper@gmail.com>
24313
24314 * po/pl.po: Update from translation team.
24315 * po/ja.po: Likewise.
24316 * po/ru.po: Likewise.
24317 * po/ko.po: Likewise.
24318 * po/fr.po: Likewise.
24319
d30cf5bb
RM
243202011-07-09 Roland McGrath <roland@hack.frob.com>
24321
113ddea4
RM
24322 * configure.in (.ctors/.dtors header and trailer check):
24323 Use an empirical test on a built program.
24324 * configure: Regenerated.
24325
574920b4
RM
24326 * configure.in (-z relro check): Use an empirical test on a built DSO.
24327 Detect, but do not require, on ia64.
24328 * configure: Regenerated.
24329
d30cf5bb
RM
24330 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24331 Update tests that use readelf to use $READELF instead.
24332 * configure: Regenerated.
24333
8538fdb3
UD
243342011-07-08 Ulrich Drepper <drepper@gmail.com>
24335
24336 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24337 if the result is not used.
24338
04d08991
AJ
243392011-07-05 Andreas Jaeger <aj@suse.de>
24340
24341 [BZ#9696]
24342 * stdlib/tst-strtod.c: Add testcase.
24343
de283087
AD
243442011-07-07 Ulrich Drepper <drepper@gmail.com>
24345
4e5f31c8 24346 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24347 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24348 The latter has a higher limit. Take additional parameter to pass to
24349 the new function.
24350 (__pathconf): Pass file to __statfs_link_max.
24351 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24352 __statfs_link_max.
24353 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24354 __statfs_link_max.
24355
de283087
AD
24356 [BZ #12868]
24357 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24358 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24359 Handle Lustre.
24360 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24361 (__statfs_filesize_max): Likewise.
24362 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24363
c75fa153
AJ
243642011-07-05 Andreas Jaeger <aj@suse.de>
24365
24366 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24367
1a544854
UD
243682011-07-06 Marek Polacek <mpolacek@redhat.com>
24369
24370 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24371 `status' variable.
24372 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24373 Likewise.
24374
6f0eec67
UD
243752011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24376
24377 * Makefile (strop-tests): Add strncat.
24378 * string/test-strncat.c: New file.
24379
aae30307
UD
243802011-06-30 Marek Polacek <mpolacek@redhat.com>
24381
24382 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24383
c0cfb5eb
UD
243842011-06-21 Andreas Jaeger <aj@suse.de>
24385
24386 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24387 Copy rule from iconvdata/Makefile.
24388
01636b21
UD
243892011-07-06 Ulrich Drepper <drepper@gmail.com>
24390
24391 [BZ #12922]
24392 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24393 but no long options are defined, just return 'W'.
24394
9895c8bc
UD
243952011-06-22 Marek Polacek <mpolacek@redhat.com>
24396
24397 [BZ #9696]
24398 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24399
5d4cf042
UD
244002011-07-06 Ulrich Drepper <drepper@gmail.com>
24401
24402 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24403 netgroups to read.
960e5535 24404 (innetgr): Likewise.
5d4cf042 24405
751eb97e
RM
244062011-07-05 Roland McGrath <roland@hack.frob.com>
24407
24408 * config.make.in (install_root): Default to $(DESTDIR).
24409
f15f1e45
UD
244102011-07-05 Ulrich Drepper <drepper@gmail.com>
24411
24412 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24413
4e34ac6a
RM
244142011-07-02 Roland McGrath <roland@hack.frob.com>
24415
5e9b6af4
RM
24416 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24417
84f9ea0f
RM
24418 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24419 containing directory rather than embedding absolute directory names.
24420
ea5ee9f7
RM
24421 * scripts/check-local-headers.sh: Rewritten using awk.
24422 Match by word, not by line. Print error messages for matches.
24423 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24424
1b74661a
RM
24425 * Makerules [shlib-lds-flags empty]:
24426 ($(common-objpfx)libc_pic.opts): New target.
24427 ($(common-objpfx)libc_pic.os.clean): New target.
24428 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24429
24430 * config.make.in (OBJCOPY): New variable.
24431 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24432 * configure: Regenerated.
24433
f781ef40
RM
24434 * config.make.in (use-default-link): New variable.
24435 * configure.in (use_default_link): Grok --with-default-link to set it.
24436 * configure: Regenerated.
24437 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24438 (shlib-lds, shlib-lds-flags): Define to empty.
24439
2d4fa81e
RM
24440 * Makerules (shlib-lds): New variable.
24441 (shlib-lds-flags): New variable.
24442 (build-shlib, build-moduile, build-module-asneeded): Use it.
24443 ($(common-objpfx)libc.so): Use $(shlib-lds).
24444 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24445 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24446
31fffa6b
RM
24447 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24448 DT_FLAGS/DT_FLAGS_1 with zero flags.
24449
4e34ac6a
RM
24450 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24451 linker script munging.
24452
fcfc776b
UD
244532011-07-02 Ulrich Drepper <drepper@gmail.com>
24454
24455 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24456 as 128-bit value.
24457 * crypt/sha512.c (sha512_process_block): Perform total addition using
24458 128-bit if possible.
24459 (__sha512_finish_ctx): Likewise.
24460 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24461 as 64-bit value.
24462 * crypt/sha256.c (SWAP64): Define.
24463 (sha256_process_block): Perform total addition using 64-bit if
24464 possible.
24465 (__sha256_finish_ctx): Likewise.
24466
99231d9a
UD
244672011-07-01 Ulrich Drepper <drepper@gmail.com>
24468
24469 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24470 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24471 * nscd/hstcache.c (cache_addhst): Likewise.
24472 * nscd/grpcache.c (cache_addgr): Likewise.
24473 * nscd/aicache.c (addhstaiX): Likewise
24474 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24475
445b4a53
TK
244762011-07-01 Thorsten Kukuk <kukuk@suse.de>
24477
24478 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24479 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24480 * nscd/hstcache.c (cache_addhst): Likewise.
24481 * nscd/grpcache.c (cache_addgr): Likewise.
24482 * nscd/aicache.c (addhstaiX): Likewise
24483
6d4d8e8e
AS
244842011-07-01 Andreas Schwab <schwab@redhat.com>
24485
24486 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24487 domain only when needed.
24488
89f654c5
AS
244892011-06-30 Andreas Schwab <schwab@redhat.com>
24490
24491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24492 is always restored.
24493
cf3b23ff
UD
244942011-06-29 Ulrich Drepper <drepper@gmail.com>
24495
24496 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24497 are re-adding the entry.
24498 * nscd/servicescache.c (cache_addserv): Likewise.
24499
751626f9
AJ
245002011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24501
24502 * sysdeps/generic/dl-irel.h: fix protection against multiple
24503 inclusions.
24504 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24505
9113ea1f
UD
245062011-06-28 Ulrich Drepper <drepper@gmail.com>
24507
5c0b8d90
UD
24508 [BZ #12935]
24509 * malloc/memusage.sh: Fix quoting in message.
24510 * debug/xtrace.sh: Likewise.
24511
9113ea1f
UD
24512 * configure.in: Remove support for --experimental-malloc option, make
24513 it the default.
24514 * config.make.in: Likewise.
24515 * malloc/Makefile: Likewise.
24516
a4172181
AS
245172011-06-27 Andreas Schwab <schwab@redhat.com>
24518
24519 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24520 two-byte characters.
24521
78a7eee7
RM
245222011-06-27 Roland McGrath <roland@hack.frob.com>
24523
62bede13
RM
24524 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24525 AC_CACHE_CHECK invocation.
24526 * configure: Regenerated.
24527
78a7eee7
RM
24528 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24529
5ce33a62
UD
245302011-06-27 Ulrich Drepper <drepper@gmail.com>
24531
034807a9
UD
24532 [BZ #12350]
24533 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24534 bit from old_res_options.
24535
4902da17
UD
24536 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24537
5ce33a62
UD
24538 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24539 value type for setfct.
24540
c2344f56
L
245412011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24542
24543 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24544 __gettimeofday instead of gettimeofday.
24545
68468076
UD
245462011-06-26 Ulrich Drepper <drepper@gmail.com>
24547
24548 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24549
acb0d739
L
245502011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24551
24552 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24553
24554 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24555 info.
24556
8912479f
L
245572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24558
24559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24560 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24561 strcpy-sse2-unaligned strncpy-sse2-unaligned
24562 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24563 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24564 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24565 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24566 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24567 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24568 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24569 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24570 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24571 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24572 (STRCPY): Support SSE2 and SSSE3 versions.
24573
d5495a11
UD
245742011-06-24 Ulrich Drepper <drepper@gmail.com>
24575
24576 [BZ #12874]
24577 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24578 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24579 kernels which artificially limit size of requests.
24580
0b1cbaae
L
245812011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24582
24583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24584 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24585 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24586 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24587 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24588 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24589 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24590 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24591 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24592 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24593 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24594 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24595 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24596 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24597 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24599 Enable unaligned load optimization for Intel Core i3, i5 and i7
24600 processors.
24601 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24602 Define.
24603 (index_Fast_Unaligned_Load): Define.
24604 (HAS_FAST_UNALIGNED_LOAD): Define.
24605
07f494a0
MP
246062011-06-23 Marek Polacek <mpolacek@redhat.com>
24607
24608 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24609
fa3fc0fe
UD
246102011-06-22 Ulrich Drepper <drepper@gmail.com>
24611
24612 [BZ #12907]
24613 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24614 until it is clear that the information is realy needed.
24615 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24616
e12df166
AS
246172011-06-22 Andreas Schwab <schwab@redhat.com>
24618
24619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24620
852eb34d
UD
246212011-06-22 Ulrich Drepper <drepper@gmail.com>
24622
84e2a551
UD
24623 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24624 /sys/devices/system/cpu/online if it is usable.
24625
852eb34d
UD
24626 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24627 reading the information from the /proc filesystem to once a second.
24628
6e502e19
UD
246292011-06-21 Andreas Jaeger <aj@suse.de>
24630
24631 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24632 NULL after inclusion of kernel headers.
24633
75d39ff2
UD
246342011-06-21 Ulrich Drepper <drepper@gmail.com>
24635
51f9aa6a
UD
24636 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24637 calls to internal_setent.
24638
c0244a9d
UD
24639 [BZ #12885]
24640 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24641 addresses using gethostbyname4_r ignore IPv4 addresses.
24642
c5e3c2ae
UD
24643 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24644 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24645
75d39ff2
UD
24646 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24647
42675c6f
DM
246482011-06-20 David S. Miller <davem@davemloft.net>
24649
24650 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24651 inclusions.
24652 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24653
24654 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24655 (elf_irel): Use it.
24656 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24657 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24658 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24659 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24660 * sysdeps/x86_64/dl-irel.h: Likewise.
24661
24662 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24663 * elf/dl-sym.c: Likewise.
24664
57912a71
UD
246652011-06-15 Ulrich Drepper <drepper@gmail.com>
24666
24667 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24668 need to dereference resplen2.
24669
ee22793d
AS
246702011-06-14 Andreas Schwab <schwab@redhat.com>
24671
24672 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24673
a9e836b0
UD
246742011-06-15 Ulrich Drepper <drepper@gmail.com>
24675
77fb9117
UD
24676 * Makeconfig: Define vardbdir and inst_vardbdir.
24677 * nss/Makefile: Add rules to install db-Makefile.
24678
40c1b22c
UD
24679 * nss/nss_db/db-XXX.c: Cleanup.
24680
9f2da732
UD
24681 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24682 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24683 GLIBC_PRIVATE.
24684 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24685 * nss/makedb.c: Implement -g option to specify that value strings
24686 are generated and should not be added to table iterated over for
24687 get*ent calls.
24688 * nss/nss_db/db-initgroups.c: New file.
24689
82e9a1f7
UD
24690 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24691 interface.
24692
c41af17e
UD
24693 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24694 (internal_getgrouplist): Adjust to name change.
24695 Update use_initgroups_entry if this is not the first call.
24696 * nss/databases.def: Add initgroups entry.
24697
a9e836b0
UD
24698 * nss/makedb.c (compute_tables): Check result of multiple hash table
24699 sizes to minimize maximum chain length.
24700
2666d441
UD
247012011-06-14 Ulrich Drepper <drepper@gmail.com>
24702
24703 * Versions.def: Add entry for libnss_db.
24704 * shlib-versions: Likewise.
24705 * nss/Makefile: Add rules to build libnss_db.
24706 * nss/Versions: Add libnss_db information. Organize libnss_files
24707 entries better.
24708 * nss/db-Makefile: Add gshadow support. Change rules for the new
24709 makedb progra. Some minor improvements to generate smaller files.
24710 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24711 here from...
24712 * nss/makedb.c: ...here.
24713 Improve database format to be smaller and require less memory at
24714 runtime.
24715 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24716 db anymore.
24717 * nss/nss_db/db-netgrp.c: Likewise.
24718 * nss/nss_db/db-open.c: Likewise.
24719 * nss/nss_files/flies-XXX.x: Adjust comments.
24720 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24721 * nss/nss_files/files-grp.c: Likewise.
24722 * nss/nss_files/files-hosts.c: Likewise.
24723 * nss/nss_files/files-network.c: Likewise.
24724 * nss/nss_files/files-proto.c: Likewise.
24725 * nss/nss_files/files-pwd.c: Likewise.
24726 * nss/nss_files/files-rpc.c: Likewise.
24727 * nss/nss_files/files-service.c: Likewise.
24728 * nss/nss_files/files-sgrp.c: Likewise.
24729 * nss/nss_files/files-spwd.c: Likewise.
24730 * nss/nss_db/db-alias.c: Removed.
24731 * nss/nss_db/dummy-db.h: Removed.
24732
9ee76b5a
UD
247332011-06-02 Ulrich Drepper <drepper@gmail.com>
24734
24735 * nss/makedb.c: Rewritten to not use database library.
24736 * nss/Makefile: Update to build new makedb program.
24737
c71ca1f8
AJ
247382011-06-14 Andreas Jaeger <aj@suse.de>
24739
24740 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24741 memset declaration.
24742
3154bfb8
UD
247432011-06-10 Andreas Schwab <schwab@redhat.com>
24744
24745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24746 tmpbuf.
24747
b350afab
RM
247482011-06-10 Roland McGrath <roland@hack.frob.com>
24749
decd4e50
RM
24750 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24751 * elf/Makefile ($(objpfx)ld.so): Likewise.
24752
5615eaf2
RM
24753 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24754 Don't list ld.so twice in dependencies.
24755
24756 * posix/bug-regex31.c: Include <stdlib.h>.
24757
24758 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24759
24760 * nis/nss_compat/compat-spwd.c
24761 (getspent_next_nss_netgr): Remove unused variable.
24762 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24763
24764 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24765 nonmembers" output to use the right array.
24766
24767 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24768
24769 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24770
24771 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24772 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24773 * catgets/gencat.c (read_input_file): Likewise.
24774 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24775
24776 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24777 variable definition inside #if's controlling its use.
24778
24779 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24780
24781 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24782
24783 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24784
24785 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24786 unreachable code.
24787
24788 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24789
b68e08db
RM
24790 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24791 * configure: Regenerated.
24792
b350afab
RM
24793 * Makerules: Revert last change.
24794 * elf/Makefile: Likewise.
24795
28368601
RM
247962011-06-09 Roland McGrath <roland@hack.frob.com>
24797
24798 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24799 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24800 (reloc-link): Likewise.
24801
11988f8f
UD
248022011-06-09 Ulrich Drepper <drepper@gmail.com>
24803
24804 * elf/Makefile: Add rules to build pldd.
24805 * elf/pldd.c: New file.
24806 * elf/pldd-xx.c: New file.
24807
e80fab37
UD
248082011-06-07 Ulrich Drepper <drepper@gmail.com>
24809
24810 * version.h: Update for 2.15 development version.
24811
9b849836
DM
248122011-06-07 David S. Miller <davem@davemloft.net>
24813
24814 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24815 ifuncs.
24816 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24817 elf_machine_lazy_rel): Likewise.
24818 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24819 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24820 elf_machine_lazy_rel): Likewise.
24821 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24822 dl_hwcap via passed in argument.
24823 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24824 Likewise.
24825
5a31b283
AK
248262011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24827
24828 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24829
069e52f8
RM
248302011-06-06 Roland McGrath <roland@hack.frob.com>
24831
24832 [BZ #12849]
24833 * manual/fdl-1.1.texi: New file, verbatim from:
24834 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24835 * manual/lgpl-2.1.texi: New file, verbatim from:
24836 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24837 * manual/Makefile (licenses): New variable, list those new file names.
24838 (texis): Use it.
24839 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24840
24841 * manual/fdl.texi: File removed.
24842 * manual/lesser.texi: File removed.
24843 * manual/libc.texinfo (Copying, Documentation License):
24844 Use new @include file names, put @appendix directive before @include.
24845
f16846a5
JJ
248462011-06-04 Jakub Jelinek <jakub@redhat.com>
24847
24848 [BZ #12841]
24849 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24850 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24851 (mq_open): Add __NTH.
24852
3d29045b
L
248532011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24854
24855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24856 Assume Intel Core i3/i5/i7 processor if AVX is available.
24857
8c297311
UD
248582011-05-31 Ulrich Drepper <drepper@gmail.com>
24859
24860 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24861 typo.
24862
c8fc0c91
UD
248632011-05-31 Andreas Schwab <schwab@redhat.com>
24864
24865 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24866 memory. Use alloca_account. Fix memory leak when retrying.
24867
5b27a807
UD
248682011-05-31 Ulrich Drepper <drepper@gmail.com>
24869
356f8bc6
UD
24870 * version.h (RELEASE): Bump for 2.14 release.
24871 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24872
5b27a807
UD
24873 * config.make.in (RANLIB): Remove entry.
24874
01f16ab0
UD
248752011-05-30 Ulrich Drepper <drepper@gmail.com>
24876
41fce8bd
UD
24877 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24878 (libc.pot): Work around missing support for .ksh extension in xgettext.
24879
4769ae77
UD
24880 [BZ #12684]
24881 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24882 if both request failed.
24883 (send_dg): In case of server errors clear resplen or *resplen2.
24884
6b1e7d19
UD
24885 [BZ #12454]
24886 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24887 when there are multiple maps.
24888 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24889 (_dl_fini): Remove test here.
24890
01f16ab0
UD
24891 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24892
b1ebd700
UD
248932011-05-29 Ulrich Drepper <drepper@gmail.com>
24894
7ae22829
UD
24895 [BZ #12350]
24896 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24897 bit from old_res_options.
24898 (gaih_inet): Likewise.
24899
553149f6 24900 [BZ #11099]
18a84741 24901 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24902 as signed.
24903
652ffab1
UD
24904 * resolv/res_init.c (res_setoptions): Make the code more compact.
24905
16985fd0
UD
24906 [BZ #11558]
24907 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24908 set RES_USEVC.
24909
0464f746
UD
24910 [BZ #11634]
24911 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24912
7d17596c
UD
24913 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24914
cf6bbbd7
UD
24915 [BZ #11781]
24916 * malloc/malloc.h: Declare malloc hook variables as volatile.
24917
13f1ab36
UD
24918 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24919 in last patch.
24920
b1ebd700
UD
24921 [BZ #11799]
24922 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24923 raise in the comment.
80e2212d
UD
24924 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24925 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24926 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24927
ce67228d
UD
249282011-05-28 Ulrich Drepper <drepper@gmail.com>
24929
8887a920
UD
24930 [BZ #12811]
24931 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24932 grow the buffers more if it already has to be sufficient.
24933 (build_wcs_upper_buffer): Likewise.
24934 * posix/regexec.c (check_matching): Likewise.
24935 (clean_state_log_if_needed): Likewise.
24936 (extend_buffers): Don't enlarge buffers beyond size of the input
24937 buffer.
24938 Patches mostly by Emil Wojak <emil@wojak.eu>.
24939 * posix/bug-regex32.c: New file.
24940 * posix/Makefile (tests): Add bug-regex32.
24941
4f031072
UD
24942 * locale/findlocale.c (_nl_find_locale): Return right away if
24943 _nl_explode_name failed.
24944 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24945
d0478f0c
UD
24946 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24947
de81b246
UD
24948 * debug/xtrace.sh: Unify messages.
24949 * malloc/memusage.sh: Likewise.
24950
c738465a
UD
24951 [BZ #12813]
24952 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24953 time symbol from vDSO. Substitute with vsyscall if not available.
24954 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24955 __vdso_time.
24956
f1f929d7
UD
24957 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24958 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24959 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24960 Add sendmmsg and internal_sendmmsg.
24961 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24962 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24963 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24964
ce67228d
UD
24965 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24966 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24967 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24968
e57420c6
UD
249692011-05-27 Ulrich Drepper <drepper@gmail.com>
24970
a8509ca5
UD
24971 [BZ #12813]
24972 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24973 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24974 available.
24975 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24976 __vdso_getcpu.
24977
e57420c6
UD
24978 [BZ #12814]
24979 * iconvdata/Makefile (tests): Add bug-iconv9.
24980 * iconvdata/bug-iconv9.c: New file.
24981
4d07db15
AS
249822011-05-27 Andreas Schwab <schwab@redhat.com>
24983
24984 [BZ #12814]
24985 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24986
ea486f69
JJ
249872011-05-25 Jakub Jelinek <jakub@redhat.com>
24988
24989 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24990 (struct user_regs_struct): Change intcs field back to cs.
24991
6f038433
UD
249922011-05-25 Ulrich Drepper <drepper@gmail.com>
24993
24994 * po/ja.po: Update from translation team.
24995
67f86a25
UD
249962011-05-23 Ulrich Drepper <drepper@gmail.com>
24997
24998 [BZ #12795]
24999 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25000 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25001
def7fbd6
AS
250022011-05-20 Andreas Schwab <schwab@redhat.com>
25003
25004 * stdlib/longlong.h: Update from GCC.
25005
f50ef8f1
AS
250062011-05-23 Andreas Schwab <schwab@redhat.com>
25007
25008 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25009 parameter name.
25010 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25011 Add parameter name.
25012 (__sysconf): Pass it down.
25013
de7ce8f1
UD
250142011-05-22 Ulrich Drepper <drepper@gmail.com>
25015
f2962a71
UD
25016 [BZ #12671]
25017 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25018 some situations.
25019 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25020 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25021 add in in __libc_use_alloca calls. Adjust callers.
25022 (glob): Use malloc in some situations.
25023
de7ce8f1
UD
25024 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25025 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25026 pltexit.
25027
aec84f53
UD
250282011-05-21 Ulrich Drepper <drepper@gmail.com>
25029
05bb4a68
UD
25030 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25031 and CLOCK_BOOTTIME_ALARM.
25032
7ea72f99
UD
25033 [BZ #12782]
25034 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25035 is returned.
25036
7e4afad5
UD
25037 * string/_strerror.c (__strerror_r): Print negative errors as signed
25038 numbers.
25039
8e211fec
UD
25040 [BZ #12777]
25041 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25042 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25043 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25044
f7d82dc9
UD
25045 * configure.in: Fix typo in redirection and correct removal of test
25046 files in two cases.
25047
cc9e536d
UD
25048 [BZ #12788]
25049 * locale/setlocale.c (new_composite_name): Fix test to check for
25050 identical name of all categories.
25051
aec84f53
UD
25052 [BZ #12792]
25053 * libio/filedoalloc.c (local_isatty): New function.
25054 (_IO_file_doallocate): Use local_isatty.
25055 * stdio-common/perror.c (perror): In case a new stream is used
25056 forward the stream error.
25057 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25058 error flag.
25059
78e64fdc
RT
250602011-05-20 Ulrich Drepper <drepper@gmail.com>
25061
34a9094f
UD
25062 [BZ #11869]
25063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25064 alloca.
25065 * include/alloca.h (extend_alloca_account): Define.
25066
78e64fdc
RT
25067 [BZ #11857]
25068 * posix/regex.h: Fix comments with documentation of user-accessible
25069 fields after compilation and describe correct free'ing of pattern
25070 after re_compile_pattern.
25071 Patch by Reuben Thomas <rrt@sc3d.org>.
25072
457bddfc
RA
250732011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25074
25075 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25076 and -mno-altivec to prevent the compiler from using Altivec and/or
25077 VSX instructions when the corresponding registers are not available.
25078
a4527b51
AS
250792011-05-19 Andreas Schwab <schwab@redhat.com>
25080
25081 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25082
ed690b2f
UD
250832011-05-19 Ulrich Drepper <drepper@gmail.com>
25084
25085 * libio/freopen.c (freopen): Use __dup2, not dup2.
25086 * libio/freopen64.c (freopen64): Likewise.
25087
8db73634
L
250882011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25089
25090 [BZ #12775]
25091 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25092 * math/Makefile (tests): Add test-powl.
25093 (CFLAGS-test-powl.c): Define.
25094 * math/test-powl.c: New file.
25095
0a197a9d
L
250962011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25097
25098 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25099
ee30c380
UD
251002011-05-17 Ulrich Drepper <drepper@gmail.com>
25101
25102 [BZ #11837]
25103 * iconvdata/gb18030.c: Update to GB18020-2005.
25104
6ce75379
UD
251052011-05-16 Ulrich Drepper <drepper@gmail.com>
25106
a4b89fd8
AR
25107 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25108 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25109 Patch by Aharon Robbins <arnold@skeeve.com>.
25110
ea389b12
UD
25111 [BZ #11892]
25112 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25113 on the stack.
25114
68a3f91f
UD
25115 [BZ #11895]
25116 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25117 through underflows.
25118
15cc7dd1
UD
25119 [BZ #12766]
25120 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25121 point to strings before performing equality test for error_one_per_line
25122 mode.
25123
f3799213
UD
25124 [BZ #11697]
25125 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25126
d79a9c94
UD
25127 [BZ #11820]
25128 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25129 (struct user_fpregs_struct): Avoid __uint*_t types.
25130
56e5eb46
UD
25131 [BZ #6420]
25132 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25133 symbol info. Use it instead of calling _dl_addr locally.
25134 (lock_and_info): New function.
25135 (tr_freehook): Call lock_and_info and pass symbol info as additional
25136 parameter to tr_where.
25137 (tr_mallochook): Likewise.
25138 (tr_reallochook): Likewise.
25139 (tr_memalignhook): Likewise.
25140
6ce75379
UD
25141 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25142 used and couldn't be at all thread-safe.
25143
f8a3b5bf
UD
251442011-05-15 Ulrich Drepper <drepper@gmail.com>
25145
94b7cc37
UD
25146 * libio/freopen.c (freopen): Don't close old file descriptor
25147 before the new one is opened. Instead dup the new file descriptor
25148 to the old one after the new stream is created.
25149 * libio/freopen64.c (freopen64): Likewise.
25150 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25151 * libio/fileops.c (_IO_new_file_close_it): Handle new
25152 _IO_FLAGS2_NOCLOSE flag.
25153 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25154 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25155 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25156 _IO_FLAGS2_NOCLOSE flag.
25157 * include/unistd.h: Add hidden_proto for dup3.
25158 Define __have_dup3.
25159 * io/dup3.c: Define hidden symbol.
25160 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25161
bd25564e
UD
25162 [BZ #7101]
25163 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25164 when an incomplete long option is used.
25165 * posix/tst-getopt_long1.c: New file.
25166 * posix/Makefile (tests): Add tst-getopt_long1.
25167
c84cfef4
UD
25168 [BZ #10138]
25169 * scripts/config.guess: Update from autoconf-2.68.
25170 * scripts/config.sub: Likewise.
25171
3b85df27
UD
25172 [BZ #10157]
25173 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25174 tests into ...
25175 (has_cpuclock): ...this. New function.
25176 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25177 macro here based on has_cpuclock code.
25178
15a856b1
UD
25179 [BZ #10149]
25180 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25181 First byte (not low byte) is now always NUL.
25182 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25183
05f399e6
UD
25184 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25185 Use non-cancelable interfaces.
25186
10a52685 25187 [BZ #9809]
94ecc67d
UD
25188 * locale/iso-639.def: Add entry for Sorani.
25189
f8a3b5bf
UD
25190 [BZ #11901]
25191 * include/stdlib.h: Move include protection to the right place.
25192 Define abort_msg_s. Declare __abort_msg with it.
25193 * stdlib/abort.c (__abort_msg): Adjust type.
25194 * assert/assert.c (__assert_fail_base): New function. Majority
25195 of code from __assert_fail. Allocate memory for __abort_msg with
25196 mmap.
25197 (__assert_fail): Now call __assert_fail_base.
25198 * assert/assert-perr.c: Remove bulk of implementation. Use
25199 __assert_fail_base.
25200 * include/assert.hL Declare __assert_fail_base.
25201 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25202 mmap.
25203 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25204
1af4e298
UD
252052011-05-14 Ulrich Drepper <drepper@gmail.com>
25206
f8a3b5bf 25207 [BZ #11952]
d26dfc60
MG
25208 [BZ #12453]
25209 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25210 until all modules are registered in the DTV.
25211 * elf/Makefile: Add rules to build and run tst-tls19.
25212 * elf/tst-tls19.c: New file.
25213 * elf/tst-tls19mod1.c: New file.
25214 * elf/tst-tls19mod2.c: New file.
25215 * elf/tst-tls19mod3.c: New file.
25216 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25217
2fc54d6f
UD
25218 [BZ #12083]
25219 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25220 correctly.
25221
98d76b46
UD
25222 [BZ #12601]
25223 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25224 two-byte sequence errors.
25225 * iconvdata/Makefile (tests): Add bug-iconv8.
25226 * iconvdata/bug-iconv8.c: New file.
25227
da3c19ef
UD
25228 [BZ #12626]
25229 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25230 buf2 definition.
25231
ca408c15
UD
25232 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25233
d6f67f7d
UD
25234 [BZ #12432]
25235 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25236 (dummy_getcfa): New function.
25237 (init): Get _Unwind_GetCFA address, use dummy if not found.
25238 (backtrace_helper): In recursion check, also check whether CFA changes.
25239 (__backtrace): Completely initialize arg.
25240
1af4e298 25241 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25242 storing incomplete byte sequence in state object. Avoid testing for
25243 guaranteed too small input if we know there is enough data available.
1af4e298 25244
da62f81b
AS
252452011-05-11 Andreas Schwab <schwab@redhat.com>
25246
25247 * Makeconfig (+link-pie): Indent.
25248 * Rules (binaries-pie): Define if $(have-fpie) and
25249 $(build-shared).
25250 (binaries-shared): Also filter out $(binaries-pie).
25251 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25252 * nscd/Makefile (others-pie): Add nscd.
25253 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25254 ($(objpfx)nscd): Remove command override.
25255 * login/Makefile (others-pie): Add pt_chown.
25256 ($(objpfx)pt_chown): Remove command override.
25257 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25258 remove command overrides.
25259
fcabc0f8
UD
252602011-05-13 Ulrich Drepper <drepper@gmail.com>
25261
20030ae6
UD
25262 * libio/tst_putwc.c: Fix error messages.
25263
fcabc0f8
UD
25264 [BZ #12724]
25265 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25266 currently writing and seek to current position when not.
25267 * libio/Makefile (tests): Add bug-fclose1.
25268 * libio/bug-fclose1.c: New file.
25269
320a5dc0
PB
252702011-05-12 Ulrich Drepper <drepper@gmail.com>
25271
25272 [BZ #12511]
25273 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25274 don't set DF_1_NODELETE here.
25275 (do_lookup_x): When entering new entry test for copy relocation
25276 and if necessary set DF_1_NODELETE flag.
25277 * elf/tst-unique4.cc: New file.
25278 * elf/tst-unique4.h: New file.
25279 * elf/tst-unique4lib.cc: New file.
25280 * elf/Makefile: Add rules to build and run tst-unique4.
25281 Patch by Piotr Bury <pbury@goahead.com>.
25282
22836f52
UD
252832011-05-11 Ulrich Drepper <drepper@gmail.com>
25284
f574184a
UD
25285 [BZ #12052]
25286 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25287
e1fb097f
UD
25288 [BZ #12625]
25289 * misc/mntent_r.c (addmntent): Flush the stream after the output
25290
22836f52
UD
25291 [BZ #12393]
25292 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25293 (is_trusted_path_normalize): Skip initial colon. Append slash
25294 to empty buffer. Duplicate is_trusted_path code but allow
25295 constructed patch to be prefix.
25296 (is_dst): Allow $ORIGIN followed by /.
25297 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25298 Correct testing of result of is_trusted_path_normalize
25299 (decompose_rpath): Fix warning.
25300
7b3b0b2a
UD
253012011-05-10 Ulrich Drepper <drepper@gmail.com>
25302
25303 [BZ #11257]
25304 * grp/initgroups.c (internal_getgrouplist): When we found the service
25305 list through the initgroups entry in nsswitch.conf do not always
25306 continue on a successful lookup. Don't always use the
eac80ce2 25307 __nss_group_database value if it is set.
7b3b0b2a
UD
25308 * nss/nsswitch.conf (initgroups): Change action for successful db
25309 lookup to continue for compatibility.
25310
2a81eaa5
UD
253112011-05-09 Ulrich Drepper <drepper@gmail.com>
25312
be97a69e
UD
25313 [BZ #11532]
25314 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25315 and CP774 modules.
25316 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25317 and CP774 modules.
25318 * iconvdata/tst-tables.sh: Likewise.
25319 * iconvdata/cp770.c: New file.
25320 * iconvdata/cp771.c: New file.
25321 * iconvdata/cp772.c: New file.
25322 * iconvdata/cp773.c: New file.
25323 * iconvdata/cp774.c: New file.
25324 * iconvdata/testdata/CP770: New file.
25325 * iconvdata/testdata/CP770..UTF8: New file.
25326 * iconvdata/testdata/CP771: New file.
25327 * iconvdata/testdata/CP771..UTF8: New file.
25328 * iconvdata/testdata/CP772: New file.
25329 * iconvdata/testdata/CP772..UTF8: New file.
25330 * iconvdata/testdata/CP773: New file.
25331 * iconvdata/testdata/CP773..UTF8: New file.
25332 * iconvdata/testdata/CP774: New file.
25333 * iconvdata/testdata/CP774..UTF8: New file.
25334
25335 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25336 END CHARMAP line.
25337 * iconvdata/gen-8bit-gap.sh: Likewise.
25338 * iconvdata/gen-8bit.sh: Likewise.
25339
c1e9e399
UD
25340 * locale/iso-639.def: Add ary entry.
25341
24c55fb3 25342 [BZ #11258]
96b4b1b0
UD
25343 * locale/C-translit.h.in: Add U20A1 transliteration.
25344
bdc2f971
KB
25345 [BZ #12178]
25346 * locale/iso-639.def: Add wae entry.
25347 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25348
2952b117
UD
25349 [BZ #12545]
25350 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25351 for n.
25352
2a81eaa5
UD
25353 [BZ #12711]
25354 * locale/C-translit.h.in: Add entry for U20B9.
25355 Patch by pravin.d.s@gmail.com.
25356
28377d1b
UD
253572011-05-08 Ulrich Drepper <drepper@gmail.com>
25358
7fb90fb8
UD
25359 [BZ #12713]
25360 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25361 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25362 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25363 in rtld. Use *stat64.
7fb90fb8 25364 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25365 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25366 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25367 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25368 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25369 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25370 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25371 __fstatat64 macros.
7fb90fb8
UD
25372 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25373 * dirent/rewinddir.c: Add libc_hidden_def.
25374 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25375 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25376
28377d1b
UD
25377 * include/dirent.h (__alloc_dir): Add flags parameter.
25378 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25379 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25380 __alloc_dir.
25381 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25382 from fdopendir if O_CLOEXEC is already set.
25383
66bdbaa4
AM
253842011-03-15 Alan Modra <amodra@gmail.com>
25385
25386 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25387 l_tls_firstbyte_offset non-zero. Save padding offset in
25388 l_tls_firstbyte_offset for later use.
25389 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25390 freeing static tls block.
25391
95721191
JN
253922011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25393
25394 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25395 where #ifdef was intended. The intent is to prevent ARG_MAX from
25396 being defined by the kernel headers.
25397
f87dfb1f
UD
253982011-05-07 Ulrich Drepper <drepper@gmail.com>
25399
25400 [BZ #12734]
25401 * resolv/resolv.h: Define RES_NOTLDQUERY.
25402 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25403 no-tld-query and set RES_NOTLDQUERY.
25404 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25405 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25406 modern BIND to search name as TLD unless forbidden.
25407
47c3cd7a
UD
254082011-05-07 Petr Baudis <pasky@suse.cz>
25409 Ulrich Drepper <drepper@gmail.com>
25410
25411 [BZ #12393]
25412 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25413 (is_trusted_path): ...to here.
c1e9ea35 25414 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25415 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25416 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25417
8a35c912
PP
254182011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25419
25420 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25421 __BEGIN/__END_DECLS.
25422
acd41f47
UD
254232011-05-06 Ulrich Drepper <drepper@gmail.com>
25424
25425 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25426 NSS_STATUS_NOTFOUND if no record was found.
25427
597df647
AS
254282011-05-05 Andreas Schwab <schwab@redhat.com>
25429
25430 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25431 (headers-not-in-tirpc): Remove rpc/netdb.h
25432 * resolv/netdb.h: Revert last change.
25433
b9af1301
PP
254342011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25435
25436 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25437 circular dependency between libgcc.a and libc.a.
25438
4e34d5f5
AS
254392011-05-05 Andreas Schwab <schwab@redhat.com>
25440
25441 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25442 * nis/Makefile: Don't install rpcsvc/*.
25443 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25444 instead of <rpc/types.h>.
25445 (MAXHOSTNAMELEN): Define.
25446
00ee369c
AS
254472011-05-03 Andreas Schwab <schwab@redhat.com>
25448
25449 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25450
0b592a30
MB
254512011-04-28 Maciej Babinski <mbabinski@google.com>
25452
25453 [BZ #12714]
25454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25455 gethostbyname4_r when IPv6 results are possible.
25456
6e04cbbe
UD
254572011-05-02 Ulrich Drepper <drepper@gmail.com>
25458
25459 [BZ #12723]
25460 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25461 _PC_PIPE_BUF handling.
25462
e4ecafe0
BH
254632011-04-30 Bruno Haible <bruno@clisp.org>
25464
25465 [BZ #12717]
25466 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25467 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25468 to 'int'.
25469 * inet/getnameinfo.c (getnameinfo): Likewise.
25470
125ee683
UD
254712011-04-29 Ulrich Drepper <drepper@gmail.com>
25472
25473 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25474 to groups setting in database lookup.
25475 * nss/nsswitch.conf: Add initgroups entry.
25476
b722481a
EB
254772011-04-22 Ulrich Drepper <drepper@gmail.com>
25478
25479 [BZ #12685]
25480 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25481 mode string.
25482 Patch by Eric Blake <eblake@redhat.com>.
25483
4df46dbd
L
254842011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25485
25486 * sunrpc/Makefile (need-export-routines): Add svc_run.
25487 (routines): Remove svc_run.
25488 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25489 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25490 * sunrpc/svc_run.c (svc_run): Likewise.
25491 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25492
e84142d2
UD
254932011-04-21 Ulrich Drepper <drepper@gmail.com>
25494
25495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25496 problem in reallocation in last patch.
25497
877175d8
UD
254982011-04-20 Ulrich Drepper <drepper@gmail.com>
25499
25500 * sunrpc/Makefile: Move inclusion of Rules.
25501
ab8eed78
UD
255022011-04-19 Ulrich Drepper <drepper@gmail.com>
25503
25504 * nss/nss_files/files-initgroups.c: New file.
25505 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25506 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25507 _nss_files_initgroups_dyn.
25508
e3d8f584
RS
255092011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25510
25511 * elf/elf.h (R_ARM_IRELATIVE): Define.
25512
af190f45
UD
255132011-04-19 Ulrich Drepper <drepper@gmail.com>
25514
25515 * po/ru.po: Update from translation team.
25516
53cf59ef
UD
255172011-04-17 Ulrich Drepper <drepper@gmail.com>
25518
25519 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25520 dependencies.
25521
4c559bcd
MF
255222011-02-06 Mike Frysinger <vapier@gentoo.org>
25523
25524 [BZ #12653]
25525 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25526 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25527 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25528 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25529 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25530
4420675c
AS
255312011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25532
25533 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25534 differing bytes.
25535 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25536 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25537 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25538
75ea32ab
UD
255392011-04-17 Ulrich Drepper <drepper@gmail.com>
25540
25541 [BZ #12420]
25542 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25543 storing it.
25544 * stdlib/bug-getcontext.c: New file.
25545 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25546
27390476
AK
255472011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25548
25549 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25550 instructions into .machine "z9-109".
25551 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25552 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25553
10442705
AK
255542011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25555
25556 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25557 between environment variables and auxiliary vector.
25558
7b57bfe5
UD
255592011-04-16 Ulrich Drepper <drepper@gmail.com>
25560
25561 * Makefile: Add rules to build linkobj/libc.so.
25562 * include/libc-symbols.h: Define libc_hidden_nolink.
25563 * include/rpc/auth.h: Mark functions which are to be hidden.
25564 * include/rpc/auth_des.h: Likewise.
25565 * include/rpc/auth_unix.h: Likewise.
25566 * include/rpc/clnt.h: Likewise.
25567 * include/rpc/des_crypt.h: Likewise.
25568 * include/rpc/key_prot.h: Likewise.
25569 * include/rpc/pmap_clnt.h: Likewise.
25570 * include/rpc/pmap_prot.h: Likewise.
25571 * include/rpc/pmap_rmt.h: Likewise.
25572 * include/rpc/rpc_msg.h: Likewise.
25573 * include/rpc/svc.h: Likewise.
25574 * include/rpc/svc_auth.h: Likewise.
25575 * include/rpc/xdr.h: Likewise.
25576 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25577 * nss/Makefile: Likewise.
25578 * sunrpc/Makefile: Don't install headers. Build library with normal
25579 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25580 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25581 for the compat linking library. Remove use of INTDEF/INTUSE.
25582 * sunrpc/auth_none.c: Likewise.
25583 * sunrpc/auth_unix.c: Likewise.
25584 * sunrpc/authdes_prot.c: Likewise.
25585 * sunrpc/authuxprot.c: Likewise.
25586 * sunrpc/clnt_gen.c: Likewise.
25587 * sunrpc/clnt_perr.c: Likewise.
25588 * sunrpc/clnt_raw.c: Likewise.
25589 * sunrpc/clnt_simp.c: Likewise.
25590 * sunrpc/clnt_tcp.c: Likewise.
25591 * sunrpc/clnt_udp.c: Likewise.
25592 * sunrpc/clnt_unix.c: Likewise.
25593 * sunrpc/des_crypt.c: Likewise.
25594 * sunrpc/des_soft.c: Likewise.
25595 * sunrpc/get_myaddr.c: Likewise.
25596 * sunrpc/key_call.c: Likewise.
25597 * sunrpc/key_prot.c: Likewise.
25598 * sunrpc/netname.c: Likewise.
25599 * sunrpc/pm_getmaps.c: Likewise.
25600 * sunrpc/pm_getport.c: Likewise.
25601 * sunrpc/pmap_clnt.c: Likewise.
25602 * sunrpc/pmap_prot.c: Likewise.
25603 * sunrpc/pmap_prot2.c: Likewise.
25604 * sunrpc/pmap_rmt.c: Likewise.
25605 * sunrpc/publickey.c: Likewise.
25606 * sunrpc/rpc_cmsg.c: Likewise.
25607 * sunrpc/rpc_common.c: Likewise.
25608 * sunrpc/rpc_dtable.c: Likewise.
25609 * sunrpc/rpc_prot.c: Likewise.
25610 * sunrpc/rpc_thread.c: Likewise.
25611 * sunrpc/rtime.c: Likewise.
25612 * sunrpc/svc.c: Likewise.
25613 * sunrpc/svc_auth.c: Likewise.
25614 * sunrpc/svc_authux.c: Likewise.
25615 * sunrpc/svc_raw.c: Likewise.
25616 * sunrpc/svc_run.c: Likewise.
25617 * sunrpc/svc_simple.c: Likewise.
25618 * sunrpc/svc_tcp.c: Likewise.
25619 * sunrpc/svc_udp.c: Likewise.
25620 * sunrpc/svc_unix.c: Likewise.
25621 * sunrpc/svcauth_des.c: Likewise.
25622 * sunrpc/xcrypt.c: Likewise.
25623 * sunrpc/xdr.c: Likewise.
25624 * sunrpc/xdr_array.c: Likewise.
25625 * sunrpc/xdr_float.c: Likewise.
25626 * sunrpc/xdr_intXX_t.c: Likewise.
25627 * sunrpc/xdr_mem.c: Likewise.
25628 * sunrpc/xdr_rec.c: Likewise.
25629 * sunrpc/xdr_ref.c: Likewise.
25630 * sunrpc/xdr_sizeof.c: Likewise.
25631 * sunrpc/xdr_stdio.c: Likewise.
25632
e6c61494
UD
256332011-04-10 Ulrich Drepper <drepper@gmail.com>
25634
25635 [BZ #12650]
25636 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25637 * sysdeps/ia64/dl-tls.h: Likewise.
25638 * sysdeps/powerpc/dl-tls.h: Likewise.
25639 * sysdeps/s390/dl-tls.h: Likewise.
25640 * sysdeps/sh/dl-tls.h: Likewise.
25641 * sysdeps/sparc/dl-tls.h: Likewise.
25642 * sysdeps/x86_64/dl-tls.h: Likewise.
25643 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25644
34fe483e
AS
256452011-03-14 Andreas Schwab <schwab@redhat.com>
25646
25647 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25648 rpath element also skip the following colon.
25649 (expand_dynamic_string_token): Add is_path parameter and pass
25650 down to DL_DST_REQUIRED and _dl_dst_substitute.
25651 (decompose_rpath): Call expand_dynamic_string_token with
25652 non-zero is_path. Ignore empty rpaths.
25653 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25654 with zero is_path.
25655
f12a32e6
AS
256562011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25657
25658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25659 Make cancelable.
25660
38a7d692
UD
256612011-04-09 Ulrich Drepper <drepper@gmail.com>
25662
25663 [BZ #12655]
25664 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25665 Patch by Filipe David Manana <fdmanana@apache.org>.
25666
e451d22b
AS
256672011-04-07 Andreas Schwab <schwab@redhat.com>
25668
25669 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25670 Maintain aligned stack.
25671 (CHECK_RSP): Remove unused macro.
25672
dedc7c7b
UD
256732011-04-03 Ulrich Drepper <drepper@gmail.com>
25674
25675 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25676 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25677
94521213
UD
256782011-04-02 Ulrich Drepper <drepper@gmail.com>
25679
25680 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25681
8cb700c0 25682 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25683
0354e355
L
256842011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25685
25686 [BZ #12518]
25687 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25688 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25689 * sysdeps/x86_64/memmove.c: New file.
25690 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25691 (memcpy): Renamed to ...
25692 (__new_memcpy): This.
25693 (memcpy): Provide GLIBC_2_14 memcpy.
25694 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25695 (memcpy): Provide GLIBC_2_2_5 memcpy.
25696
8593482f
UD
256972011-04-01 Ulrich Drepper <drepper@gmail.com>
25698
25699 [BZ #12631]
25700 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25701
81a5726b
AS
257022011-03-30 Andreas Schwab <schwab@redhat.com>
25703
25704 * misc/syncfs.c: New file.
25705 * misc/Makefile (routines): Add syncfs.
25706 * posix/unistd.h: Declare syncfs.
25707 * sysdeps/unix/syscalls.list: Add syncfs.
25708
00e5419f
AS
257092011-04-01 Andreas Schwab <schwab@redhat.com>
25710
25711 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25712 open_by_handle_at.
25713 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25714 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25715 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25716 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25717 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25718 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25719 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25720
748876bf
UD
257212011-04-01 Ulrich Drepper <drepper@gmail.com>
25722
658e451d
UD
25723 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25724 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25725 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25726 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25727 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25729 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25730
748876bf
UD
25731 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25732 sync_file_range.c with -fexceptions.
25733 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25734 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25735 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25736 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25737 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25738 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25739 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25740 sync_file_range as cancellation point
25741 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25742 now a wrapper around __call_sync_file_range with cancellation handling.
25743 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25744 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25745 function name to __call_sync_file_range.
25746 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25747 Add call_sync_file_range.
748876bf 25748
6e63d5e1
AS
257492011-04-01 Andreas Schwab <schwab@redhat.com>
25750
25751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25752 bits/timex.h.
6e63d5e1 25753
46998f74
UD
257542011-04-01 Ulrich Drepper <drepper@gmail.com>
25755
4c1423ed
UD
25756 * iconv/iconv.h: Fix typo in comment.
25757 * io/fcntl.h: Likewise.
25758 * libio/stdio.h: Likewise.
25759 * posix/spawn.h: Likewise.
25760 * posix/unistd.h: Likewise.
25761 * stdlib/stdlib.h: Likewise.
25762 * time/time.h: Likewise.
25763 * wcsmbs/wchar.h: Likewise.
25764
158648c0
UD
25765 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25766 open_by_handle): Add.
25767 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25768 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25769 Augment a few comments.
25770 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25771 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25772 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25773 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25774 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25775 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25776 open_by_handle.
25777
46998f74
UD
25778 * io/fcntl.h (AT_EMPTY_PATH): Define.
25779
83fe108b
UD
257802011-03-30 Ulrich Drepper <drepper@gmail.com>
25781
25782 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25783 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25784 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25785 to...
25786 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25787 * Versions.def: Add GLIBC_2.14.
25788 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25789 Export.
83fe108b 25790
bb242059
UD
257912011-03-22 Ulrich Drepper <drepper@gmail.com>
25792
25793 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25794 round counter.
25795 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25796
c97a1282
L
257972011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25798
25799 [BZ #12597]
25800 * string/test-strncmp.c (do_page_test): New function.
25801 (check2): Likewise.
25802 (test_main): Call check2.
25803 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25804
2a115601
UD
258052011-03-20 Ulrich Drepper <drepper@gmail.com>
25806
25807 [BZ #12587]
25808 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25809 Handle cache information in CPU leaf 4.
25810 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25811
8126d904
UD
258122011-03-18 Ulrich Drepper <drepper@gmail.com>
25813
042c49c6 25814 [BZ #12583]
8126d904
UD
25815 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25816 character representation.
25817 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25818
ccfe366e
RA
258192011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25820
25821 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25822 END(__isnan) to END(__isnanf) to match function entry point/label
25823 EALIGN(__isnanf,...).
25824
c6e13027
JJ
258252011-03-10 Jakub Jelinek <jakub@redhat.com>
25826
25827 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25828
33f85a3f
UD
258292011-03-10 Ulrich Drepper <drepper@gmail.com>
25830
028478fa
UD
25831 [BZ #12510]
25832 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25833 copy from the symbol referenced in the relocation to initialize the
25834 used variable.
25835 Patch by Piotr Bury <pbury@goahead.com>.
25836 * elf/Makefile: Add rules to build and tst-unique3.
25837 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25838 * elf/tst-unique3.cc: New file.
25839 * elf/tst-unique3.h: New file.
25840 * elf/tst-unique3lib.cc: New file.
25841 * elf/tst-unique3lib2.cc: New file.
25842
33f85a3f
UD
25843 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25844
03592fc7
MF
258452011-03-10 Mike Frysinger <vapier@gentoo.org>
25846
25847 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25848 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25849 to _start.
03592fc7 25850
6a5ee102
UD
258512011-03-06 Ulrich Drepper <drepper@gmail.com>
25852
25853 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25854 to-be-loaded object along a path to loader is ld.so.
25855
7e4ba49c
HJ
258562011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25857 Ulrich Drepper <drepper@gmail.com>
25858
25859 * sysdeps/x86_64/memset.S: After aligning destination, code
25860 branches to different locations depending on the value of
25861 misalignment, when multiarch is enabled. Fix this.
25862
258632011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25864
25865 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25866 Set _x86_64_preferred_memory_instruction for AMD processsors.
25867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25868 Set bit_Prefer_SSE_for_memop for AMD processors.
25869
13a804de
UD
258702011-03-04 Ulrich Drepper <drepper@gmail.com>
25871
25872 * libio/fmemopen.c (fmemopen): Optimize a bit.
25873
9d25c392
AS
258742011-03-03 Andreas Schwab <schwab@redhat.com>
25875
25876 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25877
a5543c6a
RM
258782011-03-03 Roland McGrath <roland@redhat.com>
25879
25880 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25881
012d35f7
DM
258822011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25883
7e4ba49c 25884 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25885 __bzero_ultra1 instead of __memset_ultra1.
25886
4bff6e01
AS
258872011-02-23 Andreas Schwab <schwab@redhat.com>
25888 Ulrich Drepper <drepper@gmail.com>
25889
25890 [BZ #12509]
25891 * include/link.h (struct link_map): Add l_orig_initfini.
25892 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25893 returning unsuccessfully.
25894 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25895 close of a file loaded at startup, restore the original l_initfini
25896 list.
25897 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25898 list, store the pointer.
25899 * elf/Makefile ($(objpfx)noload-mem): New rule.
25900 (noload-ENV): Define.
25901 (tests): Add $(objpfx)noload-mem.
25902 * elf/noload.c: Include <memcheck.h>.
25903 (main): Call mtrace. Close all opened handles.
25904
f2092faf
AS
259052011-02-17 Andreas Schwab <schwab@redhat.com>
25906
25907 [BZ #12454]
25908 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25909 dependencies are missing.
25910
6c8a2e88
ST
259112011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25912
f2092faf 25913 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25914 Hurd needs munmap.
25915 * sysdeps/mach/hurd/ifreq.h: New file.
25916
84a42118
PB
259172011-01-27 Petr Baudis <pasky@suse.cz>
25918 Ulrich Drepper <drepper@gmail.com>
25919
071f805e 25920 [BZ 12445]#
84a42118
PB
25921 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25922 to extend_alloca().
25923 * stdio-common/bug23.c: New file.
25924 * stdio-common/Makefile (tests): Add bug23.
25925
e23fe25b
AS
259262010-09-28 Andreas Schwab <schwab@redhat.com>
25927 Ulrich Drepper <drepper@gmail.com>
25928
25929 [BZ #12489]
25930 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25931 before performing relro protection. At old place add assertion
25932 to make sure nothing changed.
25933
d3f02e10
NS
259342011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25935 Glauber de Oliveira Costa <glommer@gmail.com>
25936
25937 * elf/elf.h: Add new ARM TLS relocs.
25938
d55fd7a5
RA
259392011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25940
25941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25942 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25943 cast from r3.
25944 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25945 'tests' variable.
25946 * sysdeps/wordsize-64/tst-writev.c: New file.
25947
2206397e
RA
259482011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25949
25950 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25951 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25952 insns in _dl_start to prevent a TOC reference before relocs are
25953 resolved.
25954
e9433893
UD
259552011-02-15 Ulrich Drepper <drepper@gmail.com>
25956
25957 [BZ #12469]
25958 * Makeconfig: Remove RANLIB definition.
25959 * Makerules: Don't use RANLIB.
25960 * aclocal.m4: Remove ranlib test.
25961 * configure.in: No need to check for ranlib.
25962 * elf/rtld-Rules: Don't use RANLIB.
25963
f75286c6
ST
259642011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25965
8e31c82d
ST
25966 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25967 protection macro.
25968 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25969 inclusion protection macro.
25970
f75286c6
ST
25971 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25972 SIGRTMIN and SIGRTMAX and print information in that case only when
25973 SIGRTMIN is defined.
25974
c1d0e639
JJ
259752011-02-11 Jakub Jelinek <jakub@redhat.com>
25976
25977 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25978 arginfo fn returning -1.
25979
25980 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25981 and thousands string is zero terminated.
25982
edf9294e
AS
259832011-02-03 Andreas Schwab <schwab@redhat.com>
25984
25985 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25986 sysdeps/unix/sysv/linux/bits/socket.h.
25987
2b7e92df
ST
259882011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25989
edf9294e
AS
25990 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25991 (__CPU_COUNT): Remove old macros.
25992 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25993 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25994 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
25995 (__sched_cpualloc, __sched_cpufree): Add declarations.
25996
a4c7ea7b
UD
259972011-02-05 Ulrich Drepper <drepper@gmail.com>
25998
25999 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26000 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26001 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26002 (readdhstai): Return value of addhstaiX call.
26003 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26004 (addgrbyX): Return value returned by cache_addgr.
26005 (readdgrbyname): Return value returned by addgrbyX.
26006 (readdgrbygid): Likewise.
26007 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26008 (addpwbyX): Return value returned by cache_addpw.
26009 (readdpwbyname): Return value returned by addhstbyX.
26010 (readdpwbyuid): Likewise.
26011 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26012 (addservbyX): Return value returned by cache_addserv.
26013 (readdservbyname): Return value returned by addservbyX:
26014 (readdservbyport): Likewise.
26015 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26016 (addhstbyX): Return value returned by cache_addhst.
26017 (readdhstbyname): Return value returned by addhstbyX.
26018 (readdhstbyaddr): Likewise.
26019 (readdhstbynamev6): Likewise.
26020 (readdhstbyaddrv6): Likewise.
26021 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26022 (readdinitgroups): Return value returned by addinitgroupsX.
26023 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26024 (prune_cache): Keep track of timeout value of re-added entries.
26025 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26026 * nscd/nscd.h: Adjust prototypes of readd* functions.
26027
a0bf67cc
RM
260282011-02-04 Roland McGrath <roland@redhat.com>
26029
26030 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26031 (nis_stats): Likewise.
26032 * nis/nis_modify.c (nis_modify): Likewise.
26033 * nis/nis_remove.c (nis_remove): Likewise.
26034 * nis/nis_add.c (nis_add): Likewise.
26035
26036 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26037
26038 * posix/fnmatch_loop.c: Add some consts.
26039
26040 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26041
435b95eb
L
260422011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26043
26044 [BZ #12460]
26045 * config.make.in (config-cflags-novzeroupper): Define.
26046 * configure.in: Substitute libc_cv_cc_novzeroupper.
26047 * elf/Makefile (AVX-CFLAGS): Define.
26048 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26049 (CFLAGS-tst-auditmod4a.c): Likewise.
26050 (CFLAGS-tst-auditmod4b.c): Likewise.
26051 (CFLAGS-tst-auditmod6b.c): Likewise.
26052 (CFLAGS-tst-auditmod6c.c): Likewise.
26053 (CFLAGS-tst-auditmod7b.c): Likewise.
26054 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26055
8517b15e
UD
260562011-02-02 Ulrich Drepper <drepper@gmail.com>
26057
26058 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26059 function to the callback.
26060 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26061
10a656fe
AS
260622011-02-02 Andreas Schwab <schwab@redhat.com>
26063
26064 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26065 of errno.
26066
968dad0a
UD
260672011-01-19 Ulrich Drepper <drepper@gmail.com>
26068
9f94d2ea 26069 [BZ #11724]
968dad0a
UD
26070 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26071 of constructors.
26072 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26073 of destructors.
26074 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26075
26076 [BZ #11724]
26077 * elf/Makefile: Add rules to build and run new test.
26078 * elf/tst-initorder.c: New file.
26079 * elf/tst-initorder.exp: New file.
26080 * elf/tst-initordera1.c: New file.
26081 * elf/tst-initordera2.c: New file.
26082 * elf/tst-initordera3.c: New file.
26083 * elf/tst-initordera4.c: New file.
26084 * elf/tst-initorderb1.c: New file.
26085 * elf/tst-initorderb2.c: New file.
26086 * elf/tst-order-a1.c: New file.
26087 * elf/tst-order-a2.c: New file.
26088 * elf/tst-order-a3.c: New file.
26089 * elf/tst-order-a4.c: New file.
26090 * elf/tst-order-b1.c: New file.
26091 * elf/tst-order-b2.c: New file.
26092 * elf/tst-order-main.c: New file.
26093 New test case by George Gensure <werkt0@gmail.com>.
26094
86e92359
UD
260952010-10-01 Andreas Schwab <schwab@redhat.com>
26096
26097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26098 decoding ACE if AI_CANONIDN.
26099
5d5732b0
UD
261002011-01-18 Ulrich Drepper <drepper@gmail.com>
26101
26102 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26103
a77e8cbc
UD
261042011-01-17 Ulrich Drepper <drepper@gmail.com>
26105
6392473f
UD
26106 * version.h (RELEASE): Bump for 2.13 release.
26107 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26108
620a0529
UD
26109 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26110
18ba70a5
UD
26111 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26112 MADV_NOHUGEPAGE.
32465c3e
UD
26113 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26114 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26115 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26116 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26117 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26118 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26119
c0dafcf1
UD
26120 * posix/getconf.c: Update copyright year.
26121 * catgets/gencat.c: Likewise.
26122 * csu/version.c: Likewise.
26123 * debug/catchsegv.sh: Likewise.
26124 * debug/xtrace.sh: Likewise.
26125 * elf/ldconfig.c: Likewise.
26126 * elf/ldd.bash.in: Likewise.
26127 * elf/sprof.c (print_version): Likewise.
26128 * iconv/iconv_prog.c: Likewise.
26129 * iconv/iconvconfig.c: Likewise.
26130 * locale/programs/locale.c: Likewise.
26131 * locale/programs/localedef.c: Likewise.
26132 * malloc/memusage.sh: Likewise.
26133 * malloc/mtrace.pl: Likewise.
26134 * nscd/nscd.c (print_version): Likewise.
26135 * nss/getent.c: Likewise.
26136
a77e8cbc
UD
26137 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26138 PF_CAIF, and PF_ALG.
26139 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26140
77e8bddf
AS
261412011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26142
1f20b93a
AS
26143 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26144 (modules-names): Use them.
26145 (ifunc-test-modules, ifunc-pie-tests): Define.
26146 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26147 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26148 (test-extras): Likewise.
26149 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26150 $(compile-command.c).
26151 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26152 (all-built-dso): Define.
26153 (check-textrel.out, check-execstack.out): Depend on it.
26154
77e8bddf
AS
26155 * configure.in: Don't override --enable-multi-arch.
26156
bc425b33
UD
261572011-01-15 Ulrich Drepper <drepper@gmail.com>
26158
26159 [BZ #6812]
26160 * nscd/hstcache.c (tryagain): Define.
26161 (cache_addhst): Return tryagain not notfound for temporary errors.
26162 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26163 failed.
26164
794c3ad3
UD
261652011-01-14 Ulrich Drepper <drepper@gmail.com>
26166
70181fdd
UD
26167 [BZ #10563]
26168 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26169 to make the syscall.
26170 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26171
794c3ad3
UD
26172 [BZ #12378]
26173 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26174 and fall back to matching as normal character if the string ends before
26175 the matching ']' is found. This is what POSIX requires.
26176 * posix/testfnm.c: Adjust test result.
26177 * posix/globtest.sh: Adjust test result. Add new test.
26178 * posix/tst-fnmatch.input: Likewise.
26179 * posix/tst-fnmatch2.c: Add new test.
26180
68dc9497
AS
261812010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26182
26183 * elf/Makefile (check-execstack): Revert last change. Depend on
26184 check-execstack.h.
26185 (check-execstack.h): New target.
26186 (generated): Add check-execstack.h.
26187 * elf/check-execstack.c: Include "check-execstack.h".
26188 (main): Revert last change.
26189 (handle_file): Return zero if GNU_STACK is absent and
26190 DEFAULT_STACK_PERMS doesn't include PF_X.
26191
451f001b
UD
261922011-01-13 Ulrich Drepper <drepper@gmail.com>
26193
cfa28e56
UD
26194 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26195 in child fails because the descriptor is already closed.
8cf8ce17
UD
26196 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26197 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26198 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26199
1086d70d
UD
26200 [BZ #12397]
26201 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26202 syscall.
26203
451f001b
UD
26204 [BZ #10484]
26205 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26206 temporary buffer used to handle multi lookups locally.
a85b5cb4 26207 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26208
08769175
UD
262092011-01-12 Ulrich Drepper <drepper@gmail.com>
26210
26211 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26212 loader is ld.so.
26213
5e49c52e
UD
262142011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26215
26216 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26217 alignment for SSE2.
26218
60522a5f
UD
262192011-01-12 Ulrich Drepper <drepper@gmail.com>
26220
26221 [BZ #12394]
26222 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26223 characters. When rounding increased number of integer digits recompute
26224 number of groups.
26225 * stdio-common/tst-grouping.c: New file.
26226 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26227
f257bbd7
UD
262282011-01-09 Ulrich Drepper <drepper@gmail.com>
26229
26230 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26231 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26232
26233 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26234 void.
26235 * bits/select.h: Likewise.
26236
fa9c15cb
UD
262372011-01-08 Ulrich Drepper <drepper@gmail.com>
26238
26239 * po/ja.po: Update from translation team.
26240
16c2895f
DM
262412011-01-04 David S. Miller <davem@sunset.davemloft.net>
26242
26243 [BZ #11155]
26244 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26245 implementation just like for lxstat, fxstatat, et al.
26246
2543fef2
JM
262472010-12-27 Jim Meyering <meyering@redhat.com>
26248
26249 [BZ #12348]
26250 * posix/regexec.c (build_trtable): Return failure indication upon
26251 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26252
98727dbe
UD
262532010-12-25 Ulrich Drepper <drepper@gmail.com>
26254
5bd6dc5c
UD
26255 [BZ #12201]
26256 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26257 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26258 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26259 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26260
97983464
UD
26261 [BZ #12207]
26262 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26263
98727dbe
UD
26264 [BZ #12204]
26265 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26266 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26267
4a531bb0
L
262682010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26269
26270 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26271 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26272 script has SORT_BY_INIT_PRIORITY.
26273 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26274 NO_CTORS_DTORS_SECTIONS is defined.
26275 * elf/soinit.c: Likewise.
26276 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26277 NO_CTORS_DTORS_SECTIONS is defined.
26278 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26279 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26280 * sysdeps/sh/init-first.c: Likewise.
26281 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26282
07eb4b71
UD
262832010-12-24 Ulrich Drepper <drepper@gmail.com>
26284
26285 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26286 always use the slow path.
26287
30950a5f
RA
262882010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26289
26290 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26291 similar rule which adds the sysdep directories to the header search in
26292 order to pick up the correct platform stackinfo.h.
26293 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26294 perform test if it is, otherwise return successfully without testing.
26295 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26296 DEFAULT_STACK_PERMS define in stackinfo.h.
26297 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26298 defined in stackinfo.h.
26299 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26300 DEFAULT_STACK_PERMS defined in stackinfo.h.
26301 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26302 * sysdeps/ia64/stackinfo.h: Likewise.
26303 * sysdeps/s390/stackinfo.h: Likewise.
26304 * sysdeps/sh/stackinfo.h: Likewise.
26305 * sysdeps/sparc/stackinfo.h: Likewise.
26306 * sysdeps/x86_64/stackinfo.h: Likewise.
26307 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26308 PF_X for powerpc64. Retain PF_X for powerpc32.
26309
db753e2c
UD
263102010-12-19 Ulrich Drepper <drepper@gmail.com>
26311
14b697f7
UD
26312 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26313 accurately.
db753e2c
UD
26314 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26315 GETDENTS_64BIT_ALIGNED.
26316
28300719
UD
263172010-12-14 Ulrich Drepper <dreper@gmail.com>
26318
14b697f7 26319 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26320
4f197237
AS
263212010-12-10 Andreas Schwab <schwab@redhat.com>
26322
dbb0472f
AS
26323 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26324 _GNU_SOURCE.
26325
4f197237
AS
26326 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26327 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26328 Remove __restrict.
26329 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26330 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26331
fb88ac72
UD
263322010-12-09 Ulrich Drepper <drepper@gmail.com>
26333
26334 [BZ #11655]
26335 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26336 are initialized.
26337
42acbb92
JJ
263382010-12-09 Jakub Jelinek <jakub@redhat.com>
26339
26340 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26341
c038d98d
UD
263422010-12-03 Ulrich Drepper <drepper@gmail.com>
26343
26344 * po/it.po: Update from translation team.
26345
3a4a2499
L
263462010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26347
26348 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26349 unused codes.
26350
1e24cf6e
UD
263512010-11-30 Ulrich Drepper <drepper@gmail.com>
26352
26353 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26354
a7690819
AS
263552010-11-24 Andreas Schwab <schwab@redhat.com>
26356
26357 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26358 specially.
26359 (gaih_getanswer_slice): Likewise.
26360
3bf8d1b1
JJ
263612010-10-20 Jakub Jelinek <jakub@redhat.com>
26362
26363 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26364
6db52fbb
PB
263652010-05-31 Petr Baudis <pasky@suse.cz>
26366
26367 [BZ #11149]
26368 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26369 silently even in the chroot mode.
26370
eaca7569
UD
263712010-11-22 Ulrich Drepper <drepper@gmail.com>
26372
26373 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26374 last patch a bit. Pretty printing
26375
3056dcdb
UD
263762010-05-31 Petr Baudis <pasky@suse.cz>
26377
26378 [BZ #10085]
26379 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26380 initialization of skip_initgroups_dyn.
26381
cf7c9078
UD
263822010-11-19 Ulrich Drepper <drepper@gmail.com>
26383
26384 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26385 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26386
a1fb5e3e
UD
263872010-11-16 Ulrich Drepper <drepper@gmail.com>
26388
26389 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26390
3540d66b
AS
263912010-11-11 Andreas Schwab <schwab@redhat.com>
26392
26393 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26394 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26395 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26396 ($(objpfx)tst-fnmatch-mem): New rule.
26397 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26398 * posix/tst-fnmatch.c (main): Call mtrace.
26399
13b69574
L
264002010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26401
26402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26403 Support Intel processor model 6 and model 0x2c.
26404
da93d214
LM
264052010-11-10 Luis Machado <luisgpm@br.ibm.com>
26406
26407 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26408 signed comparison.
26409
8ca52c6e
L
264102010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26411
26412 [BZ #12205]
26413 * string/test-strncasecmp.c (check_result): New function.
26414 (do_one_test): Use it.
26415 (check1): New function.
26416 (test_main): Use it.
26417 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26418 Support strcasecmp and strncasecmp.
26419
69da074d
UD
264202010-11-08 Ulrich Drepper <drepper@gmail.com>
26421
26422 [BZ #12194]
26423 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26424 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26425
ff02d528
L
264262010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26427
26428 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26429 IFUNC support.
26430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26431 memset-x86-64.
26432 * sysdeps/x86_64/multiarch/bzero.S: New file.
26433 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26434 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26435 * sysdeps/x86_64/multiarch/memset.S: New file.
26436 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26438 Set bit_Prefer_SSE_for_memop for Intel processors.
26439 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26440 Define.
26441 (index_Prefer_SSE_for_memop): Define.
26442 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26443
344d0b54
LM
264442010-11-04 Luis Machado <luisgpm@br.ibm.com>
26445
26446 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26447 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26448
c0dde15b
UD
264492010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26450
26451 [BZ #12191]
26452 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26453 (__x86_64_raw_data_cache_size_half): Likewise.
26454 (__x86_64_raw_shared_cache_size): Likewise.
26455 (__x86_64_raw_shared_cache_size_half): Likewise.
26456
26457 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26458 (__x86_64_raw_data_cache_size_half): Likewise.
26459 (__x86_64_raw_shared_cache_size): Likewise.
26460 (__x86_64_raw_shared_cache_size_half): Likewise.
26461 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26462 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26463 and __x86_64_raw_shared_cache_size_half. Round
26464 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26465 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26466 to multiple of 256 bytes.
26467
0e516e0e
MS
264682010-11-03 Ulrich Drepper <drepper@gmail.com>
26469
26470 [BZ #12167]
26471 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26472 of inacessible symlinks. Verify result of symlink before returning it.
26473 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26474 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26475
0e012e87
ER
264762010-10-28 Erich Ritz <erichritz@gmail.com>
26477
26478 * math/math.h (isinf): Fix typo in comment.
26479
de0ff7bc
UD
264802010-11-01 Ulrich Drepper <drepper@gmail.com>
26481
26482 * po/da.po: Update from translation team.
26483
fa41c84d
UD
264842010-10-26 Ulrich Drepper <drepper@gmail.com>
26485
26486 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26487 is added to the list.
26488
f0967738
AK
264892010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26490 Ulrich Drepper <drepper@gmail.com>
26491
26492 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26493 the global list here. Move code to...
26494 (_dl_add_to_namespace_list): ...here. New function.
26495 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26496 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26497 * elf/dl-load.c (lose): Don't remove the element from the list.
26498 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26499 (_dl_map_object): Likewise.
26500
265012010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26502
26503 [BZ #12159]
26504 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26505 into all bytes of SSE register.
26506 Patch by Richard Li <richardpku@gmail.com>.
26507
f0967738 265082010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26509
26510 [BZ #12140]
26511 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26512 perturbing.
26513
d0b9e94f
MB
265142010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26515
26516 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26517 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26518 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26519 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26521 submachine.
26522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26523
8e9f92e9
AS
265242010-10-22 Andreas Schwab <schwab@redhat.com>
26525
26526 * include/dlfcn.h (__RTLD_SECURE): Define.
26527 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26528 mode & __RTLD_SECURE instead.
26529 (open_path): Rename preloaded parameter to secure.
26530 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26531 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26532 * elf/dl-deps.c (openaux): Likewise.
26533 * elf/rtld.c (struct map_args): Remove is_preloaded.
26534 (map_doit): Don't use it.
26535 (dl_main): Likewise.
26536 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26537 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26538
bc96fbda
AS
265392010-09-09 Andreas Schwab <schwab@redhat.com>
26540
26541 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26542 (sysd-rules-targets): Remove duplicates.
26543 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26544 rtld-%.$o dependency.
26545
22cd1c9b
AS
265462010-10-18 Andreas Schwab <schwab@redhat.com>
26547
26548 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26549 _dl_map_object do it.
26550
18edac48
UD
265512010-10-19 Ulrich Drepper <drepper@gmail.com>
26552
26553 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26554 fast fma builtins, define the macros in the C99 standard.
26555 (FP_FAST_FMAF): Likewise.
26556 (FP_FAST_FMAL): Likewise.
26557 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26558
26559 * bits/mathdef.h: Update copyright year.
26560 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26561
d2050124
MM
265622010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26563
26564 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26565 builtins, define the macros in the C99 standard.
26566 (FP_FAST_FMAF): Likewise.
26567 (FP_FAST_FMAL): Likewise.
26568 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26569 multiply/add.
26570 (FP_FAST_FMAF): Likewise.
26571
475facd1
JJ
265722010-10-15 Jakub Jelinek <jakub@redhat.com>
26573
26574 [BZ #3268]
26575 * math/libm-test.inc (fma_test): Some new testcases.
26576 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26577 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26578 y and infinite z. Do multiplication by C already in long double.
26579 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26581 y and infinite z. Do bitwise or of inexact bit into u.d.
26582 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26583 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26584 * sysdeps/i386/fpu/s_fma.S: Removed.
26585 * sysdeps/i386/fpu/s_fmal.S: Removed.
26586
7c08a05c
JJ
265872010-10-16 Jakub Jelinek <jakub@redhat.com>
26588
26589 [BZ #3268]
26590 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26591 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26592 computation is not scheduled after fetestexcept. Fix value
26593 of minimum denormal long double.
26594
f3f7372d
JJ
265952010-10-14 Jakub Jelinek <jakub@redhat.com>
26596
26597 [BZ #3268]
26598 * math/libm-test.inc (fma_test): Add some more tests.
26599 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26600 correctly.
26601
14d43591
AS
266022010-10-15 Andreas Schwab <schwab@redhat.com>
26603
26604 * scripts/data/localplt-s390-linux-gnu.data: New file.
26605 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26606
5e908464
JJ
266072010-10-13 Jakub Jelinek <jakub@redhat.com>
26608
26609 [BZ #3268]
26610 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26611 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26612 instead of dbl-64.
26613 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26614 inlines.
26615 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26617 if one of x and y is very large and the other is subnormal.
26618 * sysdeps/s390/fpu/s_fmaf.c: New file.
26619 * sysdeps/s390/fpu/s_fma.c: New file.
26620 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26621 * sysdeps/powerpc/fpu/s_fma.S: New file.
26622 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26623 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26624 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26625
266262010-10-12 Jakub Jelinek <jakub@redhat.com>
26627
26628 [BZ #3268]
26629 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26630 fma tests.
26631 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26632 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26633 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26634 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26635 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26636 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26637 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26638
b833d51f
UD
266392010-10-12 Ulrich Drepper <drepper@redhat.com>
26640
26641 [BZ #12078]
26642 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26643 * posix/bug-regex31.input: Add test case.
26644
1751705d
UD
266452010-10-11 Ulrich Drepper <drepper@gmail.com>
26646
e9b9cbf5
UD
26647 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26648 * posix/bug-regex31.input: New file.
26649
26650 [BZ #12078]
26651 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26652 (parse_sub_exp): Fix last change, use postorder.
26653
ef06edbe
UD
26654 * posix/bug-regex31.c: New file.
26655 * posix/Makefile: Add rules to build and run bug-regex31.
26656
a129c80d
UD
26657 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26658
26659 [BZ #12078]
26660 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26661
b76b818e
UD
26662 [BZ #12108]
26663 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26664 to have entries in sys_siglist.
26665
1751705d
UD
26666 [BZ #12093]
26667 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26668 be NULL.
26669
9ff8d36f
JJ
266702010-10-07 Jakub Jelinek <jakub@redhat.com>
26671
26672 [BZ #3268]
26673 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26674 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26675 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26676 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26677 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26678 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26679 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26680 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26681 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26682 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26683 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26684 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26685 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26686 * math/ftestexcept.c (fetestexcept): Likewise.
26687 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26688 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26689 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26690 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26691 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26692 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26693 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26694
af325969
UD
266952010-10-11 Ulrich Drepper <drepper@gmail.com>
26696
c579b202 26697 [BZ #12107]
af325969
UD
26698 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26699 newline.
26700
67a67b95
UD
267012010-10-06 Ulrich Drepper <drepper@gmail.com>
26702
26703 * string/bug-strstr1.c: New file.
26704 * string/Makefile: Add rules to build and run bug-strstr1.
26705
5fb308bc
EB
267062010-10-05 Eric Blake <eblake@redhat.com>
26707
26708 [BZ #12092]
26709 * string/str-two-way.h (two_way_long_needle): Always clear memory
26710 when skipping input due to the shift table.
26711
45db99c7
UD
267122010-10-03 Ulrich Drepper <drepper@gmail.com>
26713
3b111893
UD
26714 [BZ #12005]
26715 * malloc/mcheck.c: Handle large requests.
26716
45db99c7
UD
26717 [BZ #12077]
26718 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26719 for strncmp and strncasecmp.
26720 * string/stratcliff.c: Add tests for strcmp and strncmp.
26721 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26722
cf7a1eb8
NI
267232010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26724
26725 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26726 __set_fpscr.
26727
6484ba5e
AJ
267282010-09-30 Andreas Jaeger <aj@suse.de>
26729
26730 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26731 (CGROUP_SUPER_MAGIC): Define.
26732 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26733 Handle btrfs and cgroup file systems.
26734 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26735 Likewise.
26736
91c42559
LM
267372010-09-27 Luis Machado <luisgpm@br.ibm.com>
26738
26739 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26740 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26741
87a97932
AK
267422010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26743
26744 [BZ #12067]
26745 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26746 trying to locate the ELF header.
26747
c21cc9bc
AS
267482010-09-27 Andreas Schwab <schwab@redhat.com>
26749
26750 [BZ #11611]
26751 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26752 Mask out sign-bit copies when constructing f_fsid.
26753
315970f6
PB
267542010-09-24 Petr Baudis <pasky@suse.cz>
26755
26756 * debug/stack_chk_fail_local.c: Add missing licence exception.
26757 * debug/warning-nop.c: Likewise.
26758
1ac7a2c7
JM
267592010-09-15 Joseph Myers <joseph@codesourcery.com>
26760
26761 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26762 implementing getdents64 using getdents syscall, set d_type if
26763 __ASSUME_GETDENTS32_D_TYPE.
26764
56801c50
AS
267652010-09-16 Andreas Schwab <schwab@redhat.com>
26766
26767 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26768 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26769
dda51327
UD
267702010-09-21 Ulrich Drepper <drepper@redhat.com>
26771
26772 [BZ #12037]
26773 * posix/unistd.h: Undo change of feature selection for ftruncate from
26774 2010-01-11.
26775
8ffcee4a
UD
267762010-09-20 Ulrich Drepper <drepper@redhat.com>
26777
a545ecd9 26778 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26779 detection.
26780
e24f0a8b
AS
267812010-09-20 Andreas Schwab <schwab@redhat.com>
26782
26783 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26784 fanotify_mark.
26785 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26786
7291c56f
AS
267872010-09-14 Andreas Schwab <schwab@redhat.com>
26788
26789 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26790 variables after CHECK_SP call.
26791 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26792
bc5fb037
AS
267932010-09-13 Andreas Schwab <schwab@redhat.com>
26794 Ulrich Drepper <drepper@redhat.com>
26795
26796 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26797 re-relocationg ld.so.
26798 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26799 _dl_init_paths call.
26800 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26801 here anymore.
26802
e66e7419
UD
268032010-09-14 Ulrich Drepper <drepper@redhat.com>
26804
26805 * resolv/res_init.c (__res_vinit): Count the default server we added.
26806
c044aa75
CLT
268072010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26808 Ulrich Drepper <drepper@redhat.com>
26809
26810 [BZ #11968]
26811 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26812 (____longjmp_chk): Use %ebx for saving value across system call.
26813 Add unwind info.
26814
32cf4069
AS
268152010-09-06 Andreas Schwab <schwab@redhat.com>
26816
26817 * manual/Makefile: Don't mix pattern rules with normal rules.
26818
817328ee
AS
268192010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26820
26821 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26822 operation.
26823 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26824 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26825 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26826 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26827 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26828 Likewise.
26829
29fddf61
UD
268302010-09-04 Ulrich Drepper <drepper@redhat.com>
26831
26832 [BZ #11979]
26833 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26834 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26835
0959ffc9
UD
268362010-09-02 Ulrich Drepper <drepper@redhat.com>
26837
26838 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26839 * sysdeps/x86_64/addmul_1.S: Likewise.
26840 * sysdeps/x86_64/lshift.S: Likewise.
26841 * sysdeps/x86_64/mul_1.S: Likewise.
26842 * sysdeps/x86_64/rshift.S: Likewise.
26843 * sysdeps/x86_64/sub_n.S: Likewise.
26844 * sysdeps/x86_64/submul_1.S: Likewise.
26845
ece29840
ST
268462010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26847
0959ffc9
UD
26848 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26849 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26850 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26851 * bits/sched.h [__need_schedparam]
ece29840 26852 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26853 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26854 (__defined_schedparam): Define to 1.
ece29840
ST
26855 (__sched_param): New structure, identical to sched_param.
26856 (__need_schedparam): Undefine.
26857
e53a31fe
MF
268582010-08-31 Mike Frysinger <vapier@gentoo.org>
26859
fdc0c10d
MF
26860 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26861 (epoll_create1): Declare.
26862
e53a31fe
MF
26863 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26864
a726d796
AS
268652010-08-31 Andreas Schwab <schwab@redhat.com>
26866
26867 [BZ #7066]
26868 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26869 shifting retval into place.
26870
2f3e3dc7
UD
268712010-09-01 Ulrich Drepper <drepper@redhat.com>
26872
f2933da9
UD
26873 * nis/rpcsvc/nis.h: Update copyright notice.
26874 * nis/rpcsvc/nis.x: Likewise.
26875 * nis/rpcsvc/nis_callback.h: Likewise.
26876 * nis/rpcsvc/nis_callback.x: Likewise.
26877 * nis/rpcsvc/nis_object.x: Likewise.
26878 * nis/rpcsvc/nis_tags.h: Likewise.
26879 * nis/rpcsvc/yp.h: Likewise.
26880 * nis/rpcsvc/yp.x: Likewise.
26881 * nis/rpcsvc/ypupd.h: Likewise.
26882 * nis/yp_xdr.c: Likewise.
26883 * nis/ypupdate_xdr.c: Likewise.
26884
2f3e3dc7
UD
26885 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26886 mainly the body of pmap_getport. Add parameters to specify timeouts.
26887 (pmap_getport): Use __libc_rpc_getport.
26888 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26889 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26890 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26891
f3dcc2f9
AS
268922010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26893
26894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26895 fanotify_mark.
26896
6d34eb5b
RM
268972010-08-27 Roland McGrath <roland@redhat.com>
26898
26899 * sysdeps/i386/i686/multiarch/Makefile
26900 (CFLAGS-varshift.c): New variable.
26901
9ea3de11
UD
269022010-08-27 Ulrich Drepper <drepper@redhat.com>
26903
c96d23fc
UD
26904 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26905 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26906
9ea3de11
UD
26907 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26908
26909 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26910
623aac7f
L
269112010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26912
26913 * sysdeps/x86_64/strlen.S: Unroll the loop.
26914 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26915 strlen-sse2 strlen-sse2-bsf.
26916 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26917 __strlen_no_bsf if bit_Slow_BSF is set.
26918 (__strlen_sse42): Removed.
26919 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26920 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26921
8b2b7715
RM
269222010-08-25 Roland McGrath <roland@redhat.com>
26923
26924 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26925 * sysdeps/x86_64/multiarch/varshift.c: New file.
26926 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26927 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26928 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26929 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26930
e73015f2
L
269312010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26932
26933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26934 strlen-sse2 strlen-sse2-bsf.
26935 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26936 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26937 (__strlen_sse2): Removed.
26938 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26939 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26941 bit_Slow_BSF for Atom.
26942 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26943 (index_Slow_BSF): Define.
26944 (HAS_SLOW_BSF): Define.
26945
df24a73e
UD
269462010-08-25 Ulrich Drepper <drepper@redhat.com>
26947
26948 [BZ #10851]
26949 * resolv/res_init.c (__res_vinit): When no server address at all
26950 is given default to loopback.
26951
f2ac4868
RM
269522010-08-24 Roland McGrath <roland@redhat.com>
26953
09055553
RM
26954 * configure.in: Remove config-name.h generation.
26955 * configure: Regenerated.
26956 * config-name.in: File removed.
26957 * scripts/config-uname.sh: New file.
26958 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26959 ($(objdir)config-name.h): New target.
26960
f2ac4868
RM
26961 * sunrpc/rpc_parse.h: Avoid nested comment.
26962
73f27d5e
RH
269632010-08-24 Richard Henderson <rth@redhat.com>
26964 Ulrich Drepper <drepper@redhat.com>
26965 H.J. Lu <hongjiu.lu@intel.com>
26966
26967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26969 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26970 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26971 _mm_alignr_epi8 with _mm_loadu_si128.
26972 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26973 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26974 (__m128i_shift_right): Removed.
26975 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26976 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26977 * sysdeps/x86_64/multiarch/varshift.h: New file.
26978 * sysdeps/x86_64/multiarch/varshift.S: New file.
26979
84b9230c
MF
269802010-08-21 Mike Frysinger <vapier@gentoo.org>
26981
26982 * configure.in: Move assembler checks to before sysdep dir checking.
26983
9bbd0ddc
PB
269842010-08-20 Petr Baudis <pasky@suse.cz>
26985
26986 * LICENSES: Sync the sunrpc license.
26987
9da4bb31
UD
269882010-08-19 Ulrich Drepper <drepper@redhat.com>
26989
a7ab6ec8
UD
26990 * sunrpc/auth_des.c: Update copyright notice once again.
26991 * sunrpc/auth_none.c: Likewise.
26992 * sunrpc/auth_unix.c: Likewise.
26993 * sunrpc/authdes_prot.c: Likewise.
26994 * sunrpc/authuxprot.c: Likewise.
26995 * sunrpc/bindrsvprt.c: Likewise.
26996 * sunrpc/clnt_gen.c: Likewise.
26997 * sunrpc/clnt_perr.c: Likewise.
26998 * sunrpc/clnt_raw.c: Likewise.
26999 * sunrpc/clnt_simp.c: Likewise.
27000 * sunrpc/clnt_tcp.c: Likewise.
27001 * sunrpc/clnt_udp.c: Likewise.
27002 * sunrpc/clnt_unix.c: Likewise.
27003 * sunrpc/des_crypt.c: Likewise.
27004 * sunrpc/des_soft.c: Likewise.
27005 * sunrpc/get_myaddr.c: Likewise.
27006 * sunrpc/getrpcport.c: Likewise.
27007 * sunrpc/key_call.c: Likewise.
27008 * sunrpc/key_prot.c: Likewise.
27009 * sunrpc/openchild.c: Likewise.
27010 * sunrpc/pm_getmaps.c: Likewise.
27011 * sunrpc/pm_getport.c: Likewise.
27012 * sunrpc/pmap_clnt.c: Likewise.
27013 * sunrpc/pmap_prot.c: Likewise.
27014 * sunrpc/pmap_prot2.c: Likewise.
27015 * sunrpc/pmap_rmt.c: Likewise.
27016 * sunrpc/rpc/auth.h: Likewise.
27017 * sunrpc/rpc/auth_unix.h: Likewise.
27018 * sunrpc/rpc/clnt.h: Likewise.
27019 * sunrpc/rpc/des_crypt.h: Likewise.
27020 * sunrpc/rpc/key_prot.h: Likewise.
27021 * sunrpc/rpc/netdb.h: Likewise.
27022 * sunrpc/rpc/pmap_clnt.h: Likewise.
27023 * sunrpc/rpc/pmap_prot.h: Likewise.
27024 * sunrpc/rpc/pmap_rmt.h: Likewise.
27025 * sunrpc/rpc/rpc.h: Likewise.
27026 * sunrpc/rpc/rpc_des.h: Likewise.
27027 * sunrpc/rpc/rpc_msg.h: Likewise.
27028 * sunrpc/rpc/svc.h: Likewise.
27029 * sunrpc/rpc/svc_auth.h: Likewise.
27030 * sunrpc/rpc/types.h: Likewise.
27031 * sunrpc/rpc/xdr.h: Likewise.
27032 * sunrpc/rpc_clntout.c: Likewise.
27033 * sunrpc/rpc_cmsg.c: Likewise.
27034 * sunrpc/rpc_common.c: Likewise.
27035 * sunrpc/rpc_cout.c: Likewise.
27036 * sunrpc/rpc_dtable.c: Likewise.
27037 * sunrpc/rpc_hout.c: Likewise.
27038 * sunrpc/rpc_main.c: Likewise.
27039 * sunrpc/rpc_parse.c: Likewise.
27040 * sunrpc/rpc_parse.h: Likewise.
27041 * sunrpc/rpc_prot.c: Likewise.
27042 * sunrpc/rpc_sample.c: Likewise.
27043 * sunrpc/rpc_scan.c: Likewise.
27044 * sunrpc/rpc_scan.h: Likewise.
27045 * sunrpc/rpc_svcout.c: Likewise.
27046 * sunrpc/rpc_tblout.c: Likewise.
27047 * sunrpc/rpc_util.c: Likewise.
27048 * sunrpc/rpc_util.h: Likewise.
27049 * sunrpc/rpcinfo.c: Likewise.
27050 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27051 * sunrpc/rpcsvc/key_prot.x: Likewise.
27052 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27053 * sunrpc/rpcsvc/mount.x: Likewise.
27054 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27055 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27056 * sunrpc/rpcsvc/rex.x: Likewise.
27057 * sunrpc/rpcsvc/rstat.x: Likewise.
27058 * sunrpc/rpcsvc/rusers.x: Likewise.
27059 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27060 * sunrpc/rpcsvc/spray.x: Likewise.
27061 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27062 * sunrpc/rtime.c: Likewise.
27063 * sunrpc/svc.c: Likewise.
27064 * sunrpc/svc_auth.c: Likewise.
27065 * sunrpc/svc_authux.c: Likewise.
27066 * sunrpc/svc_raw.c: Likewise.
27067 * sunrpc/svc_run.c: Likewise.
27068 * sunrpc/svc_simple.c: Likewise.
27069 * sunrpc/svc_tcp.c: Likewise.
27070 * sunrpc/svc_udp.c: Likewise.
27071 * sunrpc/svc_unix.c: Likewise.
27072 * sunrpc/svcauth_des.c: Likewise.
27073 * sunrpc/xcrypt.c: Likewise.
27074 * sunrpc/xdr.c: Likewise.
27075 * sunrpc/xdr_array.c: Likewise.
27076 * sunrpc/xdr_float.c: Likewise.
27077 * sunrpc/xdr_mem.c: Likewise.
27078 * sunrpc/xdr_rec.c: Likewise.
27079 * sunrpc/xdr_ref.c: Likewise.
27080 * sunrpc/xdr_sizeof.c: Likewise.
27081 * sunrpc/xdr_stdio.c: Likewise.
27082
9da4bb31
UD
27083 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27084 handling.
27085
bdaa77bc
AS
270862010-08-19 Andreas Schwab <schwab@redhat.com>
27087
27088 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27089
fe2f79db
LM
270902010-08-19 Luis Machado <luisgpm@br.ibm.com>
27091
27092 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27093 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27094 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27095 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27096 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27097 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27098 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27099 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27100 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27101 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27102 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27103 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27104 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27105 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27106
b9b42ee0
AB
271072010-07-26 Anton Blanchard <anton@samba.org>
27108
27109 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27110 * malloc/arena.c (heap_trim): Likewise.
27111
1c06ba31
UD
271122010-08-16 Ulrich Drepper <drepper@redhat.com>
27113
27114 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27115 here. Not...
27116 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27117 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27118
f8392f40
L
271192010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27120
27121 * sysdeps/i386/elf/Makefile: New file.
27122
3162f12e
AS
271232010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27124
27125 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27126 from fanotify_init.
27127 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27128 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27129
28c90b2c
UD
271302010-08-15 Ulrich Drepper <drepper@redhat.com>
27131
27132 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27133 of strncasecmp_l.
1feccb6c 27134 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27135
ca6bb004
UD
271362010-08-14 Ulrich Drepper <drepper@redhat.com>
27137
e9f82e0d
UD
27138 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27139 strncase_l-nonascii.
27140 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27141 Add strncase_l-ssse3.
27142 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27143 * sysdeps/x86_64/strcmp.S: Likewise.
27144 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27145 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27146 * sysdeps/x86_64/strncase.S: New file.
27147 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27148 * sysdeps/x86_64/strncase_l.S: New file.
27149 * string/Makefile (strop-tests): Add strncasecmp.
27150 * string/test-strncasecmp.c: New file.
27151
27152 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27153 warning.
27154
ca6bb004
UD
27155 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27156 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27157
052fa7b3
AS
271582010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27159
27160 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27161
962dba78
UD
271622010-08-12 Ulrich Drepper <drepper@redhat.com>
27163
27164 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27165 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27166 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27167
bebff237
AM
271682010-05-01 Alan Modra <amodra@gmail.com>
27169
27170 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27171 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27172 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27173 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27174 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27175 tidying. Don't tail-call __sigjmp_save for static lib.
27176 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27177 save location.
27178 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27179 (CALL_MCOUNT): Add eh info, and nop after bl.
27180 (TAIL_CALL_SYSCALL_ERROR): New macro.
27181 (PSEUDO_RET): Use it.
27182 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27183 Correct save location of integer regs and cr.
27184 (_dl_profile_resolve): Correct cr save location. Delete nops
27185 after bl when SHARED. Reduce cfi size a little by better
27186 placement of cfi directives.
27187 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27188 make a stack frame. Instead use parm save area as a temp.
27189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27190 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27192 Don't make a stack frame for parent, use parm save area.
27193 Increase child stack frame to 112 bytes. Don't save unused reg,
27194 and adjust reg usage. Set up cfi on error recovery and
27195 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27197 (__makecontext): Add dummy nop after jump to exit.
27198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27199 Use correct parm save area and cr save, reduce stack frame.
27200 Correct cfi for possible PSEUDO_RET frame setup.
27201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27202 Branch to local label emitted by PSEUDO_RET rather than
27203 __syscall_error.
27204
02637374
AS
272052010-08-12 Andreas Schwab <schwab@redhat.com>
27206
27207 [BZ #11904]
27208 * locale/programs/locale.c (print_assignment): New function.
27209 (show_locale_vars): Use it.
27210
c3e2f19b
UD
272112010-08-11 Ulrich Drepper <drepper@redhat.com>
27212
3cdaa6ad
UD
27213 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27214 field.
27215 (struct statfs64): Likewise.
27216 (_STATFS_F_FLAGS): Define.
27217 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27218 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27219 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27220 (ST_VALID): Define locally.
27221 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27222 __statvfs_getflags, use the provided value.
27223 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27224 __ASSUME_STATFS_F_FLAGS.
27225
754f7da3
UD
27226 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27227
10b3bedc
UD
27228 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27229 Add sys/fanotify.h.
27230 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27231 fanotify_mask for GLIBC_2.13.
27232 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27233 fanotify_init and fanotify_mark.
27234 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27235 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27236
c08fb0d7
UD
27237 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27238 Add prlimit.
27239 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27240 prlimit64 for GLIBC_2.13.
27241 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27242 prlimit64.
27243 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27244 syscall.
27245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27246 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27247 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27248 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27249 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27250 add prlimit alias.
27251 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27252
15bac72b
UD
27253 [BZ #11903]
27254 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27255 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27256
c3e2f19b
UD
27257 * nss/Makefile: Add rules to build and run tst-nss-test1.
27258 * shlib-versions: Add entry for libnss_test1.
27259 * nss/nss_test1.c: New file.
27260 * nss/tst-nss-test1.c: New file.
27261
27262 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27263 (__nss_configure_lookup): Set appropriate entry in
27264 __nss_configure_lookup to true.
27265 * nss/nsswitch.h: Define enum with indeces of databases in
27266 databases and __nss_database_custom arrays. Declare
27267 __nss_database_custom.
27268 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27269 to avoid using nscd when custom rules are installed.
27270 * nss/getXXbyYY_r.c: Likewise.
27271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27272
27273 * nss/nss_files/files-parse.c: Whitespace fixes.
27274
f15ce4d8
UD
272752010-08-09 Ulrich Drepper <drepper@redhat.com>
27276
27277 [BZ #11883]
27278 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27279 * posix/fnmatch_loop.c: Likewise.
27280
d22e4cc9
AK
272812010-07-17 Andi Kleen <ak@linux.intel.com>
27282
27283 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27284 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27285 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27286 * Versions.def [GLIBC_2.13]: Add.
27287
805bc17d
UD
272882010-08-06 Ulrich Drepper <drepper@redhat.com>
27289
27290 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27291 Also fail if tpwd after pwuid call is NULL.
27292
5a42321d
ST
272932010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27294
27295 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27296 when converting to ms.
27297
fd3ebeda
ST
272982010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27299
27300 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27301 EOPNOTSUPP errors with ENOTTY.
27302 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27303 EOPNOTSUPP errors with ENOTTY.
27304
73507d3a
UD
273052010-07-31 Ulrich Drepper <drepper@redhat.com>
27306
27307 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27308 Add strcasecmp_l-ssse3.
27309 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27310 strcasecmp.
27311 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27312 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27313 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27314
fe36dd02
UD
273152010-07-30 Ulrich Drepper <drepper@redhat.com>
27316
66f6765a
UD
27317 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27318
42e08a54
UD
27319 * string/Makefile (strop-tests): Add strcasecmp.
27320 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27321 strcasecmp_l-nonascii.
27322 (gen-as-const-headers): Add locale-defines.sym.
27323 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27324 * sysdeps/x86_64/strcasecmp.S: New file.
27325 * sysdeps/x86_64/strcasecmp_l.S: New file.
27326 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27327 * sysdeps/x86_64/locale-defines.sym: New file.
27328 * string/test-strcasecmp.c: New file.
27329
fe36dd02
UD
27330 * string/test-strcasestr.c: Test both ends of the range of characters.
27331 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27332
48cbc0d6
RM
273332010-07-29 Roland McGrath <roland@redhat.com>
27334
76e6d6bc 27335 [BZ #11856]
48cbc0d6
RM
27336 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27337
880113d9
UD
273382010-07-27 Ulrich Drepper <drepper@redhat.com>
27339
27340 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27341 for ld.so.
27342
deb9cabb
AS
273432010-07-27 Andreas Schwab <schwab@redhat.com>
27344
27345 * manual/memory.texi (Malloc Tunable Parameters): Document
27346 M_PERTURB.
27347
1c7570ff
RM
273482010-07-26 Roland McGrath <roland@redhat.com>
27349
27350 [BZ #11840]
27351 * configure.in (-fgnu89-inline check): Set and substitute
27352 gnu89_inline, not libc_cv_gnu89_inline.
27353 * configure: Regenerated.
27354 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27355
24fb0f88
UD
273562010-07-26 Ulrich Drepper <drepper@redhat.com>
27357
27358 * string/test-strnlen.c: New file.
27359 * string/Makefile (strop-tests): Add strnlen.
27360 * string/tester.c (test_strnlen): Add a few more test cases.
27361 * string/tst-strlen.c: Better error reporting.
27362
27363 * sysdeps/x86_64/strnlen.S: New file.
27364
8e96b93a
UD
273652010-07-24 Ulrich Drepper <drepper@redhat.com>
27366
27367 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27368 lower-latency instructions.
27369
dbc676d4
UD
273702010-07-23 Ulrich Drepper <drepper@redhat.com>
27371
27372 * string/test-strcasestr.c: New file.
27373 * string/test-strstr.c: New file.
27374 * string/Makefile (strop-tests): Add strstr and strcasestr.
27375 * string/str-two-way.h: Don't undefine MAX.
27376 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27377
f6a31e0e
AS
273782010-07-21 Andreas Schwab <schwab@redhat.com>
27379
27380 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27381 strcasestr-nonascii.
27382 (CFLAGS-strcasestr-nonascii.c): Define.
27383 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27384 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27385 Remove unused attribute.
27386
5dbc3b6c
RM
273872010-07-20 Roland McGrath <roland@redhat.com>
27388
27389 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27390 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27391 ld.so.cache was broken. With it, there is no way to disable dsocaps
27392 like LD_HWCAP_MASK can disable hwcaps.
27393
23d101d8
EPM
273942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27395
27396 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27397
cc9f2e47
UD
273982010-07-16 Ulrich Drepper <drepper@redhat.com>
27399
27400 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27401 call in strcasestr.
27402 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27403 __strcasestr_sse42_nonascii.
27404 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27405 strcasestr-nonascii.c.
27406 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27407
77c1b069
LM
274082010-06-15 Luis Machado <luisgpm@br.ibm.com>
27409
27410 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27411 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27412 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27413 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27414
440566c3
UD
274152010-07-09 Ulrich Drepper <drepper@redhat.com>
27416
27417 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27418 fcntl.
27419
5be9d05d
AS
274202010-07-06 Andreas Schwab <schwab@redhat.com>
27421
c30b7ee2 27422 [BZ #11577]
5be9d05d
AS
27423 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27424 dl_signal_cerror.
27425
8a492a67
UD
274262010-07-06 Ulrich Drepper <drepper@redhat.com>
27427
27428 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27429 _PC_PIPE_BUF using F_GETPIPE_SZ.
27430
713df3d5
RM
274312010-07-05 Roland McGrath <roland@redhat.com>
27432
27433 * manual/arith.texi (Rounding Functions): Fix rint description
27434 implicit in round description.
27435
702e8f14
UD
274362010-07-02 Ulrich Drepper <drepper@redhat.com>
27437
27438 * elf/Makefile: Fix linking for a few tests to make recent linker
27439 happy.
27440
52ed8be9
AS
274412010-06-30 Andreas Schwab <schwab@redhat.com>
27442
27443 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27444 $(common-objpfx)libc_nonshared.a.
27445
f47c9a11
LM
274462010-06-21 Luis Machado <luisgpm@br.ibm.com>
27447
27448 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27449 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27450 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27451 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27452 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27453 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27454 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27455 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27470 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27471 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27472 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27473 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27474 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27475 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27476 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27477 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27478 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27479 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27480 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27481 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27496
6fb8cbcb
L
274972010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27498
27499 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27500 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27501 * string/memmove.c (memmove): Renamed to ...
27502 (MEMMOVE): ...this. Default to memmove.
27503 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27504 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27505 (END_CHK): Define.
27506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27507 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27508 mempcpy-ssse3-back memmove-ssse3-back.
27509 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27510 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27511 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27512 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27513 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27514 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27515 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27516 * sysdeps/x86_64/multiarch/memmove.c: New file.
27517 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27518 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27519 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27520 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27521 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27522 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27523 Define.
27524 (index_Fast_Copy_Backward): Define.
27525 (HAS_ARCH_FEATURE): Define.
27526 (HAS_FAST_REP_STRING): Define.
27527 (HAS_FAST_COPY_BACKWARD): Define.
27528
4e733bac 275292010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27530
27531 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27532 Restore proper fallback handling.
27533
63c4ed22
UD
275342010-06-19 Ulrich Drepper <drepper@redhat.com>
27535
ac2b484c
UD
27536 [BZ #11701]
27537 * posix/group_member.c (__group_member): Correct checking loop.
27538
63c4ed22
UD
27539 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27540 OOM in getpwuid_r correctly. Return error number when the caller
27541 should return, otherwise -1.
27542 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27543 call returning > 0 value.
27544 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27545
765ade4b
AS
275462010-06-07 Andreas Schwab <schwab@redhat.com>
27547
27548 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27549 libc_nonshared.a from targets in modules-names.
27550
80da2e09
KS
275512010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27552
27553 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27554 requires it.
27555
158db122
LM
275562010-06-10 Luis Machado <luisgpm@br.ibm.com>
27557
27558 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27559 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27560 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27561 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27562
caa78cf8
AS
275632010-06-02 Andreas Schwab <schwab@redhat.com>
27564
27565 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27566
b2ef2c01
UD
275672010-06-14 Ulrich Drepper <drepper@redhat.com>
27568
27569 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27570 and F_GETPIPE_SZ.
27571 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27572 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27573 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27575 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27576 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27577
fbd643b6
RM
275782010-06-14 Roland McGrath <roland@redhat.com>
27579
27580 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27581
f32f2869
JJ
275822010-06-07 Jakub Jelinek <jakub@redhat.com>
27583
27584 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27585 __REDIRECT followed by __THROW.
27586 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27587 * posix/getopt.h (getopt): Likewise.
27588
2a50c078
EPM
275892010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27590
27591 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27592 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27593 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27594 in AT_FLAGS.
27595 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27596 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27597
eb5ad2eb
LM
275982010-05-28 Luis Machado <luisgpm@br.ibm.com>
27599
27600 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27601
3c88fe1e
L
276022010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27603
27604 [BZ #11640]
27605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27606 Properly check family and model.
27607
d2f73151
TY
276082010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27609
27610 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27611
ebd2e13d
LM
276122010-05-24 Luis Machado <luisgpm@br.ibm.com>
27613
27614 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27615
b32b8b45
UD
276162010-05-21 Ulrich Drepper <drepper@redhat.com>
27617
27618 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27619 symbol reference.
27620
9acbe24d
AS
276212010-05-19 Andreas Schwab <schwab@redhat.com>
27622
27623 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27624 symbol reference.
27625
f0ccf6ea
AS
276262010-05-21 Andreas Schwab <schwab@redhat.com>
27627
3d04ff3a
AS
27628 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27629 and internal_recvmmsg.
27630 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27631 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27632 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27633 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27634
f0ccf6ea
AS
27635 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27636 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27637 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27638
5b08ac57
AS
276392010-05-20 Andreas Schwab <schwab@redhat.com>
27640
27641 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27642
4828935d
LM
276432010-05-17 Luis Machado <luisgpm@br.ibm.com>
27644
27645 POWER7 optimizations.
27646 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27647 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27648
373d545e
UD
276492010-05-19 Ulrich Drepper <drepper@redhat.com>
27650
27651 * version.h: Update for 2.13 development version.
27652
21a2b1ae
AS
276532010-05-12 Andrew Stubbs <ams@codesourcery.com>
27654
27655 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27656 exceptions. Return 0.
27657
3f7dcb2b
RM
276582010-05-07 Roland McGrath <roland@redhat.com>
27659
27660 * elf/ldconfig.c (main): Add a const.
27661
5f24d53a 276622010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27663
a160f8d8
UD
27664 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27665 (args_options): Add no-idn option.
27666 (ahosts_keys_int): Add idn_flags to ai_flags.
27667 (parse_option): Handle 'i' option to clear idn_flags.
27668
5f24d53a
UD
27669 * malloc/malloc.c (_int_free): Possible race in the most recently
27670 added check. Only act on the data if no current modification
27671 happened.
265bb1ce
UD
27672
27673See ChangeLog.17 for earlier changes.
This page took 3.672583 seconds and 5 git commands to generate.