]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
sem_post.c: Include atomic.h.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7208a313
CD
12013-04-06 Carlos O'Donell <carlos@redhat.com>
2
085b2d41
CD
3 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4 Use testrun.sh to run libm tests.
5
7208a313
CD
6 [BZ #15309]
7 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8
872c0acd
MM
92013-04-06 Marko Myllynen <myllynen@redhat.com>
10
11 [BZ #15264]
12 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
13
26510bdd
CD
142013-04-06 Carlos O'Donell <carlos@redhat.com>
15
16 * Makefile.in (regen-ulps): New target.
17 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19 [ifneq (no,$(PERL)] (regen-ulps): New target.
20 [ifeq (no,$(PERL)] (regen-ulps): New target.
21 * math/libm-test.inc (ulps_file_name): Define.
22 (output_dir): New variable.
23 (options): Add "output-dir" option.
24 (parse_opt): Handle 'o' case.
25 (main): If output_dir is non-NULL use it as a prefix
26 otherwise use "".
27 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28
a01f19c8
CD
292013-04-06 Carlos O'Donell <carlos@redhat.com>
30
31 [BZ #10060, #10062]
32 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34 fail configure if __sync_val_compare_and_swap is not inlined.
35 * sysdeps/i386/configure: Regenerate.
36 * configure.in: Build for i686 when configured for i386.
37 * configure: Regenerate.
38 * README: Remove i386 reference.
39
b7a329a5
CD
402013-04-06 Carlos O'Donell <carlos@redhat.com>
41
42 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
43 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44
bf0f50df
TS
452013-04-05 Thomas Schwinge <thomas@codesourcery.com>
46
ee091edf
TS
47 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
48 (lmsnanval): New variables.
49 (F): Add conversion tests.
50 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
51 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52
a8b792d6
TS
53 * stdio-common/tstdiomisc.c (F): Properly collect individual
54 tests' results.
55
a1cbf437
TS
56 [BZ #14686, #15336]
57 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
58 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
59 Instead, use input NaN values or generate a qNaN by arithmetic
60 operation. Also fix bugs to comply with the standard.
61 * math/libm-test.inc (remainder_test): Add more tests.
62
8b43a0c9
TS
63 [BZ #15335, #15342]
64 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
65 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
66 input NaN values or generate a qNaN by arithmetic operation.
67
d91da4ce
TS
68 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
69 unreachable code.
70
bf0f50df
TS
71 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
72 definitions.
73
05e166c8
JM
742013-04-03 Joseph Myers <joseph@codesourcery.com>
75
76 [BZ #14478]
77 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
78 underflowed result.
79 * math/s_cexpf.c (__cexpf): Likewise.
80 * math/s_cexpl.c (__cexpl): Likewise.
81 * math/libm-test.inc (cexp_test): Add more tests.
82
1cef1b19
AS
832013-04-03 Andreas Schwab <schwab@suse.de>
84
85 [BZ #15330]
86 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
87 order arrays from heap if bigger than alloca cutoff.
88
74d87055
TS
892013-04-03 Thomas Schwinge <thomas@codesourcery.com>
90
91 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
92 (SNAN_TESTS_double): Refer to GCC PR56831.
93 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
94 GCC PR56828.
95
d755bba4
SP
962013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
97
90d5d5bb
SP
98 * Rules (bench): Move bench.out after the run is complete.
99
73e0cd5d
SP
100 * Rules (bench): Echo currently running benchmark.
101
64aabd4b
SP
102 * benchtests/Makefile (bench): Add atan and slowatan.
103 * benchtests/atan-inputs: New file.
104 * benchtests/slowatan-inputs: New file.
105 * benchtests/slowatan.c: New file.
106
c871eccd
SP
107 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
108 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
109 its value.
110
d755bba4
SP
111 [BZ #15305]
112 * sysdeps/unix/sysv/linux/kernel-features.h
113 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
114 __ASSUME_XFS_RESTRICTED_CHOWN.
115 * sysdeps/unix/sysv/linux/pathconf.c
116 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
117 Save and restore errno.
118
52ce4860
JM
1192013-04-02 Joseph Myers <joseph@codesourcery.com>
120
121 [BZ #15327]
122 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
123 arguments using __kernel_casinh.
124 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
125 arguments using __kernel_casinhf.
126 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
127 arguments using __kernel_casinhl.
128 * math/libm-test.inc (cacosh_test): Add more tests.
129 * sysdeps/i386/fpu/libm-test-ulps: Update.
130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
131
81f311c2
SP
1322013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
133
e7906a47
SP
134 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
135 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
136
92e3664b
SP
137 * bench/Makefile (bench): Add sin and slowsin.
138 * benchtests/sin-inputs: New file.
139 * benchtests/slowsin-inputs: New file.
140 * benchtests/slowsin.c: New file.
141
81f311c2
SP
142 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
143 (bench): Add slowexp and slowpow.
144 (exp-ITER): Increase iterations.
145 (pow-ITER): Likewise.
146 * benchtests/exp-inputs: Change input.
147 * benchtests/pow-inputs: Likewise.
148 * benchtests/slowexp-inputs: New file.
149 * benchtests/slowexp.c: New file.
150 * benchtests/slowpow-inputs: New file.
151 * benchtests/slowpow.c: New file.
152
ab0f1aa9
AZ
1532013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
154
155 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
156 instructions.
157 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
158 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
159 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
160 * benchtests/Makefile: Add rint benchtest.
161 * benchtests/rint-inputs: Input for rint benchtest.
162
57267616
TS
1632013-04-02 Thomas Schwinge <thomas@codesourcery.com>
164
165 * Versions.def (libm): Add GLIBC_2.18.
166 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
167 hidden libm prototypes.
168 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
169 * math/Makefile (libm-calls): Add s_issignaling.
170 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
171 __issignalingf, __issignalingl. Adjust all libm.abilist files.
172 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
173 declaration.
174 * math/math.h [__USE_GNU] (issignaling): New macro.
175 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
176 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
177 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
178 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
179 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
180 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
181 * manual/arith.texi (issignaling): New section.
182 * manual/libm-err-tab.pl (@all_functions): Update comment.
183 * math/gen-libm-test.pl (parse_args): Apply special handling for
184 issignaling.
185 * math/libm-test.inc (print_float, issignaling_test): New
186 functions.
187 (check_float_internal): Add issignaling checks.
188 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
189 default definition.
190 * sysdeps/powerpc/math-tests.h: New file.
191 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
192 tests.
193 * math/test-snan.c (TEST_FUNC): Likewise.
194
6142896d
DM
1952013-03-30 David S. Miller <davem@davemloft.net>
196
197 * po/de.po: Update from translation team.
198
ccc8cadf
JM
1992013-03-30 Joseph Myers <joseph@codesourcery.com>
200
201 [BZ #10357]
202 * math/k_casinh.c (__kernel_casinh): Handle arguments with
203 imaginary part less than 1.0 and real part less than 0.5
204 specially.
205 * math/k_casinhf.c (__kernel_casinhf): Likewise.
206 * math/k_casinhl.c (__kernel_casinhl): Likewise.
207 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
208 (cacos_test): Add more tests.
209 (casin_test): Likewise.
210 (casinh_test): Likewise.
211 * sysdeps/i386/fpu/libm-test-ulps: Update.
212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
213
0f6a8d4b
SP
2142013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
215
0d1029de
SP
216 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
217 ONE with its value.
218
c2d94018
SP
219 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
220 (__pow_mp): Replace ONE and MONE with their values.
221 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
222 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
223 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
224 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
225 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
226 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
227
27ec37f1
SP
228 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
229
a64d7e0e
SP
230 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
231 (__pow_mp): Replace ZERO and MZERO with their values.
232 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
233 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
234 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
235 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
236 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
237 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
238 (__sqr): Likewise.
239
d26dd3eb
SP
240 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
241
0f6a8d4b
SP
242 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
243
e57b0c61
RM
2442013-03-28 Roland McGrath <roland@hack.frob.com>
245
246 * include/stdlib.h [!SHARED] (__call_tls_dtors):
247 Declare with __attribute__ ((weak)).
248 * stdlib/exit.c (__libc_atexit) [!SHARED]:
249 Call __call_tls_dtors only if it's not NULL.
250
356b3480
RM
2512013-03-28 Roland McGrath <roland@hack.frob.com>
252
288f7d79
RM
253 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
254 didn't do it already, then set _dl_phdr and _dl_phnum based on the
255 magic __ehdr_start linker symbol if it's defined.
256 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
257 them up here if it was already done.
258
dc0a0263
RM
259 * elf/dl-support.c (_dl_phdr): Make pointer to const.
260 (_dl_aux_init): Use const in cast when setting it.
261 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
262 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
263 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
264
3d3436ae
RM
265 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
266 Declare them here.
267 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
268 * csu/libc-tls.c: Nor here.
269 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
270
356b3480
RM
271 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
272 (__libc_message): Never call vsyslog.
273
b0f1246a
AM
2742013-03-28 Alan Modra <amodra@gmail.com>
275
276 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
277 Define as empty.
278 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
279 Likewise.
280
fbbe2b9a
AZ
2812013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
282
283 [BZ #15214]
284 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
285 underflow.
286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
287
1728ab37
SP
2882013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
289
7a86be6e
SP
290 [BZ #15304]
291 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
292 Don't add gid passed as argument.
293
1728ab37
SP
294 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
295
3a7182a1
JM
2962013-03-27 Joseph Myers <joseph@codesourcery.com>
297
298 [BZ #15307]
299 * math/k_casinh.c (__kernel_casinh): Handle arguments with
300 imaginary part between 1.0 and 1.5 and real part less than 0.5
301 specially.
302 * math/k_casinhf.c (__kernel_casinhf): Likewise.
303 * math/k_casinhl.c (__kernel_casinhl): Likewise.
304 * math/libm-test.inc (cacos_test): Add more tests.
305 (casin_test): Likewise.
306 (casinh_test): Likewise.
307 * sysdeps/i386/fpu/libm-test-ulps: Update.
308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
309
6f2e90e7
SP
3102013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
311
5739f705
SP
312 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
313 constants.
314 (norm): Likewise.
315 (denorm): Likewise.
316 (__dbl_mp): Likewise.
317 (add_magnitudes): Likewise.
318 (sub_magnitudes): Likewise.
319 (__add): Likewise.
320 (__sub): Likewise.
321 (__mul): Likewise.
322 (__sqr): Likewise.
323 (__inv): Likewise.
324 (__dvd): Likewise.
325
e375e83d
SP
326 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
327 commented code.
328 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
329 (__dubcos): Likewise.
330 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
331 (__ieee754_acos): Likewise.
332 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
333 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
334 (__exp1): Likewise.
335 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
336 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
337 (log1): Likewise.
338 (my_log2): Likewise.
339 (checkint): Likewise.
340 * sysdeps/ieee754/dbl-64/e_remainder.c
341 (__ieee754_remainder): Likewise.
342 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
343 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
344 (bsloww): Likewise.
345 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
346
6f2e90e7
SP
347 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
348 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
349 MANTISSA_STORE_T to store computations on mantissa. Use
350 macros for rounding and division.
351 (denorm): Likewise.
352 (__dbl_mp): Likewise.
353 (add_magnitudes): Likewise.
354 (sub_magnitudes): Likewise.
355 (__mul): Likewise.
356 (__sqr): Likewise.
357 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
358 powers of two in terms of TWOPOW macro.
359 (mp_no): Make type of mantissa as MANTISSA_T.
360 [!RADIXI]: Define RADIXI.
361 [!TWO52]: Define TWO52.
362 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
363
fce14d4e
AZ
3642013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
365
366 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
367 llroundl symbol when building for PPC32.
368
9ad027fb
MW
3692013-03-24 Mark H Weaver <mhw@netris.org>
370
371 * manual/arith.texi (Normalization Functions): Fix prototypes for
372 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
373
e42a38dd
AZ
3742013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
375
376 [BZ #13889]
377 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
378 high value to check if expl overflow.
379 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
380 to check for underflow and overflow.
381 * math/libm-test.inc: Add exp test.
382
2e0fb521
DL
3832013-03-21 Dmitry V. Levin <ldv@altlinux.org>
384
385 [BZ #11120]
386 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
387 with NOT_IN_libc.
388
b5784d95
AZ
3892013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
390
391 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
392 symbol.
393
5aa4a1a1
TS
3942013-03-21 Thomas Schwinge <thomas@codesourcery.com>
395
bdef0be7
TS
396 * math/gen-libm-test.pl (parse_args, special_functions): Properly
397 wrap blocks consisting of several statements.
398
5aa4a1a1
TS
399 * sysdeps/generic/math-tests.h: New file.
400 * sysdeps/i386/fpu/math-tests.h: Likewise.
401 * math/test-snan.c: Include it.
402 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
403
98c48fe5
JM
4042013-03-21 Joseph Myers <joseph@codesourcery.com>
405
406 [BZ #15285]
407 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
408 (__ieee754_j0l): Do not improve calculations using cos of twice
409 input for inputs above LDBL_MAX / 2.0L.
410 (__ieee754_y0l): Likewise.
411 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
412 (__ieee754_j1l): Do not improve calculations using cos of twice
413 input for inputs above LDBL_MAX / 2.0L.
414 (__ieee754_y1l): Likewise.
415 * math/libm-test.inc (j0_test): Add another test.
416 (j1_test): Likewise.
417 (y0_test): Likewise.
418 (y1_test): Likewise.
419 * sysdeps/i386/fpu/libm-test-ulps: Update.
420
3775a8bc
SP
4212013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
422
423 * Rules ($(objpfx)bench-%.c): Include code from a C source
424 file.
425
0a1b2ae6
JM
4262013-03-21 Joseph Myers <joseph@codesourcery.com>
427
428 [BZ #15287]
429 * math/k_casinh.c (__kernel_casinh): Handle arguments with
430 imaginary part 1.0 and real part less than 0.5 specially.
431 * math/k_casinhf.c (__kernel_casinhf): Likewise.
432 * math/k_casinhl.c (__kernel_casinhl): Likewise.
433 * math/libm-test.inc (cacos_test): Add more tests.
434 (casin_test): Likewise.
435 (casinh_test): Likewise.
436 * sysdeps/i386/fpu/libm-test-ulps: Update.
437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
438
b33d4ce4
SP
4392013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
440
441 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
442 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
443
bef0b507
JM
4442013-03-20 Joseph Myers <joseph@codesourcery.com>
445
446 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
447 * config.make.in (config-cflags-sse4): Remove variable.
448 (config-cflags-avx): Likewise.
449 (config-cflags-sse2avx): Likewise.
450 (config-cflags-novzeroupper): Likewise.
451 (config-asflags-i686): Likewise.
452 (have-mfma4): Likewise.
453 (have-as-vis3): Likewise.
454 (MIG): Likewise.
455 * configure.in (MIG): Do not AC_SUBST.
456 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
457 (libc_cv_cc_sse4): Do not AC_SUBST.
458 (libc_cv_cc_avx): Likewise.
459 (libc_cv_cc_sse2avx): Likewise.
460 (libc_cv_cc_novzeroupper): Likewise.
461 (libc_cv_cc_fma4): Likewise.
462 (libc_cv_as_i686): Likewise.
463 (libc_cv_sparc_as_vis3): Likewise.
464 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
465 LIBC_CONFIG_VAR.
466 (config-asflags-i686): Likewise.
467 (config-cflags-avx): Likewise.
468 (config-cflags-sse2avx): Likewise.
469 (have-mfma4): Likewise.
470 (config-cflags-novzeroupper): Likewise.
471 * sysdeps/mach/configure.in (MIG): Likewise.
472 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
473 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
474 LIBC_CONFIG_VAR.
475 (config-cflags-avx): Likewise.
476 (config-cflags-sse2avx): Likewise.
477 (have-mfma4): Likewise.
478 (config-cflags-novzeroupper): Likewise.
479 * configure: Regenerated.
480 * sysdeps/i386/configure: Likewise.
481 * sysdeps/mach/configure: Likewise.
482 * sysdeps/sparc/configure: Likewise.
483 * sysdeps/x86_64/configure: Likewise.
484
912cc4b3
RM
4852013-03-20 Roland McGrath <roland@hack.frob.com>
486
487 [BZ #14812]
488 * locale/programs/localedef.c (options): Put N_ translation marker
489 on argument names, not just descriptions.
490
04eed2b0
MS
4912013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
492
493 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
494
a065ceff
OB
4952013-03-20 Ondřej Bílka <neleai@seznam.cz>
496
9bb2a810 497 [BZ #14176]
a065ceff
OB
498 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
499
a600e5ce
RM
5002013-03-19 Roland McGrath <roland@hack.frob.com>
501
502 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
503 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
504 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
505 [!BEFORE_ABORT] (before_abort): New function.
506 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
507 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
508 (writev_for_fatal): New function.
509 (WRITEV_FOR_FATAL): New macro; call that.
510 (backtrace_and_maps): New function.
511 (BEFORE_ABORT): New macro; call that.
512 (struct str_list): Type removed.
513 (__libc_message, __libc_fatal): Functions removed.
514 Include <sysdeps/posix/libc_fatal.c> instead.
515
6b18bea6
JM
5162013-03-19 Joseph Myers <joseph@codesourcery.com>
517
518 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
519 constants.
520 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
521 double constants.
522
aaa8cb4b
AS
5232013-03-19 Andreas Schwab <schwab@suse.de>
524
44673770
AS
525 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
526 * sysdeps/gnu/configure: Regenerate.
527
aaa8cb4b
AS
528 * configure.in: Substitute libc_cv_rtlddir.
529 * configure: Regenerate.
530 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
531 * Makeconfig (rtlddir, inst_rtlddir): New variables.
532 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
533 * elf/Makefile (install-others, CFLAGS-interp.c)
534 (ldso_install, common-ldd-rewrite): Likewise.
535 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
536 $(inst_slibdir)/$(rtld-installed-name).
537 * scripts/rellns-sh: Add -p option.
538 * Makerules (make-shlib-link): Use rellns-sh to get relative name
539 for source.
540
d3cfc668
SP
5412013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
542
543 * manual/nptl.texi: Renamed to ...
544 * manual/threads.texi: ... this.
545 * manual/Makefile (chapters): Update.
546
0e2b9cdd
RM
5472013-03-18 Roland McGrath <roland@hack.frob.com>
548
549 [BZ #14812]
550 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
551 on argument names, not just descriptions.
0e2b9cdd
RM
552 * malloc/memusagestat.c (options): Likewise.
553 * nss/getent.c (options): Likewise.
63270c24
RM
554
5552013-03-18 Benno Schulenberg <bensberg@justemail.net>
556
557 [BZ #14812]
558 * iconv/iconv_prog.c (options): Put N_ translation marker
559 on argument names, not just descriptions.
560 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 561
b2e1393c
OB
5622013-03-18 Ondrej Bilka <neleai@seznam.cz>
563
564 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
565 implementation which is faster on all x86_64 architectures.
566 Tested on AMD, Intel Nehalem, SNB, IVB.
567 * sysdeps/x86_64/strnlen.S: Likewise.
568
569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
570 Remove all multiarch strlen and strnlen versions.
571 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
572 Remove strlen and strnlen related parts.
573
574 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
575 Inline strlen part.
576 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
577
578 * sysdeps/x86_64/multiarch/strlen.S: Remove.
579 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
580 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
581 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
582 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
583 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
584
ec4ff04d
CD
5852013-03-17 Carlos O'Donell <carlos@redhat.com>
586
587 * manual/memory.texi (Malloc Tunable Parameters):
588 Sort parameters alphabetically. Add comments for missing entries.
589
cd18e90a
DM
5902013-03-17 David S. Miller <davem@davemloft.net>
591
592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
593
2a185d32
JM
5942013-03-16 Joseph Myers <joseph@codesourcery.com>
595
d2f9799e
JM
596 [BZ #15283]
597 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
598 for arguments at most half maximum finite value.
599 * math/libm-test.inc (j0_test): Add more tests.
600 (j1_test): Likewise.
601 (y0_test): Likewise.
602 (y1_test): Likewise.
603 * sysdeps/i386/fpu/libm-test-ulps: Update.
604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
605
2a185d32
JM
606 [BZ #14155]
607 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
608 1 / x and functions P and Q for arguments above 0x1p256L.
609 (__ieee754_y0l): Likewise.
610 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
611 (__ieee754_y1l): Likewise.
612 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
613 (j1_test): Likewise.
614 (y0_test): Likewise.
615 (y1_test): Likewise.
616
6cbec759
TS
6172013-03-16 Thomas Schwinge <thomas@codesourcery.com>
618
619 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
620 variable.
621
bc16e260
RM
6222013-03-15 Roland McGrath <roland@hack.frob.com>
623
aefc9b8c
RM
624 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
625 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
626 zero since it's initialized to EXEC_PAGESIZE.
627
bc16e260
RM
628 * sysdeps/unix/sysv/linux/ldsodefs.h
629 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
630 * sysdeps/generic/ldsodefs.h: ... here.
631
a57da955
TS
6322013-03-15 Thomas Schwinge <thomas@codesourcery.com>
633
af00a34d
TS
634 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
635
495ded2c
TS
636 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
637 math/test-snan.c.
638 * math/test-snan.c: Renamed from
639 sysdeps/powerpc/fpu/test-powerpc-snan.c.
640 * math/Makefile (tests): Add test-snan.
641 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
642 test-powerpc-snan.
643
777b0332
TS
644 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
645 SUFFIX. Initialize qNaN_var with __builtin_nan family of
646 functions.
647 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
648 __builtin_nan family of functions.
649 * math/libm-test.inc (initialize): Initialize qnan_value with
650 __builtin_nan family of functions.
651 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
652 Remove variables.
653 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
654 Remove functions.
655 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
656 storage class. Initialize qNaN_var and sNaN_var with
657 __builtin_nan and __builtin_nans families of functions,
658 respectively.
659
64d063b8
TS
660 * math/libm-test.inc (acosh_test): Also test with qNaN input.
661 (sqrt_test): Remove duplicate test with qNaN input.
662 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
663 (round_test, signbit_test, significand_test): Note missing +/-Inf
664 as well as qNaN tests.
665
67e971f1
TS
666 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
667 qNaN_var. Fix a few strings, too.
668 * math/libm-test.inc (nan_value): Rename to qnan_value.
669 * math/gen-libm-test.pl (%beautify): Adjust to that.
670 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
671 * math/test-misc.c (main): Likewise.
672 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
673 to __qnan_bytes, and __qnan_union, respectively.
674 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
675 Likewise.
676 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
677 and lqnanval, respectively.
678 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
679 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
680 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
681 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
682
64487e12
TS
683 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
684 * math/test-misc.c (main) [__x86_64__]: Enable test for long
685 doubles.
686
e015e27b
TS
687 * math/test-misc.c (main): Fix copy'n'pastos.
688 * misc/tst-efgcvt.c (special): Likewise.
689
a57da955
TS
690 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
691 Remove declarations.
692
1e380345
SP
6932013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
694
695 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
696 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
697 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
698 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
699
ef26eece
AZ
7002013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
701
702 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
703 macro to return vdso values correctly in IFUNC implementations.
704 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
705 Optimization by using IFUNC.
706
8cfdb7e0
SP
7072013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
708 Richard Henderson <rth@redhat.com>
709 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
710
711 * Makefile.in (bench): New target.
712 * NEWS: Mention the benchmark framework.
713 * Rules (bench): Likewise.
714 (binaries-bench): Generate binaries for functions to
715 benchmark.
716 * benchtests/Makefile: New makefile for benchmark tests.
717 * benchtests/bench-skeleton.c: New skeleton file for benchmark
718 programs.
719 * benchtests/exp-inputs: New input file for EXP function.
720 * benchtests/pow-inputs: New input file for POW function.
721 * scripts/bench.pl: New script to generate source files for
722 benchmark programs.
723
bcda9880
SP
7242013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
725
d22ca8cd
SP
726 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
727 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
728 computations on mantissa. Use macros for rounding and
729 division.
730 (denorm): Likewise.
731 (__dbl_mp): Likewise.
732 (add_magnitudes): Likewise.
733 (sub_magnitudes): Likewise.
734 (__mul): Likewise.
735 (__sqr): Likewise.
736 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
737 powers of two in terms of TWOPOW macro.
738 (mp_no): Make type of mantissa as MANTISSA_T.
739 [!RADIXI]: Define RADIXI.
740 [!TWO52]: Define TWO52.
741 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
742
bcda9880
SP
743 * manual/nptl.texi (cindex): Modify threads to pthreads.
744
06d5adfb
JM
7452013-03-15 Joseph Myers <joseph@codesourcery.com>
746
747 * sysdeps/x86_64/preconfigure: Regenerated.
748
41c7328e
JM
7492013-03-14 Joseph Myers <joseph@codesourcery.com>
750
751 [BZ #14155]
752 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
753 0x1p28 and above.
754 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
755 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
756 0x1p28 and above.
757 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
758 * math/libm-test.inc (j0_test): Do not allow one spurious
759 underflow exception.
760 (y1_test): Likewise.
761
e25cfa60
SP
7622013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
763
0409959c
SP
764 * manual/Makefile (chapters): Add nptl.
765 * manual/debug.texi (Debugging Support): Add link to Threads
766 chapter.
767 * manual/nptl.texi: New file.
768
e25cfa60
SP
769 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
770
58a1335e
PB
7712013-03-14 Petr Baudis <pasky@ucw.cz>
772
773 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
774 for non-NULL pointer before the memory validity test. Pointed
775 out by Holger Brunck <holger.brunck@keymile.com>.
776
9dc7c64f
AS
7772013-03-13 Andreas Schwab <schwab@suse.de>
778
779 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
780 instead of .os.
781
54206aa6
JM
7822013-03-13 Joseph Myers <joseph@codesourcery.com>
783
784 * timezone/zic.c: Update from tzcode 2013b.
785
e98cdb38
CD
7862013-03-12 Carlos O'Donell <carlos@redhat.com>
787
788 * manual/install.texi (Configuring and compiling):
789 Mention i686 and i586.
790 * INSTALL: Regenerate.
791
9967e003
RM
7922013-03-12 Roland McGrath <roland@hack.frob.com>
793
794 * sysdeps/init_array/elf-init.c: New file.
795 * csu/elf-init.c
796 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
797 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
798
799 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
800 __gmon_start__ as global, but as static with a .preinit_array pointer.
801 * sysdeps/init_array/gmon-start.c: New file. Use that.
802 * sysdeps/init_array/crti.S: New file, empty except for comments.
803 * sysdeps/init_array/crtn.S: Likewise.
804
e6b5a293 8052013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
806
807 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
808 definining bcopy.
80f844c9
OB
809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
810 Remove Prefer_SSE_for_memop.
811 * sysdeps/x86_64/multiarch/init-arch.h: Remove
812 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
813 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
815 memset-x86-64.
80f844c9 816 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 817 Remove bzero, memset ifunc support.
80f844c9
OB
818 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
819 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
820 * sysdeps/x86_64/multiarch/memset.S: Likewise.
821 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
822
fb6b0fcb
AS
8232013-03-11 Andreas Schwab <schwab@suse.de>
824
825 [BZ #15234]
826 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
827 by SHLIB_COMPAT.
828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
829 (GLIBC_2.16): Remove pthread_atfork.
830
3e6bd4b1
PP
8312013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
832
833 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
834 (ptestcases.h): Likewise.
835
222d7f00
RM
8362013-03-08 Roland McGrath <roland@hack.frob.com>
837
838 * Makeconfig ($(common-objpfx)config.status): Depend on
839 sysdeps/*/preconfigure{,.in} too.
840
1ba4f030
JM
8412013-03-08 Joseph Myers <joseph@codesourcery.com>
842
a222d91a
JM
843 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
844 (__free_hook): Use void * instead of __malloc_ptr_t.
845 (__malloc_hook): Likewise.
846 (__realloc_hook): Likewise.
847 (__memalign_hook): Likewise.
848 (__after_morecore_hook): Likewise.
849 * malloc/arena.c (save_malloc_hook): Likewise.
850 (save_free_hook): Likewise.
851 * malloc/hooks.c (malloc_hook_ini): Likewise.
852 (realloc_hook_ini): Likewise.
853 (memalign_hook_ini): Likewise.
854 * malloc/malloc.c (malloc_hook_ini): Likewise.
855 (realloc_hook_ini): Likewise.
856 (memalign_hook_ini): Likewise.
857 (__free_hook): Likewise.
858 (__malloc_hook): Likewise.
859 (__realloc_hook): Likewise.
860 (__memalign_hook): Likewise.
861 (__libc_malloc): Likewise.
862 (__libc_free): Likewise.
863 (__libc_realloc): Likewise.
864 (__libc_memalign): Likewise.
865 (__libc_valloc): Likewise.
866 (__libc_pvalloc): Likewise.
867 (__libc_calloc): Likewise.
868 (__posix_memalign): Likewise.
869 * malloc/morecore.c (__sbrk): Likewise.
870 (__default_morecore): Likewise.
871
5cc45e10
JM
872 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
873
dd54b864
JM
874 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
875 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
876 __malloc_ptrdiff_t.
877
1ba4f030
JM
878 * malloc/malloc.h (__malloc_size_t): Remove macro.
879 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
880 __malloc_size_t.
881 (old_memalign_hook): Likewise.
882 (old_realloc_hook): Likewise.
883 (struct hdr): Likewise.
884 (flood): Likewise.
885 (mallochook): Likewise.
886 (memalignhook): Likewise.
887 (reallochook): Likewise.
888 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
889 (tr_old_realloc_hook): Likewise.
890 (tr_old_memalign_hook): Likewise.
891 (tr_mallochook): Likewise.
892 (tr_reallochook): Likewise.
893 (tr_memalignhook): Likewise.
894
edf66e57
AZ
8952013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
896
897 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
898 default_ldbl_pack and using as default implementation.
899 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
900 implementation.
901 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
902 redundant definition.
903 (ldbl_insert_mantissa): Likewise.
904 (ldbl_canonicalize): Likewise.
905 (ldbl_nearbyint): Likewise.
906 (ldbl_pack): Rename to ldbl_pack_ppc.
907 (ldbl_unpack): Rename to ldbl_unpack_ppc.
908 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
909 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
910
6d9145d8
SP
9112013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
912
913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
914 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
915 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
916 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
918 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
919 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
920 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
921
4dd4e157
AJ
9222013-03-07 Andreas Jaeger <aj@suse.de>
923
924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
925 bits/mman-linux.h.
926
adbb8027
SP
9272013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
928
ce544b5b
SP
929 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
930 Include mpa.h and declare __MPEXP.
931 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
932 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
933 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
934 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
935 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
936 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
937 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
938
4cc149fd
SP
939 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
940 (__slowpow): Use long double EXPL and LOGL functions to
941 compute POW.
942 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
943 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
944 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
945 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
946 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
947 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
948
e6ebd4a7
SP
949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
950 intermediate variable to calculate exponent.
951 (__sqr): Likewise.
952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
953 Likewise.
954 (__sqr): Likewise.
955
82a9811d
SP
956 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
957 [!NO__SQR]: Define __sqr.
958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
959 and NO__SQR. Remove all code except __mul and __sqr. Include
960 sysdeps/ieee754/dbl-64/mpa.c.
961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
962
adbb8027
SP
963 [BZ #12723]
964 * posix/Makefile (tests): Add tst-pathconf.
965 * posix/tst-pathconf.c: New test case.
966 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
967 _PC_PIPE_BUF.
968 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
969
39120df9
PF
9702013-03-06 Patsy Franklin <pfrankli@redhat.com>
971
972 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
973
67525cb8
AJ
9742013-03-06 Andreas Jaeger <aj@suse.de>
975
664a9ce4
AJ
976 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
977 definition via __MAP_ANONYMOUS.
978
8e39047d
AJ
979 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
980 it's not part of Linux headers.
981
67525cb8
AJ
982 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
983 (MAP_HUGE_MASK): Define.
984
985 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
986 Define.
987 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
988 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
989 Define.
990 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
991 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
992 Define.
993 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
994 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
995 Define.
996 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
997
998 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
999 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1000 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1001 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1002 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1003 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1004
1005 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1006 Handle f2fs.
1007
1008 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1009 Handle f2fs and efivarfs.
1010
1011 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1012 f2fs.
1013
1014 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1015 (EFIVARFS_MAGIC): Add.
1016 (F2FS_LINK_MAX): Add.
1017
e1b42695
PP
10182013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1019
1020 * stdio-common/vfprintf.c: Replace __builtin_expect with
1021 __glibc_unlikely.
1022
2d67d91a
JM
10232013-03-06 Joseph Myers <joseph@codesourcery.com>
1024
1025 [BZ #13550]
1026 * sysdeps/generic/bp-sym.h: Remove file.
1027 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1028 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1029 <bp-sym.h> and <bp-asm.h>.
1030 (__longjmp): Don't use BP_SYM.
1031 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1032 and <bp-asm.h>.
1033 (memcpy): Don't use BP_SYM.
1034 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1035 <bp-sym.h> and <bp-asm.h>.
1036 (memcpy): Don't use BP_SYM.
1037 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1038 <bp-asm.h>.
1039 (memcpy): Don't use BP_SYM.
1040 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1041 <bp-asm.h>.
1042 (memset): Don't use BP_SYM.
1043 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1044 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1045 (__bzero): Don't use BP_SYM.
1046 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1047 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1048 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1049 <bp-sym.h> and <bp-asm.h>.
1050 (memcmp): Don't use BP_SYM. Remove comment about bounded
1051 pointers.
1052 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1053 <bp-sym.h> and <bp-asm.h>.
1054 (memcpy): Don't use BP_SYM.
1055 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1056 <bp-sym.h> and <bp-asm.h>.
1057 (memset): Don't use BP_SYM.
1058 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1059 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1060 (__bzero): Don't use BP_SYM.
1061 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1062 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1063 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1064 <bp-sym.h> and <bp-asm.h>.
1065 (strncmp): Don't use BP_SYM. Remove comment about bounded
1066 pointers.
1067 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1068 <bp-sym.h> and <bp-asm.h>.
1069 (memcpy): Don't use BP_SYM.
1070 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1071 <bp-sym.h> and <bp-asm.h>.
1072 (memset): Don't use BP_SYM.
1073 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1074 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1075 (__bzero): Don't use BP_SYM.
1076 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1077 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1078 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1079 <bp-sym.h> and <bp-asm.h>.
1080 (__memchr): Don't use BP_SYM.
1081 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1082 <bp-sym.h> and <bp-asm.h>.
1083 (memcmp): Don't use BP_SYM. Remove comment about bounded
1084 pointers.
1085 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1086 <bp-sym.h> and <bp-asm.h>.
1087 (memcpy): Don't use BP_SYM.
1088 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1089 <bp-sym.h> and <bp-asm.h>.
1090 (__mempcpy): Don't use BP_SYM.
1091 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1092 <bp-sym.h> and <bp-asm.h>.
1093 (__memrchr): Don't use BP_SYM.
1094 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1095 <bp-sym.h> and <bp-asm.h>.
1096 (memset): Don't use BP_SYM.
1097 (__bzero): Likewise.
1098 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1099 <bp-sym.h> and <bp-asm.h>.
1100 (__rawmemchr): Don't use BP_SYM.
1101 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1102 <bp-sym.h> and <bp-asm.h>.
1103 (__STRCMP): Don't use BP_SYM.
1104 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1105 <bp-sym.h> and <bp-asm.h>.
1106 (strchr): Don't use BP_SYM.
1107 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1108 <bp-sym.h> and <bp-asm.h>.
1109 (__strchrnul): Don't use BP_SYM.
1110 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1111 <bp-sym.h> and <bp-asm.h>.
1112 (strlen): Don't use BP_SYM.
1113 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1114 <bp-sym.h> and <bp-asm.h>.
1115 (strncmp): Don't use BP_SYM. Remove comment about bounded
1116 pointers.
1117 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1118 <bp-sym.h> and <bp-asm.h>.
1119 (__strnlen): Don't use BP_SYM.
1120 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1121 <bp-sym.h> and <bp-asm.h>.
1122 (__GI__setjmp): Don't use BP_SYM.
1123 (_setjmp): Likewise.
1124 (__sigsetjmp): Likewise.
1125 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1126 (L(start_addresses)): Don't use BP_SYM.
1127 (_start): Likewise.
1128 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1129 <bp-asm.h>.
1130 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1131 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1132 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1133 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1134 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1135 <bp-asm.h>.
1136 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1137 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1138 about bounded pointers.
1139 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1140 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1141 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1142 <bp-asm.h>.
1143 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1144 about bounded pointers. Remove GKM FIXME comments.
1145 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1146 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1147 <bp-asm.h>.
1148 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1149 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1150 Remove GKM FIXME comments.
1151 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1152 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1153 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1154 <bp-asm.h>.
1155 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1156 about bounded pointers. Remove GKM FIXME comment.
1157 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1158 and <bp-asm.h>.
1159 (strncmp): Don't use BP_SYM. Remove comment about bounded
1160 pointers.
1161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1162 <bp-sym.h> and <bp-asm.h>.
1163 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1165 <bp-sym.h> and <bp-asm.h>.
1166 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1167 comment.
1168
cdcf361f
PP
11692013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1170
1171 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1172 call free(NULL).
1173
3c4a2b15
DM
11742013-03-05 David S. Miller <davem@davemloft.net>
1175
1176 * po/es.po: Update from translation team.
1177
cdcf361f 11782013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1179
1180 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1181 <bits/mman-linux.h>.
1182 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1183 is fine.
1184 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1185 <bits/mman-linux.h> to end of file.
1186 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1187 is fine.
1188 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1189 <bits/mman-linux.h> to end of file.
1190 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1191 is fine.
1192 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1193 <bits/mman-linux.h> to end of file.
1194
1195 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1196 (MCL_CURRENT, MCL_FUTURE): Define here.
1197
5f67c04f
AK
11982013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1199
8a4473cc 1200 [BZ #15232]
5f67c04f
AK
1201 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1202 attribute_hidden.
1203 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1204
c3e94a95
AK
12052013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1206
1207 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1208 fourth parameter needed for rt_sigprocmask syscall.
1209 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1210 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1211 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1212 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1213 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1214 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1215
cfb6382a
JM
12162013-03-04 Joseph Myers <joseph@codesourcery.com>
1217
1218 [BZ #13550]
1219 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1220 comment about bounded pointers.
1221 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1222 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1223
539d8e01
AJ
12242013-03-04 Andreas Jaeger <aj@suse.de>
1225
1226 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1227 common definitions.
1228
1229 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1230 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1231 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1232 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1233 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1234 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1235
2e167a70 12362013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1237
1238 [BZ #15055]
1239 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1240 __ieee754_sqrl instead of __sqrl.
1241
68508633
JM
12422013-03-01 Joseph Myers <joseph@codesourcery.com>
1243
1244 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1245 * sysdeps/powerpc/fpu_control.h: ... here.
1246 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1247 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1248 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1249 * sysdeps/powerpc/bits/mathinline.h: ... here.
1250
7775448e
RM
12512013-03-01 Roland McGrath <roland@hack.frob.com>
1252
1253 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1254 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1255 to just [NEED_DL_SYSINFO_DSO].
1256 * elf/dl-support.c: Likewise.
1257 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1258 * elf/rtld.c (dl_main): Likewise.
1259 * elf/setup-vdso.h (setup_vdso): Likewise.
1260 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1261 * sysdeps/unix/sysv/linux/dl-sysdep.c
1262 (_dl_discover_osversion): Likewise.
1263
4e9b5995
CD
12642013-03-01 Carlos O'Donell <carlos@redhat.com>
1265
1266 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1267 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1268
e23872c8
SP
12692013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1270
e5c74c63
SP
1271 * NEWS: Mention libm performance improvements and non-x86 PI
1272 futex support.
1273
e23872c8
SP
1274 * csu/libc-start.c (__pthread_initialize_minimal): Change
1275 function arguments.
1276 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1277
b5510883
JM
12782013-02-28 Joseph Myers <joseph@codesourcery.com>
1279
1280 [BZ #13550]
1281 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1282 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1283 <bp-sym.h> and <bp-asm.h>.
1284 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1285 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1286 and <bp-asm.h>.
1287 (memcpy): Don't use BP_SYM.
1288 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1289 <bp-asm.h>.
1290 (__mpn_add_n): Don't use BP_SYM.
1291 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1292 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1293 and <bp-asm.h>.
1294 (__mpn_addmul_1): Don't use BP_SYM.
1295 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1296 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1297 <bp-sym.h>.
1298 (_setjmp): Don't use BP_SYM.
1299 (__novmx_setjmp): Likewise.
1300 (__GI__setjmp): Likewise.
1301 (__vmx_setjmp): Likewise.
1302 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1303 <bp-sym.h>.
1304 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1305 (__bzero): Don't use BP_SYM.
1306 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1307 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1308 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1309 <bp-sym.h> and <bp-asm.h>.
1310 (memcpy): Don't use BP_SYM.
1311 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1312 <bp-sym.h> and <bp-asm.h>.
1313 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1314 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1315 <bp-sym.h> and <bp-asm.h>.
1316 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1317 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1318 <bp-asm.h>.
1319 (__mpn_lshift): Don't use BP_SYM.
1320 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1321 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1322 <bp-asm.h>.
1323 (memset): Don't use BP_SYM.
1324 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1325 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1326 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1327 <bp-asm.h>.
1328 (__mpn_mul_1): Don't use BP_SYM.
1329 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1330 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1331 <bp-sym.h> and <bp-asm.h>.
1332 (memcmp): Don't use BP_SYM.
1333 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1334 <bp-sym.h> and <bp-asm.h>.
1335 (memcpy): Don't use BP_SYM.
1336 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1337 <bp-sym.h> and <bp-asm.h>.
1338 (memset): Don't use BP_SYM.
1339 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1340 <bp-sym.h> and <bp-asm.h>.
1341 (strncmp): Don't use BP_SYM.
1342 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1343 <bp-sym.h> and <bp-asm.h>.
1344 (memcpy): Don't use BP_SYM.
1345 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1346 <bp-sym.h> and <bp-asm.h>.
1347 (memset): Don't use BP_SYM.
1348 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1349 <bp-sym.h> and <bp-asm.h>.
1350 (__memchr): Don't use BP_SYM.
1351 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1352 <bp-sym.h> and <bp-asm.h>.
1353 (memcmp): Don't use BP_SYM.
1354 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1355 <bp-sym.h> and <bp-asm.h>.
1356 (memcpy): Don't use BP_SYM.
1357 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1358 <bp-sym.h> and <bp-asm.h>.
1359 (__mempcpy): Don't use BP_SYM.
1360 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1361 <bp-sym.h> and <bp-asm.h>.
1362 (__memrchr): Don't use BP_SYM.
1363 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1364 <bp-sym.h> and <bp-asm.h>.
1365 (memset): Don't use BP_SYM.
1366 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1367 <bp-sym.h> and <bp-asm.h>.
1368 (__rawmemchr): Don't use BP_SYM.
1369 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1370 <bp-sym.h> and <bp-asm.h>.
1371 (__STRCMP): Don't use BP_SYM.
1372 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1373 <bp-sym.h> and <bp-asm.h>.
1374 (strchr): Don't use BP_SYM.
1375 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1376 <bp-sym.h> and <bp-asm.h>.
1377 (__strchrnul): Don't use BP_SYM.
1378 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1379 <bp-sym.h> and <bp-asm.h>.
1380 (strlen): Don't use BP_SYM.
1381 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1382 <bp-sym.h> and <bp-asm.h>.
1383 (strncmp): Don't use BP_SYM.
1384 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1385 <bp-sym.h> and <bp-asm.h>.
1386 (__strnlen): Don't use BP_SYM.
1387 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1388 <bp-asm.h>.
1389 (__mpn_rshift): Don't use BP_SYM.
1390 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1391 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1392 <bp-sym.h> and <bp-asm.h>.
1393 (__sigsetjmp): Don't use BP_SYM.
1394 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1395 (L(start_addresses)): Don't use BP_SYM.
1396 (_start): Likewise.
1397 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1398 <bp-asm.h>.
1399 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1400 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1401 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1402 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1403 <bp-asm.h>.
1404 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1405 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1406 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1407 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1408 <bp-asm.h>.
1409 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1410 comments.
1411 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1412 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1413 <bp-asm.h>.
1414 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1415 FIXME comments.
1416 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1417 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1418 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1419 <bp-asm.h>.
1420 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1421 comment.
1422 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1423 and <bp-asm.h>.
1424 (strncmp): Don't use BP_SYM,
1425 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1426 <bp-asm.h>.
1427 (__mpn_sub_n): Don't use BP_SYM.
1428 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1429 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1430 and <bp-asm.h>.
1431 (__mpn_submul_1): Don't use BP_SYM.
1432 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1434 <bp-sym.h> and <bp-asm.h>.
1435 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1437 <bp-sym.h> and <bp-asm.h>.
1438 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1439 comment.
1440
8d19fe64
SP
14412013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1442
1443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1444 Use ZK to minimize writes to Z.
1445 (sub_magnitudes): Simplify code a bit.
1446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1447 Use ZK to minimize writes to Z.
1448 (sub_magnitudes): Simplify code a bit.
1449
85bd816a
RM
14502013-02-27 Roland McGrath <roland@hack.frob.com>
1451
1452 * csu/gmon-start.c: Add special exception to license text.
1453
b5977bf2
RH
14542013-02-27 Richard Henderson <rth@redhat.com>
1455
1456 * scripts/config.guess: Update from config.git.
1457 * scripts/config.sub: Likewise.
1458
11d6e2f2
SP
14592013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1460
09c14ed2
SP
1461 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1462
a688864e
SP
1463 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1464
6295157a
SP
1465 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1466
b8de2202
SP
1467 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1468
11d6e2f2
SP
1469 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1470
7e80ddb8
RM
14712013-02-26 Roland McGrath <roland@hack.frob.com>
1472
1473 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1474 [$(build-shared = yes].
7e80ddb8 1475
7da6d9ed
SP
14762013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1477
45f05884
SP
1478 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1479 (__mul): Reduce iterations for calculating mantissa.
1480
2236d359
SP
1481 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1482 MPTWO.
1483 (__mpranred): Likewise.
1484
7da6d9ed
SP
1485 [BZ #15160]
1486 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1487 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1488
b7688c42
PE
14892013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1490
1491 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1492 Define __attribute__.
1493
53a5c423
SP
14942013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1495
1496 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1497 unused.
1498 * posix/regex_internal.h (__attribute): Remove.
1499 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1500 (re_string_context_at): Likewise.
1501 (bitset_not): Use __attribute__ and mark function as possibly
1502 unused.
1503 (bitset_merge): Likewise.
1504 (bitset_mask): Likewise.
1505 (re_string_char_size_at): Likewise.
1506 (re_string_wchar_at): Likewise.
1507 (re_string_elem_size_at): Likewise.
1508
60f5a8b5
SP
15092013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1510
2a983a2e
SP
1511 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1512 code.
1513 (cc32): Likewise.
1514
e69804d1
SP
1515 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1516 (__acr): Likewise.
1517 (__cpy): Likewise.
1518 (norm): Likewise.
1519 (denorm): Likewise.
1520 (__dbl_mp): Likewise.
1521 (add_magnitudes): Likewise.
1522 (sub_magnitudes): Likewise.
1523 (__mul): Likewise.
1524 (__inv): Likewise.
1525
2f22a1e8
SP
1526 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1527 style.
1528
8930ddc7
SP
1529 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1530 style.
1531
dc60cb11
SP
1532 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1533 code.
1534
60f5a8b5
SP
1535 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1536 up changes with default code.
1537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1538 Likewise.
1539
b4d1fd33
AM
15402013-02-24 Allan McRae <allan@archlinux.org>
1541
faf6f8bc
AM
1542 * manual/socket.texi (The Internet Namespace): Order menu items
1543 to match that in the file.
1544
b4d1fd33
AM
1545 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1546 node listing of the info page menu.
1547
2366713d
JM
15482013-02-21 Joseph Myers <joseph@codesourcery.com>
1549
1550 [BZ #13550]
1551 * sysdeps/i386/bp-asm.h: Remove file.
1552 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1553 (PARMS): Do not use macros from bp-asm.h.
1554 (S1): Likewise.
1555 (S2): Likewise.
1556 (SIZE): Likewise.
1557 (__mpn_add_n): Do not use BP_SYM
1558 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1559 "bp-asm.h".
1560 (PARMS): Do not use macros from bp-asm.h.
1561 (S1): Likewise.
1562 (SIZE): Likewise.
1563 (__mpn_addmul_1): Do not use BP_SYM
1564 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1565 "bp-asm.h".
1566 (PARMS): Do not use macros from bp-asm.h.
1567 (SIGMSK): Likewise.
1568 (_setjmp): Likewise. Do not use BP_SYM.
1569 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1570 "bp-asm.h".
1571 (PARMS): Do not use macros from bp-asm.h.
1572 (SIGMSK): Likewise.
1573 (setjmp): Likewise. Do not use BP_SYM.
1574 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1575 "bp-asm.h".
1576 (PARMS): Do not use macros from bp-asm.h.
1577 (__frexp): Do not use BP_SYM.
1578 (frexp): Likewise.
1579 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1580 "bp-asm.h".
1581 (PARMS): Do not use macros from bp-asm.h.
1582 (__frexpf): Do not use BP_SYM.
1583 (frexpf): Likewise.
1584 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1585 "bp-asm.h".
1586 (PARMS): Do not use macros from bp-asm.h.
1587 (__frexpl): Do not use BP_SYM.
1588 (frexpl): Likewise.
1589 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1590 "bp-asm.h".
1591 (PARMS): Do not use macros from bp-asm.h.
1592 (__remquo): Do not use BP_SYM.
1593 (remquo): Likewise.
1594 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1595 "bp-asm.h".
1596 (PARMS): Do not use macros from bp-asm.h.
1597 (__remquof): Do not use BP_SYM.
1598 (remquof): Likewise.
1599 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1600 "bp-asm.h".
1601 (PARMS): Do not use macros from bp-asm.h.
1602 (__remquol): Do not use BP_SYM.
1603 (remquol): Likewise.
1604 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1605 "bp-asm.h".
1606 (PARMS): Do not use macros from bp-asm.h.
1607 (DEST): Likewise.
1608 (SRC): Likewise.
1609 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1610 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1611 "bp-asm.h".
1612 (PARMS): Do not use macros from bp-asm.h.
1613 (strlen): Do not use BP_SYM.
1614 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1615 "bp-asm.h".
1616 (PARMS): Do not use macros from bp-asm.h.
1617 (S1): Likewise.
1618 (S2): Likewise.
1619 (SIZE): Likewise.
1620 (__mpn_add_n): Do not use BP_SYM.
1621 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1622 "bp-asm.h".
1623 (PARMS): Do not use macros from bp-asm.h.
1624 (S1): Likewise.
1625 (SIZE): Likewise.
1626 (__mpn_addmul_1): Do not use BP_SYM.
1627 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1628 weak_alias.
1629 (bzero): Likewise.
1630 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1631 "bp-asm.h".
1632 (PARMS): Do not use macros from bp-asm.h.
1633 (S): Likewise.
1634 (SIZE): Likewise.
1635 (__mpn_lshift): Do not use BP_SYM.
1636 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1637 "bp-asm.h".
1638 (PARMS): Do not use macros from bp-asm.h.
1639 (DEST): Likewise.
1640 (SRC): Likewise.
1641 (LEN): Likewise.
1642 (memcpy): Likewise. Do not use BP_SYM.
1643 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1644 libc_hidden_def and weak_alias.
1645 (mempcpy): Do not use BP_SYM in weak_alias.
1646 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1647 "bp-asm.h".
1648 (PARMS): Do not use macros from bp-asm.h.
1649 (DEST): Likewise.
1650 (LEN): Likewise.
1651 [!BZERO_P] (CHR): Likewise.
1652 (memset): Likewise. Do not use BP_SYM.
1653 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1654 "bp-asm.h".
1655 (PARMS): Do not use macros from bp-asm.h.
1656 (S1): Likewise.
1657 (SIZE): Likewise.
1658 (__mpn_mul_1): Do not use BP_SYM.
1659 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1660 "bp-asm.h".
1661 (PARMS): Do not use macros from bp-asm.h.
1662 (S): Likewise.
1663 (SIZE): Likewise.
1664 (__mpn_rshift): Do not use BP_SYM.
1665 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1666 "bp-asm.h".
1667 (PARMS): Do not use macros from bp-asm.h.
1668 (STR): Likewise.
1669 (CHR): Likewise.
1670 (strchr): Likewise. Do not use BP_SYM.
1671 (index): Do not use BP_SYM in weak_alias.
1672 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1673 "bp-asm.h".
1674 (PARMS): Do not use macros from bp-asm.h.
1675 (DEST): Likewise.
1676 (SRC): Likewise.
1677 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1678 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1679 "bp-asm.h".
1680 (PARMS): Do not use macros from bp-asm.h.
1681 (strlen): Do not use BP_SYM.
1682 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1683 "bp-asm.h".
1684 (PARMS): Do not use macros from bp-asm.h.
1685 (S1): Likewise.
1686 (S2): Likewise.
1687 (SIZE): Likewise.
1688 (__mpn_sub_n): Do not use BP_SYM.
1689 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1690 "bp-asm.h".
1691 (PARMS): Do not use macros from bp-asm.h.
1692 (S1): Likewise.
1693 (SIZE): Likewise.
1694 (__mpn_submul_1): Do not use BP_SYM.
1695 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1696 "bp-asm.h".
1697 (PARMS): Do not use macros from bp-asm.h.
1698 (S1): Likewise.
1699 (S2): Likewise.
1700 (SIZE): Likewise.
1701 (__mpn_add_n): Do not use BP_SYM.
1702 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1703 weak_alias.
1704 (bzero): Likewise.
1705 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1706 "bp-asm.h".
1707 (PARMS): Do not use macros from bp-asm.h.
1708 (BLK2): Likewise.
1709 (LEN): Likewise.
1710 (memcmp): Do not use BP_SYM.
1711 (bcmp): Do not use BP_SYM in weak_alias.
1712 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1713 "bp-asm.h".
1714 (PARMS): Do not use macros from bp-asm.h.
1715 (DEST): Likewise.
1716 (SRC): Likewise.
1717 (LEN): Likewise.
1718 (memcpy): Likewise. Do not use BP_SYM.
1719 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1720 "bp-asm.h".
1721 (PARMS): Do not use macros from bp-asm.h.
1722 (DEST): Likewise.
1723 (SRC): Likewise.
1724 (LEN): Likewise.
1725 (memmove): Likewise. Do not use BP_SYM.
1726 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1727 "bp-asm.h".
1728 (PARMS): Do not use macros from bp-asm.h.
1729 (DEST): Likewise.
1730 (SRC): Likewise.
1731 (LEN): Likewise.
1732 (__mempcpy): Likewise. Do not use BP_SYM.
1733 (mempcpy): Do not use BP_SYM in weak_alias.
1734 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1735 "bp-asm.h".
1736 (PARMS): Do not use macros from bp-asm.h.
1737 (DEST): Likewise.
1738 (LEN): Likewise.
1739 [!BZERO_P] (CHR): Likewise.
1740 (memset): Likewise. Do not use BP_SYM.
1741 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1742 "bp-asm.h".
1743 (PARMS): Do not use macros from bp-asm.h.
1744 (STR2): Likewise.
1745 (strcmp): Do not use BP_SYM.
1746 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1747 "bp-asm.h".
1748 (PARMS): Do not use macros from bp-asm.h.
1749 (STR): Likewise.
1750 (DELIM): Likewise.
1751 [USE_AS_STRTOK_R] (SAVE): Likewise.
1752 (FUNCTION): Likewise. Do not use BP_SYM.
1753 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1754 aliases.
1755 (strtok_r): Likewise.
1756 (__GI___strtok_r): Likewise.
1757 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1758 (PARMS): Do not use macros from bp-asm.h.
1759 (S): Likewise.
1760 (SIZE): Likewise.
1761 (__mpn_lshift): Do not use BP_SYM.
1762 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1763 (PARMS): Do not use macros from bp-asm.h.
1764 (STR): Likewise.
1765 (CHR): Likewise.
1766 (__memchr): Do not use BP_SYM.
1767 (memchr): Do not use BP_SYM in weak_alias.
1768 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1769 (PARMS): Do not use macros from bp-asm.h.
1770 (BLK2): Likewise.
1771 (LEN): Likewise.
1772 (memcmp): Do not use BP_SYM.
1773 (bcmp): Do not use BP_SYM in weak_alias.
1774 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1775 (PARMS): Do not use macros from bp-asm.h.
1776 (S1): Likewise.
1777 (SIZE): Likewise.
1778 (__mpn_mul_1): Do not use BP_SYM.
1779 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1780 "bp-asm.h".
1781 (PARMS): Do not use macros from bp-asm.h.
1782 (STR): Likewise.
1783 (CHR): Likewise.
1784 (__rawmemchr): Do not use BP_SYM.
1785 (rawmemchr): Do not use BP_SYM in weak_alias.
1786 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1787 (PARMS): Do not use macros from bp-asm.h.
1788 (S): Likewise.
1789 (SIZE): Likewise.
1790 (__mpn_rshift): Do not use BP_SYM.
1791 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1792 (PARMS): Do not use macros from bp-asm.h.
1793 (SIGMSK): Likewise.
1794 (__sigsetjmp): Likewise. Do not use BP_SYM.
1795 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1796 (_start): Do not use BP_SYM.
1797 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1798 (PARMS): Do not use macros from bp-asm.h.
1799 (DEST): Likewise.
1800 (SRC): Likewise.
1801 (__stpcpy): Likewise. Do not use BP_SYM.
1802 (stpcpy): Do not use BP_SYM in weak_alias.
1803 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1804 "bp-asm.h".
1805 (PARMS): Do not use macros from bp-asm.h.
1806 (DEST): Likewise.
1807 (SRC): Likewise.
1808 (LEN): Likewise.
1809 (__stpncpy): Likewise. Do not use BP_SYM.
1810 (stpncpy): Do not use BP_SYM in weak_alias.
1811 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1812 (PARMS): Do not use macros from bp-asm.h.
1813 (STR): Likewise.
1814 (CHR): Likewise.
1815 (strchr): Likewise. Do not use BP_SYM.
1816 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1817 "bp-asm.h".
1818 (PARMS): Do not use macros from bp-asm.h.
1819 (STR): Likewise.
1820 (CHR): Likewise.
1821 (__strchrnul): Likewise. Do not use BP_SYM.
1822 (strchrnul): Do not use BP_SYM in weak_alias.
1823 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1824 "bp-asm.h".
1825 (PARMS): Do not use macros from bp-asm.h.
1826 (STOP): Likewise.
1827 (strcspn): Do not use BP_SYM.
1828 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1829 "bp-asm.h".
1830 (PARMS): Do not use macros from bp-asm.h.
1831 (STR): Likewise.
1832 (STOP): Likewise.
1833 (strpbrk): Likewise. Do not use BP_SYM.
1834 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1835 "bp-asm.h".
1836 (PARMS): Do not use macros from bp-asm.h.
1837 (STR): Likewise.
1838 (CHR): Likewise.
1839 (strrchr): Likewise. Do not use BP_SYM.
1840 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1841 (PARMS): Do not use macros from bp-asm.h.
1842 (SKIP): Likewise.
1843 (strspn): Do not use BP_SYM.
1844 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1845 (PARMS): Do not use macros from bp-asm.h.
1846 (STR): Likewise.
1847 (DELIM): Likewise.
1848 (SAVE): Likewise.
1849 (FUNCTION): Likewise. Do not use BP_SYM.
1850 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1851 aliases.
1852 (strtok_r): Likewise.
1853 (__GI___strtok_r): Likewise.
1854 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1855 (PARMS): Do not use macros from bp-asm.h.
1856 (S1): Likewise.
1857 (S2): Likewise.
1858 (SIZE): Likewise.
1859 (__mpn_sub_n): Do not use BP_SYM.
1860 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1861 "bp-asm.h".
1862 (PARMS): Do not use macros from bp-asm.h.
1863 (S1): Likewise.
1864 (SIZE): Likewise.
1865 (__mpn_submul_1): Do not use BP_SYM.
1866 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1867 <bp-sym.h>.
1868 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1869 and <bp-asm.h>.
1870 (PARMS): Do not use macros from bp-asm.h.
1871 (FLAGS): Likewise.
1872 (PTID): Likewise.
1873 (TLS): Likewise.
1874 (CTID): Likewise.
1875 (__clone): Do not use BP_SYM.
1876 (clone): Do not use BP_SYM in weak_alias.
1877 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1878 and <bp-asm.h>.
1879 (PARMS): Do not use macros from bp-asm.h.
1880 (LEN): Likewise.
1881 (__mmap64): Do not use BP_SYM.
1882 (mmap64): Do not use BP_SYM in weak_alias.
1883 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1884 <bp-sym.h> and <bp-asm.h>.
1885 (PARMS): Do not use macros from bp-asm.h.
1886 (__posix_fadvise64_l64): Do not use BP_SYM.
1887 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1888 (PARMS): Do not use macros from bp-asm.h.
1889 (NSOPS): Likewise.
1890 (semtimedop): Do not use BP_SYM.
1891 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1892 and <bp-asm.h>.
1893
582a3cff
AM
18942013-02-21 Allan McRae <allan@archlinux.org>
1895
1896 * manual/message.texi (Charset conversion in gettext):
1897 Move @end statement to beginning of line.
1898
bab8a695
SP
18992013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1900
80945231
SP
1901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1902 static.
1903 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1904 Likewise.
1905
bab8a695
SP
1906 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1907 (denorm): Likewise.
1908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1910
e21d7aa7
AK
19112013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1912
1913 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1914 tail-call to the resolved function if pltexit isn't needed.
1915
4c7a4263
SP
19162013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1917
1918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1919 or Y being zero as being unlikely.
1920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1921 Likewise.
1922
41f49342
CD
19232013-02-20 Carlos O'Donell <carlos@redhat.com>
1924
1925 * manual/nss.texi (System Databases and Name Service Switch):
1926 Remove frobnicate @pxref.
1927
50022a93
TS
19282013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1929
1930 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1931 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1932
08cbd996
PM
19332013-02-20 Petr Machata <pmachata@redhat.com>
1934
1935 * elf/elf.h (R_ARM_TARGET1): New macro.
1936 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1937 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1938 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1939 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1940 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1941 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1942 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1943 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1944 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1945 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1946 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1947 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1948 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1949 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1950 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1951 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1952 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1953 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1954 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1955 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1956 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1957 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1958 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1959 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1960 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1961 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1962 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1963 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1964 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1965 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1966 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1967 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1968 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1969 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1970 (R_ARM_THM_GOT_BREL12): Likewise.
1971 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1972 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1973 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1974 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1975 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1976 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1977 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1978 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1979 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1980
c7b275d6
TS
19812013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1982
1983 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1984 __attribute_used__ to __attribute__ ((unused)).
1985
20cd7fb3
SP
19862013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1987
1988 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1989 powerpc mpa.c.
1990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1991 comment formatting.
1992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1993
92945b52
JM
19942013-02-19 Joseph Myers <joseph@codesourcery.com>
1995
1996 [BZ #13550]
1997 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1998 Remove macro.
1999 (ENTER): Remove both macro definitions.
2000 (LEAVE): Likewise.
2001 (CHECK_BOUNDS_LOW): Likewise.
2002 (CHECK_BOUNDS_HIGH): Likewise.
2003 (CHECK_BOUNDS_BOTH): Likewise.
2004 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2005 (RETURN_BOUNDED_POINTER): Likewise.
2006 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2007 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2008 (POP_ERRNO_LOCATION_RETURN): Likewise.
2009 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2010 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2011 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2012 macros.
2013 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2014 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2015 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2016 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2017 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2018 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2019 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2020 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2021 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2022 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2023 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2024 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2025 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2026 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2027 removed macros.
2028 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2029 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2030 macros.
2031 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2032 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2033 * sysdeps/i386/i586/memset.S (memset): Likewise.
2034 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2035 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2036 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2037 macros.
2038 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2039 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2040 Change uses of L(2) to L(out).
2041 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2042 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2043 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2044 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2045 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2046 removed macros.
2047 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2048 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2049 macros.
2050 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2051 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2052 (RETURN): Do not use macro LEAVE.
2053 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2054 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2055 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2056 * sysdeps/i386/i686/memset.S (memset): Likewise.
2057 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2058 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2059 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2060 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2061 Likewise.
2062 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2063 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2064 L(1_2) and L(1_3) into L(1).
2065 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2066 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2067 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2068 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2069 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2070 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2071 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2072 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2073 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2074 macros.
2075 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2076 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2077 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2078 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2079 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2080 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2081 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2082 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2083 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2084 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2085 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2086 * sysdeps/i386/strspn.S (strspn): Likewise.
2087 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2088 conditional code.
2089 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2090 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2091 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2092 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2093 L(1_3) into L(1_1).
2094 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2095 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2096 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2097 macros.
2098 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2099
2389741a
JJ
21002013-02-19 Jakub Jelinek <jakub@redhat.com>
2101
2102 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2103 macro.
2104
2016b3cd
SP
21052013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2106
e4f22324
SP
2107 * math/atest-exp.c (exp_mpn): Remove ROUND.
2108 * math/atest-exp2.c (exp_mpn): Likewise.
2109 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2110
2016b3cd
SP
2111 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2112 * stdlib/tst-tls-atexit-lib.c: Likewise.
2113 * stdlib/tst-tls-atexit.c: Likewise.
2114
4be9b544
MF
21152013-02-18 Mike Frysinger <vapier@gentoo.org>
2116
2117 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2118 and __attribute_alloc_size__.
2119
2f62b9ee
MF
21202013-02-18 Mike Frysinger <vapier@gentoo.org>
2121
2122 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2123 __attribute_alloc_size__.
2124 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2125 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2126
6ff444c4
MF
21272013-02-18 Mike Frysinger <vapier@gentoo.org>
2128
2129 * include/programs/xmalloc.h: New file.
2130 * catgets/gencat.c: Include it.
2131 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2132 * elf/pldd.c: Likewise.
2133 * iconv/iconv_charmap.c: Likewise.
2134 * iconv/iconvconfig.c: Likewise.
2135 * iconv/strtab.c: Likewise.
2136 * locale/programs/locale.c: Likewise.
2137 * locale/programs/localedef.h: Likewise.
2138 * locale/programs/simple-hash.c: Likewise.
2139 * nscd/nscd.h: Likewise.
2140 * nss/makedb.c: Likewise.
2141 * sysdeps/generic/ldconfig.h: Likewise.
2142
be179c8a
SP
21432013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2144
ba384f6e
SP
2145 * Versions.def: Add GLIBC_2.18.
2146 * include/link.h (struct link_map): New member l_tls_dtor_count.
2147 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2148 (__call_tls_dtors): Likewise.
2149 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2150 __cxa_thread_atexit_impl.
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2152 Likewise.
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2154 Likewise.
2155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2156 Likewise.
2157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2158 Likewise.
2159 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2161 Likewise.
2162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2163 Likewise.
2164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2166 Likewise.
2167 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2168 (tests): Add test case tst-tls-atexit.
2169 (modules-names): Add shared library for tst-tls-atexit.
2170 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2171 (GLIBC_PRIVATE): Add __call_tls_dtors.
2172 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2173 for libstdc++.
2174 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2175 * stdlib/tst-tls-atexit.c: New test case.
2176 * stdlib/tst-tls-atexit-lib.c: New test case.
2177
ffaa74cf 2178 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2179
be179c8a
SP
2180 * elf/Versions (ld): Add _dl_find_dso_for_object.
2181 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2182 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2183 (dl_open_worker): Use _dl_find_dso_for_object.
2184 * elf/dl-sym.c (do_sym): Likewise.
2185 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2186
f78b5caa
AK
21872013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2188
2189 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2190 Syntactic changes only.
2191 (_dl_runtime_profile): Do a tail-call to the resolved function.
2192
29691210
JM
21932013-02-17 Joseph Myers <joseph@codesourcery.com>
2194
2195 [BZ #13550]
2196 * sysdeps/x86_64/bp-asm.h: Remove file.
2197 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2198 <bp-sym.h> and <bp-asm.h>.
2199 (__clone): Do not use BP_SYM.
2200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2201 <bp-sym.h> and <bp-asm.h>.
2202 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2203 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2204 "bp-asm.h".
2205 (_setjmp): Do not use BP_SYM.
2206 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2207 "bp-asm.h".
2208 (setjmp): Do not use BP_SYM.
2209 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2210 libc_hidden_def.
2211 (mempcpy): Do not use BP_SYM in weak_alias.
2212 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2213 "bp-asm.h".
2214 (strchr): Do not use BP_SYM.
2215 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2216 "bp-asm.h".
2217 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2218 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2219 (_start): Do not use BP_SYM.
2220 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2221 "bp-asm.h".
2222 (strcat): Do not use BP_SYM.
2223 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2224 "bp-asm.h".
2225 (STRCMP): Do not use BP_SYM.
2226 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2227 "bp-asm.h".
2228 (STRCPY): Do not use BP_SYM.
2229 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2230 "bp-asm.h".
2231 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2232 "bp-asm.h".
2233 (FUNCTION): Do not use BP_SYM.
2234 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2235 weak_alias.
2236 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2237
f238fd19
AJ
22382013-02-17 Andreas Jaeger <aj@suse.de>
2239
2240 * time/Versions: Sort entries.
2241 * string/Versions: Likewise.
2242 * resolv/Versions: Likewise.
2243 * posix/Versions: Likewise.
2244 * iconv/Versions: Likewise.
2245 * elf/Versions: Likewise.
2246 * wcsmbs/Versions: Likewise.
2247
bd07f23c 22482013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2249
22af19f9
SP
2250 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2251 loop termination condition.
2252
4709fe76
SP
2253 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2254 variable to calculate EZ.
2255 (__sqr): Likewise.
2d0e0f29
SP
2256
2257 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2258 the lower precision input.
2259
daaa7713
JM
22602013-02-15 Joseph Myers <joseph@codesourcery.com>
2261
2262 [BZ #13550]
2263 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2264 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2265 (run-via-rtld-prefix): Do not handle %-bp tests.
2266 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2267 (all-object-suffixes): Remove .ob.
2268 (bppfx): Remove variable.
2269 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2270 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2271 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2272 [$(build-bounded) = yes] (libtype.ob): Likewise.
2273 * Makerules (elide-routines.ob): Remove variable.
2274 (do-tests-clean): Do not handle *-bp.out.
2275 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2276 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2277 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2278 (tests): Do not include $(tests-bp.out).
2279 (xtests): Do not include $(xtests-bp.out).
2280 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2281 [$(build-bounded) = yes] ($(addprefix
2282 $(objpfx),$(binaries-bounded))): Remove rule.
2283 ($(objpfx)%-bp.out): Remove rule.
2284 * config.make.in (build-bounded): Remove variable.
2285 * crypt/Makefile [$(build-bounded) = yes]
2286 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2287 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2288 append to variable.
2289 [$(build-bounded) = yes] (install-lib): Likewise.
2290 [$(build-bounded) = yes] (generated): Likewise.
2291 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2292 Remove rule.
2293 * intl/Makefile [$(build-bounded) = yes]
2294 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2295 * math/Makefile [$(build-bounded) = yes]
2296 ($(tests:%=$(objpfx)%-bp): Likewise.
2297 * misc/Makefile [$(build-bounded) = yes]
2298 ($(objpfx)tst-tsearch-bp): Likewise.
2299 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2300 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2301 Remove dependency.
2302 * string/Makefile (o-objects.ob): Remove variable.
2303 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2304 (CFLAGS-.ob): Remove variable.
2305 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2306 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2307 both definitions of variable.
2308 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2309 (ASFLAGS-.ob): Remove variable.
2310
e97ed6dd
JM
23112013-02-14 Joseph Myers <joseph@codesourcery.com>
2312
2bdd4ca6
JM
2313 [BZ #13550]
2314 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2315 Remove __BOUNDED_POINTERS__ from condition.
2316 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2317 * string/bits/string2.h [!__NO_STRING_INLINES &&
2318 !__BOUNDED_POINTERS__]: Likewise.
2319 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2320 Likewise.
2321 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2322 Remove conditional code.
2323 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2324 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2325 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2326 condition.
2327
e97ed6dd
JM
2328 [BZ #13550]
2329 * csu/libc-start.c: Do not include <bp-sym.h>.
2330 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2331 * elf/dl-open.c: Do not include <bp-sym.h>.
2332 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2333 * math/fegetenv.c: Do not include <bp-sym.h>.
2334 (fegetenv): Do not use BP_SYM in versioned symbols.
2335 * nptl/sysdeps/pthread/bits/libc-lockP.h
2336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2337 <bp-sym.h>.
2338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2339 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2341 (__pthread_mutex_destroy): Likewise.
2342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2343 (__pthread_mutex_lock): Likewise.
2344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2345 (__pthread_mutex_trylock): Likewise.
2346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2347 (__pthread_mutex_unlock): Likewise.
2348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2349 (__pthread_mutexattr_init): Likewise.
2350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2351 (__pthread_mutexattr_destroy): Likewise.
2352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2353 (__pthread_mutexattr_settype): Likewise.
2354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2355 (__pthread_rwlock_init): Likewise.
2356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2357 (__pthread_rwlock_destroy): Likewise.
2358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2359 (__pthread_rwlock_rdlock): Likewise.
2360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2361 (__pthread_rwlock_tryrdlock): Likewise.
2362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2363 (__pthread_rwlock_wrlock): Likewise.
2364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2365 (__pthread_rwlock_trywrlock): Likewise.
2366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2367 (__pthread_rwlock_unlock): Likewise.
2368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2369 (__pthread_key_create): Likewise.
2370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2371 (__pthread_setspecific): Likewise.
2372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2373 (__pthread_getspecific): Likewise.
2374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2375 Likewise.
2376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2377 (_pthread_cleanup_push_defer): Likewise.
2378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2379 (_pthread_cleanup_pop_restore): Likewise.
2380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2381 (pthread_setcancelstate): Likewise.
2382 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2383 <bp-sym.h>.
2384 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2385 (memchr): Do not use BP_SYM in weak_alias.
2386 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2387 (fegetenv): Do not use BP_SYM in versioned symbols.
2388 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2389 (fesetenv): Do not use BP_SYM in versioned symbols.
2390 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2391 (feupdateenv): Do not use BP_SYM in versioned symbols.
2392 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2393 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2394 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2395 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2396 (open64): Do not use BP_SYM in weak_alias.
2397 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2398 (fegetenv): Do not use BP_SYM in versioned symbols.
2399 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2400 (fesetenv): Do not use BP_SYM in versioned symbols.
2401 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2402 (feupdateenv): Do not use BP_SYM in versioned symbols.
2403 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2404 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2405 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2406 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2407 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2408 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2409 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2410 <bp-sym.h>.
2411 (__libc_start_main): Do not use BP_SYM.
2412
d6752ccd
SP
24132013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2414
cb57ce60
SP
2415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2416 redundant return line.
2417 (norm): Likewise.
2418 (denorm): Likewise.
2419 (dbl_mp): Likewise.
2420 (sub_magnitudes): Likewise.
2421 (__add): Likewise.
2422 (__sub): Likewise.
2423 (__mul): Likewise.
2424 (__inv): Likewise.
2425 (__dvd): Likewise.
2426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2427 (norm): Likewise.
2428 (denorm): Likewise.
2429 (dbl_mp): Likewise.
2430 (sub_magnitudes): Likewise.
2431 (__add): Likewise.
2432 (__sub): Likewise.
2433 (__mul): Likewise.
2434 (__inv): Likewise.
2435 (__dvd): Likewise.
2436
f414520d
SP
2437 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2438 instead of __mul.
2439 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2440 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2441 (cc32): Likewise.
2442
d6752ccd
SP
2443 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2444 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2445 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2446 of __mul for squares.
2447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2448 function
2449 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2450 Likewise.
2451 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2452 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2453
70d9946a
JM
24542013-02-13 Joseph Myers <joseph@codesourcery.com>
2455
2456 [BZ #13550]
2457 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2458 code.
2459 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2460 prototype or function definition. Rename ubp_* variables and
2461 parameters. Remove argv definitions conditional on
2462 [__BOUNDED_POINTERS__].
2463 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2464 * elf/dl-runtime.c (_dl_fixup): Likewise.
2465 * include/set-hooks.h (RUN_HOOK): Likewise.
2466 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2467 definition.
2468 * string/strcpy.c (strcpy): Do not use __unbounded.
2469 * sysdeps/generic/frame.h (struct layout): Likewise.
2470 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2471 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2472 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2473 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2474 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2475 (__backtrace): Likewise.
2476 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2477 use __ptrvalue.
2478 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2479 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2480 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2481 Likewise.
2482 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2483 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2484 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2485 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2486 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2487 Do not use __unbounded.
2488 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2489 Rename __unboundedrlimits parameter to rlimits in prototype.
2490 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2491 Do not use __unbounded.
2492 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2493 not use __ptrvalue.
2494 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2495 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2496 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2497 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2498 __ptrvalue or __unbounded.
2499 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2500 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2501 use __unbounded.
2502 (__new_msgctl): Do not use __ptrvalue.
2503 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2504 __unbounded.
2505 (__libc_msgrcv): Do not use __ptrvalue.
2506 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2507 startup_info): Do not use __unbounded.
2508 (__libc_start_main): Likewise. Rename ubp_* variables and
2509 parameters. Remove argv definitions conditional on
2510 [__BOUNDED_POINTERS__].
2511 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2512 __ptrvalue.
2513 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2514 use __unbounded.
2515 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2516 or __ptrvalue.
2517 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2518 use __unbounded.
2519 (__new_shmctl): Do not use __ptrvalue.
2520 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2521 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2522 Likewise.
2523 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2524 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2525 (__libc_sigaction): Likewise.
2526 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2527 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2528 Likewise.
2529 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2530
cc7834d6
OB
25312013-02-13 Ondřej Bílka <neleai@seznam.cz>
2532
ffb1ec7b 2533 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2534
2535 * string/mempcpy.c: Implement by calling memcpy.
2536
bdf02814
SP
25372013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2538
c2af38aa
SP
2539 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2540
4e92d59e
SP
2541 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2542 evaluation.
2543
909279a5
SP
2544 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2545 values in the mantissa.
2546
bdf02814
SP
2547 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2548 minimize writes to Z.
2549 (sub_magnitudes): Simplify code a bit.
2550
cd525923
RM
25512013-02-12 Roland McGrath <roland@hack.frob.com>
2552
2553 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2554 from the message. The linker prefixes all warnings with that already.
2555
7e2f0d2d
AS
25562013-02-12 Andreas Schwab <schwab@suse.de>
2557
a445af0b
AS
2558 [BZ #15078]
2559 * posix/regexec.c (extend_buffers): Add parameter min_len.
2560 (check_matching): Pass minimum needed length.
2561 (clean_state_log_if_needed): Likewise.
2562 (get_subexp): Likewise.
2563 * posix/Makefile (tests): Add bug-regex34.
2564 (bug-regex34-ENV): Define.
2565 * posix/bug-regex34.c: New file.
2566
7e2f0d2d
AS
2567 [BZ #11561]
2568 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2569 elements compare against the byte sequence of it, not its name.
2570 * posix/Makefile (tests): Add bug-regex35.
2571 (bug-regex35-ENV): Define.
2572 * posix/bug-regex35.c: New file.
2573
a175b684
TV
25742013-02-11 Tom de Vries <tom@codesourcery.com>
2575
2576 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2577 comment.
2578 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2579 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2580 (CHECK_EOL): Add undef.
2581
310998fe 25822013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2583
2584 * bits/stdlib-bsearch.h: New file.
2585 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2586 * stdlib/stdlib.h: Likewise.
41eda41d 2587
8ded91fb
RM
25882013-02-11 Roland McGrath <roland@hack.frob.com>
2589
2590 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2591 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2592 declaration.
2593 * manual/search.texi (Array Search Function): Add missing const in
2594 lfind prototype.
2595 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2596 declaration to use rlim_t.
2597 (Basic Scheduling Functions): Remove erroneous const from
2598 sched_getparam prototype. Remove erroneous * from
2599 sched_get_priority_max and sched_get_priority_min prototypes.
2600 (Resource Usage): Fix summary @comment on vtimes to refer to
2601 sys/vtimes.h rather than vtimes.h.
2602 Add missing *s in vtimes prototype.
2603 (Limits on Resources): Fix ulimit prototype to return long int.
2604 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2605 prototypes to use long int rather than double.
2606 (BSD Random): Fix initstate and setstate to use char *, not void *.
2607 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2608 prototype to make second argument 'struct aiocb64 *const[]'.
2609 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2610 (Status of AIO Operations): Remove erroneous const in aio_return and
2611 aio_return64 prototypes.
2612 (Synchronizing I/O): Fix sync prototype to return void.
2613 * manual/startup.texi (Suboptions): Remove an erroneous const in
2614 getsubopt prototype.
2615 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2616 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2617 use size_t rather than int.
2618 (Scanning All Users): Likewise for getpwent_r.
2619 (Setting Groups): Add missing const to setgroups prototype.
2620 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2621 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2622 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2623 'const void *' rather than 'const char *'.
2624 (Host Address Functions): Likewise for inet_ntop.
2625 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2626 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2627 ssize_t for return value.
2628 (Sending Data): Likewise for send, sendto, sendmsg.
2629 (Socket Option Functions): Add a missing const in setsockopt prototype.
2630 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2631 use wchar_t for the argument.
2632 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2633 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2634 take no arguments.
2635 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2636 double/float/long double for second argument.
2637 Fix return types of significand, significandf, significandl.
2638 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2639 argument in fchmod prototype.
2640 (File Owner): Use uid_t and gid_t in fchown prototype.
2641 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2642 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2643 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2644 use 'const struct dirent **' as argument types to CMP function pointer
2645 argument.
2646 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2647 (File Times): Fix summary magic @comment for struct utimbuf and utime
2648 to refer to utime.h, not time.h.
2649 * manual/string.texi (Argz Functions): Add missing const in
2650 argz_extract and argz_next prototypes.
2651 (Finding Tokens in a String): Likewise for basename.
2652 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2653 (Copying and Concatenation): Fix typo in wmemmove prototype.
2654 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2655 (Signal Stack): Remove erroneous const in sigstack prototype.
2656 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2657 prototype.
2658 (Simple Calendar Time): Likewise for stime.
2659 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2660 prototype.
2661 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2662 say sys/sysctl.h instead.
2663 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2664 and vsyslog prototypes.
2665
fe77fe6d
TV
26662013-02-11 Tom de Vries <tom@codesourcery.com>
2667
2668 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2669 Remove.
2670
3a09b620
RM
26712013-02-11 Roland McGrath <roland@hack.frob.com>
2672
2673 * misc/sys/mman.h: Fix typo in mremap comment.
2674
550a0b89
RM
26752013-02-08 Roland McGrath <roland@hack.frob.com>
2676
2677 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2678 the '\0' terminator.
2679
a2da1673
JM
26802013-02-08 Joseph Myers <joseph@codesourcery.com>
2681
2682 [BZ #13550]
2683 * debug/segfault.c: Don't include <bp-checks.h>.
2684 * sysdeps/generic/bp-checks.h: Remove file.
2685 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2686 (__GETDENTS): Don't use CHECK_N.
2687 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2688 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2689 (__getgroups): Don't use CHECK_N.
2690 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2691 (setgroups): Don't use CHECK_N.
2692 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2693 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2694 (__libc_msgrcv): Don't use CHECK_N.
2695 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2696 (__libc_msgsnd): Don't use CHECK_N.
2697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2698 <bp-checks.h>.
2699 (__libc_pread): Don't use CHECK_N.
2700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2701 include <bp-checks.h>.
2702 (__libc_pread64): Don't use CHECK_N.
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2704 include <bp-checks.h>.
2705 (__libc_pwrite): Don't use CHECK_N.
2706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2707 include <bp-checks.h>.
2708 (__libc_pwrite64): Don't use CHECK_N.
2709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2710 <bp-checks.h>.
2711 (__libc_pread): Don't use CHECK_N.
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2713 include <bp-checks.h>.
2714 (__libc_pread64): Don't use CHECK_N.
2715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2716 include <bp-checks.h>.
2717 (__libc_pwrite): Don't use CHECK_N.
2718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2719 include <bp-checks.h>.
2720 (__libc_pwrite64): Don't use CHECK_N.
2721 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2722 (do_pread): Don't use CHECK_N.
2723 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2724 (do_pread64): Don't use CHECK_N.
2725 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2726 (do_pwrite): Don't use CHECK_N.
2727 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2728 (do_pwrite64): Don't use CHECK_N.
2729 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2730 (__libc_readv): Don't use CHECK_N.
2731 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2732 (semop): Don't use CHECK_N.
2733 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2734 <bp-checks.h>.
2735 (semtimedop): Don't use CHECK_N.
2736 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2737 (__libc_pread): Don't use CHECK_N.
2738 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2739 <bp-checks.h>.
2740 (__libc_pread64): Don't use CHECK_N.
2741 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2742 <bp-checks.h>.
2743 (__libc_pwrite): Don't use CHECK_N.
2744 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2745 <bp-checks.h>.
2746 (__libc_pwrite64): Don't use CHECK_N.
2747 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2748 <bp-checks.h>.
2749 (__libc_msgrcv): Don't use CHECK_N.
2750 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2751 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2752 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2753 (__libc_writev): Don't use CHECK_N.
2754
b84660a8
RM
27552013-02-08 Roland McGrath <roland@hack.frob.com>
2756
7f3e75f8
RM
2757 * string/strcpy.c: Removed unused variable.
2758
b84660a8
RM
2759 * Makeconfig (+sysdep-includes): Define with := rather than =.
2760 Use an existing include/ subdir of each sysdeps dir before it.
2761
471514d3
CD
27622013-02-08 Carlos O'Donell <carlos@redhat.com>
2763
2764 * nscd/connection.c (register_traced_file): Comment function.
2765 [HAVE_INOTIFY] (union __inev): Define.
2766 [HAVE_INOTIFY] (inotify_check_files): New function.
2767 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2768 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2769 clear_db_cache.
2770 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2771
b2d3c3be
CD
27722013-02-08 Carlos O'Donell <carlos@redhat.com>
2773
2774 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2775 loaded if not already and that a failure is permanent.
2776
b39949d2
CD
27772013-02-08 Carlos O'Donell <carlos@redhat.com>
2778
ddacd1db 2779 [BZ #15006]
b39949d2
CD
2780 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2781 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2782
b2c9eff4
JM
27832013-02-08 Joseph Myers <joseph@codesourcery.com>
2784
f3aae3f3
JM
2785 [BZ #13550]
2786 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2787 (CHECK_1_NULL_OK): Likewise.
2788 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2789 (__fxstat): Do not use CHECK_1.
2790 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2791 <bp-checks.h>.
2792 (___fxstat64): Do not use CHECK_1.
2793 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2794 <bp-checks.h>.
2795 (__fxstatat): Do not use CHECK_1.
2796 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2797 <bp-checks.h>.
2798 (__fxstatat64): Do not use CHECK_1.
2799 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2800 <bp-checks.h>.
2801 (__fxstat): Do not use CHECK_1.
2802 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2803 <bp-checks.h>.
2804 (__fxstatat): Do not use CHECK_1.
2805 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2806 <bp-checks.h>.
2807 (__getresgid): Do not use CHECK_1.
2808 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2809 <bp-checks.h>.
2810 (__getresuid): Do not use CHECK_1.
2811 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2812 <bp-checks.h>.
2813 (__lxstat): Do not use CHECK_1.
2814 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2815 <bp-checks.h>.
2816 (__old_msgctl): Do not use CHECK_1.
2817 (__new_msgctl): Likewise.
2818 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2819 <bp-checks.h>.
2820 (__new_setrlimit): Do not use CHECK_1.
2821 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2822 <bp-checks.h>.
2823 (__old_shmctl): Do not use CHECK_1.
2824 (__new_shmctl): Likewise.
2825 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2826 <bp-checks.h>.
2827 (__xstat): Do not use CHECK_1.
2828 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2829 (__lxstat): Do not use CHECK_1.
2830 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2831 <bp-checks.h>.
2832 (___lxstat64): Do not use CHECK_1.
2833 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2834 (__old_msgctl): Do not use CHECK_1.
2835 (__new_msgctl): Likewise.
2836 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2837 <bp-checks.h>.
2838 (__gettimeofday): Do not use CHECK_1.
2839 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2840 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2841 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2842 <bp-checks.h>.
2843 (__gettimeofday): Do not use CHECK_1.
2844 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2845 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2846 (__new_shmctl): Do not use CHECK_1.
2847 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2848 <bp-checks.h>.
2849 (do_sigtimedwait): Do not use CHECK_1.
2850 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2851 <bp-checks.h>.
2852 (do_sigwaitinfo): Do not use CHECK_1.
2853 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2854 <bp-checks.h>.
2855 (msgctl): Do not use CHECK_1.
2856 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2857 <bp-checks.h>.
2858 (shmctl): Do not use CHECK_1.
2859 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2860 (ustat): Do not use CHECK_1.
2861 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2862 <bp-checks.h>.
2863 (__fxstat): Do not use CHECK_1.
2864 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2865 <bp-checks.h>.
2866 (__fxstatat): Do not use CHECK_1.
2867 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2868 <bp-checks.h>.
2869 (__lxstat): Do not use CHECK_1.
2870 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2871 <bp-checks.h>.
2872 (__xstat): Do not use CHECK_1.
2873 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2874 (__xstat): Do not use CHECK_1.
2875 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2876 (___xstat64): Do not use CHECK_1.
2877
b2c9eff4
JM
2878 [BZ #13550]
2879 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2880 definitions.
2881 (CHECK_BOUNDS_HIGH): Likewise.
2882 * string/strcpy.c: Do not include <bp-checks.h>.
2883 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2884
f1d70dad
RM
28852013-02-07 Roland McGrath <roland@hack.frob.com>
2886
2887 * nscd/nscd-client.h (__nscd_drop_map_ref):
2888 Add __attribute__ ((unused)).
2889 * nis/nss-nisplus.h (niserr2nss): Likewise.
2890
2891 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2892 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2893
2894 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2895 Remove inline keyword.
2896 * include/rounding-mode.h (round_away): Likewise.
2897 * libio/wfileops.c (adjust_wide_data): Likewise.
2898 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2899 (__m128i_strloadu_tolower): Likewise.
2900 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2901 (__m128i_strloadu_tolower): Likewise.
2902 * time/mktime.c (ydhms_diff): Likewise.
2903 * locale/elem-hash.h (elem_hash): Likewise.
2904 * locale/setlocale.c (setdata): Likewise.
2905 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2906 (re_string_wchar_at): Likewise.
2907 (bitset_not, bitset_merge, bitset_mask): Likewise.
2908 [!(__GNUC__ > 3)] (inline): Remove macro.
2909 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2910 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2911 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2912 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2913 * string/memcmp.c (memcmp_bytes): Likewise.
2914 * locale/programs/locarchive.c (compute_hashval): Likewise.
2915 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2916 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2917 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2918 * nss/getent.c (print_rpc, print_protocols): Likewise.
2919 (print_passwd, print_group, print_aliases): Likewise.
2920 * nis/nss-nisplus.h (niserr2nss): Likewise.
2921 * nscd/connections.c (restart_p): Likewise.
2922 Change return type to bool.
2923
eab55bfb
RM
29242013-02-05 Roland McGrath <roland@hack.frob.com>
2925
7bd642f5
RM
2926 * Makeconfig (all-Depend-files): Add existing
2927 $(sorted-subdirs:=/Depend) files.
2928 (all-subdirs): Remove nss.
2929 * sysdeps/unix/inet/Subdirs: Add it here instead.
2930 * hesiod/Depend: New file.
2931
573c29b2
RM
2932 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2933 instead of calling alloca.
2934
b2e25af0
RM
2935 * io/lseek.c (__lseek): Rename to __libc_lseek.
2936 Define __lseek as an alias.
2937
eab55bfb
RM
2938 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2939
9a0d1941
CD
29402013-02-04 Carlos O'Donell <carlos@redhat.com>
2941
2942 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2943 else clause and remove check for non-standard endianness.
2944
b83bbec4
DM
29452013-02-04 David S. Miller <davem@davemloft.net>
2946
2947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2948
6277fdab
JM
29492013-02-04 Joseph Myers <joseph@codesourcery.com>
2950
2951 [BZ #13550]
2952 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2953 (__ubp_memchr): Remove prototype.
2954 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2955 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2956 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2957 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2958 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2959 Remove alias.
2960 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2961 (__ubp_memchr): Likewise.
2962 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2963 (__ubp_memchr): Likewise.
2964 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2965 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2966 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2967 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2968 CHECK_STRING.
2969 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2970 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2971 (__getcwd): Do not use CHECK_STRING.
2972 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2973 <bp-checks.h>.
2974 (__real_chown): Do not use CHECK_STRING.
2975 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2976 <bp-checks.h>.
2977 (fchownat): Do not use CHECK_STRING.
2978 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2979 CHECK_STRING.
2980 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2981 <bp-checks.h>.
2982 (__lchown): Do not use CHECK_STRING.
2983 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2984 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2985 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2986 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2988 include <bp-checks.h>.
2989 (truncate64): Do not use CHECK_STRING.
2990 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2991 <bp-checks.h>.
2992 (__real_chown): Do not use CHECK_STRING.
2993 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2994 <bp-checks.h>.
2995 (__lchown): Do not use CHECK_STRING.
2996 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2997 <bp-checks.h>.
2998 (__chown): Do not use CHECK_STRING.
2999 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3000 <bp-checks.h>.
3001 (truncate64): Do not use CHECK_STRING.
3002 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3003 Likewise.
3004 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3005 (__xmknod): Do not use CHECK_STRING.
3006 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3007 <bp-checks.h>.
3008 (__xmknodat): Do not use CHECK_STRING.
3009 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3010 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3011
903ae060
AS
30122013-02-04 Andreas Schwab <schwab@suse.de>
3013
3014 [BZ #14142]
3015 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3016 * include/netdb.h: Likewise for h_errno.
3017 * elf/tst-stackguard1.c: Include <tls.h>.
3018
542f9466
JK
30192013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3020
3021 * elf/link.h (struct link_map): Extend the l_addr comment.
3022 * include/link.h (struct link_map): Likewise.
3023
e782a927
JM
30242013-02-01 Joseph Myers <joseph@codesourcery.com>
3025
3026 [BZ #13550]
3027 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3028 (BOUNDED_1): Remove macro.
3029 * debug/backtrace.c: Don't include <bp-checks.h>.
3030 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3031 (__backtrace): Likewise.
3032 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3033 <bp-checks.h>.
3034 (__backtrace): Don't use BOUNDED_1.
3035 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3036 <bp-checks.h>.
3037 (__backtrace): Don't use BOUNDED_1.
3038 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3039 (__backtrace): Don't use BOUNDED_1.
3040 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3041 (shmat): Don't use BOUNDED_N.
3042
8cf28c5e
JM
30432013-01-31 Joseph Myers <joseph@codesourcery.com>
3044
3a7ac8a0
JM
3045 [BZ #13550]
3046 * sysdeps/generic/bp-start.h: Remove file.
3047 * csu/libc-start.c: Don't include <bp-start.h>.
3048 (LIBC_START_MAIN): Set up __environ directly instead of using
3049 INIT_ARGV_and_ENVIRON.
3050 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3051 <bp-start.h>.
3052
f3499f95
JM
3053 [BZ #13550]
3054 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3055 definitions.
3056 (CHECK_FCNTL): Likewise.
3057 (CHECK_N_PAGES): Likewise.
3058
32a45bea
JM
3059 [BZ #13550]
3060 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3061 definitions.
3062 (CHECK_SIGSET_NULL_OK): Likewise.
3063 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3064 <bp-checks.h>.
3065 (sigpending): Don't use CHECK_SIGSET.
3066 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3067 <bp-checks.h>.
3068 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3069 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3070 <bp-checks.h>.
3071 (do_sigsuspend): Don't use CHECK_SIGSET.
3072 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3073 use CHECK_SIGSET.
3074 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3075 (do_sigwait): Don't use CHECK_SIGSET.
3076 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3077 use CHECK_SIGSET.
3078 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3079 include <bp-checks.h>.
3080 (sigpending): Don't use CHECK_SIGSET.
3081 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3082 include <bp-checks.h>.
3083 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3084 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3085 <bp-checks.h>.
3086 (sigpending): Don't use CHECK_SIGSET.
3087 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3088 <bp-checks.h>.
3089 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3090
2e8a5c8c
JM
3091 [BZ #13550]
3092 * sysdeps/generic/bp-semctl.h: Remove file.
3093 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3094 <bp-checks.h> and <bp-semctl.h>.
3095 (__old_semctl): Don't use CHECK_SEMCTL.
3096 (__new_semctl): Likewise.
3097 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3098 and <bp-semctl.h>.
3099 (__old_semctl): Don't use CHECK_SEMCTL.
3100 (__new_semctl): Likewise.
3101 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3102 <bp-checks.h> and <bp-semctl.h>.
3103 (__old_semctl): Don't use CHECK_SEMCTL.
3104 (__new_semctl): Likewise.
3105 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3106 <bp-checks.h> and <bp-semctl.h>.
3107 (semctl): Don't use CHECK_SEMCTL.
3108
c2d54929
JM
3109 [BZ #13550]
3110 * Makerules (elide-bp-thunks): Remove variable.
3111 (elide-routines.oS): Don't use $(elide-bp-thunks).
3112 (elide-routines.os): Likewise.
3113 (elide-routines.o): Likewise.
3114 (elide-routines.op): Likewise.
3115 (elide-routines.og): Likewise.
3116 (objects): Don't use $(bp-thunks).
3117 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3118 include.
3119 (common-generated): Do not add s-proto-bp.d.
3120 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3121 (int): Likewise.
3122 (typ): Likewise.
3123 Do not generate makefile rules for bounded-pointer thunks.
3124 * sysdeps/generic/bp-thunks.h: Remove file.
3125 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3126 * sysdeps/unix/s-proto-bp.S: Likewise.
3127
8cf28c5e
JM
3128 [BZ #15062]
3129 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3130 parts of result separately when argument is not close to line from
3131 -i to i and one part of argument is small.
3132 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3133 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3134 * math/libm-test.inc (cacos_test): Add more tests.
3135 (casin_test): Likewise.
3136 (casinh_test): Likewise.
3137 * sysdeps/i386/fpu/libm-test-ulps: Update.
3138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3139
c4e33b8d
DM
31402013-01-31 David S. Miller <davem@davemloft.net>
3141
3142 * po/de.po: Update from translation team.
3143
3b60b421
MK
31442013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3145
3146 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3147
bb931195
TS
31482013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3149
b5a5da23
TS
3150 * configure.in (_AC_PROG_CC_C89): New definition.
3151 * configure: Regenerate.
3152
bb931195
TS
3153 * configure.in (AC_PROG_CPP): New definition.
3154 * configure: Regenerate.
3155
8c53a12c
JM
31562013-01-23 Joseph Myers <joseph@codesourcery.com>
3157
3158 * debug/tst-backtrace.h: New file.
3159 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3160 (ret): Remove variable.
3161 (x): Likewise.
3162 (FAIL): Remove macro.
3163 (NO_INLINE): Likewise.
3164 (fn1): Use match function instead of strstr.
3165 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3166 (ret): Remove variable.
3167 (x): Likewise.
3168 (FAIL): Remove macro.
3169 (NO_INLINE): Likewise.
3170 (fn): Use match function instead of strstr.
3171 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3172 (ret): Remove variable.
3173 (x): Likewise.
3174 (FAIL): Remove macro.
3175 (NO_INLINE): Likewise.
3176 (handle_signal): Use match function instead of strstr.
3177 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3178 (ret): Remove variable.
3179 (x): Likewise.
3180 (FAIL): Remove macro.
3181 (NO_INLINE): Likewise.
3182 (handle_signal): Use match function instead of strstr.
3183
4858fa2a
RM
31842013-01-23 Roland McGrath <roland@hack.frob.com>
3185
3186 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3187
bae8e7f5
DM
31882013-01-23 David S. Miller <davem@davemloft.net>
3189
3190 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3191 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3192 argument of CAS if possible.
3193 * sysdeps/sparc/sparc64/bits/atomic.h
3194 (__arch_compare_and_exchange_val_32_acq): Likewise.
3195 (__arch_compare_and_exchange_val_64_acq): Likewise.
3196
9cbbc4ae
PT
31972013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3198
3199 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3200 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3201 Include <limits.h>.
67b3f58c 3202 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3203
5655a0b5
AC
32042013-01-23 Adam Conrad <adconrad@0c3.net>
3205
3206 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3207 (LDFLAGS-tst-array5): Likewise.
3208
052aff95
JM
32092013-01-23 Joseph Myers <joseph@codesourcery.com>
3210
3211 [BZ #15036]
3212 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3213 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3214 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3215 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3216
7c1e01aa
DM
32172013-01-21 David S. Miller <davem@davemloft.net>
3218
3219 * sysdeps/sparc/backtrace.c: New file.
3220 * sysdeps/sparc/sparc32/backtrace.h: New file.
3221 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3222 * sysdeps/sparc/sparc64/backtrace.h: New file.
3223 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3224 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3225 -funwind-tables.
3226
ab087e0a
AS
32272013-01-21 Andreas Schwab <schwab@suse.de>
3228
3229 [BZ #15020]
3230 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3231 closed its stdout.
3232
ed689c2f
AS
32332013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3234
3235 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3236 "mpa2.h".
3237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3238
31d470ac
JM
32392013-01-18 Joseph Myers <joseph@codesourcery.com>
3240 Mark Mitchell <mark@codesourcery.com>
3241 Tom de Vries <tom@codesourcery.com>
3242 Paul Pluzhnikov <ppluzhnikov@google.com>
3243
3244 * debug/tst-backtrace2.c: New file.
3245 * debug/tst-backtrace3.c: Likewise.
3246 * debug/tst-backtrace4.c: Likewise.
3247 * debug/tst-backtrace5.c: Likewise.
3248 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3249 (CFLAGS-tst-backtrace3.c): Likewise.
3250 (CFLAGS-tst-backtrace4.c): Likewise.
3251 (CFLAGS-tst-backtrace5.c): Likewise.
3252 (LDFLAGS-tst-backtrace2): Likewise.
3253 (LDFLAGS-tst-backtrace3): Likewise.
3254 (LDFLAGS-tst-backtrace4): Likewise.
3255 (LDFLAGS-tst-backtrace5): Likewise.
3256 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3257 tst-backtrace4 and tst-backtrace5.
3258
90567f30 32592013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3260 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3261
3262 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3263 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3264 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3265 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3267 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3268 "+r" and remove output regs list as redundant. Add explicit inline
3269 asm to specify register of return val to work around compiler codegen
3270 bug. Remove (int) cast on return value. Add return type parameter to
3271 use in macro so that this macro does not truncate return value for
3272 64-bit values.
3273 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3274 pass to INTERNAL_VSYSCALL_NCS.
3275 (INLINE_VSYSCALL): Add 'long int' as return type to
3276 INTERNAL_VSYSCALL_NCS macro invocation.
3277 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3278 INTERNAL_VSYSCALL_NCS macro invocation.
3279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3280
d3b9ea61
SP
32812013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3282
0b57daeb
SP
3283 [BZ #14496]
3284 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3285 Fix application of SIMD FP exception mask.
3286
caa99d06
SP
3287 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3288 mp_no from a power of two.
3289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3290 __mpexp_twomm1. Use __pow_mp.
3291
d3b9ea61
SP
3292 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3293 multiplication.
3294
1dbaee3c
DM
32952013-01-17 David S. Miller <davem@davemloft.net>
3296
3297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3298
728d7b43
JM
32992013-01-17 Joseph Myers <joseph@codesourcery.com>
3300
3301 [BZ #15023]
3302 * include/complex.h: Condition contents on [!_COMPLEX_H].
3303 (__kernel_casinhf): New prototype.
3304 (__kernel_casinh): Likewise.
3305 (__kernel_casinhl): Likewise.
3306 * math/Makefile (libm_calls): Add k_casinh.
3307 * math/k_casinh.c: New file.
3308 * math/k_casinhf.c: Likewise.
3309 * math/k_casinhl.c: Likewise.
3310 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3311 finite nonzero arguments.
3312 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3313 finite nonzero arguments.
3314 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3315 finite nonzero arguments.
3316 * math/s_casinh.c: Do not include <float.h>.
3317 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3318 * math/s_casinhf.c: Do not include <float.h>.
3319 (__casinhf): Move code for finite nonzero arguments to
3320 k_casinhf.c.
3321 * math/s_casinhl.c: Do not include <float.h>.
3322 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3323 redefine.
3324 (__casinhl): Move code for finite nonzero arguments to
3325 k_casinhl.c.
3326 * math/libm-test.inc (cacos_test): Add more tests.
3327 * sysdeps/i386/fpu/libm-test-ulps: Update.
3328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3329
2a26ef3a
PT
33302013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3331
3332 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3333 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3334 [!HAVE_MREMAP]: Remove [defined linux] case.
3335 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3336
a897655d
SP
33372013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3338
3339 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3340
881ebe89 33412013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3342
3343 * elf/elf.h (R_386_SIZE32): New relocation.
3344 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3345 R_386_SIZE32.
3346 (elf_machine_rela): Likewise.
3347 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3348 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3349
59981e9b
JM
33502013-01-17 Joseph Myers <joseph@codesourcery.com>
3351
3352 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3353 (FP_FAST_FMA): Do not define.
3354 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3355 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3356 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3357 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3358 !_SOFT_FLOAT]: Likewise.
3359 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3360 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3361 value.
3362 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3363 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3364 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3365 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3366 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3367 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3368 file.
3369
cfa8054f
AS
33702013-01-16 Andreas Schwab <schwab@suse.de>
3371
3372 [BZ #14327]
3373 * include/stdlib.h (__mktemp): Add declaration.
3374 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3375 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3376
dd930cc5
SP
33772013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3378
881ebe89
SP
3379 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3380 definitions.
3381 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3382 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3383 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3384 definitions here.
3385 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3386 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3387 definitions.
3388 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3389 and ONE.
3390 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3391 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3392 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3393 definitions.
3394 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3395 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3396 definitions.
3397 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3398
dd930cc5
SP
3399 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3400
c19a9f89
DM
34012013-01-15 David S. Miller <davem@davemloft.net>
3402
1aa61767
DM
3403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3404 trunc{,f} to libm-sysdep_routes.
3405 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3407 file.
3408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3410 file.
3411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3412 file.
3413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3415 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3416 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3417 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3418 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3419 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3420 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3421
c42d5e98
DM
3422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3423 nearbyint{,f} to libm-sysdep_routes.
3424 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3426 New file.
3427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3428 file.
3429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3430 New file.
3431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3432 file.
3433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3435 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3436 file.
3437 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3438 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3439 file.
3440 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3441 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3442 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3443
c19a9f89
DM
3444 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3445 libc_feholdexcept and libc_fesetenv.
3446
357679d2
MF
34472013-01-15 Mike Frysinger <vapier@gentoo.org>
3448
3449 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3450
65a82e3d
DM
34512013-01-14 David S. Miller <davem@davemloft.net>
3452
8b954ab9
DM
3453 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3454 (SPARC_ASM_VIS2_IFUNC): Likewise.
3455 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3457 use of 'siam' instruction.
3458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3459 Likewise.
3460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3461 Likewise.
3462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3463 Likewise.
3464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3465 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3467 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3469 file.
3470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3471 file.
3472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3473 file.
3474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3475 file.
3476 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3477 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3478 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3481 new VIS2 routines.
3482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3485 Likewise.
3486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3487 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3489 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3491 routines to libm-sysdep_routines.
3492 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3493
65a82e3d
DM
3494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3495 fdim/fdimf to libm-sysdep_routines.
3496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3497 file.
3498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3500 file.
3501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3504 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3505 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3506 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3507 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3508
e34ab705
SP
35092013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3510
2a91b573
SP
3511 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3512 to optimize copies.
3513
1066a534
SP
3514 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3517
e34ab705
SP
3518 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3519 local variable MPTWO.
3520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3521 Likewise.
3522
aba5e596
MF
35232013-01-13 Mike Frysinger <vapier@gentoo.org>
3524
3525 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3526 GLOB_NOESCAPE.
3527
e557e9e5
MF
35282013-01-13 Mike Frysinger <vapier@gentoo.org>
3529
3530 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3531
0428cec9
MF
35322013-01-13 Mike Frysinger <vapier@gentoo.org>
3533
3534 * manual/pattern.texi (glob_t): Document gl_flags.
3535 (glob64_t): Likewise.
3536
8794a964
DM
35372013-01-11 David S. Miller <davem@davemloft.net>
3538
66438c3f
RM
3539 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3540 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3541 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3542 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3543 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3544 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3545 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3546 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3547 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3548 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3549 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3550 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3551 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3552
4ae4244d
DM
3553 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3554 sparc V9 rather than using V8 code.
3555 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3556 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3557
8794a964
DM
3558 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3559 Move to...
3560 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3561 Here.
3562
6270516e
RM
35632013-01-11 Roland McGrath <roland@hack.frob.com>
3564
3565 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3566 not in the main loop.
3567 * configure: Regenerated.
3568
6a57d931
JM
35692013-01-11 Joseph Myers <joseph@codesourcery.com>
3570
3571 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3572 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3573 to just #else.
3574 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3575 [!__GLIBC_HAVE_LONG_LONG] case.
3576 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3577 condition to just #else.
3578 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3579 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3580 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3581 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3582 unconditional.
3583 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3584 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3585 #elif condition to just #else.
3586 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3587 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3588 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3589 #elif condition to just #else.
3590
0e8529e9
SE
35912013-01-11 Steve Ellcey <sellcey@mips.com>
3592
3593 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3594 (EF_MIPS_ARCH_64): Fix value.
3595 (EF_MIPS_ARCH_32R2): New.
3596 (EF_MIPS_ARCH_64R2): New.
3597
740b3dbe
L
35982013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3599
3600 * Makeconfig (+link-pie-before-libc): New.
3601 (+link-pie-after-libc): Likewise.
3602 (+link-pie-tests): Likewise.
3603 (+link-pie): Rewritten.
3604 (link-before-libc): Remove $(config-LDFLAGS).
3605 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3606 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3607 (config-LDFLAGS): Renamed to ...
3608 (rtld-LDFLAGS): This.
3609 (rtld-tests-LDFLAGS): New macro.
3610 (link-libc-rpath-link): Likewise.
3611 (link-libc-tests-rpath-link): Likewise.
3612 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3613 (link-libc): Prepand $(link-libc-rpath-link).
3614 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3615 (test-program-prefix): New macro.
3616 (test-via-rtld-prefix): Likewise.
3617 (test-program-cmd): Likewise.
3618 (host-test-program-cmd): Likewise.
3619 * Makefile ($(common-objpfx)testrun.sh): Replace
3620 $(run-program-prefix) with $(test-program-prefix).
3621 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3622 $(rtld-LDFLAGS).
3623 ($(common-objpfx)shlib.lds): Likewise.
3624 (build-module-helper): Likewise.
3625 ($(common-objpfx)format.lds): Likewise.
3626 * Rules (binaries-pie-tests): New.
3627 (binaries-pie-notests): Likewise.
3628 (binaries-pie): Rewritten.
3629 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3630 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3631 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3632 (make-test-out): Replace $(host-built-program-cmd) with
3633 $(host-test-program-cmd).
3634 * config.make.in (build-hardcoded-path-in-tests): New variable.
3635 * configure.in (--enable-hardcoded-path-in-tests): New configure
3636 option.
3637 (hardcoded_path_in_tests): New AC_SUBST.
3638 * configure: Regenerated.
3639 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3640 $(built-program-cmd) with $(test-program-cmd).
3641 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3642 (test_program_cmd): This.
3643 * elf/Makefile ($(objpfx)order.out): Run test with
3644 $(test-program-prefix).
3645 ($(objpfx)order2.out): Likewise.
3646 ($(objpfx)tst-initorder.out): Likewise.
3647 ($(objpfx)tst-initorder2.out): Likewise.
3648 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3649 $(test-program-cmd).
3650 ($(objpfx)tst-array1-static.out): Likewise.
3651 ($(objpfx)tst-array2.out): Likewise.
3652 ($(objpfx)tst-array3.out): Likewise.
3653 ($(objpfx)tst-array4.out): Likewise.
3654 ($(objpfx)tst-array5.out): Likewise.
3655 ($(objpfx)tst-array5-static.out): Likewise.
3656 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3657 $(test-program-cmd).
3658 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3659 $(run-program-prefix) with $(test-program-prefix).
3660 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3661 (test_program_prefix): This.
3662 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3663 $(run-program-prefix) with $(test-program-prefix).
3664 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3665 (test_program_prefix): This.
3666 * iconvdata/tst-tables.sh: Likewise.
3667 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3668 $(run-program-prefix) with $(test-program-prefix).
3669 ($(objpfx)tst-translit.out): Likewise.
3670 ($(objpfx)tst-gettext2.out): Likewise.
3671 ($(objpfx)tst-gettext4.out): Likewise.
3672 ($(objpfx)tst-gettext6.out): Likewise.
3673 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3674 (test_program_prefix): This.
3675 * intl/tst-gettext2.sh: Likewise.
3676 * intl/tst-gettext4.sh Likewise.
3677 * intl/tst-gettext6.sh: Likewise.
3678 * intl/tst-translit.sh: Likewise.
3679 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3680 with $(test-program-cmd).
3681 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3682 $(run-program-prefix) with $(test-program-prefix).
3683 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3684 (test_program_prefix): This.
3685 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3686 $(run-program-prefix) with $(test-program-prefix).
3687 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3688 (test_program_prefix): This.
3689 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3690 * posix/Makefile ($(objpfx)globtest.out): Replace
3691 $(run-via-rtld-prefix) and $(test-wrapper) with
3692 $(test-program-prefix) and $(test-via-rtld-prefix).
3693 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3694 $(test-program-prefix).
3695 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3696 $(host-test-program-cmd).
3697 (tst-spawn-ARGS): Likewise.
3698 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3699 $(test-program-prefix).
3700 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3701 (test_via_rtld_prefix): This.
3702 (test_wrapper): Renamed to ...
3703 (test_program_prefix): This.
3704 (run_program_prefix): Replaced by test_program_prefix.
3705 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3706 (test_program_prefix): This.
3707 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3708 with $(host-test-program-cmd).
3709 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3710 $(run-program-prefix) with $(test-program-prefix).
3711 ($(objpfx)tst-printf.out): Likewise.
3712 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3713 $(test-program-cmd).
3714 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3715 (test_program_prefix): This.
3716 * stdio-common/tst-unbputc.sh: Likewise.
3717 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3718 $(run-program-prefix) with $(test-program-prefix).
3719 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3720 (test_program_prefix): This.
3721 * string/Makefile ($(objpfx)tst-svc.out): Replace
3722 $(built-program-cmd) with $(test-program-cmd).
3723
c6fe55cf
AJ
37242013-01-11 Andreas Jaeger <aj@suse.de>
3725
3726 [BZ #15003]
3727 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3728 value. Sync with Linux 3.7.
3729
9e6919c8
DM
37302013-01-10 David S. Miller <davem@davemloft.net>
3731
3732 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3733 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3734 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3735
1c9f1a02
RM
37362013-01-10 Roland McGrath <roland@hack.frob.com>
3737
3738 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3739 never set.
3740 * configure: Regenerated.
3741
b9de2dde
DM
37422013-01-10 David S. Miller <davem@davemloft.net>
3743
3744 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3745 sparc V9 rather than using V8 code.
3746 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3747 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3748
e7f68ef4
RM
37492013-01-10 Roland McGrath <roland@hack.frob.com>
3750
3751 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3752 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3753 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3754 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3755 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3756 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3757 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3758 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3759 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3760 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3761 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3762 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3763 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3764 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3765 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3766 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3767 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3768 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3769 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3770 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3771 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3772 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3773 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3774 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3775 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3776 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3777 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3778
5a47cc9c
DM
37792013-01-10 David S. Miller <davem@davemloft.net>
3780
3781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3782
4cf8f209
L
37832013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3784
3785 * posix/Makefile (tests-static): New variable.
3786 (tests): Add $(tests-static).
3787 (tst-exec-static-ARGS): New variable.
3788 (tst-spawn-static-ARGS): Likewise.
3789 * posix/tst-exec-static.c: New file.
3790 * posix/tst-spawn-static.c: Likewise.
3791 * posix/tst-exec.c: Support run directly.
3792 * posix/tst-spawn.c: Likewise.
3793
fed0faa1
JM
37942013-01-10 Joseph Myers <joseph@codesourcery.com>
3795
828beb13
JM
3796 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3797 long.
3798 * math/bits/mathcalls.h (llrint): Likewise.
3799 (llround): Likewise.
3800 * stdlib/stdlib.h (struct drand48_data): Likewise.
3801 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3802 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3803 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3804 Likewise.
3805 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3806 Likewise.
3807 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3808 (elf_greg_t): Likewise.
3809 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3810 (__jmp_buf): Likewise.
3811 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3812 definitions.
3813 (llrint): Likewise, for all definitions.
3814 (llrintl): Likewise.
3815
fed0faa1
JM
3816 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3817 Remove [__GNUC__] condition.
3818 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3819 condition to just [__USE_ISOC99].
3820 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3821
1a20cb20
L
38222013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3823
3824 [BZ #14200]
3825 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3826 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3827 defined.
3828 (_POSIX_V6_ILP32_OFF32): Likewise.
3829 (_XBS5_ILP32_OFF32): Likewise.
3830 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3831 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3832
751b85f7
SP
38332013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3834
7490eb81
SP
3835 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3836
751b85f7
SP
3837 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3838 doubles __mpexp_twomm1. Adjust usage.
3839 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3840 Remove.
3841
988197f0
AS
38422013-01-10 Andreas Schwab <schwab@suse.de>
3843
3844 [BZ #14964]
3845 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3846 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3847
e83d7298
DM
38482013-01-09 David S. Miller <davem@davemloft.net>
3849
034ed64b 3850 [BZ #15003]
e83d7298
DM
3851 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3852 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3853 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3854 TCP_FASTOPEN): Define.
3855 (tcp_repair_opt): New structure.
3856 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3857 enum values.
3858 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3859 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3860 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3861 (tcp_cookie_transactions): New structure.
3862
d5e0b9bd
AB
38632013-01-09 Anton Blanchard <anton@samba.org>
3864
3865 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3866 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3867 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3868 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3869
0c07e3ea
JM
38702013-01-09 Joseph Myers <joseph@codesourcery.com>
3871
3872 * include/features.h (__USE_ANSI): Remove.
3873
232f7002
RM
38742013-01-09 Roland McGrath <roland@hack.frob.com>
3875
ad98e30c
RM
3876 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3877
232f7002
RM
3878 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3879
950c99ca
SP
38802013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3881
b5792741
SP
3882 * sysdeps/s390/fpu/libm-test-ulps: Update.
3883
47cf2278
SP
3884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3885
950c99ca
SP
3886 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3887 (__acr): Likewise.
3888 (__cpy): Likewise.
3889 (norm): Likewise.
3890 (denorm): Likewise.
3891 (__mp_dbl): Likewise.
3892 (__dbl_mp): Likewise.
3893 (add_magnitudes): Likewise.
3894 (sub_magnitudes): Likewise.
3895 (__add): Likewise.
3896 (__sub): Likewise.
3897 (__mul): Likewise.
3898 (__inv): Likewise.
3899 (__dvd): Likewise.
3900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3901 (__acr): Likewise.
3902 (__cpy): Likewise.
3903 (norm): Likewise.
3904 (denorm): Likewise.
3905 (__mp_dbl): Likewise.
3906 (__dbl_mp): Likewise.
3907 (add_magnitudes): Likewise.
3908 (sub_magnitudes): Likewise.
3909 (__add): Likewise.
3910 (__sub): Likewise.
3911 (__mul): Likewise.
3912 (__inv): Likewise.
3913 (__dvd): Likewise.
3914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3915 (__acr): Likewise.
3916 (__cpy): Likewise.
3917 (norm): Likewise.
3918 (denorm): Likewise.
3919 (__mp_dbl): Likewise.
3920 (__dbl_mp): Likewise.
3921 (add_magnitudes): Likewise.
3922 (sub_magnitudes): Likewise.
3923 (__add): Likewise.
3924 (__sub): Likewise.
3925 (__mul): Likewise.
3926 (__inv): Likewise.
3927 (__dvd): Likewise.
3928
eede9df9
JM
39292013-01-08 Joseph Myers <joseph@codesourcery.com>
3930
3931 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3932 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3933 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3934 2 && __USE_EXTERN_INLINES]: Likewise.
3935
c40ea3d9
AJ
39362013-01-08 Andreas Jaeger <aj@suse.de>
3937
3938 [BZ# 14985]
3939 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3940 Remove.
3941 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3942 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3943
2ccdea26
AB
39442013-01-07 Anton Blanchard <anton@samba.org>
3945
3946 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3947 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3948 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3949 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3950 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3951 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3952 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3953 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3955 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3956 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3957 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3958 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3959 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3960 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3961 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3962 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3963 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3964 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3965 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3966 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3967 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3968 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3969 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3970 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3971 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3972 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3973 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3974 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3975 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3976 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3978 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3979 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3980 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3981 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3982 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3983 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3984 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3985 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3986 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3987 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3988 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3989
a9708fed
JM
39902013-01-07 Joseph Myers <joseph@codesourcery.com>
3991
375607b9
JM
3992 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3993 (__MALLOC_PMT): Likewise.
3994 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3995 [__GNUC__], only on [_LIBC].
3996 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3997 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3998 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3999 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4000 forward declaration.
4001 (realloc_hook_ini): Likewise.
4002 (memalign_hook_ini): Likewise.
4003 (__libc_memalign): Do not use __MALLOC_PMT in variable
4004 declaration.
4005 (__libc_valloc): Likewise.
4006 (__libc_pvalloc): Likewise.
4007 (__libc_calloc): Likewise.
4008 (__posix_memalign): Likewise.
4009
a9708fed
JM
4010 [BZ #14996]
4011 * math/s_casinh.c: Include <float.h>.
4012 (__casinh): Do not do computation with squaring and square root
4013 for large arguments.
4014 * math/s_casinhf.c: Include <float.h>.
4015 (__casinhf): Do not do computation with squaring and square root
4016 for large arguments.
4017 * math/s_casinhl.c: Include <float.h>.
4018 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4019 (__casinhl): Do not do computation with squaring and square root
4020 for large arguments.
4021 * math/libm-test.inc (casin_test): Add more tests.
4022 (casinh_test): Likewise.
4023 * sysdeps/i386/fpu/libm-test-ulps: Update.
4024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4025
afec409a
L
40262013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4027
4028 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4029 (__x86_64_raw_data_cache_size): Likewise.
4030 (__x86_64_data_cache_size_half): Likewise.
4031 (__x86_64_raw_data_cache_size_half): Likewise.
4032 (__x86_64_shared_cache_size): Likewise.
4033 (__x86_64_raw_shared_cache_size): Likewise.
4034 (__x86_64_shared_cache_size_half): Likewise.
4035 (__x86_64_raw_shared_cache_size_half): Likewise.
4036 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4037 to ...
4038 (__x86_data_cache_size): This.
4039 (__x86_64_raw_data_cache_size): Renamed to ...
4040 (__x86_raw_data_cache_size): This.
4041 (__x86_64_data_cache_size_half): Renamed to ...
4042 (__x86_data_cache_size_half): This.
4043 (__x86_64_raw_data_cache_size_half): Renamed to ...
4044 (__x86_raw_data_cache_size_half): This.
4045 (__x86_64_shared_cache_size): Renamed to ...
4046 (__x86_shared_cache_size): This.
4047 (__x86_64_raw_shared_cache_size): Renamed to ...
4048 (__x86_raw_shared_cache_size): This.
4049 (__x86_64_shared_cache_size_half): Renamed to ...
4050 (__x86_shared_cache_size_half): This.
4051 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4052 (__x86_raw_shared_cache_size_half): This.
4053 * sysdeps/x86_64/memcpy.S: Updated.
4054 * sysdeps/x86_64/memset.S: Likewise.
4055 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4056 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4057 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4058
0b3986d0
DM
40592013-01-04 David S. Miller <davem@davemloft.net>
4060
4061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4062
e47686e9
AS
40632013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4064
d643bac1
AS
4065 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4066 1 to avoid redefinition warning.
4067 (__USE_GNU): Don't define.
4068 (init_signaling_nan): Protoize.
4069
e47686e9
AS
4070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4071
b18decba
SP
40722013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4073
fffb407f
SP
4074 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4076 (__cpymn): Likewise.
4077 (norm): Remove commented code.
4078 (denorm): Likewise.
4079 (__mp_dbl): Likewise.
4080 (__inv): Likewise.
4081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4082 (__cpymn): Likewise.
4083 (norm): Remove commented code.
4084 (denorm): Likewise.
4085 (__mp_dbl): Likewise.
4086 (__inv): Likewise.
4087
b18decba
SP
4088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4089 mp_no value for 1.0 and 2.0.
4090 (norm): Use RADIXI instead of radixi.d.
4091 (denorm): Likewise.
4092 (__mul): Use 0.0 instead of zero.d.
4093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4094 mp_no value for 1.0 and 2.0.
4095 (norm): Use RADIXI instead of radixi.d.
4096 (denorm): Likewise.
4097 (__mul): Use 0.0 instead of zero.d.
4098
cdc1c96f
JM
40992013-01-04 Joseph Myers <joseph@codesourcery.com>
4100
4101 [BZ #14994]
4102 * math/s_casinh.c (__casinh): Reduce finite argument to first
4103 quadrant then set signs of results at the end.
4104 * math/s_casinhf.c (__casinhf): Likewise.
4105 * math/s_casinhl.c (__casinhl): Likewise.
4106 * math/libm-test.inc (casin_test): Add more tests.
4107 (casinh_test): Likewise.
4108 * sysdeps/i386/fpu/libm-test-ulps: Update.
4109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4110
302913e1
SP
41112013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4112
6420d207
SP
4113 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4114
a9e48ab4
SP
4115 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4116
b7837264
SP
4117 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4118 declarations.
4119 (denorm): Likewise.
4120 (__mp_dbl): Likewise.
4121 (__inv): Likewise.
4122
f8af25d2
SP
4123 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4124 and adjust the header comment.
4125
302913e1
SP
4126 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4127 variable name from declaration.
4128
5d7dd1ca
L
41292013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4130
4131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4132 Initialize COMMON_CPUID_INDEX_7 element.
4133 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4134 (CPUID_RTM): Likewise.
4135 (HAS_RTM): Likewise.
4136 (COMMON_CPUID_INDEX_7): New enum.
4137
2f5f40f4
AS
41382013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4139
4140 [BZ #14981]
4141 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4142 size is zero, record memory as freed.
4143
4056f4a0
AJ
41442013-01-03 Andreas Jaeger <aj@suse.de>
4145
4146 * po/ia.po: Add new Interlingua translation.
4147
ab15736f 41482012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4149
4150 * locale/programs/localedef.c: Fix description of '--posix' flag.
4151
568035b7
JM
41522013-01-02 Joseph Myers <joseph@codesourcery.com>
4153
e6898b8d
JM
4154 * NEWS: Update dates in second copyright notice.
4155 * README: Update copyright dates in example.
4156 * manual/libc.texinfo: Update copyright dates.
4157 * scripts/test-installation.pl: Update copyright date in --version
4158 output.
4159
0e2f9562
JM
4160 * hurd/ctty-input.c: Fix copyright notice formatting.
4161 * hurd/ctty-output.c: Likewise.
4162 * hurd/dtable.c: Likewise.
4163 * hurd/hurd-raise.c: Likewise.
4164 * hurd/hurdprio.c: Likewise.
4165 * hurd/msgportdemux.c: Likewise.
4166 * misc/sys/file.h: Likewise.
4167 * misc/sys/ioctl.h: Likewise.
4168 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4169 * sysdeps/mach/hurd/chdir.c: Likewise.
4170 * sysdeps/mach/hurd/fchdir.c: Likewise.
4171 * sysdeps/mach/hurd/rename.c: Likewise.
4172 * sysdeps/mach/hurd/rmdir.c: Likewise.
4173 * sysdeps/mach/hurd/seekdir.c: Likewise.
4174 * sysdeps/mach/hurd/setsid.c: Likewise.
4175 * sysdeps/posix/wait3.c: Likewise.
4176
568035b7
JM
4177 * All files with FSF copyright notices: Update copyright dates
4178 using scripts/update-copyrights.
4179 * intl/plural.c: Regenerated.
4180 * locale/programs/charmap-kw.h: Likewise.
4181 * locale/programs/locfile-kw.h: Likewise.
4182
da08f647
SP
41832013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4184
0f5477af
SP
4185 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4186 four values.
4187
44e0d4c2
SP
4188 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4189 calculation loop and add branch prediction.
4190
4d55b4e5
SP
4191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4192 check access beyond bounds of m1np.
4193
da08f647
SP
4194 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4195 MPTWO.
4196 (__inv): Remove local variable MPTWO to use the global
4197 constant.
4198 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4199 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4200 variable MPTWO.
4201 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4202 MP3HALFS static const.
4203
8e051029
DM
42042013-01-01 David S. Miller <davem@davemloft.net>
4205
4206 * po/ca.po: Update from translation team.
4207
f4cf5f2d
JM
42082013-01-01 Joseph Myers <joseph@codesourcery.com>
4209
4210 * scripts/update-copyrights: New file.
4211 * Makeconfig: Reformat copyright notice.
4212 * ctype/ctype.h: Likewise.
4213 * debug/swprintf_chk.c: Likewise.
4214 * elf/dl-cache.c: Likewise.
4215 * elf/dl-debug.c: Likewise.
4216 * elf/dl-object.c: Likewise.
4217 * grp/initgroups.c: Likewise.
4218 * hurd/Makefile: Likewise.
4219 * hurd/hurd/signal.h: Likewise.
4220 * hurd/hurdfault.c: Likewise.
4221 * hurd/hurdioctl.c: Likewise.
4222 * hurd/hurdlookup.c: Likewise.
4223 * hurd/intr-msg.c: Likewise.
4224 * iconv/gconv_open.c: Likewise.
4225 * libio/swprintf.c: Likewise.
4226 * locale/lc-ctype.c: Likewise.
4227 * locale/nl_langinfo.c: Likewise.
4228 * mach/Machrules: Likewise.
4229 * mach/Makefile: Likewise.
4230 * malloc/obstack.h: Likewise.
4231 * manual/Makefile: Likewise.
4232 * manual/tsort.awk: Likewise.
4233 * misc/bits/stab.def: Likewise.
4234 * nis/nis_print_group_entry.c: Likewise.
4235 * nis/nis_table.c: Likewise.
4236 * nis/nss_compat/compat-pwd.c: Likewise.
4237 * nis/nss_compat/compat-spwd.c: Likewise.
4238 * po/Makefile: Likewise.
4239 * posix/fnmatch.c: Likewise.
4240 * posix/regex.h: Likewise.
4241 * resolv/Makefile: Likewise.
4242 * resolv/nss_dns/dns-network.c: Likewise.
4243 * resolv/res_hconf.c: Likewise.
4244 * scripts/gen-sorted.awk: Likewise.
4245 * soft-fp/soft-fp.h: Likewise.
4246 * stdio-common/printf.h: Likewise.
4247 * stdlib/monetary.h: Likewise.
4248 * stdlib/random.c: Likewise.
4249 * stdlib/random_r.c: Likewise.
4250 * sysdeps/generic/Makefile: Likewise.
4251 * sysdeps/gnu/Makefile: Likewise.
4252 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4253 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4254 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4255 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4256 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4257 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4259 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4260 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4261 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4262 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4263 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4264 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4265 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4266 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4267 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4268 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4269 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4270 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4271 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4272 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4273 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4274 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4275 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4276 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4277 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4279 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4280 * sysdeps/mach/hurd/errnos.awk: Likewise.
4281 * sysdeps/mach/hurd/fork.c: Likewise.
4282 * sysdeps/mach/hurd/getcwd.c: Likewise.
4283 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4284 * sysdeps/mach/hurd/mmap.c: Likewise.
4285 * sysdeps/mach/hurd/utimes.c: Likewise.
4286 * sysdeps/mach/hurd/xmknod.c: Likewise.
4287 * sysdeps/posix/profil.c: Likewise.
4288 * sysdeps/posix/readdir_r.c: Likewise.
4289 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4290 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4291 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4292 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4294 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4295 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4296 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4297 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4298 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4299 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4300 * sysdeps/pthread/lio_listio.c: Likewise.
4301 * sysdeps/sparc/dl-procinfo.h: Likewise.
4302 * sysdeps/unix/i386/sysdep.S: Likewise.
4303 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4304 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4305 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4306 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4308 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4309 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4310 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4311 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4312 * sysdeps/wordsize-32/divdi3.c: Likewise.
4313 * time/sys/time.h: Likewise.
4314 * wcsmbs/Makefile: Likewise.
4315
0549fbba
DM
43162013-01-01 David S. Miller <davem@davemloft.net>
4317
a141f1a7
DM
4318 * po/fr.po: Update from translation team.
4319
0549fbba
DM
4320 * catgets/gencat.c: Update copyright year.
4321 * csu/version.c: Likewise.
4322 * debug/catchsegv.sh: Likewise.
4323 * debug/pcprofiledump.c: Likewise.
4324 * debug/xtrace.sh: Likewise.
4325 * elf/ldconfig.c: Likewise.
4326 * elf/ldd.bash.in: Likewise.
4327 * elf/pldd.c: Likewise.
4328 * elf/sotruss.ksh: Likewise.
4329 * elf/sprof.c: Likewise.
4330 * iconv/iconv_prog.c: Likewise.
4331 * iconv/iconvconfig.c: Likewise.
4332 * locale/programs/locale.c: Likewise.
4333 * locale/programs/localedef.c: Likewise.
4334 * login/programs/pt_chown.c: Likewise.
4335 * malloc/memusage.sh: Likewise.
4336 * malloc/memusagestat.c: Likewise.
4337 * malloc/mtrace.pl: Likewise.
4338 * nscd/nscd.c: Likewise.
4339 * nss/getent.c: Likewise.
4340 * nss/makedb.c: Likewise.
4341 * posix/getconf.c: Likewise.
4342
18ea052c
SP
43432012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4344
4345 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4346 numbers.
4347
9c89fca6
MF
43482012-12-30 Mike Frysinger <vapier@gentoo.org>
4349
4350 * math/bits/mathcalls.h (modf): Use __nonnull.
4351
085ec079
SP
43522012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4353
4354 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4355 (split): Use macro CN instead of the bare value.
4356 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4357 could be used.
4358 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4359 instead of the bare value.
4360 (power1): Likewise.
4361
6d9f97e1
SP
43622012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4363
d63f73be
SP
4364 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4365 __ATAN_TWOM.
4366 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4367
6d9f97e1
SP
4368 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4369 their values.
4370 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4371 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4372 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4373 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4374
4c4febf5
AJ
43752012-12-28 Andreas Jaeger <aj@suse.de>
4376
af5843ef
AJ
4377 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4378 values are from Linux 3.7.
4379
4c4febf5
AJ
4380 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4381 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4382
99136f82
SP
43832012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4384
2f216c3c 4385 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4386 TRUE case.
4387
99136f82
SP
4388 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4389 (norm): Likewise.
4390 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4391 variables with preprocessor constants.
4392 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4393 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4394 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4395
7fffbdff
BH
43962012-12-27 Bruno Haible <bruno@clisp.org>
4397
4398 [BZ #14317]
4399 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4400 only if needed.
4401
b76eb5f0
SP
44022012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4403
31a7fe5c
SP
4404 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4405 and use variable directly.
4406 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4407
b76eb5f0
SP
4408 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4409 MPONE.
4410 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4411 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4412 variable MPONE.
4413 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4414 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4415 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4416 include directive. Remove local variable MPONE.
4417 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4418 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4419 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4420
2c8bfe7d
DM
44212012-12-25 David S. Miller <davem@davemloft.net>
4422
4423 * version.h (RELEASE): Set to "development".
4424 (VERSION): Set to "2.17.90".
4425 * NEWS: Add 2.18 section.
4426
147d03b0
DM
44272012-12-21 David S. Miller <davem@davemloft.net>
4428
4429 * po/hr.po: Update from translation team.
4430
a8ebb2b9
AK
44312012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4432
4433 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4434
95b4f1b6
SE
44352012-12-19 Steve Ellcey <sellcey@mips.com>
4436
b2d94007 4437 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4438
cedb2a90
MS
44392012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4440
4441 * manual/contrib.texi (Contributors): Spelling correction.
4442
bbf527d6
DM
44432012-12-15 David S. Miller <davem@davemloft.net>
4444
4445 * po/ru.po: Update from translation team.
4446
bc38c906
DM
44472012-12-13 David S. Miller <davem@davemloft.net>
4448
85429b1a
DM
4449 * NEWS: Mention IFUNC testsuite enhancements.
4450
d283e353
DM
4451 * po/pl.po: Update from translation team.
4452 * po/bg.po: Likewise.
4453
bc38c906
DM
4454 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4455 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4456
a181b0d7
DM
44572012-12-11 David S. Miller <davem@davemloft.net>
4458
4641d57e
DM
4459 * po/sv.po: Update from translation team.
4460
f7bc6495
DM
4461 * po/vi.po: Update from translation team.
4462
6fc9048f
DM
4463 * po/cs.po: Update from translation team.
4464
a181b0d7
DM
4465 * po/de.po: Update from translation team.
4466 * po/eo.po: Likewise.
4467 * po/nl.po: Likewise.
4468
f70bfe80
SP
44692012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4470
3c8b4190
SP
4471 [BZ #14246]
4472 * manual/argp.texi (Argp Helper Functions): Move node to follow
4473 Argp Parsing State.
4474
f70bfe80
SP
4475 [BZ #14872]
4476 * manual/conf.texi (Limits on File System Capacity): Mention if
4477 terminating null is included in the max size.
4478
188f0adf
AJ
44792012-12-10 Andreas Jaeger <aj@suse.de>
4480
4481 * po/cs.po: Update from translation team.
4482
56e7d3ad
SP
44832012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4484
4485 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4486 void pointer and cast to uintptr_t.
4487 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4488 path.
4489 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4490 * sysdeps/s390/s390-64/memset.S: Likewise.
4491
76f2d2ea 44922012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4493
4494 [BZ #14833]
4495 * menual/message.texi (Message Translation): Fix typos.
4496 (Helper programs for gettext): Likewise.
4497
67cbf9a2
AS
44982012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4499
4500 [BZ #14898]
4501 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4502 Change to -1.
4503
682d0e9a
DM
45042012-12-07 David S. Miller <davem@davemloft.net>
4505
4506 * po/libc.pot: Update.
4507
573cd484
RH
45082012-12-07 Richard Henderson <rth@redhat.com>
4509
7e9da188 4510 [BZ #10114]
573cd484
RH
4511 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4512 normal/normal case to before the switch.
4513 (_FP_DIV): Likewise.
4514
e933a943
MF
45152012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4516 Mike Frysinger <vapier@gentoo.org>
4517
4518 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4519 check for __NR_fadvise64_64.
4520
82123268
CM
45212012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4522
4523 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4524 0, not just to plain "0" as a statement.
4525 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4526 with cw.
4527
d9814526
JM
45282012-12-06 Joseph Myers <joseph@codesourcery.com>
4529
4530 * NEWS: Use sourceware.org in Bugzilla URL.
4531
7728c574
SP
45322012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4533
f16946dd
SP
4534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4535 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4536
5704bbcb
SP
4537 * stdio-common/tst-put-error.c (do_test): Add newline to the
4538 padded test to ensure flush.
4539
17aa0516
JL
45402012-12-05 Jeff Law <law@redhat.com>
4541
4542 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4543
363313b5
JM
45442012-12-05 Joseph Myers <joseph@codesourcery.com>
4545
effbd42a
JM
4546 * README: Don't refer to ports add-on as distributed separately.
4547 Mention AArch64 in list of systems supported in the ports add-on.
4548
87600365
JM
4549 * LICENSES: Add more non-FSF copyright and license notices.
4550
a0d7066a
JM
4551 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4552 ((unused)).
4553
66ca5a5b
JM
4554 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4555
363313b5
JM
4556 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4557 10000 as width of padded output.
4558
b37984ad
JM
45592012-12-04 Joseph Myers <joseph@codesourcery.com>
4560
9003570a
JM
4561 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4562
b37984ad
JM
4563 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4564 variable LX with __attribute__ ((unused)).
4565 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4566 Likewise.
4567 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4568 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4569 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4570 with __attribute__ ((unused)).
4571
c8df52ec
DM
45722012-12-04 David S. Miller <davem@abraco.davemloft.net>
4573
4574 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4575
b3b099af
JM
45762012-12-04 Joseph Myers <joseph@codesourcery.com>
4577
c33aa6e3
JM
4578 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4579 (CFLAGS-nldbl-acos.c): New variable.
4580 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4581 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4582 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4583 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4584 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4585 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4586 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4587 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4588 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4589 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4590 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4591 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4592 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4593 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4594 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4595 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4596 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4597 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4598 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4599 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4600 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4601 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4602 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4603 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4604 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4605 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4606 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4607 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4608 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4609 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4610 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4611 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4612 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4613 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4614 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4615 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4616 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4617 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4618 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4619 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4620 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4621 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4622 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4623 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4624 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4625 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4626 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4627 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4628 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4629 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4630 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4631 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4632 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4633 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4634 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4635 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4636 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4637 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4638 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4639 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4640 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4641 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4642 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4643 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4644 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4645 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4646 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4647 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4648 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4649 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4650 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4651 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4652 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4653 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4654 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4655 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4656 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4657 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4658 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4659 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4660 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4661 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4662 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4663 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4664 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4665 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4666 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4667 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4668 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4669 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4670 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4671 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4672 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4673 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4674 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4675 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4676 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4677
20f0018d
JM
4678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4679 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4680
b3b099af
JM
4681 [BZ #14914]
4682 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4683 whole low double instead of just low 47 bits when splitting values
4684 into two parts.
4685
029264d1
AM
46862012-12-03 Allan McRae <allan@archlinux.org>
4687
4688 * manual/stdio.texi (Predefined Printf Handlers): Remove
4689 @hsep and @vsep usage.
4690
c9d6789e
MF
46912012-12-03 Mike Frysinger <vapier@gentoo.org>
4692
4693 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4694 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4695
4b7634a5
JL
46962012-12-03 Jeff Law <law@redhat.com>
4697
4698 * time/sys/time.h (settimeofday): Do not mark TV argument
4699 as __nonnull.
4700
eb6cbd24
MF
47012012-12-01 Mike Frysinger <vapier@gentoo.org>
4702
4703 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4704 when currently writing and seek to current position when not.
4705 * libio/Makefile (tests): Remove bug-fclose1.
4706 * libio/bug-fclose1.c: Delete.
4707
f638872a
JM
47082012-12-01 Joseph Myers <joseph@codesourcery.com>
4709
4710 * manual/arith.texi (feenableexcept): Fix typo.
4711 (fedisableexcept): Likewise.
4712
48085d14
RM
47132012-11-30 Roland McGrath <roland@hack.frob.com>
4714
4715 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4716 second, differently-typed declaration, rather than a cast.
4717
1a538b9f
SP
47182012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4719
4720 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4721 * include/rpc/svc.h: ... here.
4722
d07f2ff1 47232012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4724
4725 [BZ #13013]
4726 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4727 depending n and resplen2 to catch cases where answer
4728 equals answerp2.
4729
c93ec1f0
CD
47302012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4731
4732 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4733 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4734
37db69de
MF
47352012-11-29 Mike Frysinger <vapier@gentoo.org>
4736
4737 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4738
e10c4e4f
RM
47392012-11-29 Roland McGrath <roland@hack.frob.com>
4740
4741 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4742
2af1b328
JL
47432012-11-28 Jeff Law <law@redhat.com>
4744
4745 [BZ #13761]
4746 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4747 dataset_temporary. Track alloca usage into alloca_used.
4748 If dataset is large allocate and release it via malloc/free.
4749
111db5b1
FW
47502012-06-04 Florian Weimer <fweimer@redhat.com>
4751
f06cc227 4752 [BZ #14197]
111db5b1
FW
4753 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4754
dd694abd
DM
47552012-11-28 David S. Miller <davem@davemloft.net>
4756
4757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4758
9984dd01
JM
47592012-11-28 Joseph Myers <joseph@codesourcery.com>
4760
4761 [BZ #14803]
4762 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4763 of pi/2 rounded to nearest to 64 bits.
4764 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4765 nearest to 64 bits.
4766 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4767 bits.
4768
14bc93a9
JL
47692012-11-28 Jeff Law <law@redhat.com>
4770 Martin Osvald <mosvald@redhat.com>
4771
4772 [BZ #14889]
4773 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4774 * sunrpc/svc.c: Include time.h.
4775 (__svc_accept_failed): New function.
4776 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4777 any reason other than EINTR, call __svc_accept_failed.
4778 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4779 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4780
e3c6aa3a
AS
47812012-11-28 Andreas Schwab <schwab@suse.de>
4782
4783 * scripts/abilist.awk: Also handle indirect functions in .opd
4784 section.
4785
1bead169
JM
47862012-11-28 Joseph Myers <joseph@codesourcery.com>
4787
4788 [BZ #13881]
4789 * sysdeps/x86/fpu/powl_helper.c: New file.
4790 * sysdeps/x86/fpu/Makefile: Likewise.
4791 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4792 (p3): New object.
4793 (__ieee754_powl): Use __powl_helper for finite arguments except
4794 integer exponents below 8.
4795 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4796 (p3): New object.
4797 (__ieee754_powl): Use __powl_helper for finite arguments except
4798 integer exponents below 8.
4799 * math/libm-test.inc (pow_test): Add more tests and enable some
4800 previously disabled tests.
4801 * sysdeps/i386/fpu/libm-test-ulps: Update.
4802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4803
0817d63d
SP
48042012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4805 Carlos O'Donell <carlos_odonell@mentor.com>
4806
4807 * nss/makedb.c (is_prime): Assert that input is odd and greater
4808 than 4. Note that fact in a comment too.
4809 (next_prime): Add 4 to input.
4810
de2fd463
SP
48112012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4812
4813 [BZ #11741]
4814 * libio/Makefile (tests): Add test case tst-fwrite-error.
4815 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4816 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4817 * libio/tst-fwrite-error.c: New test case.
4818
c515fb51
L
48192012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4820
4821 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4822 before casting to void *.
4823 * include/libc-internal.h (__pointer_type): New macro.
4824 (__integer_if_pointer_type_sub): Likewise.
4825 (__integer_if_pointer_type): Likewise.
4826 (cast_to_integer): Likewise.
4827 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4828 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4829 before casting to atomic64_t.
4830 (atomic_exchange_acq): Likewise.
4831 (__arch_exchange_and_add_body): Likewise.
4832 (__arch_add_body): Likewise.
4833 (atomic_add_negative): Likewise.
4834 (atomic_add_zero): Likewise.
4835
4cf77aa9
JM
48362012-11-26 Joseph Myers <joseph@codesourcery.com>
4837
4838 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4839 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4840 (add_fdes): Likewise.
4841 (linear_search_fdes): Likewise.
4842 (binary_search_unencoded_fdes): Likewise.
4843
d260b3b4
AS
48442012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4845
4846 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4847
67060746
AC
48482012-11-24 Adam Conrad <adconrad@0c3.net>
4849
4850 * configure.in: Autodetect C++ header directories.
4851 * configure: Regenerated.
4852
800938a1
MF
48532012-11-23 Mike Frysinger <vapier@gentoo.org>
4854
4855 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4856
4e6e34e6
AS
48572012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4858
4859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4860
7c7feb47
JM
48612012-11-22 Joseph Myers <joseph@codesourcery.com>
4862
7184dcdf
JM
4863 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4864 LDBL_MANT_DIG == 106]: Disable some tests.
4865 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4866 Likewise.
4867 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4868 Likewise.
4869
0a42601f
JM
4870 [BZ #14871]
4871 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4872 input for small inputs. Return +/- pi/2 for large inputs.
4873 * math/libm-test.inc (atan_test): Add more tests.
4874
79c9b9fe
JM
4875 * sysdeps/generic/unwind-dw2-fde-glibc.c
4876 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4877 __attribute__ ((unused)).
4878
c60d3bf2
JM
4879 [BZ #14645]
4880 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4881 x * y if x and y are nonzero and z is zero.
4882
ef1e0867
JM
4883 [BZ #14811]
4884 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4885 nonzero exponents with absolute value below 0x1p-117 to +/-
4886 0x1p-117.
4887
1468ded3
JM
4888 [BZ #14869]
4889 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4890 up arguments below 2**-450, not just those below 2**-500.
4891 * math/libm-test.inc (hypot_test): Add another test.
4892
8e27e3cc
JM
4893 [BZ #14868]
4894 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4895 Return a+b for ratio over 2**120, not 2**60.
4896 * math/libm-test.inc (hypot_test): Add another test.
4897
c9c0279b
JM
4898 * math/libm-test.inc (clog_test): Use
4899 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4900 (clog10_test): Likewise.
4901
7c7feb47
JM
4902 [BZ #6778]
4903 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4904
fff1530e
AS
49052012-11-22 Andreas Schwab <schwab@suse.de>
4906
4907 * sysdeps/i386/fpu/libm-test-ulps: Update.
4908
94558d30
PT
49092012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4910
4911 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4912 printf output with newline.
4913
7e1be741
L
49142012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4915
6bfea974
L
4916 [BZ #14865]
4917 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4918 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4919 -z nodlopen, -z initfirst and -z execstack support.
4920 * configure: Regenerated.
4921
7e1be741
L
4922 * elf/elf.h (DF_1_NODIRECT): New macro.
4923 (DF_1_IGNMULDEF): Likewise.
4924 (DF_1_NOKSYMS): Likewise.
4925 (DF_1_NOHDR): Likewise.
4926 (DF_1_EDITED): Likewise.
4927 (DF_1_NORELOC): Likewise.
4928 (DF_1_SYMINTPOSE): Likewise.
4929 (DF_1_GLOBAUDIT): Likewise.
4930 (DF_1_SINGLETON): Likewise.
4931 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4932 DT_1_SUPPORTED_MASK bits.
4933 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4934
105ce2ce
CD
49352012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4936
4937 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4938
123be9de
TS
49392012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4940
d072f3f7
TS
4941 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4942 macro.
4943
123be9de
TS
4944 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4945 (sendmmsg): Move declarations...
4946 * socket/sys/socket.h: ... here.
4947 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4948 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4949 include it from...
4950 * socket/recvmmsg.c: ... this new file.
4951 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4952 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4953 definition of __sendmmsg hidden.
4954 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4955 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4956 Move ENOSYS stub into and include it from...
4957 * socket/sendmmsg.c: ... this new file.
4958 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4959 (sysdep_routines): Move recvmmsg and sendmmsg...
4960 * socket/Makefile (routines): ... here.
4961 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4962 (GLIBC_PRIVATE): Add __sendmmsg.
4963 * include/sys/socket.h (__sendmmsg): Add declarations.
4964 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4965 sendmmsg.
4966
cf9a5d18
JM
49672012-11-20 Joseph Myers <joseph@codesourcery.com>
4968
4969 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4970 variable I1 with __attribute__ ((unused)).
4971 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4972
ecd4caf9
JM
49732012-11-19 Joseph Myers <joseph@codesourcery.com>
4974
be14d48f
JM
4975 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4976 DUMMY variables with __attribute__ ((unused)).
4977
ecd4caf9
JM
4978 * bits/byteswap.h: Include <bits/types.h>.
4979 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4980
986cab95
PT
49812012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4982
4983 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4984 string_t. Do not manually set errno.
4985 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4986 length with __strnlen. Make sure to both set errno and return it on
4987 failure.
4988
6d33cc9d
DM
49892012-11-19 David S. Miller <davem@davemloft.net>
4990
4991 With help from Joseph Myers.
4992 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4993 very large arguments properly.
4994 * math/libm-test.inc (atan_test): New tests.
4995 (atan2_test): New tests.
4996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4997 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4998
ee663277
JM
49992012-11-19 Joseph Myers <joseph@codesourcery.com>
5000
877f2d8e
JM
5001 [BZ #14856]
5002 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5003 Define to 3.
5004
116fc08a
JM
5005 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5006 [POSIX] (EADDRNOTAVAIL): Likewise.
5007 [POSIX] (EAFNOSUPPORT): Likewise.
5008 [POSIX] (EALREADY): Likewise.
5009 [POSIX] (ECONNABORTED): Likewise.
5010 [POSIX] (ECONNREFUSED): Likewise.
5011 [POSIX] (ECONNRESET): Likewise.
5012 [POSIX] (EDESTADDRREQ): Likewise.
5013 [POSIX] (EDQUOT): Likewise.
5014 [POSIX] (EHOSTUNREACH): Likewise.
5015 [POSIX] (EIDRM): Likewise.
5016 [POSIX] (EISCONN): Likewise.
5017 [POSIX] (ELOOP): Likewise.
5018 [POSIX] (EMULTIHOP): Likewise.
5019 [POSIX] (ENETDOWN): Likewise.
5020 [POSIX] (ENETUNREACH): Likewise.
5021 [POSIX] (ENOBUFS): Likewise.
5022 [POSIX] (ENODATA): Likewise.
5023 [POSIX] (ENOLINK): Likewise.
5024 [POSIX] (ENOMSG): Likewise.
5025 [POSIX] (ENOPROTOOPT): Likewise.
5026 [POSIX] (ENOSR): Likewise.
5027 [POSIX] (ENOSTR): Likewise.
5028 [POSIX] (ENOTCONN): Likewise.
5029 [POSIX] (ENOTSOCK): Likewise.
5030 [POSIX] (EOPNOTSUPP): Likewise.
5031 [POSIX] (EOVERFLOW): Likewise.
5032 [POSIX] (EPROTO): Likewise.
5033 [POSIX] (EPROTONOSUPPORT): Likewise.
5034 [POSIX] (EPROTOTYPE): Likewise.
5035 [POSIX] (ESTALE): Likewise.
5036 [POSIX] (ETIME): Likewise.
5037 [POSIX] (ETXTBSY): Likewise.
5038 [POSIX] (EWOULDBLOCK): Likewise.
5039 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5040 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5041 [POSIX] (SEEK_CUR): Likewise.
5042 [POSIX] (SEEK_END): Likewise.
5043 [POSIX || UNIX98] (mode_t): Do not require.
5044 [POSIX] (off_t): Likewise.
5045 [POSIX] (pid_t): Likewise.
5046 [POSIX] (sys/stat.h): Do not allow header.
5047 [POSIX] (unistd.h): Likewise.
5048 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5049 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5050 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5051 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5052 require.
5053 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5054 sigevent): Specify elements.
5055 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5056 entry.
5057 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5058 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5059
a483863f
JM
5060 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5061 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5062 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5063 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5064 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5065 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5066 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5067 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5068 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5069 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5070 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5071 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5072 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5073 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5074 Likewise.
5075 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5076 Likewise.
5077 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5078 Likewise.
5079 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5080 Likewise.
5081 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5082 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5083 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5084 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5085 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5086 Specify lower bound on value.
5087 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5088 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5089 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5090 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5091 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5092 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5093 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5094 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5095 value.
5096 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5097 as optional.
5098 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5099 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5100 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5101 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5102 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5103 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5104 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5105 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5106 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5107 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5108 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5109 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5110 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5111 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5112 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5113 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5114 entry.
5115 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5116 optional.
5117 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5118 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5119 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5120 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5121 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5122 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5123 Likewise.
5124 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5125 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5126 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5127 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5128 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5129 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5130 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5131 as optional.
5132 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5133 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5134 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5135 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5136 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5137 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5138 specify as optional.
5139 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5140 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5141 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5142 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5143 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5144 [XPG3] (NL_LANGMAX): Likewise.
5145 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5146 [POSIX || XPG3] (NL_NMAX): Likewise.
5147 [POSIX || XPG3] (NL_SETMAX): Likewise.
5148 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5149 [XPG3] (NZERO): Likewise.
5150 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5151 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5152 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5153 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5154 (REG_ERANGE): Expect.
5155 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5156 optional-constant.
5157 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5158 Use (void) in prototype.
5159 [POSIX] (*_t): Allow.
5160 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5161 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5162 (WRDE_BADVAL): Expect.
5163
5ba924e3
JM
5164 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5165 expect.
5166 [XPG3 || XPG4] (O_RSYNC): Likewise.
5167 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5168 Likewise.
5169 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5170 [XPG3 || XPG4] (sigqueue): Likewise.
5171 [XPG3 || XPG4] (sigtimedwait): Likewise.
5172 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5173 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5174 [XPG3 || XPG4] (vsnprintf): Likewise.
5175 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5176 Likewise.
5177 [XPG3 || XPG4] (blksize_t): Likewise.
5178 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5179 Likewise.
5180 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5181 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5182 [XPG3 || XPG4] (struct itimerspec): Likewise.
5183 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5184 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5185 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5186 [XPG3 || XPG4] (clockid_t): Likewise.
5187 [XPG3 || XPG4] (timer_t): Likewise.
5188 [XPG3 || XPG4] (clock_getres): Likewise.
5189 [XPG3 || XPG4] (clock_gettime): Likewise.
5190 [XPG3 || XPG4] (clock_settime): Likewise.
5191 [XPG3 || XPG4] (nanosleep): Likewise.
5192 [XPG3 || XPG4] (timer_create): Likewise.
5193 [XPG3 || XPG4] (timer_delete): Likewise.
5194 [XPG3 || XPG4] (timer_gettime): Likewise.
5195 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5196 [XPG3 || XPG4] (timer_settime): Likewise.
5197 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5198 [XPG3 || XPG4] (getlogin_r): Likewise.
5199 [XPG3 || XPG4] (pread): Likewise.
5200 [XPG3 || XPG4] (pthread_atfork): Likewise.
5201 [XPG3 || XPG4] (pwrite): Likewise.
5202
ee663277
JM
5203 [BZ #14835]
5204 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5205 <bits/siginfo.h>.
5206
942caa16
PT
52072012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5208
e19af380
PT
5209 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5210 finalizing MALLSTREAM.
5211
942caa16
PT
5212 * sysdeps/mach/hurd/syncfs.c: New file.
5213
cfde9b46
SP
52142012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5215
5216 [BZ #14719]
5217 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5218 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5219 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5220 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5221 (_nss_dns_gethostbyname4_r): Likewise.
5222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5223 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5224
f6da27e5
PH
52252012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5226
5227 [BZ #13763]
5228 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5229
6665d4a2
SM
52302012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5231
1f51ee92
SM
5232 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5233 * elf/cache.c (print_entry): Print ",AArch64" for
5234 FLAG_AARCH64_LIB64
5235
6665d4a2
SM
5236 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5237 * elf/cache.c (print_entry): Print ",hard-float" for
5238 FLAG_ARM_LIBHF.
5239
05b227bd
DM
52402012-11-18 David S. Miller <davem@davemloft.net>
5241
5242 With help from Joseph Myers.
5243 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5244 cutoff to 2**-13.
5245 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5246 cutoff to 2**-25.
5247 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5248 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5249 small.
5250 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5251 * math/libm-test.inc (y0_test): New tests.
5252 (y1_test): New tests.
5253 * sysdeps/i386/fpu/libm-test-ulps: Update.
5254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5256
786b0b67
AS
52572012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5258
5259 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5260 64-bit targets.
5261 * configure: Regenerated.
5262
8e18b86d
DM
52632012-11-17 David S. Miller <davem@davemloft.net>
5264
5265 [BZ #14811]
5266 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5267 nonzero exponents with absolute value below 0x1p-128 to +/-
5268 0x1p-128.
5269
531f1ae0
JM
52702012-11-17 Joseph Myers <joseph@codesourcery.com>
5271
12df29e2
JM
5272 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5273
150dc1a0
JM
5274 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5275
531f1ae0
JM
5276 * posix/getconf-speclist.c: New file.
5277 * posix/posix-envs.def: Likewise.
5278 * posix/confstr.c (START_ENV_GROUP): New macro.
5279 (END_ENV_GROUP): Likewise.
5280 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5281 (KNOWN_PRESENT_ENV_STRING): Likewise.
5282 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5283 (UNKNOWN_ENVIRONMENT): Likewise.
5284 (confstr): Include posix-envs.def instead of handling
5285 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5286 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5287 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5288 (END_ENV_GROUP): Likewise.
5289 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5290 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5291 (UNKNOWN_ENVIRONMENT): Likewise.
5292 (__sysconf): Include posix-envs.def instead of handling associated
5293 cases directly here.
5294 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5295 preprocessing getconf-speclist.c rather than running getconf or
5296 generating empty file.
5297
a93f9cbc
PT
52982012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5299
5300 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5301
d64d9f87
AL
53022012-11-16 Andrej Lajovic <natrij@gmail.com>
5303
5304 [BZ #14672]
5305 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5306
447885eb
DM
53072012-11-16 David S. Miller <davem@davemloft.net>
5308
5309 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5310 smaller than LDBL_EPSILON/2.0L, just return xm1.
5311
bcbf9830
L
53122012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5313
5314 * elf/tst-array1.c (init): Set constructor priority to 1000.
5315 (fini): Set destructor priority to 1000.
5316 * elf/tst-array2dep.c: Likewise.
5317
2b766585
SP
53182012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5319
5320 [BZ #11741]
5321 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5322 (_IO_new_file_xsputn): Also return EOF if none of the input
5323 data was written when overflow failed.
5324 * libio/iopadn.c (_IO_padn): Likewise.
5325 * libio/iowpadn.c (_IO_wpadn): Likewise.
5326 * stdio-common/tst-put-error.c: Add copyright notice.
5327 (do_test): Add case for printing padded string.
5328 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5329 _IO_padn returned error.
5330 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5331 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5332 return EOF.
5333
b1848fde
SP
53342012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5335
5336 * libio/libioP.h: Add comment note that the references to C++
5337 bits are now obsolete.
5338
2fd89785
MS
53392012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5340
5341 * math/libm-test.inc (check_complex): Use asprintf.
5342
e3ea5409
JM
53432012-11-14 Joseph Myers <joseph@codesourcery.com>
5344
5345 * debug/pcprofiledump.c (print_version): Update copyright year.
5346 * malloc/memusagestat.c (print_version): Likewise.
5347
2e64d265
L
53482012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5349
5350 [BZ #14831]
5351 * elf/Makefile (tests): Add tst-audit8.
5352 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5353 ($(objpfx)tst-audit8.out): New target.
5354 (tst-audit8-ENV): New variable.
5355 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5356 audit if l_reloc_result is NULL.
5357 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5358 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5359 * elf/tst-audit8.c: New file.
5360
c485e4d2
MS
53612012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5362
5363 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5364 * misc/Makefile (CFLAGS-select.c): Define.
5365 * posix/Makefile (CFLAGS-pause.c): Define.
5366
3a0d900a
DM
53672012-11-13 David S. Miller <davem@davemloft.net>
5368
5369 * crypt/Makefile: Move test targets after toplevel Rules
5370 inclusion. Grab any necessary sysdep routines when linking.
5371 * crypt/md5.c (md5_process_block): Remove define, we will always
5372 name it __md5_process_block.
5373 (md5_finish_ctx): Update md5_process_block call.
5374 (md5_stream): Likewise.
5375 (md5_process_bytes): Likewise.
5376 (md5_process_block): Rename to __md5_process_block and move to ...
5377 * crypt/md5-block.c: ... here.
5378 * crypt/sha256.c (sha256_process_block): Move to ...
5379 * crypt/sha256-block.c: ... here.
5380 * crypt/sha512.c (sha512_process_block): Move to ...
5381 * crypt/sha512-block.c: ... here.
5382 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5383 path.
5384 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5385 * sysdeps/sparc/sparc64/multiarch/Makefile
5386 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5387 crypt subdir.
5388 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5389 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5390 multiarch changes.
5391 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5392 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5393 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5394 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5395 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5396 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5397 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5398 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5399 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5400 file.
5401 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5402 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5403 file.
5404 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5405
8ca89318
JM
54062012-11-13 Joseph Myers <joseph@codesourcery.com>
5407
e27d476a
JM
5408 * timezone/tzselect.ksh: Update from tzcode git revision
5409 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5410 * timezone/zdump.c: Likewise.
5411 * timezone/zic.c: Likewise.
5412 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5413 in TZVERSION setting, not $(PKGVERSION).
5414 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5415 REPORT_BUGS_TO settings.
5416
8ca89318
JM
5417 [BZ #14838]
5418 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5419 macro.
5420
47594329
MS
54212012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5422
5423 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5424 detection to immediately after _FP_ROUND().
5425 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5426 bits are 0.
5427
640ac3f1
DM
54282012-11-11 David S. Miller <davem@davemloft.net>
5429
5430 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5431 inttypes.h
5432 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5433 __close rather than their public counterparts.
5434
3d2577bb
JM
54352012-11-10 Joseph Myers <joseph@codesourcery.com>
5436
5437 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5438 file.
5439 [UNIX98] (sem_timedwait): Do not expect.
5440 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5441 [XPG4 || UNIX98] (sockatmark): Do not expect.
5442 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5443 (clock_getcpuclockid): Do not expect.
5444 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5445 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5446 Do not expect.
5447 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5448 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5449 [UNIX98] (vwscanf): Likewise.
5450 [UNIX98] (vswscanf): Likewise.
5451
fb1ae1ee
JM
54522012-11-09 Joseph Myers <joseph@codesourcery.com>
5453
9ec6f8bd
JM
5454 * timezone/version.h: Remove file.
5455 * timezone/README: Do not refer to version.h.
5456 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5457 $(objpfx)version.h.
5458 ($(objpfx)zdump.o): Likewise.
c3f81911 5459 ($(objpfx)version.h): New target.
9ec6f8bd 5460
0aa8f8a1
JM
5461 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5462 2012i.
5463 * timezone/README: Don't mention modification to tzselect.ksh.
5464 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5465 work on unmodified tzselect.ksh. Substitute version numbers in
5466 tzselect.ksh.
5467
4e87147f
JM
5468 * Makefile (format-me): Remove.
5469 (INSTALL): Adjust indentation. Use commands directly instead of
5470 using $(format-me).
5471
8b748aed
JM
5472 * aclocal.m4 (ACX_PKGVERSION): New macro.
5473 (ACX_BUGURL): Likewise.
5474 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5475 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5476 (REPORT_BUGS_TO): Likewise.
5477 * configure: Regenerated.
5478 * config.h.in (PKGVERSION): New macro.
5479 (REPORT_BUGS_TO): Likewise.
5480 * config.make.in (PKGVERSION): New variable.
5481 (PKGVERSION_TEXI): Likewise.
5482 (REPORT_BUGS_TO): Likewise.
5483 (REPORT_BUGS_TEXI): Likewise.
5484 * Makefile (format-me): Use -I$(common-objpfx)manual.
5485 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5486 ($(common-objpfx)manual/%): New target.
5487 (manual/%): Remove target.
5488 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5489 (print_version): Use PKGVERSION.
5490 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5491 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5492 and REPORT_BUGS_TO.
5493 ($(objpfx)xtrace): Likewise.
5494 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5495 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5496 (print_version): Use PKGVERSION.
5497 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5498 (do_version): Use PKGVERSION.
5499 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5500 REPORT_BUGS_TO.
5501 (common-ldd-rewrite): Likewise.
5502 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5503 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5504 (print_version): Use PKGVERSION.
5505 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5506 * elf/pldd.c (argp_program_bug_address): Remove variable.
5507 (more_help): New function.
5508 (argp): Use more_help.
5509 (print_version): Use PKGVERSION.
5510 * elf/sln.c (main): Use PKGVERSION.
5511 (usage): Use REPORT_BUGS_TO.
5512 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5513 (top level): Use PKGVERSION.
5514 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5515 (print_version): Use PKGVERSION.
5516 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5517 (print_version): Use PKGVERSION.
5518 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5519 (print_version): Use PKGVERSION.
5520 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5521 (print_version): Use PKGVERSION.
5522 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5523 (print_version): Use PKGVERSION.
5524 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5525 (print_version): Use PKGVERSION.
5526 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5527 and BUGURL.
5528 ($(objpfx)memusage): Likewise.
5529 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5530 (do_version): Use PKGVERSION.
5531 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5532 (print_version): Use PKGVERSION.
5533 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5534 ($PKGVERSION): New variable.
5535 ($REPORT_BUGS_TO): Likewise.
5536 (usage): Use $REPORT_BUGS_TO.
5537 (top level): Use $PKGVERSION.
5538 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5539 ($(objpfx)pkgvers.texi): New rule.
5540 ($(objpfx)stamp-pkgvers): Likewise.
5541 * manual/install.texi: Include pkgvers.texi.
5542 (--with-pkgversion): Document new configure option.
5543 (--with-bugurl): Likewise.
5544 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5545 than necessarily for this particular distribution. Use
5546 REPORT_BUGS_TO for where to report bugs.
5547 * INSTALL: Regenerated.
5548 * manual/libc.texinfo: Include pkgvers.texi.
5549 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5550 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5551 (print_version): Use PKGVERSION.
5552 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5553 (print_version): Use PKGVERSION.
5554 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5555 (print_version): Use PKGVERSION.
5556 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5557 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5558 macro.
5559 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5560 (print_version): Use PKGVERSION.
5561 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5562 (print_version): Use PKGVERSION.
5563 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5564 and PKGVERSION.
5565
92e4b6a9
JM
5566 * timezone/checktab.awk: Update from tzcode 2012i.
5567 * timezone/ialloc.c: Likewise.
5568 * timezone/private.h: Likewise.
5569 * timezone/scheck.c: Likewise.
5570 * timezone/tzfile.h: Likewise.
5571 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5572 (TZVERSION): Hardcode tzcode version number.
5573 * timezone/zdump.c: Update from tzcode 2012i.
5574 * timezone/zic.c: Likewise.
5575 * timezone/version.h: New file.
5576 * timezone/README: Describe version.h. Update upstream location.
5577
9bde902c
JM
5578 [BZ #14824]
5579 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5580 (mktemp): Enable declaration.
5581 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5582 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5583 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5584 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5585 Likewise.
5586 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5587 Likewise.
5588 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5589 Likewise.
5590 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5591 Likewise.
5592 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5593 Likewise.
5594 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5595 Likewise.
5596
fb1ae1ee
JM
5597 [BZ #14821]
5598 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5599 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5600 for copies of such integer values.
5601 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5602 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5603
2c1adbcb
AJ
56042012-11-09 Andreas Jaeger <aj@suse.de>
5605
5606 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5607 definitions and declarations that are provided by
5608 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5609
d0f8457e
AK
56102012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5611
3a235abb 5612 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5613 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5614 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5615 definition.
5616
57241e26
MS
56172012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5618
5619 * elf/elf.h: Update comment before AArch64 relocations.
5620
60e8270d
DM
56212012-11-07 David S. Miller <davem@davemloft.net>
5622
5623 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5624 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5625 (__start_context): Declare.
5626 (__makecontext_ret): Delete.
5627 (__makecontext): Hook up __start_context instead of
5628 __makecontext_ret.
5629 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5630 (sysdep_routines): Add __start_context when in stdlib.
5631
0fbb0fbc
JM
56322012-11-07 Joseph Myers <joseph@codesourcery.com>
5633
5634 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5635 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5636 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5637 hardcoded "nm".
5638 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5639 (READELF): New variable. Use it instead of hardcoded "readelf".
5640
eb48db7e
L
56412012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5642
5643 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5644 * sysdeps/x86/Makefile: Here.
5645 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5646 * sysdeps/x86/tst-xmmymm.sh: This.
5647
05bcf62a
JM
56482012-11-07 Joseph Myers <joseph@codesourcery.com>
5649
c4b6cf53
JM
5650 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5651 expectations.
5652 [UNIX98] (pthread_barrier_t): Do not expect.
5653 [UNIX98] (pthread_barrierattr_t): Likewise.
5654 [UNIX98] (pthread_spinlock_t): Likewise.
5655 [UNIX98] (pthread_barrier_destroy): Likewise.
5656 [UNIX98] (pthread_barrier_init): Likewise.
5657 [UNIX98] (pthread_barrier_wait): Likewise.
5658 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5659 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5660 [UNIX98] (pthread_barrierattr_init): Likewise.
5661 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5662 [UNIX98] (pthread_getcpuclockid): Likewise.
5663 [UNIX98] (pthread_mutex_timedlock): Likewise.
5664 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5665 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5666 [UNIX98] (pthread_sigmask): Likewise.
5667 [UNIX98] (pthread_spin_destroy): Likewise.
5668 [UNIX98] (pthread_spin_init): Likewise.
5669 [UNIX98] (pthread_spin_lock): Likewise.
5670 [UNIX98] (pthread_spin_trylock): Likewise.
5671 [UNIX98] (pthread_spin_unlock): Likewise.
5672 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5673 Do not expect.
5674 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5675 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5676 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5677 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5678 [XPG3 || XPG4] (pthread_key_t): Likewise.
5679 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5680 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5681 [XPG3 || XPG4] (pthread_once_t): Likewise.
5682 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5683 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5684 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5685 [XPG3 || XPG4] (pthread_t): Likewise.
5686
cbe6e120
JM
5687 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5688 not expect.
5689 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5690
1b126443
JM
5691 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5692 Change function return type to int.
5693
b961a573
JM
5694 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5695 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5696 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5697 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5698 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5699 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5700 [!POSIX] (posix_madvise): Likewise.
5701 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5702 && !UNIX98].
5703 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5704 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5705 (mode_t): Likewise.
5706 (posix_mem_offset): Likewise.
5707 (posix_typed_mem_get_info): Likewise.
5708 (posix_typed_mem_open): Likewise.
5709
9e188909
JM
5710 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5711 Change condition to [XOPEN2K8].
5712
05bcf62a
JM
5713 * conform/conformtest.pl: Preprocess allow-header data with -x c
5714 instead of from stdin.
5715 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5716 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5717 [C99-based standards] (cerfc): Likewise.
5718 [C99-based standards] (cexp2): Likewise.
5719 [C99-based standards] (cexpm1): Likewise.
5720 [C99-based standards] (clog10): Likewise.
5721 [C99-based standards] (clog1p): Likewise.
5722 [C99-based standards] (clog2): Likewise.
5723 [C99-based standards] (clgamma): Likewise.
5724 [C99-based standards] (ctgamma): Likewise.
5725 [C99-based standards] (cerff): Likewise.
5726 [C99-based standards] (cerfcf): Likewise.
5727 [C99-based standards] (cexp2f): Likewise.
5728 [C99-based standards] (cexpm1f): Likewise.
5729 [C99-based standards] (clog10f): Likewise.
5730 [C99-based standards] (clog1pf): Likewise.
5731 [C99-based standards] (clog2f): Likewise.
5732 [C99-based standards] (clgammaf): Likewise.
5733 [C99-based standards] (ctgammaf): Likewise.
5734 [C99-based standards] (cerfl): Likewise.
5735 [C99-based standards] (cerfcl): Likewise.
5736 [C99-based standards] (cexp2l): Likewise.
5737 [C99-based standards] (cexpm1l): Likewise.
5738 [C99-based standards] (clog10l): Likewise.
5739 [C99-based standards] (clog1pl): Likewise.
5740 [C99-based standards] (clog2l): Likewise.
5741 [C99-based standards] (clgammal): Likewise.
5742 [C99-based standards] (ctgammal): Likewise.
5743 * conform/data/inttypes.h-data [C99-based standards]: Include
5744 stdint.h-data. Remove all expectations for stdint.h contents.
5745 [C99-based standards] (PRI*): Do not allow.
5746 [C99-based standards] (SCN*): Likewise.
5747 [C99-based standards] (*_t): Likewise.
5748 [C99-based-standards] (PRId8): Expect macro.
5749 [C99-based-standards] (PRIi8): Likewise.
5750 [C99-based-standards] (PRIo8): Likewise.
5751 [C99-based-standards] (PRIu8): Likewise.
5752 [C99-based-standards] (PRIx8): Likewise.
5753 [C99-based-standards] (PRIX8): Likewise.
5754 [C99-based-standards] (SCNd8): Likewise.
5755 [C99-based-standards] (SCNi8): Likewise.
5756 [C99-based-standards] (SCNo8): Likewise.
5757 [C99-based-standards] (SCNu8): Likewise.
5758 [C99-based-standards] (SCNx8): Likewise.
5759 [C99-based-standards] (PRIdLEAST8): Likewise.
5760 [C99-based-standards] (PRIiLEAST8): Likewise.
5761 [C99-based-standards] (PRIoLEAST8): Likewise.
5762 [C99-based-standards] (PRIuLEAST8): Likewise.
5763 [C99-based-standards] (PRIxLEAST8): Likewise.
5764 [C99-based-standards] (PRIXLEAST8): Likewise.
5765 [C99-based-standards] (SCNdLEAST8): Likewise.
5766 [C99-based-standards] (SCNiLEAST8): Likewise.
5767 [C99-based-standards] (SCNoLEAST8): Likewise.
5768 [C99-based-standards] (SCNuLEAST8): Likewise.
5769 [C99-based-standards] (SCNxLEAST8): Likewise.
5770 [C99-based-standards] (PRIdFAST8): Likewise.
5771 [C99-based-standards] (PRIiFAST8): Likewise.
5772 [C99-based-standards] (PRIoFAST8): Likewise.
5773 [C99-based-standards] (PRIuFAST8): Likewise.
5774 [C99-based-standards] (PRIxFAST8): Likewise.
5775 [C99-based-standards] (PRIXFAST8): Likewise.
5776 [C99-based-standards] (SCNdFAST8): Likewise.
5777 [C99-based-standards] (SCNiFAST8): Likewise.
5778 [C99-based-standards] (SCNoFAST8): Likewise.
5779 [C99-based-standards] (SCNuFAST8): Likewise.
5780 [C99-based-standards] (SCNxFAST8): Likewise.
5781 [C99-based-standards] (PRId16): Likewise.
5782 [C99-based-standards] (PRIi16): Likewise.
5783 [C99-based-standards] (PRIo16): Likewise.
5784 [C99-based-standards] (PRIu16): Likewise.
5785 [C99-based-standards] (PRIx16): Likewise.
5786 [C99-based-standards] (PRIX16): Likewise.
5787 [C99-based-standards] (SCNd16): Likewise.
5788 [C99-based-standards] (SCNi16): Likewise.
5789 [C99-based-standards] (SCNo16): Likewise.
5790 [C99-based-standards] (SCNu16): Likewise.
5791 [C99-based-standards] (SCNx16): Likewise.
5792 [C99-based-standards] (PRIdLEAST16): Likewise.
5793 [C99-based-standards] (PRIiLEAST16): Likewise.
5794 [C99-based-standards] (PRIoLEAST16): Likewise.
5795 [C99-based-standards] (PRIuLEAST16): Likewise.
5796 [C99-based-standards] (PRIxLEAST16): Likewise.
5797 [C99-based-standards] (PRIXLEAST16): Likewise.
5798 [C99-based-standards] (SCNdLEAST16): Likewise.
5799 [C99-based-standards] (SCNiLEAST16): Likewise.
5800 [C99-based-standards] (SCNoLEAST16): Likewise.
5801 [C99-based-standards] (SCNuLEAST16): Likewise.
5802 [C99-based-standards] (SCNxLEAST16): Likewise.
5803 [C99-based-standards] (PRIdFAST16): Likewise.
5804 [C99-based-standards] (PRIiFAST16): Likewise.
5805 [C99-based-standards] (PRIoFAST16): Likewise.
5806 [C99-based-standards] (PRIuFAST16): Likewise.
5807 [C99-based-standards] (PRIxFAST16): Likewise.
5808 [C99-based-standards] (PRIXFAST16): Likewise.
5809 [C99-based-standards] (SCNdFAST16): Likewise.
5810 [C99-based-standards] (SCNiFAST16): Likewise.
5811 [C99-based-standards] (SCNoFAST16): Likewise.
5812 [C99-based-standards] (SCNuFAST16): Likewise.
5813 [C99-based-standards] (SCNxFAST16): Likewise.
5814 [C99-based-standards] (PRId32): Likewise.
5815 [C99-based-standards] (PRIi32): Likewise.
5816 [C99-based-standards] (PRIo32): Likewise.
5817 [C99-based-standards] (PRIu32): Likewise.
5818 [C99-based-standards] (PRIx32): Likewise.
5819 [C99-based-standards] (PRIX32): Likewise.
5820 [C99-based-standards] (SCNd32): Likewise.
5821 [C99-based-standards] (SCNi32): Likewise.
5822 [C99-based-standards] (SCNo32): Likewise.
5823 [C99-based-standards] (SCNu32): Likewise.
5824 [C99-based-standards] (SCNx32): Likewise.
5825 [C99-based-standards] (PRIdLEAST32): Likewise.
5826 [C99-based-standards] (PRIiLEAST32): Likewise.
5827 [C99-based-standards] (PRIoLEAST32): Likewise.
5828 [C99-based-standards] (PRIuLEAST32): Likewise.
5829 [C99-based-standards] (PRIxLEAST32): Likewise.
5830 [C99-based-standards] (PRIXLEAST32): Likewise.
5831 [C99-based-standards] (SCNdLEAST32): Likewise.
5832 [C99-based-standards] (SCNiLEAST32): Likewise.
5833 [C99-based-standards] (SCNoLEAST32): Likewise.
5834 [C99-based-standards] (SCNuLEAST32): Likewise.
5835 [C99-based-standards] (SCNxLEAST32): Likewise.
5836 [C99-based-standards] (PRIdFAST32): Likewise.
5837 [C99-based-standards] (PRIiFAST32): Likewise.
5838 [C99-based-standards] (PRIoFAST32): Likewise.
5839 [C99-based-standards] (PRIuFAST32): Likewise.
5840 [C99-based-standards] (PRIxFAST32): Likewise.
5841 [C99-based-standards] (PRIXFAST32): Likewise.
5842 [C99-based-standards] (SCNdFAST32): Likewise.
5843 [C99-based-standards] (SCNiFAST32): Likewise.
5844 [C99-based-standards] (SCNoFAST32): Likewise.
5845 [C99-based-standards] (SCNuFAST32): Likewise.
5846 [C99-based-standards] (SCNxFAST32): Likewise.
5847 [C99-based-standards] (PRId64): Likewise.
5848 [C99-based-standards] (PRIi64): Likewise.
5849 [C99-based-standards] (PRIo64): Likewise.
5850 [C99-based-standards] (PRIu64): Likewise.
5851 [C99-based-standards] (PRIx64): Likewise.
5852 [C99-based-standards] (PRIX64): Likewise.
5853 [C99-based-standards] (SCNd64): Likewise.
5854 [C99-based-standards] (SCNi64): Likewise.
5855 [C99-based-standards] (SCNo64): Likewise.
5856 [C99-based-standards] (SCNu64): Likewise.
5857 [C99-based-standards] (SCNx64): Likewise.
5858 [C99-based-standards] (PRIdLEAST64): Likewise.
5859 [C99-based-standards] (PRIiLEAST64): Likewise.
5860 [C99-based-standards] (PRIoLEAST64): Likewise.
5861 [C99-based-standards] (PRIuLEAST64): Likewise.
5862 [C99-based-standards] (PRIxLEAST64): Likewise.
5863 [C99-based-standards] (PRIXLEAST64): Likewise.
5864 [C99-based-standards] (SCNdLEAST64): Likewise.
5865 [C99-based-standards] (SCNiLEAST64): Likewise.
5866 [C99-based-standards] (SCNoLEAST64): Likewise.
5867 [C99-based-standards] (SCNuLEAST64): Likewise.
5868 [C99-based-standards] (SCNxLEAST64): Likewise.
5869 [C99-based-standards] (PRIdFAST64): Likewise.
5870 [C99-based-standards] (PRIiFAST64): Likewise.
5871 [C99-based-standards] (PRIoFAST64): Likewise.
5872 [C99-based-standards] (PRIuFAST64): Likewise.
5873 [C99-based-standards] (PRIxFAST64): Likewise.
5874 [C99-based-standards] (PRIXFAST64): Likewise.
5875 [C99-based-standards] (SCNdFAST64): Likewise.
5876 [C99-based-standards] (SCNiFAST64): Likewise.
5877 [C99-based-standards] (SCNoFAST64): Likewise.
5878 [C99-based-standards] (SCNuFAST64): Likewise.
5879 [C99-based-standards] (SCNxFAST64): Likewise.
5880 [C99-based-standards] (PRIdMAX): Likewise.
5881 [C99-based-standards] (PRIiMAX): Likewise.
5882 [C99-based-standards] (PRIoMAX): Likewise.
5883 [C99-based-standards] (PRIuMAX): Likewise.
5884 [C99-based-standards] (PRIxMAX): Likewise.
5885 [C99-based-standards] (PRIXMAX): Likewise.
5886 [C99-based-standards] (SCNdMAX): Likewise.
5887 [C99-based-standards] (SCNiMAX): Likewise.
5888 [C99-based-standards] (SCNoMAX): Likewise.
5889 [C99-based-standards] (SCNuMAX): Likewise.
5890 [C99-based-standards] (SCNxMAX): Likewise.
5891 [C99-based-standards] (PRIdPTR): Likewise.
5892 [C99-based-standards] (PRIiPTR): Likewise.
5893 [C99-based-standards] (PRIoPTR): Likewise.
5894 [C99-based-standards] (PRIuPTR): Likewise.
5895 [C99-based-standards] (PRIxPTR): Likewise.
5896 [C99-based-standards] (PRIXPTR): Likewise.
5897 [C99-based-standards] (SCNdPTR): Likewise.
5898 [C99-based-standards] (SCNiPTR): Likewise.
5899 [C99-based-standards] (SCNoPTR): Likewise.
5900 [C99-based-standards] (SCNuPTR): Likewise.
5901 [C99-based-standards] (SCNxPTR): Likewise.
5902 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5903 allow.
5904 * conform/data/stdint.h-data: Update comments to clarify
5905 requirements.
5906 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5907 type.
5908 [C99-based standards] (INT8_MAX): Likewise.
5909 [C99-based standards] (INT16_MIN): Likewise.
5910 [C99-based standards] (INT16_MAX): Likewise.
5911 [C99-based standards] (INT32_MIN): Likewise.
5912 [C99-based standards] (INT32_MAX): Likewise.
5913 [C99-based standards] (INT64_MIN): Likewise.
5914 [C99-based standards] (INT64_MAX): Likewise.
5915 [C99-based standards] (UINT8_MAX): Likewise.
5916 [C99-based standards] (UINT16_MAX): Likewise.
5917 [C99-based standards] (UINT32_MAX): Likewise.
5918 [C99-based standards] (UINT64_MAX): Likewise.
5919 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5920 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5921 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5922 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5923 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5924 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5925 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5926 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5927 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5928 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5929 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5930 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5931 [C99-based standards] (INT_FAST8_MIN): Likewise.
5932 [C99-based standards] (INT_FAST8_MAX): Likewise.
5933 [C99-based standards] (INT_FAST16_MIN): Likewise.
5934 [C99-based standards] (INT_FAST16_MAX): Likewise.
5935 [C99-based standards] (INT_FAST32_MIN): Likewise.
5936 [C99-based standards] (INT_FAST32_MAX): Likewise.
5937 [C99-based standards] (INT_FAST64_MIN): Likewise.
5938 [C99-based standards] (INT_FAST64_MAX): Likewise.
5939 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5940 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5941 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5942 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5943 [C99-based standards] (INTPTR_MIN): Likewise.
5944 [C99-based standards] (INTPTR_MAX): Likewise.
5945 [C99-based standards] (UINTPTR_MAX): Likewise.
5946 [C99-based standards] (INTMAX_MIN): Likewise.
5947 [C99-based standards] (INTMAX_MAX): Likewise.
5948 [C99-based standards] (UINTMAX_MAX): Likewise.
5949 [C99-based standards] (PTRDIFF_MIN): Likewise.
5950 [C99-based standards] (PTRDIFF_MAX): Likewise.
5951 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5952 [C99-based standards] (SIZE_MAX): Likewise.
5953 [C99-based standards] (WCHAR_MAX): Likewise.
5954 [C99-based standards] (WINT_MAX): Likewise.
5955 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5956 constraint on value.
5957 [C99-based standards] (WCHAR_MIN): Likewise.
5958 [C99-based standards] (WINT_MIN): Likewise.
5959 [C99-based standards] (*_t): Allow.
5960 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5961 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5962 Include math.h-data and complex.h-data. Remove all expectations
5963 of math.h and complex.h contents.
5964 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5965 at end of line.
5966 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5967 (struct tm): Expect tag.
5968 [C99-based-standards] (wcstof): Expect function.
5969 [C99-based-standards] (wcstold): Likewise.
5970 [C99-based-standards] (wcstoll): Likewise.
5971 [C99-based-standards] (wcstoull): Likewise.
5972 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5973 macro-int-constant. Specify type.
5974 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5975 constraint on value.
5976 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5977 Specify type.
5978 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5979 Specify value.
5980 [ISO C standards]: Do not allow headers.
5981 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5982 wcs[abcdefghijklmnopqrstuvwxyz]*.
5983 [ISO C standards] (*_t): Do not allow.
5984 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5985 Expect function.
5986 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5987 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5988 Specify type.
5989 [ISO C standards]: Do not allow headers.
5990 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5991 is[abcdefghijklmnopqrstuvwxyz]*.
5992 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5993 to[abcdefghijklmnopqrstuvwxyz]*.
5994 [ISO C standards] (*_t): Do not allow.
5995 * conform/data/stdalign.h-data: New file.
5996 * conform/data/stdbool.h-data: Likewise.
5997 * conform/data/stdnoreturn.h-data: Likewise.
5998
7514feb8
RM
59992012-11-07 Roland McGrath <roland@hack.frob.com>
6000
6001 [BZ #14815]
6002 * manual/filesys.texi (Directory Entries): Typo fix.
6003 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6004
19b2ecfc
MS
60052012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6006
6007 * elf/elf.h (EM_AARCH64): New macro.
6008 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6009 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6010 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6011 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6012 (R_AARCH64_TLSDESC): Likewise.
6013 (NT_ARM_TLS): Likewise.
6014 (NT_ARM_HW_BREAK): Likewise.
6015 (NT_ARM_HW_WATCH): Likewise.
6016
60e235ee
JM
60172012-11-07 Joseph Myers <joseph@codesourcery.com>
6018
6019 [BZ #14811]
6020 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6021 (__ieee754_powl): Saturate nonzero exponents with absolute value
6022 below 0x1p-79 to +/- 0x1p-79.
6023 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6024 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6025 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6026 nonzero exponents with absolute value below 0x1p-32 to +/-
6027 0x1p-32.
6028 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6029 (__ieee754_powl): Saturate nonzero exponents with absolute value
6030 below 0x1p-79 to +/- 0x1p-79.
6031 * math/libm-test.inc (pow_test): Add more tests.
6032
0ab234b7
AK
60332012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6034
6035 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6036 _dl_s390_cap_flags with kernel. Increase string length.
6037 (_dl_s390_platforms): Add z196 and zEC12.
6038
45832f74
JM
60392012-11-07 Joseph Myers <joseph@codesourcery.com>
6040
6041 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6042 Change XOPEN21K to XOPEN2K.
6043
19218757
MK
60442012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6045
6046 * string/memmove.c: Use memcpy when possible.
6047
c5f45721
AJ
60482012-11-06 Andreas Jaeger <aj@suse.de>
6049
6050 * po/eo.po: Update from translation team.
6051
82477c28
JM
60522012-11-06 Joseph Myers <joseph@codesourcery.com>
6053
6054 [BZ #14793]
6055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6056 exponent and small x and y exponents, scale x or y up. Increase
6057 by 2 the exponent used in scaling up.
6058 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6059 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6060 * math/libm-test.inc (fma_test): Add more tests.
6061 (fma_test_towardzero): Likewise.
6062 (fma_test_downward): Likewise.
6063 (fma_test_upward): Likewise.
6064
99252c8c
JM
60652012-11-05 Joseph Myers <joseph@codesourcery.com>
6066
acfa885f
JM
6067 [BZ #14805]
6068 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6069 fenv_t *.
6070
99252c8c
JM
6071 [BZ #14801]
6072 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6073 namespace for names of struct fields.
6074 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6075 fenv_t fields.
6076 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6077 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6078
d6d98dea
ST
60792012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6080
6081 [BZ #3665]
6082 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6083
e10bb107
TS
60842012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6085
6086 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6087 PTR_DEMANGLE.
6088
6089 [BZ #5246]
6090 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6091 PTR_DEMANGLE.
6092
a0c2940d
JM
60932012-11-04 Joseph Myers <joseph@codesourcery.com>
6094
6095 [BZ #14797]
6096 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6097 definitely overflow as x * y not x * y + z.
6098 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6099 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6100 * math/libm-test.inc (fma_test): Add more tests.
6101 (fma_test_towardzero): Likewise.
6102 (fma_test_downward): Likewise.
6103 (fma_test_upward): Likewise.
6104
b830319d
TS
61052012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6106
6107 [BZ #157]
6108
6109 * include/stub-tag.h: Remove file.
6110 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6111 '#include' of it.
6112 * manual/maint.texi (Porting): Don't reference it.
6113 * Makerules ($(objpfx)stubs): Likewise.
6114 * dirent/closedir.c: Don't include <stub-tag.h>.
6115 * dirent/dirfd.c: Likewise.
6116 * dirent/fdopendir.c: Likewise.
6117 * dirent/getdents.c: Likewise.
6118 * dirent/getdents64.c: Likewise.
6119 * dirent/opendir.c: Likewise.
6120 * dirent/readdir.c: Likewise.
6121 * dirent/readdir64.c: Likewise.
6122 * dirent/readdir64_r.c: Likewise.
6123 * dirent/readdir_r.c: Likewise.
6124 * dirent/rewinddir.c: Likewise.
6125 * dirent/seekdir.c: Likewise.
6126 * dirent/telldir.c: Likewise.
6127 * gmon/profil.c: Likewise.
6128 * grp/setgroups.c: Likewise.
6129 * inet/if_index.c: Likewise.
6130 * io/access.c: Likewise.
6131 * io/chdir.c: Likewise.
6132 * io/chmod.c: Likewise.
6133 * io/chown.c: Likewise.
6134 * io/close.c: Likewise.
6135 * io/dup.c: Likewise.
6136 * io/dup2.c: Likewise.
6137 * io/dup3.c: Likewise.
6138 * io/euidaccess.c: Likewise.
6139 * io/faccessat.c: Likewise.
6140 * io/fchdir.c: Likewise.
6141 * io/fchmod.c: Likewise.
6142 * io/fchmodat.c: Likewise.
6143 * io/fchown.c: Likewise.
6144 * io/fchownat.c: Likewise.
6145 * io/fcntl.c: Likewise.
6146 * io/flock.c: Likewise.
6147 * io/fstatfs.c: Likewise.
6148 * io/fstatfs64.c: Likewise.
6149 * io/fstatvfs.c: Likewise.
6150 * io/fstatvfs64.c: Likewise.
6151 * io/futimens.c: Likewise.
6152 * io/fxstat.c: Likewise.
6153 * io/fxstat64.c: Likewise.
6154 * io/fxstatat.c: Likewise.
6155 * io/fxstatat64.c: Likewise.
6156 * io/getcwd.c: Likewise.
6157 * io/isatty.c: Likewise.
6158 * io/lchmod.c: Likewise.
6159 * io/lchown.c: Likewise.
6160 * io/link.c: Likewise.
6161 * io/linkat.c: Likewise.
6162 * io/lseek.c: Likewise.
6163 * io/lseek64.c: Likewise.
6164 * io/lxstat64.c: Likewise.
6165 * io/mkdir.c: Likewise.
6166 * io/mkdirat.c: Likewise.
6167 * io/mkfifo.c: Likewise.
6168 * io/mkfifoat.c: Likewise.
6169 * io/open.c: Likewise.
6170 * io/open64.c: Likewise.
6171 * io/openat.c: Likewise.
6172 * io/openat64.c: Likewise.
6173 * io/pipe.c: Likewise.
6174 * io/pipe2.c: Likewise.
6175 * io/poll.c: Likewise.
6176 * io/posix_fadvise.c: Likewise.
6177 * io/posix_fadvise64.c: Likewise.
6178 * io/posix_fallocate.c: Likewise.
6179 * io/posix_fallocate64.c: Likewise.
6180 * io/read.c: Likewise.
6181 * io/readlink.c: Likewise.
6182 * io/readlinkat.c: Likewise.
6183 * io/rmdir.c: Likewise.
6184 * io/sendfile.c: Likewise.
6185 * io/sendfile64.c: Likewise.
6186 * io/statfs.c: Likewise.
6187 * io/statfs64.c: Likewise.
6188 * io/statvfs.c: Likewise.
6189 * io/statvfs64.c: Likewise.
6190 * io/symlink.c: Likewise.
6191 * io/symlinkat.c: Likewise.
6192 * io/ttyname.c: Likewise.
6193 * io/ttyname_r.c: Likewise.
6194 * io/umask.c: Likewise.
6195 * io/unlink.c: Likewise.
6196 * io/unlinkat.c: Likewise.
6197 * io/utime.c: Likewise.
6198 * io/utimensat.c: Likewise.
6199 * io/write.c: Likewise.
6200 * io/xmknod.c: Likewise.
6201 * io/xmknodat.c: Likewise.
6202 * io/xstat.c: Likewise.
6203 * io/xstat64.c: Likewise.
6204 * login/getpt.c: Likewise.
6205 * login/grantpt.c: Likewise.
6206 * login/unlockpt.c: Likewise.
6207 * math/e_acoshl.c: Likewise.
6208 * math/e_acosl.c: Likewise.
6209 * math/e_asinl.c: Likewise.
6210 * math/e_atan2l.c: Likewise.
6211 * math/e_atanhl.c: Likewise.
6212 * math/e_coshl.c: Likewise.
6213 * math/e_expl.c: Likewise.
6214 * math/e_fmodl.c: Likewise.
6215 * math/e_gammal_r.c: Likewise.
6216 * math/e_hypotl.c: Likewise.
6217 * math/e_j0l.c: Likewise.
6218 * math/e_j1l.c: Likewise.
6219 * math/e_jnl.c: Likewise.
6220 * math/e_lgammal_r.c: Likewise.
6221 * math/e_log10l.c: Likewise.
6222 * math/e_log2l.c: Likewise.
6223 * math/e_logl.c: Likewise.
6224 * math/e_powl.c: Likewise.
6225 * math/e_rem_pio2l.c: Likewise.
6226 * math/e_sinhl.c: Likewise.
6227 * math/e_sqrtl.c: Likewise.
6228 * math/fclrexcpt.c: Likewise.
6229 * math/fedisblxcpt.c: Likewise.
6230 * math/feenablxcpt.c: Likewise.
6231 * math/fegetenv.c: Likewise.
6232 * math/fegetexcept.c: Likewise.
6233 * math/fegetround.c: Likewise.
6234 * math/feholdexcpt.c: Likewise.
6235 * math/fesetenv.c: Likewise.
6236 * math/fesetround.c: Likewise.
6237 * math/feupdateenv.c: Likewise.
6238 * math/fgetexcptflg.c: Likewise.
6239 * math/fraiseexcpt.c: Likewise.
6240 * math/fsetexcptflg.c: Likewise.
6241 * math/ftestexcept.c: Likewise.
6242 * math/k_cosl.c: Likewise.
6243 * math/k_rem_pio2l.c: Likewise.
6244 * math/k_sinl.c: Likewise.
6245 * math/k_tanl.c: Likewise.
6246 * math/s_asinhl.c: Likewise.
6247 * math/s_atanl.c: Likewise.
6248 * math/s_cbrtl.c: Likewise.
6249 * math/s_erfl.c: Likewise.
6250 * math/s_expm1l.c: Likewise.
6251 * math/s_log1pl.c: Likewise.
6252 * math/s_tanhl.c: Likewise.
6253 * misc/acct.c: Likewise.
6254 * misc/brk.c: Likewise.
6255 * misc/chflags.c: Likewise.
6256 * misc/chroot.c: Likewise.
6257 * misc/fchflags.c: Likewise.
6258 * misc/fgetxattr.c: Likewise.
6259 * misc/flistxattr.c: Likewise.
6260 * misc/fremovexattr.c: Likewise.
6261 * misc/fsetxattr.c: Likewise.
6262 * misc/fsync.c: Likewise.
6263 * misc/ftruncate.c: Likewise.
6264 * misc/futimes.c: Likewise.
6265 * misc/futimesat.c: Likewise.
6266 * misc/getdomain.c: Likewise.
6267 * misc/getdtsz.c: Likewise.
6268 * misc/gethostid.c: Likewise.
6269 * misc/gethostname.c: Likewise.
6270 * misc/getloadavg.c: Likewise.
6271 * misc/getpagesize.c: Likewise.
6272 * misc/getsysstats.c: Likewise.
6273 * misc/getxattr.c: Likewise.
6274 * misc/gtty.c: Likewise.
6275 * misc/ioctl.c: Likewise.
6276 * misc/lgetxattr.c: Likewise.
6277 * misc/listxattr.c: Likewise.
6278 * misc/llistxattr.c: Likewise.
6279 * misc/lremovexattr.c: Likewise.
6280 * misc/lsetxattr.c: Likewise.
6281 * misc/lutimes.c: Likewise.
6282 * misc/madvise.c: Likewise.
6283 * misc/mincore.c: Likewise.
6284 * misc/mlock.c: Likewise.
6285 * misc/mlockall.c: Likewise.
6286 * misc/mmap.c: Likewise.
6287 * misc/mprotect.c: Likewise.
6288 * misc/msync.c: Likewise.
6289 * misc/munlock.c: Likewise.
6290 * misc/munlockall.c: Likewise.
6291 * misc/munmap.c: Likewise.
6292 * misc/preadv.c: Likewise.
6293 * misc/preadv64.c: Likewise.
6294 * misc/ptrace.c: Likewise.
6295 * misc/pwritev.c: Likewise.
6296 * misc/pwritev64.c: Likewise.
6297 * misc/readv.c: Likewise.
6298 * misc/reboot.c: Likewise.
6299 * misc/remap_file_pages.c: Likewise.
6300 * misc/removexattr.c: Likewise.
6301 * misc/revoke.c: Likewise.
6302 * misc/select.c: Likewise.
6303 * misc/setdomain.c: Likewise.
6304 * misc/setegid.c: Likewise.
6305 * misc/seteuid.c: Likewise.
6306 * misc/sethostid.c: Likewise.
6307 * misc/sethostname.c: Likewise.
6308 * misc/setregid.c: Likewise.
6309 * misc/setreuid.c: Likewise.
6310 * misc/setxattr.c: Likewise.
6311 * misc/sstk.c: Likewise.
6312 * misc/stty.c: Likewise.
6313 * misc/swapoff.c: Likewise.
6314 * misc/swapon.c: Likewise.
6315 * misc/sync.c: Likewise.
6316 * misc/syncfs.c: Likewise.
6317 * misc/syscall.c: Likewise.
6318 * misc/truncate.c: Likewise.
6319 * misc/ualarm.c: Likewise.
6320 * misc/usleep.c: Likewise.
6321 * misc/ustat.c: Likewise.
6322 * misc/utimes.c: Likewise.
6323 * misc/vhangup.c: Likewise.
6324 * misc/writev.c: Likewise.
6325 * posix/_exit.c: Likewise.
6326 * posix/alarm.c: Likewise.
6327 * posix/execve.c: Likewise.
6328 * posix/fexecve.c: Likewise.
6329 * posix/fork.c: Likewise.
6330 * posix/fpathconf.c: Likewise.
6331 * posix/getaddrinfo.c: Likewise.
6332 * posix/getegid.c: Likewise.
6333 * posix/geteuid.c: Likewise.
6334 * posix/getgid.c: Likewise.
6335 * posix/getgroups.c: Likewise.
6336 * posix/getlogin.c: Likewise.
6337 * posix/getlogin_r.c: Likewise.
6338 * posix/getpgid.c: Likewise.
6339 * posix/getpid.c: Likewise.
6340 * posix/getppid.c: Likewise.
6341 * posix/getresgid.c: Likewise.
6342 * posix/getresuid.c: Likewise.
6343 * posix/getsid.c: Likewise.
6344 * posix/getuid.c: Likewise.
6345 * posix/glob64.c: Likewise.
6346 * posix/nanosleep.c: Likewise.
6347 * posix/pathconf.c: Likewise.
6348 * posix/pause.c: Likewise.
6349 * posix/posix_madvise.c: Likewise.
6350 * posix/pread.c: Likewise.
6351 * posix/pread64.c: Likewise.
6352 * posix/pwrite.c: Likewise.
6353 * posix/pwrite64.c: Likewise.
6354 * posix/sched_getaffinity.c: Likewise.
6355 * posix/sched_getp.c: Likewise.
6356 * posix/sched_gets.c: Likewise.
6357 * posix/sched_primax.c: Likewise.
6358 * posix/sched_primin.c: Likewise.
6359 * posix/sched_rr_gi.c: Likewise.
6360 * posix/sched_setaffinity.c: Likewise.
6361 * posix/sched_setp.c: Likewise.
6362 * posix/sched_sets.c: Likewise.
6363 * posix/sched_yield.c: Likewise.
6364 * posix/setgid.c: Likewise.
6365 * posix/setlogin.c: Likewise.
6366 * posix/setpgid.c: Likewise.
6367 * posix/setresgid.c: Likewise.
6368 * posix/setresuid.c: Likewise.
6369 * posix/setsid.c: Likewise.
6370 * posix/setuid.c: Likewise.
6371 * posix/sleep.c: Likewise.
6372 * posix/spawni.c: Likewise.
6373 * posix/sysconf.c: Likewise.
6374 * posix/times.c: Likewise.
6375 * posix/wait.c: Likewise.
6376 * posix/wait3.c: Likewise.
6377 * posix/wait4.c: Likewise.
6378 * posix/waitpid.c: Likewise.
6379 * resolv/gai_sigqueue.c: Likewise.
6380 * resource/getpriority.c: Likewise.
6381 * resource/getrlimit.c: Likewise.
6382 * resource/getrusage.c: Likewise.
6383 * resource/nice.c: Likewise.
6384 * resource/setpriority.c: Likewise.
6385 * resource/setrlimit.c: Likewise.
6386 * resource/ulimit.c: Likewise.
6387 * rt/aio_cancel.c: Likewise.
6388 * rt/aio_fsync.c: Likewise.
6389 * rt/aio_read.c: Likewise.
6390 * rt/aio_sigqueue.c: Likewise.
6391 * rt/aio_suspend.c: Likewise.
6392 * rt/aio_write.c: Likewise.
6393 * rt/clock_getres.c: Likewise.
6394 * rt/clock_gettime.c: Likewise.
6395 * rt/clock_nanosleep.c: Likewise.
6396 * rt/clock_settime.c: Likewise.
6397 * rt/lio_listio.c: Likewise.
6398 * rt/mq_close.c: Likewise.
6399 * rt/mq_getattr.c: Likewise.
6400 * rt/mq_notify.c: Likewise.
6401 * rt/mq_open.c: Likewise.
6402 * rt/mq_receive.c: Likewise.
6403 * rt/mq_send.c: Likewise.
6404 * rt/mq_setattr.c: Likewise.
6405 * rt/mq_timedreceive.c: Likewise.
6406 * rt/mq_timedsend.c: Likewise.
6407 * rt/mq_unlink.c: Likewise.
6408 * rt/shm_open.c: Likewise.
6409 * rt/shm_unlink.c: Likewise.
6410 * rt/timer_create.c: Likewise.
6411 * rt/timer_delete.c: Likewise.
6412 * rt/timer_getoverr.c: Likewise.
6413 * rt/timer_gettime.c: Likewise.
6414 * rt/timer_settime.c: Likewise.
6415 * setjmp/__longjmp.c: Likewise.
6416 * setjmp/setjmp.c: Likewise.
6417 * signal/kill.c: Likewise.
6418 * signal/killpg.c: Likewise.
6419 * signal/raise.c: Likewise.
6420 * signal/sigaction.c: Likewise.
6421 * signal/sigaltstack.c: Likewise.
6422 * signal/sigblock.c: Likewise.
6423 * signal/sigignore.c: Likewise.
6424 * signal/sigintr.c: Likewise.
6425 * signal/signal.c: Likewise.
6426 * signal/sigpause.c: Likewise.
6427 * signal/sigpending.c: Likewise.
6428 * signal/sigqueue.c: Likewise.
6429 * signal/sigreturn.c: Likewise.
6430 * signal/sigset.c: Likewise.
6431 * signal/sigsetmask.c: Likewise.
6432 * signal/sigstack.c: Likewise.
6433 * signal/sigsuspend.c: Likewise.
6434 * signal/sigtimedwait.c: Likewise.
6435 * signal/sigvec.c: Likewise.
6436 * signal/sigwait.c: Likewise.
6437 * signal/sigwaitinfo.c: Likewise.
6438 * signal/sysv_signal.c: Likewise.
6439 * socket/accept.c: Likewise.
6440 * socket/accept4.c: Likewise.
6441 * socket/bind.c: Likewise.
6442 * socket/connect.c: Likewise.
6443 * socket/getpeername.c: Likewise.
6444 * socket/getsockname.c: Likewise.
6445 * socket/getsockopt.c: Likewise.
6446 * socket/isfdtype.c: Likewise.
6447 * socket/listen.c: Likewise.
6448 * socket/recv.c: Likewise.
6449 * socket/recvfrom.c: Likewise.
6450 * socket/recvmsg.c: Likewise.
6451 * socket/send.c: Likewise.
6452 * socket/sendmsg.c: Likewise.
6453 * socket/sendto.c: Likewise.
6454 * socket/setsockopt.c: Likewise.
6455 * socket/shutdown.c: Likewise.
6456 * socket/sockatmark.c: Likewise.
6457 * socket/socket.c: Likewise.
6458 * socket/socketpair.c: Likewise.
6459 * stdio-common/ctermid.c: Likewise.
6460 * stdio-common/cuserid.c: Likewise.
6461 * stdio-common/remove.c: Likewise.
6462 * stdio-common/rename.c: Likewise.
6463 * stdio-common/renameat.c: Likewise.
6464 * stdio-common/tempname.c: Likewise.
6465 * stdlib/getcontext.c: Likewise.
6466 * stdlib/makecontext.c: Likewise.
6467 * stdlib/setcontext.c: Likewise.
6468 * stdlib/swapcontext.c: Likewise.
6469 * stdlib/system.c: Likewise.
6470 * streams/fattach.c: Likewise.
6471 * streams/fdetach.c: Likewise.
6472 * streams/getmsg.c: Likewise.
6473 * streams/getpmsg.c: Likewise.
6474 * streams/putmsg.c: Likewise.
6475 * streams/putpmsg.c: Likewise.
6476 * sysdeps/unix/bsd/getpt.c: Likewise.
6477 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6478 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6479 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6481 Likewise.
6482 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6483 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6484 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6485 * sysvipc/msgctl.c: Likewise.
6486 * sysvipc/msgget.c: Likewise.
6487 * sysvipc/msgrcv.c: Likewise.
6488 * sysvipc/msgsnd.c: Likewise.
6489 * sysvipc/semctl.c: Likewise.
6490 * sysvipc/semget.c: Likewise.
6491 * sysvipc/semop.c: Likewise.
6492 * sysvipc/semtimedop.c: Likewise.
6493 * sysvipc/shmat.c: Likewise.
6494 * sysvipc/shmctl.c: Likewise.
6495 * sysvipc/shmdt.c: Likewise.
6496 * sysvipc/shmget.c: Likewise.
6497 * termios/tcdrain.c: Likewise.
6498 * termios/tcflow.c: Likewise.
6499 * termios/tcflush.c: Likewise.
6500 * termios/tcgetattr.c: Likewise.
6501 * termios/tcgetpgrp.c: Likewise.
6502 * termios/tcsendbrk.c: Likewise.
6503 * termios/tcsetattr.c: Likewise.
6504 * termios/tcsetpgrp.c: Likewise.
6505 * time/adjtime.c: Likewise.
6506 * time/clock.c: Likewise.
6507 * time/getitimer.c: Likewise.
6508 * time/gettimeofday.c: Likewise.
6509 * time/setitimer.c: Likewise.
6510 * time/settimeofday.c: Likewise.
6511 * time/stime.c: Likewise.
6512 * time/time.c: Likewise.
6513
65142012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6515
a20492cf
PT
6516 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6517 /usr/old/bin.
6518
72e182e3
PT
6519 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6520 instead of spaces.
6521 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6522
fbeafede
JM
65232012-11-03 Joseph Myers <joseph@codesourcery.com>
6524
5b5b04d6
JM
6525 [BZ #14796]
6526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6527 FE_TONEAREST before applying Dekker multiplication and Knuth
6528 addition. Clear inexact exceptions and check for exact zero
6529 results afterwards.
6530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6531 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6532 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6533 * math/libm-test.inc (fma_test): Add more tests.
6534 (fma_test_towardzero): Likewise.
6535 (fma_test_downward): Likewise.
6536 (fma_test_upward): Likewise.
6537 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6538 function.
6539 (libc_fesetround): New macro.
6540 (libc_fesetroundf): Likewise.
6541 (libc_fesetroundl): Likewise.
6542 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6543 function.
6544 (libc_fesetround_387): Likewise.
6545 (libc_fesetroundf): New macro.
6546 (libc_fesetround): Likewise.
6547 (libc_fesetroundl): Likewise.
6548 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6549 function.
6550 (libc_fesetroundf): New macro.
6551 (libc_fesetround): Likewise.
6552 (libc_fesetroundl): Likewise.
6553 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6554 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6555 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6556 libm_hidden_ver.
6557 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6558 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6559 libm_hidden_def.
6560 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6561 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6562 libm_hidden_ver.
6563 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6564 libm_hidden_def.
6565
fbeafede
JM
6566 [BZ #3439]
6567 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6568 integer constant usable in #if and use that to give value to enum
6569 constant.
6570 (FE_DIVBYZERO): Likewise.
6571 (FE_UNDERFLOW): Likewise.
6572 (FE_OVERFLOW): Likewise.
6573 (FE_INVALID): Likewise.
6574 (FE_INVALID_SNAN): Likewise.
6575 (FE_INVALID_ISI): Likewise.
6576 (FE_INVALID_IDI): Likewise.
6577 (FE_INVALID_ZDZ): Likewise.
6578 (FE_INVALID_IMZ): Likewise.
6579 (FE_INVALID_COMPARE): Likewise.
6580 (FE_INVALID_SOFTWARE): Likewise.
6581 (FE_INVALID_SQRT): Likewise.
6582 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6583 (FE_TONEAREST): Likewise.
6584 (FE_TOWARDZERO): Likewise.
6585 (FE_UPWARD): Likewise.
6586 (FE_DOWNWARD): Likewise.
6587 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6588 (FE_DIVBYZERO): Likewise.
6589 (FE_OVERFLOW): Likewise.
6590 (FE_UNDERFLOW): Likewise.
6591 (FE_INEXACT): Likewise.
6592 (FE_TONEAREST): Likewise.
6593 (FE_DOWNWARD): Likewise.
6594 (FE_UPWARD): Likewise.
6595 (FE_TOWARDZERO): Likewise.
6596 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6597 (FE_UNDERFLOW): Likewise.
6598 (FE_OVERFLOW): Likewise.
6599 (FE_DIVBYZERO): Likewise.
6600 (FE_INVALID): Likewise.
6601 (FE_TONEAREST): Likewise.
6602 (FE_TOWARDZERO): Likewise.
6603 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6604 (FE_OVERFLOW): Likewise.
6605 (FE_UNDERFLOW): Likewise.
6606 (FE_DIVBYZERO): Likewise.
6607 (FE_INEXACT): Likewise.
6608 (FE_TONEAREST): Likewise.
6609 (FE_TOWARDZERO): Likewise.
6610 (FE_UPWARD): Likewise.
6611 (FE_DOWNWARD): Likewise.
6612 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6613 (FE_DIVBYZERO): Likewise.
6614 (FE_OVERFLOW): Likewise.
6615 (FE_UNDERFLOW): Likewise.
6616 (FE_INEXACT): Likewise.
6617 (FE_TONEAREST): Likewise.
6618 (FE_DOWNWARD): Likewise.
6619 (FE_UPWARD): Likewise.
6620 (FE_TOWARDZERO): Likewise.
6621
105ca950
CM
66222012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6623
6624 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6625
a542b389
AS
66262012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6627
6628 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6629 commands. Quote $PWD.
6630 (blacklist_exports): Don't use remove_newlines. Replace "declare
6631 -x" by "export".
6632 (remove_newlines): Remove.
6633
f62c8abc
L
66342012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6635
6636 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6637 * stdlib/stdlib.h (atof): Moved to ...
6638 * include/bits/stdlib-float.h: Here. New file.
6639 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6640 * stdlib/bits/stdlib-float.h: New file.
6641 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6642 -mno-sse -mno-mmx.
6643 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6644 <xmmintrin.h>.
6645
0155d5b2
JM
66462012-11-02 Joseph Myers <joseph@codesourcery.com>
6647
a68d0680
JM
6648 * conform/conformtest.pl (@headers): Add fenv.h.
6649 * conform/data/fenv.h-data: New file.
6650 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6651 include of <math/fenv.h>.
6652
caf7f573
JM
6653 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6654 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6655 && !UNIX98]. Enables tests for XOPEN2K8.
6656 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6657 POSIX2008]: Likewise.
6658
6c073ad6
JM
6659 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6660 (struct rusage): Do not expect type or its members.
6661
0155d5b2
JM
6662 [BZ #3439]
6663 * math/math.h (FP_NAN): Define macro to integer constant usable in
6664 #if and use that to give value to enum constant.
6665 (FP_INFINITE): Likewise.
6666 (FP_ZERO): Likewise.
6667 (FP_SUBNORMAL): Likewise.
6668 (FP_NORMAL): Likewise.
6669
b5dcacb4
AS
66702012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6671
6672 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6673 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6674 arguments.
6675
f7934be8
RM
66762012-11-02 Roland McGrath <roland@hack.frob.com>
6677
6678 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6679 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6680 autoconf-time if not.
6681 * configure.in: Remove AC_PREREQ.
6682
d7d08bde
TMQMF
66832012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6684
6685 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6686 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6687 of the internal implementation.
6688
dcdae19a
JM
66892012-11-02 Joseph Myers <joseph@codesourcery.com>
6690
6691 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6692 except include of <misc/sys/syslog.h>.
6693
d6cffd3e
AS
66942012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6695
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6697 function returns with a NULL context exit with zero.
6698
b3563932
TMQMF
66992012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6700
6701 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6702
b288a93d
L
67032012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6704
6705 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6706 (run_program_cmd): This.
6707 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6708 (tst_langinfo): New variable. Use it.
6709
a2421a68
SAS
67102012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6711
6712 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6713 floating point opcodes.
6714
6f796e1b
TS
67152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6716
7402596b
TS
6717 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6718 variable.
6719
d0d4f868
TS
6720 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6721
6f796e1b
TS
6722 * sysdeps/mach/hurd/powerpc: Remove directory.
6723 * sysdeps/mach/powerpc: Likewise.
6724
4da224a2
AS
67252012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6726
6727 * scripts/check-local-headers.sh: Ignore c++ headers.
6728
341dd673
TS
67292012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6730
6731 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6732 __libc_cleanup_region_start argument.
6733
473611b2
JM
67342012-11-01 Joseph Myers <joseph@codesourcery.com>
6735
6736 [BZ #14784]
6737 [BZ #14785]
6738 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6739 x * y using scaling, not as x * y + z.
6740 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6741 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6742 * math/libm-test.inc (fma_test): Add more tests.
6743 (fma_test_towardzero): Likewise.
6744 (fma_test_downward): Likewise.
6745 (fma_test_upward): Likewise.
6746
4078da3d
TS
67472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6748
6749 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6750
903252aa
JM
67512012-10-31 Joseph Myers <joseph@codesourcery.com>
6752
6753 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6754 New variable.
6755
cbc818d0
TS
67562012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6757
6758 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6759
5a03cb1e
AS
67602012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6761
6762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6763 Fix sort order.
6764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6765 Likewise.
6766
90aff2ff
TMQMF
67672012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6768
6769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6770 Fix the order of the list for glibc 2.17.
6771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6772 Likewise.
6773
1818fcb7
AS
67742012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6775
6776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6777
ef82f4da
JM
67782012-10-31 Joseph Myers <joseph@codesourcery.com>
6779
16a0e2ec
JM
6780 [BZ #14610]
6781 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6782 for low part of x being zero before using __atanl (y).
6783 * math/libm-test.inc (atan2_test): Add another test.
6784
0eb69512
JM
6785 * manual/install.texi (Configuring and compiling): Document
6786 general use of test-wrapper and test-wrapper-env.
6787 * INSTALL: Regenerated.
6788
ef82f4da
JM
6789 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6790 (__fma): Do not extract and scale down low bits on after-rounding
6791 systems when result rounded to normal precision would have normal
6792 exponent.
6793 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6794 (__fmal): Do not extract and scale down low bits on after-rounding
6795 systems when result rounded to normal precision would have normal
6796 exponent.
6797 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6798 (__fmal): Do not extract and scale down low bits on after-rounding
6799 systems when result rounded to normal precision would have normal
6800 exponent.
6801 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6802 macro.
6803 (fma_test): Add more tests.
6804 (fma_test_towardzero): Likewise.
6805 (fma_test_downward): Likewise.
6806 (fma_test_upward): Likewise.
6807
954ef0d9
L
68082012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6809
6810 * sysdeps/i386/tininess.h: Renamed to ...
6811 * sysdeps/x86/tininess.h: This.
6812 * sysdeps/x86_64/tininess.h: Removed.
6813
df61ffb2
JM
68142012-10-30 Joseph Myers <joseph@codesourcery.com>
6815
6816 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6817 input. Use $(build-program-cmd).
6818 ($(objpfx)tst-array1-static.out): Likewise.
6819 ($(objpfx)tst-array2.out): Likewise.
6820 ($(objpfx)tst-array3.out): Likewise.
6821 ($(objpfx)tst-array4.out): Likewise.
6822 ($(objpfx)tst-array5.out): Likewise.
6823 ($(objpfx)tst-array5-static.out): Likewise.
6824
01767843
CM
68252012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6826
47cc1490
CM
6827 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6828 if defined.
6829
01767843
CM
6830 * nss/nsswitch.h (nss_interface_function): Provide new
6831 macro for use with NSS functions.
6832 * grp/initgroups.c: Use new macro.
6833 * nss/getXXbyYY.c: Likewise.
6834 * nss/getXXbyYY_r.c: Likewise.
6835 * nss/getXXent.c: Likewise.
6836 * nss/getXXent_r.c: Likewise.
6837 * sysdeps/posix/getaddrinfo.c: Likewise.
6838
8321aa97
AJ
68392012-10-30 Andreas Jaeger <aj@suse.de>
6840
6841 * po/ru.po: Update Russion translation from translation project.
6842
2a27fd6d
JM
68432012-10-30 Joseph Myers <joseph@codesourcery.com>
6844
8627a232
JM
6845 [BZ #14152]
6846 [BZ #14783]
6847 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6848 result and shift together with sticky bit instead of replicating
6849 round-to-nearest rounding.
6850 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6851 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6852 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6853 missing underflow exceptions.
6854 (fma_test_towardzero): Add more tests.
6855 (fma_test_downward): Likewise.
6856 (fma_test_upward): Likewise.
6857
2a27fd6d
JM
6858 [BZ #14047]
6859 * sysdeps/generic/tininess.h: New file.
6860 * sysdeps/i386/tininess.h: Likewise.
6861 * sysdeps/sh/tininess.h: Likewise.
6862 * sysdeps/x86_64/tininess.h: Likewise.
6863 * stdlib/tst-strtod-underflow.c: Likewise.
6864 * stdlib/tst-tininess.c: Likewise.
6865 * stdlib/strtod_l.c: Include <tininess.h>.
6866 (round_and_return): Do not set errno for exact underflow cases.
6867 Force an underflow exception when setting errno for underflow.
6868 Determine underflow based on rounding to normal precision if
6869 TININESS_AFTER_ROUNDING.
6870 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6871 ERANGE for exact underflow cases.
6872 * stdlib/Makefile (tests): Add tst-tininess and
6873 tst-strtod-underflow.
6874 ($(objpfx)tst-tininess): Use $(link-libm).
6875 ($(objpfx)tst-strtod-underflow): Likewise.
6876
e7170363
AJ
68772012-10-30 Andreas Jaeger <aj@suse.de>
6878
e5088dc6
AJ
6879 [BZ#14767]
6880 * elf/Makefile (tests): Remove conditional for have-initfini-array
6881 since this is now always required and the variable does not exist
6882 anymore.
6883 (tests-static): Likewise.
6884 (modules-names): Likewise.
6885
e7170363 6886 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6887
6888 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6889 merged with constructor/destructor.
6890 (init_array): Likewise.
6891 * elf/tst-array2dep.c (fini_array): Likewise.
6892 (init_array): Likewise.
6893
60457d8a
MF
68942012-10-29 Mike Frysinger <vapier@gentoo.org>
6895
6896 * manual/message.texi: Delete @cartouche tags.
6897
8bece752
PT
68982012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6899
94ce799f
PT
6900 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6901 EOPNOTSUPP.
6902 * sysdeps/mach/hurd/fsync.c: Likewise.
6903
8bece752
PT
6904 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6905 [_POSIX_REALTIME_SIGNALS]: Change condition to
6906 [_POSIX_REALTIME_SIGNALS > 0].
6907
86ebe6b1
AJ
69082012-10-27 Andreas Jaeger <aj@suse.de>
6909
6910 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6911 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6913 [__WORDSIZE != 64]: Likewise.
6914
54399c08
L
69152012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6916
6917 * iconvdata/tst-table.sh: Remove ${SHELL}.
6918 * iconvdata/tst-tables.sh: Likewise.
6919
e2211bed
DM
69202012-10-25 David S. Miller <davem@davemloft.net>
6921
6922 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6923 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6924 of strtoull.
6925
f303f97c
DM
6926 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6927 ifunc-impl-list.c
6928 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6929 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6930 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6931 file.
6932
1e9d84cd
RM
69332012-10-25 Roland McGrath <roland@hack.frob.com>
6934
6935 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6936 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6937 __getdirentries.
6938
df381762
JM
69392012-10-25 Joseph Myers <joseph@codesourcery.com>
6940 Jim Blandy <jimb@codesourcery.com>
6941
6942 * scripts/cross-test-ssh.sh: New file.
6943 * manual/install.texi (Configuring and compiling): Document use of
6944 cross-test-ssh.sh.
6945 * INSTALL: Regenerated.
6946
bff64913
PT
69472012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6948
6949 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6950 EOPNOTSUPP.
6951
25fe8932
JM
69522012-10-25 Joseph Myers <joseph@codesourcery.com>
6953
6954 * Makeconfig (run-program-prefix): Fix comment.
6955
cc1290d0
JM
69562012-10-24 Joseph Myers <joseph@codesourcery.com>
6957 Jim Blandy <jimb@codesourcery.com>
6958
6959 * Makeconfig (test-wrapper): New variable,
6960 (test-wrapper-env): Likewise.
6961 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6962 (run-built-tests): Define to yes.
6963 (run-program-prefix): Use $(test-wrapper).
6964 (built-program-cmd): Likewise.
6965 * Rules (make-test-out): Use $(test-wrapper-env) and
6966 $(host-built-program-cmd).
6967 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6968 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6969 tst-pathopt.sh.
6970 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6971 $(test-wrapper-env) to tst-rtld-load-self.sh.
6972 ($(objpfx)order2.out): Use $(test-wrapper).
6973 ($(objpfx)tst-initorder.out): Likewise.
6974 ($(objpfx)tst-initorder2.out): Likewise.
6975 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6976 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6977 (test_wrapper_env): New variable. Use it to run ld.so.
6978 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6979 Use it to run ld.so.
6980 (test_wrapper_env): Likewise.
6981 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6982 $(test-wrapper) to run-iconv-test.sh.
6983 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6984 (ICONV): Use $test_wrapper.
6985 * posix/Makefile ($(objpfx)globtest.out): Pass
6986 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6987 globtest.sh, not $(run-program-prefix).
6988 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6989 (test_wrapper): Likewise.
6990 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6991 set together with run_via_rtld_prefix.
6992 (run_program_prefix): Define in terms of test_wrapper and
6993 run_via_rtld_prefix.
6994
6e6249d0
RM
69952012-10-24 Roland McGrath <roland@hack.frob.com>
6996
6997 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6998 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6999 Targets removed.
7000
7001 [BZ #14743]
7002 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7003 Declare __clock_getres, __clock_gettime, __clock_settime,
7004 __clock_nanosleep, and __clock_getcpuclockid.
7005 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7006 Remove librt_hidden_def (clock_gettime).
7007 * sysdeps/unix/clock_gettime.c: Likewise.
7008 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7009 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7010 * rt/clock_getres.c: Define __clock_getres as an alias.
7011 * sysdeps/posix/clock_getres.c: Likewise.
7012 * rt/clock_settime.c: Define __clock_settime as an alias.
7013 * sysdeps/unix/clock_settime.c: Likewise.
7014 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7015 * sysdeps/unix/clock_nanosleep.c: Likewise.
7016 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7017 * rt/clock-compat.c: New file.
7018 * rt/Makefile (librt-routines): Add clock-compat and move
7019 $(clock-routines) to ...
7020 (routines): ... here, new variable.
7021 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7022 Don't add get_clockfreq here.
7023 * rt/Versions (libc: GLIBC_2.17): New version set.
7024 Add clock_* symbols here.
7025 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7026 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7027 (GLIBC_2.17): Add clock_* symbols.
7028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7030 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7032 Likewise.
7033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7034 Likewise.
7035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7039 * NEWS: Mention the move.
7040
7041 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7042 Use __open, __read, __close rather than their public counterparts.
7043 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7044 (__get_clockfreq_via_cpuinfo): Likewise.
7045 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7046 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7047
7048 * config.h.in (HAVE_IFUNC): New #undef.
7049 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7050 was successful.
7051 * configure: Regenerated.
7052
0cae3f4b
MF
70532012-10-24 Mike Frysinger <vapier@gentoo.org>
7054
7055 * configure.in: Move READELF check to start of file.
7056 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7057 libc_cv_asm_gnu_indirect_function in the process.
7058 * configure: Regenerated.
7059
8175a253
MF
70602012-10-24 Mike Frysinger <vapier@gentoo.org>
7061
7062 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7063 send the output to /dev/null.
7064 (libc_cv_cc_with_libunwind): Likewise.
7065 (libc_cv_as_noexecstack): Likewise.
7066 * configure: Regenerate.
7067
0708a7d1
JM
70682012-10-24 Joseph Myers <joseph@codesourcery.com>
7069
10b40d85
JM
7070 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7071
0708a7d1
JM
7072 * posix/globtest.sh (TMPDIR): Do not set.
7073 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7074 (testout): Likewise.
7075
9fddec1a
AJ
70762012-10-24 Andreas Jaeger <aj@suse.de>
7077
3a8db22f
AJ
7078 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7079 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7080 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7081 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7082 posix_fadvise64, posix_fallocate64.
7083
9fddec1a
AJ
7084 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7085 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7086 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7087 Likewise.
7088 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7089 Likewise.
7090 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7091
7092 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7093 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7094 <bits/fcntl-linux.h>.
7095 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7096
7097 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7098 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7099 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7100 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7101 [__WORDSIZE != 64]: Likewise.
7102
ebfd1bbd
JM
71032012-10-23 Joseph Myers <joseph@codesourcery.com>
7104
03ac099f
JM
7105 * Makeconfig (run-built-tests): New variable.
7106 * Rules [$(cross-compiling) = yes]: Change condition to
7107 [$(run-built-tests) = no].
7108 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7109 to [$(run-built-tests) = yes].
7110 * elf/Makefile [$(cross-compiling) = no]: Likewise
7111 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7112 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7113 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7114 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7115 * io/Makefile [$(cross-compiling) = no]: Likewise.
7116 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7117 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7118 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7119 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7120 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7121 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7122 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7123 * string/Makefile [$(cross-compiling) = no]: Likewise.
7124
ebfd1bbd
JM
7125 * posix/Makefile ($(objpfx)globtest.out): Pass
7126 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7127 $(rtld-installed-name).
7128 * posix/globtest.sh (elf_objpfx): Remove variable.
7129 (rtld_installed_name): Likewise.
7130 (library_path): Likewise.
7131 (run_program_prefix): New variable. Use for running globtest
7132 binary.
7133
166bca24
JB
71342012-10-23 Jim Blandy <jimb@codesourcery.com>
7135 Joseph Myers <joseph@codesourcery.com>
7136
7137 * Makeconfig (host-built-program-cmd): New variable.
7138 * elf/Makefile (tst-stackguard1-ARGS): Use
7139 $(host-built-program-cmd).
7140 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7141 (tst-spawn-ARGS): Likewise.
7142 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7143
88866099
JM
71442012-10-23 Joseph Myers <joseph@codesourcery.com>
7145 Jim Blandy <jimb@codesourcery.com>
7146
7147 * Makeconfig (run-via-rtld-prefix): New variable.
7148 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7149 (built-program-cmd): Likewise.
7150
b4b4c296
AJ
71512012-10-22 Andreas Jaeger <aj@suse.de>
7152
7153 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7154 __O_RSYNC if it exists, otherwise to O_SYNC.
7155
6fb54a22
JB
71562012-10-22 Jim Blandy <jimb@codesourcery.com>
7157 Joseph Myers <joseph@codesourcery.com>
7158
7159 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7160 /dev/null.
7161 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7162 from /dev/null
7163 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7164 /dev/null.
7165
481b90b9
AJ
71662012-10-22 Andreas Jaeger <aj@suse.de>
7167
2a0e2669
AJ
7168 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7169 Define always.
7170 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7171
76e38f9a
AJ
7172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7173 bits/fcntl-linux.h.
7174
7cd37b43
AJ
7175 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7176 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7177
481b90b9
AJ
7178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7179 to __O_LARGEFILE.
7180 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7181 to __O_LARGEFILE.
7182
aba75984
JB
71832012-10-21 Jim Blandy <jimb@codesourcery.com>
7184 Joseph Myers <joseph@codesourcery.com>
7185
7186 * config.make.in (NM): New variable.
7187
88d4247f
AJ
71882012-10-21 Andreas Jaeger <aj@suse.de>
7189
7190 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7191 definitions and declarations that are provided by
7192 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7193
f2eed205
L
71942012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7195
7196 [BZ #14683]
7197 * elf/Makefile (tests-static): Add tst-leaks1-static.
7198 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7199 ($(objpfx)tst-leaks1-static): New rule.
7200 ($(objpfx)tst-leaks1-static-mem): Likewise.
7201 (tst-leaks1-static-ENV): New macro.
7202 * elf/dl-open.c (dl_open_worker): Check the main application
7203 only if SHARED is defined.
7204 * elf/tst-leaks1-static.c: New file.
7205
335e6931
AJ
72062012-10-20 Andreas Jaeger <aj@suse.de>
7207
7208 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7209 generic values for Linux.
7210 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7211 and declarations that are provided by <bits/fcntl-linux.h> and
7212 include <bits/fcntl-linux.h>.
7213 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7214 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7215
ac5c94d3
RM
72162012-10-20 Roland McGrath <roland@hack.frob.com>
7217
7218 * io/fcntl.h: Move include of <bits/types.h> to the top and
7219 include it unconditionally.
7220
de54b33a
L
72212012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7222
228cfb01
L
7223 * wcsmbs/Makefile (tests-ifunc): New variable.
7224 (tests): Add $(tests-ifunc).
7225 * wcsmbs/test-wcschr-ifunc.c: New file.
7226 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7227 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7228 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7229 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7230 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7231
69f07e5f
L
7232 * string/Makefile (tests-ifunc): New variable.
7233 (tests): Add $(tests-ifunc).
7234 * string/test-memccpy.c (TEST_NAME): New macro.
7235 * string/test-memchr.c (TEST_NAME): Likewise.
7236 * string/test-memcmp.c (TEST_NAME): Likewise.
7237 * string/test-memcpy.c (TEST_NAME): Likewise.
7238 * string/test-memmem.c (TEST_NAME): Likewise.
7239 * string/test-memmove.c (TEST_NAME): Likewise.
7240 * string/test-memset.c (TEST_NAME): Likewise.
7241 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7242 * string/test-stpcpy.c (TEST_NAME): Likewise.
7243 * string/test-stpncpy.c (TEST_NAME): Likewise.
7244 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7245 * string/test-strcasestr.c (TEST_NAME): Likewise.
7246 * string/test-strcat.c (TEST_NAME): Likewise.
7247 * string/test-strchr.c (TEST_NAME): Likewise.
7248 * string/test-strcmp.c(TEST_NAME): Likewise.
7249 * string/test-strcpy.c (TEST_NAME): Likewise.
7250 * string/test-strcspn.c (TEST_NAME): Likewise.
7251 * string/test-strlen.c (TEST_NAME): Likewise.
7252 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7253 * string/test-strncmp.c (TEST_NAME): Likewise.
7254 * string/test-strncpy.c (TEST_NAME): Likewise.
7255 * string/test-strnlen.c (TEST_NAME): Likewise.
7256 * string/test-strpbrk.c (TEST_NAME): Likewise.
7257 * string/test-strrchr.c (TEST_NAME): Likewise.
7258 * string/test-strspn.c (TEST_NAME): Likewise.
7259 * string/test-strstr.c (TEST_NAME): Likewise.
7260 * string/test-bcopy-ifunc.c: New file.
7261 * string/test-bzero-ifunc.c: Likewise.
7262 * string/test-memccpy-ifunc.c: Likewise.
7263 * string/test-memchr-ifunc.c: Likewise.
7264 * string/test-memcmp-ifunc.c: Likewise.
7265 * string/test-memcpy-ifunc.c: Likewise.
7266 * string/test-memmem-ifunc.c: Likewise.
7267 * string/test-memmove-ifunc.c: Likewise.
7268 * string/test-mempcpy-ifunc.c: Likewise.
7269 * string/test-memset-ifunc.c: Likewise.
7270 * string/test-rawmemchr-ifunc.c: Likewise.
7271 * string/test-stpcpy-ifunc.c: Likewise.
7272 * string/test-stpncpy-ifunc.c: Likewise.
7273 * string/test-strcasecmp-ifunc.c: Likewise.
7274 * string/test-strcasestr-ifunc.c: Likewise.
7275 * string/test-strcat-ifunc.c: Likewise.
7276 * string/test-strchr-ifunc.c: Likewise.
7277 * string/test-strchrnul-ifunc.c: Likewise.
7278 * string/test-strcmp-ifunc.c: Likewise.
7279 * string/test-strcpy-ifunc.c: Likewise.
7280 * string/test-strcspn-ifunc.c: Likewise.
7281 * string/test-strlen-ifunc.c: Likewise.
7282 * string/test-strncasecmp-ifunc.c: Likewise.
7283 * string/test-strncat-ifunc.c: Likewise.
7284 * string/test-strncmp-ifunc.c: Likewise.
7285 * string/test-strncpy-ifunc.c: Likewise.
7286 * string/test-strnlen-ifunc.c: Likewise.
7287 * string/test-strpbrk-ifunc.c: Likewise.
7288 * string/test-strrchr-ifunc.c: Likewise.
7289 * string/test-strspn-ifunc.c: Likewise.
7290 * string/test-strstr-ifunc.c: Likewise.
7291
de54b33a
L
7292 * debug/Makefile (tests-ifunc): New variable.
7293 (tests): Add $(tests-ifunc).
7294 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7295 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7296 * debug/test-stpcpy_chk-ifunc.c: New file.
7297 * debug/test-strcpy_chk-ifunc.c: Likewise.
7298
88481c16
SP
72992012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7300
7301 [BZ #13601]
7302 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7303 header is not read in.
7304
135948bd
JM
73052012-10-19 Joseph Myers <joseph@codesourcery.com>
7306
89f1c388
JM
7307 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7308 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7309 directly. Pass built executable to script as
7310 $(built-program-cmd).
7311 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7312 $testprogram without using LD_LIBRARY_PATH and $ldso.
7313
e40a0d21
JM
7314 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7315 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7316 $(rtld-installed-name).
7317 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7318 (rtld_installed_name): Likewise.
7319 (library_path): Likewise.
7320 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7321 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7322 $(run-program-prefix) to tst-tables.sh.
7323 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7324 it to run tst-table-from and tst-table-to.
7325 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7326 Pass it to tst-table.sh.
7327 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7328 $(run-program-prefix) to tst-gettext.sh.
7329 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7330 tst-translit.sh.
7331 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7332 tst-gettext2.sh.
7333 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7334 to run tst-gettext.
7335 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7336 to run tst-gettext2.
7337 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7338 to run tst-translit.
7339 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7340 $(run-program-prefix) to tst-mtrace.sh.
7341 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7342 to run tst-mtrace.
7343 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7344 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7345 $(rtld-installed-name).
7346 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7347 (rtld_installed_name): Likewise.
7348 (run_program_prefix): New variable. Use it to run wordexp-test.
7349
728e272a
JM
7350 * Makeconfig (ARCH): Remove all definitions.
7351 (machine): Likewise.
7352 [ARCH]: Remove conditional code.
7353 [!objdir]: Give error.
7354 [!objdir] (objpfx): Remove.
7355 [!objdir] (common-objpfx): Likewise.
7356 [!objdir] (common-objdir): Likewise.
7357 * configure.in (config_makefile): Remove. Hardcode Makefile in
7358 AC_CONFIG_FILES call.
7359 * configure: Regenerated.
7360
d528cdcf
JM
7361 [BZ #13888]
7362 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7363 or TMPDIR.
7364 (testout): Likewise.
7365
135948bd
JM
7366 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7367 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7368 $(rtld-installed-name).
7369 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7370 (rtld_installed_name): Likwise.
7371 (runit): Remove function.
7372 (run_getconf): New variable, Use it for running getconf binary.
7373
38c78296
L
73742012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7375
7376 [BZ #14716]
7377 * string/test-memmem.c (check_result): New function.
7378 (do_one_test): Use it.
7379 (check1): New function.
7380 (test_main): Use it.
7381
d077f65f
MT
73822012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7383
7384 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7385
ced52c71
JM
73862012-10-18 Joseph Myers <joseph@codesourcery.com>
7387
7388 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7389 (_G_LSEEK64): Likewise.
7390 (_G_MMAP64): Likewise.
7391 (_G_FSTAT64): Likewise.
7392 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7393 (_G_LSEEK64): Likewise.
7394 (_G_MMAP64): Likewise.
7395 (_G_FSTAT64): Likewise.
7396 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7397 unconditional. Call __mmap64 directly.
7398 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7399 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7400 __lseek64 directly.
7401 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7402 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7403 __mmap64 directly.
7404 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7405 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7406 __lseek64 directly.
7407 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7408 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7409 __lseek64 directly.
7410 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7411 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7412 __lseek64 directly.
7413 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7414 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7415 __fxstat64 directly.
7416 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7417 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7418 unconditional.
7419 (freopen64) [!_G_OPEN64]: Remove conditional code.
7420 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7421 unconditional.
7422 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7423 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7424 unconditional.
7425 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7426 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7427 unconditional.
7428 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7429 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7430 unconditional.
7431 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7432 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7433 unconditional.
7434 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7435 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7436 unconditional.
7437 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7438 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7439 unconditional.
7440 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7441
b741de23
SP
74422012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7443
7444 [BZ #12140]
7445 * manual/memory.texi (Malloc Tunable Parameters): Add note
7446 about free list pointers overwriting some perturb bytes.
7447 Wording suggested by Roland McGrath.
7448
f9b9d9c9
JM
74492012-10-17 Joseph Myers <joseph@codesourcery.com>
7450
7451 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7452 (lgamma_test): Likewise.
7453 (tgamma_test): Likewise.
7454
172a631a
FW
74552012-10-16 Florian Weimer <fweimer@redhat.com>
7456
7457 [BZ #14700]
7458 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7459 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7460
e9f37252
MK
74612012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7462
7463 * NEWS: Mention BZ #14716.
7464 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7465 when removing AVAILABLE1_USES_J macro.
7466
d394eb74
L
74672012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7468
7469 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7470 (__bswap_64): __uint64_t for unsigned 64-bit int.
7471
ca38dc17
AS
74722012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7473
7474 * include/string.h (memmem): Declare libc hidden alias.
7475 * string/memmem.c (memmem): Define libc hidden alias.
7476 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7477 __read, __close instead of open, read, close.
7478
9a387d1f
L
74792012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7480
ac49ecaf
L
7481 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7482 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7483 global and hidden.
7484 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7485 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7486 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7487 Likewise.
7488 (__rawmemchr_sse2): Likewise.
7489 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7490 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7491 (__strchr_sse2): Likewise.
7492 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7493 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7494 (__strcasecmp_sse2): Likewise.
7495 (__strncasecmp_sse2): Likewise.
7496 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7497 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7498 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7499 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7500 (__strrchr_sse2): Likewise.
7501 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7502 ifunc-impl-list.c.
7503 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7504 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7505 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7506 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7507 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7508 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7509 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7510 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7511 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7512 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7513 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7514 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7515 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7516 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7517 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7518 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7519 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7520 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7521 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7522 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7523 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7524 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7525 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7526 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7527 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7528 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7529 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7530 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7531 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7532 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7533
b090e8ea
L
7534 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7535 global and hidden.
7536 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7537 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7538 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7539 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7540 Likewise.
7541 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7542 Likewise.
7543 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7544 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7545 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7546 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7547 ifunc-impl-list.c.
7548 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7549 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7550 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7551 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7552 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7553 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7554 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7555 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7556 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7557 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7558 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7559 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7560 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7561 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7562 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7563 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7564 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7565 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7566 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7567 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7568 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7569 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7570 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7571 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7572 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7573 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7574 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7575 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7576 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7577 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7578 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7579 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7580 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7581 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7582 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7583 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7584 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7585 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7586 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7587 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7588 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7589
11dd4af6
L
7590 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7591 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7592 * include/ifunc-impl-list.h: New file.
7593 * misc/ifunc-impl-list.c: Likewise.
7594 * misc/Makefile (routines): Add ifunc-impl-list.
7595 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7596 * string/test-string.h: Include <ifunc-impl-list.h>.
7597 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7598 impl_array): New variables.
7599 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7600 are defined.
7601 (test_init): Call __libc_ifunc_impl_list to initialize
7602 func_list if TEST_IFUNC and TEST_NAME are defined.
7603
9a387d1f
L
7604 * string/Makefile (strop-tests): Add bcopy and bzero.
7605 * string/test-bcopy.c: New file.
7606 * string/test-bzero.c: Likewise.
7607 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7608 defined.
7609 * string/test-memset.c: Support bzero test if TEST_BZERO is
7610 defined.
7611 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7612 __libc_memmove.
7613 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7614 __libc_memset.
7615 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7616 of memset.
7617
472371b9
JM
76182012-10-10 Joseph Myers <joseph@codesourcery.com>
7619
1e4a9536
JM
7620 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7621 * configure: Regenerated.
7622
d173d12e
JM
7623 * Makeconfig (+link-static-before-libc): Don't include
7624 $(link-static-libc).
7625
472371b9
JM
7626 * libio/libio.h (_IO_pos_t): Remove.
7627
89a3ad0b
AO
76282012-10-10 Alexandre Oliva <aoliva@redhat.com>
7629
7630 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7631 McGrath.
7632
e7451425
AO
76332012-10-10 Alexandre Oliva <aoliva@redhat.com>
7634
7635 * crypt/crypt-entry.c: Include fips-private.h.
7636 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7637 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7638 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7639 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7640
4ba74a35
AO
76412012-10-10 Alexandre Oliva <aoliva@redhat.com>
7642
7643 * crypt/crypt-private.h: Include stdbool.h.
7644 (_ufc_setup_salt_r): Return bool.
7645 * crypt/crypt-entry.c: Include errno.h.
7646 (__crypt_r): Return NULL with EINVAL for bad salt.
7647 * crypt/crypt_util.c (bad_for_salt): New.
7648 (_ufc_setup_salt_r): Check that salt is long enough and within
7649 the specified alphabet.
7650 * crypt/badsalttest.c: New file.
7651 * crypt/Makefile (tests): Add it.
7652 ($(objpfx)badsalttest): New.
7653
f96f1242
MK
76542012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7655
7656 * NEWS: Add entry for BZ #14602.
7657
0e8e0c1c
JM
76582012-10-09 Joseph Myers <joseph@codesourcery.com>
7659
7660 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7661 type-generic.
7662 * math/libm-test.inc: Update comment listing what functions and
7663 macros are tested.
7664 (isgreater_test): New function.
7665 (isgreaterequal_test): Likewise.
7666 (isless_test): Likewise.
7667 (islessequal_test): Likewise.
7668 (islessgreater_test): Likewise.
7669 (isunordered_test): Likewise.
7670 (main): Call the new functions.
7671
273edc5e
RM
76722012-10-09 Roland McGrath <roland@hack.frob.com>
7673
b8493de0
RM
7674 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7675 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7676 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7677 * sysdeps/i386/configure: Regenerated.
7678 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7679 * sysdeps/mach/configure: Regenerated.
7680 * sysdeps/mach/hurd/configure: Regenerated.
7681 * sysdeps/powerpc/configure: Regenerated.
7682 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7683 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7684 * sysdeps/s390/s390-32/configure: Regenerated.
7685 * sysdeps/s390/s390-64/configure: Regenerated.
7686 * sysdeps/sh/configure: Regenerated.
7687 * sysdeps/sparc/configure: Regenerated.
7688 * sysdeps/unix/sysv/linux/configure: Regenerated.
7689 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7690 * sysdeps/x86_64/configure: Regenerated.
7691
273edc5e
RM
7692 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7693 defined. Don't check if MAP is NULL.
7694
c8450f70
JM
76952012-10-09 Joseph Myers <joseph@codesourcery.com>
7696
7697 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7698 (_G_stat64): Likewise.
7699 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7700 (_G_stat64): Likewise.
7701 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7702 instead of struct _G_stat64.
7703 * libio/fileops.c (mmap_remap_check): Likewise.
7704 (decide_maybe_mmap): Likewise.
7705 (_IO_new_file_seekoff): Likewise.
7706 (_IO_file_stat): Likewise.
7707 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7708 _G_off64_t.
7709 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7710 instead of struct _G_stat64.
7711 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7712
57e605ba
MK
77132012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7714
7715 [BZ #14602]
7716 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7717 Replace with ...
7718 (CHECK_EOL): New macro.
7719 (two_way_short_needle): Check beginning of haystack for EOL. Use
7720 CHECK_EOL.
7721 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7722 Replace with CHECK_EOL.
7723 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7724 Replace with CHECK_EOL.
7725
ef1bb361
JM
77262012-10-08 Joseph Myers <joseph@codesourcery.com>
7727
7728 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7729 type-generic.
7730 * math/libm-test.inc: Update comment listing what functions and
7731 macros are tested.
7732 (finite_test): New function.
7733 (isinf_test): Likewise.
7734 (isnan_test): Likewise.
7735 (fpclassify_test): Test subnormal input.
7736 (isfinite_test): Likewise.
7737 (isnormal_test): Likewise.
7738 (main): Call the new functions.
7739
55f11534
JN
77402012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7741
7742 [BZ #14660]
7743 * Makerules (%.dynsym): Force C locale when running
7744 $(OBJDUMP) --dynamic-syms.
7745
1ab29350
AS
77462012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7747
7748 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7749 <stdint.h>.
7750
f1ecb7ef
DM
77512012-10-06 David S. Miller <davem@davemloft.net>
7752
7753 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7754 upper 32-bits of the length value in %o2 since we use branch-on-register
7755 tests which consider the entire 64-bit register.
7756
5d41d91a
L
77572012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7758
7759 * string/test-strstr.c (check2): Add a test for page boundary.
7760
3baddb72
DM
77612012-10-05 David S. Miller <davem@davemloft.net>
7762
7763 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7764 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7765 file.
7766 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7767 sysdep_routines.
7768 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7769 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7770 and bzero when HWCAP_SPARC_CRYPTO is present.
7771
9cee5585
L
77722012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7773
d7e0dab9
L
7774 [BZ #14602]
7775 * string/test-strstr.c (check2): New function.
7776 (test_main): Call check2.
7777
03759f47
L
7778 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7779 and bug-strchr1.
7780 * string/bug-strcasestr1.c (do_test): Moved to ...
7781 * string/test-strcasestr.c (check1): Here. New function.
7782 (do_one_test): Break out result checking code into ...
7783 (check_result): This. New function.
7784 (do_one_test): Call check_result.
7785 (test_main): Call check1.
7786 * string/bug-strchr1.c (do_test): Moved to ...
7787 * string/test-strchr.c (check1): Here. New function.
7788 (do_one_test): Break out result checking code into ...
7789 (check_result): This. New function.
7790 (do_one_test): Call check_result.
7791 (test_main): Call check1.
7792 * string/bug-strstr1.c (main): Moved to ...
046f153e 7793 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7794 (do_one_test): Break out result checking code into ...
7795 (check_result): This. New function.
7796 (do_one_test): Call check_result.
7797 (test_main): Call check1.
7798 * string/bug-strcasestr1.c: Removed.
7799 * string/bug-strchr1.c: Likewise.
7800 * string/bug-strstr1.c: Likewise.
7801
53cea63e
L
7802 * elf/Makefile (dl-routines): Add hwcaps.
7803 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7804 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7805 (_dl_important_hwcaps): Moved to ...
7806 * elf/dl-hwcaps.c: Here. New file.
7807 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7808
9cee5585 7809 [BZ #14557]
bb859b06
L
7810 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7811 if IS_IN_rtld isn't defined.
7812
9cee5585
L
7813 * elf/dl-support.c (_dl_sysinfo_map): New.
7814 Include "get-dynamic-info.h" and "setup-vdso.h".
7815 (_dl_non_dynamic_init): Call setup_vdso.
7816 * elf/dynamic-link.h: Don't include <assert.h>.
7817 (elf_get_dynamic_info): Moved to ...
7818 * elf/get-dynamic-info.h: Here. New file.
7819 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7820 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7821 * elf/setup-vdso.h: Here. New file.
7822 * elf/rtld.c: Include "setup-vdso.h".
7823 (dl_main): Call setup_vdso.
7824
23c31b76
JM
78252012-10-05 Joseph Myers <joseph@codesourcery.com>
7826
28234b07
JM
7827 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7828 creal in comment listing functions tested. List finite, isinf,
7829 isnan, isless, islessequal, isgreater, isgreaterequal,
7830 islessgreater, isunordered, lgamma_r and pow10 as functions and
7831 macros not tested. Mention which functions not tested are aliases
7832 for other functions. Fix typo. Note that signs of NaNs are not
7833 tested.
7834
23c31b76
JM
7835 * scripts/config.guess: Update from config.git.
7836 * scripts/config.sub: Likewise.
7837
9043e228
RM
78382012-10-04 Roland McGrath <roland@hack.frob.com>
7839
7840 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7841 * misc/madvise.c (madvise): Renamed to __madvise.
7842 Make madvise a weak alias.
7843 * include/sys/mman.h: Declare __madvise.
7844 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7845 * sysdeps/unix/syscalls.list
7846 (madvise): Make __madvise the strong name, and madvise a weak alias.
7847 * sysdeps/unix/sysv/linux/syscalls.list
7848 (madvise, mmap): Remove redundant entries.
7849 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7850 * malloc/malloc.c (mtrim): Likewise.
7851 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7852
f57f8055
RM
78532012-10-03 Roland McGrath <roland@hack.frob.com>
7854
7855 * sysdeps/mach/hurd/dl-cache.c: File removed.
7856 * config.h.in (USE_LDCONFIG): New #undef.
7857 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7858 * configure: Regenerated.
7859 * elf/Makefile (dl-routines): Add dl-cache only under
7860 [$(use-ldconfig) = yes].
7861 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7862 cache on [USE_LDCONFIG].
7863 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7864 [USE_LDCONFIG].
7865 * elf/rtld.c (dl_main): Likewise.
7866
5bb0c10a
PT
78672012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7868
7869 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7870 _SC_LEVEL4_CACHE_LINESIZE.
7871
010188c6
RM
78722012-10-03 Roland McGrath <roland@hack.frob.com>
7873
7874 * sysdeps/unix/bsd/confstr.h: File removed.
7875
b6c5ec07
AO
78762012-10-02 Alexandre Oliva <aoliva@redhat.com>
7877
7878 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7879 sys/sdt-config.h.
7880
408223d4
RM
78812012-10-02 Roland McGrath <roland@hack.frob.com>
7882
7883 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7884 Make 'mapoff' field ElfW(Off) rather than off_t.
7885
bb9510dc
DL
78862012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7887
fc997c6e
DL
7888 * nscd/Makefile: Remove nscd-cflags and all its users.
7889 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7890 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7891
bb9510dc
DL
7892 [BZ #10631]
7893 * malloc.c (malloc_printerr): Clarify error message.
7894
05699367
L
78952012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7896
7897 [BZ #14648]
7898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7899 Set bit_FMA_Usable if FMA is supported.
7900 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7901 macro.
7902 (bit_FMA4_Usable): Updated.
7903 (index_FMA_Usable): New macro.
7904 (CPUID_FMA): Likewise
7905 (HAS_FMA): Defined with bit_FMA_Usable.
7906
51367701
RM
79072012-10-01 Roland McGrath <roland@hack.frob.com>
7908
7909 * bits/types.h (__swblk_t): Type removed.
7910 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7911 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7912 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7913 (__SWBLK_T_TYPE): Likewise.
7914 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7915 (__SWBLK_T_TYPE): Likewise.
7916 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7917 (__SWBLK_T_TYPE): Likewise.
7918 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7919 (__SWBLK_T_TYPE): Likewise.
7920
4d57bf63 79212012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7922 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7923
7924 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7925 (xdr_mapname): Use YPMAXMAP as maxsize.
7926 (xdr_peername): Use YPMAXPEER as maxsize.
7927 (xdr_keydat): Use YPAXRECORD as maxsize.
7928 (xdr_valdat): Use YPMAXRECORD as maxsize.
7929
93c65d43
RM
79302012-10-01 Roland McGrath <roland@hack.frob.com>
7931
497a03d6
RM
7932 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7933
93c65d43
RM
7934 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7935 * csu/init-first.c: ... here.
7936 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7937 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7938 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7939 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7940 * sysdeps/i386/init-first.c: File removed.
7941 * sysdeps/sh/init-first.c: File removed.
7942
bec749fd
JM
79432012-10-01 Joseph Myers <joseph@codesourcery.com>
7944
7945 [BZ #14645]
7946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7947 if x * y might underflow to zero and z is zero.
7948 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7949 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7950 * math/libm-test.inc (min_subnorm_value): New variable.
7951 (fma_test): Add more tests.
7952 (fma_test_towardzero): Likewise.
7953 (fma_test_downward): Likewise
7954 (fma_test_upward): Likewise.
7955 (initialize): Set min_subnorm_value.
7956
8ec5b013
JM
79572012-09-29 Joseph Myers <joseph@codesourcery.com>
7958
7959 [BZ #14638]
7960 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7961 0 + 0.
7962 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7963 mode for addition resulting in exact zero.
7964 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7965 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7966 exact 0 + 0.
7967 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7968 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7969 * math/libm-test.inc (fma_test): Add more tests.
7970 (fma_test_towardzero): New function.
7971 (fma_test_downward): Likewise.
7972 (fma_test_upward): Likewise.
7973 (main): Call the new functions.
7974
b1fa802e
DM
79752012-09-28 David S. Miller <davem@davemloft.net>
7976
7977 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7978
d3b9fd9e
RM
79792012-09-28 Roland McGrath <roland@hack.frob.com>
7980
ea4d37b3
RM
7981 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7982 instead of SIGALRM.
7983
ac51c949
RM
7984 * sysdeps/gnu/_G_config.h: Moved to ...
7985 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7986 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7987 * sysdeps/generic/_G_config.h: ... here.
7988
28c195f7
RM
7989 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7990
848917f9
RM
7991 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7992
6bacf05b
RM
7993 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7994 Conditionalize target on [libnss_test1.so-version].
7995
91363dbb
RM
7996 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7997
cc87f7d8
RM
7998 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7999 (elfobjdir): Move out of conditionals.
8000
b1c608fe
RM
8001 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8002 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8003 (__nss_lookup_function): Conditionalize label remove_from_tree on
8004 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8005
1d9a6d96
DM
80062012-09-28 David S. Miller <davem@davemloft.net>
8007
8008 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8009 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8010 file.
8011 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8012 sysdep_routines.
8013 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8014 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8015 when HWCAP_SPARC_CRYPTO is present.
8016
72581615
PT
80172012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8018
8019 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8020
715a900c
JL
80212012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8022
8023 [BZ #6530]
8024 * stdio-common/vfprintf.c (process_string_arg): Revert
8025 2000-07-22 change.
8026
80272011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8028
8029 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8030 for testcase.
8031 * stdio-common/tst-sprintf.c: Include <locale.h>
8032 (main): Test sprintf's handling of incomplete multibyte
8033 characters.
8034
9bac1d86
L
80352012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8036
8037 * elf/dl-runtime.c (VERSYMIDX): Removed.
8038 * elf/dl-version.c (VERSYMIDX): Likewise.
8039 * elf/do-rel.h (VERSYMIDX): Likewise.
8040 (VALIDX): Likewise.
8041 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8042 * elf/rtld.c (VALIDX): Likewise.
8043 (ADDRIDX): Likewise.
9bac1d86
L
8044 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8045 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8046 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8047 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8048 (VALIDX): Likewise.
8049 (ADDRIDX): Likewise.
9bac1d86 8050
b31606c0
PT
80512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8052
8053 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8054
11541177
JL
80552012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8056
8057 [BZ #11438]
8058 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8059 to global scope.
8060 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8061 addresses are in the same scope as 192.0.2/24.
8062 * posix/gai.conf: Document new scope table defaults.
8063
adb26fae
SP
80642012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8065
8066 [BZ #5298]
8067 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8068 for ftell. Compute offsets from write pointers instead.
8069 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8070
4573c6b0
SP
80712012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8072
8073 [BZ #14543]
8074 * libio/Makefile (tests): New test case tst-fseek.
8075 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8076 combination works in wide mode.
8077 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8078 state when the external buffer state changes.
8079
aa9bbfe6
DM
80802012-09-27 David S. Miller <davem@davemloft.net>
8081
8082 [BZ #14376]
8083 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8084 pass reloc->r_addend in as the 'high' argument to
8085 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8086
784421e7
DM
8087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8088
c39bc8b8
PT
80892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8090
8091 * rt/tst-aio2.c: Include <pthread.h>.
8092 * rt/tst-aio3.c: Likewise.
8093
1ccc2399
SE
80942012-09-27 Steve Ellcey <sellcey@mips.com>
8095
8096 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8097
31ed4153
L
80982012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8099
25f5f885
L
8100 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8101 contents on [SHARED].
31ed4153 8102
b7bfe116
MP
81032012-09-26 Marek Polacek <polacek@redhat.com>
8104
8105 [BZ #14530]
8106 [BZ #13741]
8107 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8108 for C++ and GCC <4.3 as well as for non GCC compilers.
8109
43c4edba
MT
81102012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8111
8112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8113
6a1bf82f
RM
81142012-09-25 Roland McGrath <roland@hack.frob.com>
8115
8116 * Makefile.in (all, install): Declare with .PHONY.
8117 Reported by Michael Hope <michael.hope@linaro.org>.
8118
8ad11b9a
TMQMF
81192012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8120
8121 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8122 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8123 system header.
8124 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8125 Likewise.
8126 (sydep_routines): Add the new and the internal functions.
8127 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8128 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8130 (GLIBC_2.17): Add the new function.
8131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8132 (GLIBC_2.17): Likewise.
8133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8134 (GLIBC_2.17): Likewise.
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8136 (GLIBC_2.17): Likewise.
8137 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8138
7e2fca8d
AM
81392012-09-25 Alan Modra <amodra@gmail.com>
8140
8141 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8142 Add release barrier before setting once_control to say
8143 initialisation is done. Add hints on lwarx. Use macro in
8144 place of isync.
8145 (clear_once_control): Add release barrier.
8146
b87c4b24
JM
81472012-09-25 Joseph Myers <joseph@codesourcery.com>
8148
d032e0d2
JM
8149 [BZ #13629]
8150 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8151 specially.
8152 * math/s_clog10.c (__clog10): Likewise.
8153 * math/s_clog10f.c (__clog10f): Likewise.
8154 * math/s_clog10l.c (__clog10l): Likewise.
8155 * math/s_clogf.c (__clogf): Likewise.
8156 * math/s_clogl.c (__clogl): Likewise.
8157 * math/Makefile (libm-calls): Add x2y2m1.
8158 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8159 (__x2y2m1): Likewise.
8160 (__x2y2m1l): Likewise.
8161 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8162 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8163 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8164 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8165 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8166 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8167 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8168 * sysdeps/i386/fpu/libm-test-ulps: Update.
8169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8170
b87c4b24
JM
8171 [BZ #14621]
8172 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8173 int as type of variable DEPTH.
8174 (glob): Use size_t instead of int as type of variables NEWCOUNT
8175 and OLD_PATHC.
8176
6d3bf199
LD
81772012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8178
22bf5c17
LD
8179 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8180 Add s_sincosf-sse2.
8181 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8182 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8183 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8184 macros for using routine as __sincosf_ia32.
8185 Use macro for function declaration and weak_alias.
8186 * sysdeps/i386/fpu/libm-test-ulps: Update.
8187
8188 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8190
8191 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8192 subnormal argument.
8193 * math/s_cexpf.c (__cexpf): Likewise.
8194 * math/s_csinf.c (__csinf): Likewise.
8195 * math/s_csinhf.c (__csinhf): Likewise.
8196 * math/s_ctanf.c (__ctanf): Likewise.
8197 * math/s_ctanhf.c (__ctanhf): Likewise.
8198 * math/s_ccosh.c (__ccoshf): Likewise.
8199 * math/s_cexp.c (__cexpl): Likewise.
8200 * math/s_csin.c (__csin): Likewise.
8201 * math/s_csinh.c (__csinh): Likewise.
8202 * math/s_ctan.c (__ctan): Likewise.
8203 * math/s_ctanh.c (ctanh): Likewise.
8204 * math/s_ccoshl.c (__ccoshl): Likewise.
8205 * math/s_cexpl.c (__cexpl): Likewise.
8206 * math/s_csinl.c (__csinl): Likewise.
8207 * math/s_csinhl.c (__csinhl): Likewise.
8208 * math/s_ctanl.c (__ctanl): Likewise.
8209 * math/s_ctanhl.c (__ctanhl): Likewise.
8210
203e5603
JM
82112012-09-25 Joseph Myers <joseph@codesourcery.com>
8212
8213 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8214 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8215 (_IO_off_t): Define to __off_t, not _G_off_t.
8216 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8217 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8218 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8219 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8220 type of __dummy and __dummy2 fields.
8221 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8222 (_G_ssize_t): Likewise.
8223 (_G_off_t): Likewise.
8224 (_G_pid_t): Likewise.
8225 (_G_uid_t): Likewise.
8226 (_G_wchar_t): Likewise.
8227 (_G_wint_t): Likewise.
8228 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8229 (_G_ssize_t): Likewise.
8230 (_G_off_t): Likewise.
8231 (_G_pid_t): Likewise.
8232 (_G_uid_t): Likewise.
8233 (_G_wchar_t): Likewise.
8234 (_G_wint_t): Likewise.
8235 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8236 (_G_ssize_t): Likewise.
8237 (_G_off_t): Likewise.
8238 (_G_pid_t): Likewise.
8239 (_G_uid_t): Likewise.
8240 (_G_wchar_t): Likewise.
8241 (_G_wint_t): Likewise.
8242
9fab36eb
SP
82432012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8244
8245 * malloc/arena.c: Include malloc-sysdep.h.
8246 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8247 is sufficient to shrink the heap or an unmap is needed.
8248 * sysdeps/generic/malloc-sysdep.h: New file. Define
8249 new function check_may_shrink_heap.
8250 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8251 new function check_may_shrink_heap.
8252
2b4f00d1
SP
82532012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8254
8255 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8256 comments.
8257
9a9028b1
DL
82582012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8259
57c69bef
DL
8260 * catgets/test-gencat.sh: Add "set -e".
8261 * elf/tst-pathopt.sh: Likewise.
8262 * grp/tst_fgetgrent.sh: Likewise.
8263 * iconvdata/run-iconv-test.sh: Likewise.
8264 * intl/tst-gettext.sh: Likewise.
8265 * intl/tst-gettext2.sh: Likewise.
8266 * intl/tst-gettext4.sh: Likewise.
8267 * intl/tst-gettext6.sh: Likewise.
8268 * intl/tst-translit.sh: Likewise.
8269 * io/ftwtest-sh: Likewise.
8270 * libio/test-freopen.sh: Likewise.
8271 * malloc/tst-mtrace.sh: Likewise.
8272 * posix/globtest.sh: Likewise.
8273 * posix/tst-getconf.sh: Likewise.
8274 * posix/wordexp-tst.sh: Likewise.
8275 * stdio-common/tst-printf.sh: Likewise.
8276 * stdio-common/tst-unbputc.sh: Likewise.
8277 * stdlib/tst-fmtmsg.sh: Likewise.
8278 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8279 * catgets/Makefile: Do not specify -e option when running
8280 testsuite shell scripts.
8281 * elf/Makefile: Likewise.
8282 * grp/Makefile: Likewise.
8283 * iconvdata/Makefile: Likewise.
8284 * intl/Makefile: Likewise.
8285 * io/Makefile: Likewise.
8286 * libio/Makefile: Likewise.
8287 * malloc/Makefile: Likewise.
8288 * posix/Makefile: Likewise.
8289 * stdio-common/Makefile: Likewise.
8290 * stdlib/Makefile: Likewise.
8291 * sysdeps/x86_64/Makefile: Likewise.
8292
9a9028b1
DL
8293 * io/ftwtest-sh: Add copyright header.
8294 * posix/globtest.sh: Likewise.
8295 * posix/tst-getconf.sh: Likewise.
8296 * posix/wordexp-tst.sh: Likewise.
8297 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8298
ced6f16e
L
82992012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8300
94b32c39
L
8301 [BZ #13679]
8302 * Makeconfig (+link): Defined as $(+link-static) if
8303 $(build-shared) isn't yes.
8304 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8305 isn't yes.
8306 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8307
189e935b
L
8308 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8309
ced6f16e
L
8310 [BZ #14562]
8311 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8312 new chunk size with MALLOC_ALIGN_MASK.
8313
a9f8e53a
JM
83142012-09-24 Joseph Myers <joseph@codesourcery.com>
8315
8316 [BZ #5044]
8317 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8318 <rounding-mode.h>.
8319 (__printf_fphex): Determine rounding using get_rounding_mode and
8320 round_away.
8321 * stdio-common/tst-printf-round.c (struct hex_test): New
8322 structure.
8323 (hex_tests): New variable.
8324 (test_hex_in_one_mode): New function.
8325 (do_test): Also run tests for hex float output.
8326
43153109
JM
83272012-09-21 Joseph Myers <joseph@codesourcery.com>
8328
8329 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8330 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8331 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8332 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8333 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8334 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8335 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8336 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8337
8a26625d
JM
83382012-09-20 Joseph Myers <joseph@codesourcery.com>
8339
8340 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8341 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8342 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8343 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8344
f3fd569c
DL
83452012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8346
8347 [BZ #14579]
8348 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8349 mode only.
8350 * elf/tst-rtld-load-self.sh: New test.
8351 * elf/Makefile: Run it.
8352
63bbedd4
JM
83532012-09-18 Joseph Myers <joseph@codesourcery.com>
8354
8355 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8356 (tst-writev-ENV): Remove.
8357 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8358
626f8b6a
CM
83592012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8360
8361 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8362
b7aaa4d6
JM
83632012-09-17 Joseph Myers <joseph@codesourcery.com>
8364
8365 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8366 unconditional.
8367 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8368 Likewise.
8369 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8370 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8371 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8372 Likewise.
8373
65513990
L
83742012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8375
8376 [BZ #14587]
8377 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8378 * config.make.in (have-cpp-asm-debuginfo): Removed.
8379 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8380 * configure: Regenerated.
8381
784761be
JM
83822012-09-14 Joseph Myers <joseph@codesourcery.com>
8383
8384 [BZ #5044]
8385 * stdio-common/printf_fp.c: Include <stdbool.h> and
8386 <rounding-mode.h>.
8387 (___printf_fp): Determine rounding using get_rounding_mode and
8388 round_away.
8389 * stdio-common/tst-printf-round.c: New file.
8390 * stdio-common/Makefile (tests): Add tst-printf-round.
8391 (link-libm): New variable.
8392 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8393
9503345f
L
83942012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8395
8396 [BZ #14576]
8397 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8398 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8399 Likewise.
8400 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8401 Likewise.
8402
ad35fc00
JM
84032012-09-13 Joseph Myers <joseph@codesourcery.com>
8404
8405 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8406 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8407 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8408 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8409
6c9b0f68
JM
84102012-09-12 Joseph Myers <joseph@codesourcery.com>
8411
8412 [BZ #14518]
8413 * include/rounding-mode.h: New file.
8414 * sysdeps/generic/get-rounding-mode.h: Likewise.
8415 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8416 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8417 (MAX_VALUE): New macro.
8418 (MIN_VALUE): Likewise.
8419 (overflow_value): New function.
8420 (underflow_value): Likewise.
8421 (round_and_return): Use overflow_value and underflow_value to
8422 determine return values in overflow and underflow cases. Use
8423 round_away to determine rounding depending on rounding mode.
8424 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8425 determine return values in overflow and underflow cases.
8426 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8427 (struct test_results): New structure.
8428 (struct test): Use struct test_results to store expected results
8429 for all rounding modes.
8430 (TEST): Include expected results for all rounding modes.
8431 (test_in_one_mode): New function.
8432 (do_test): Use test_in_one_mode to compute and check results.
8433 Check results for all rounding modes.
8434 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8435 $(link-libm).
8436
19fcedd5
AM
84372012-12-09 Allan McRae <allan@archlinux.org>
8438
1e9d84cd 8439 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8440
8bbfd2f1
JM
84412012-09-11 Joseph Myers <joseph@codesourcery.com>
8442
8443 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8444 (_G_int32_t): Likewise.
8445 (_G_uint16_t): Likewise.
8446 (_G_uint32_t): Likewise.
8447 (_G_HAVE_BOOL): Likewise.
8448 (_G_HAVE_ATEXIT): Likewise.
8449 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8450 (_G_HAVE_IO_FILE_OPEN): Likewise.
8451 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8452 (_G_int32_t): Likewise.
8453 (_G_uint16_t): Likewise.
8454 (_G_uint32_t): Likewise.
8455 (_G_HAVE_BOOL): Likewise.
8456 (_G_HAVE_ATEXIT): Likewise.
8457 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8458 (_G_HAVE_IO_FILE_OPEN): Likewise.
8459 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8460 (_G_int32_t): Likewise.
8461 (_G_uint16_t): Likewise.
8462 (_G_uint32_t): Likewise.
8463 (_G_HAVE_BOOL): Likewise.
8464 (_G_HAVE_ATEXIT): Likewise.
8465 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8466 (_G_HAVE_IO_FILE_OPEN): Likewise.
8467
b1dc5912
L
84682012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8469
8470 * csu/libc-tls.c: Update copyright years.
8471
0e886ef9
JM
84722012-09-10 Joseph Myers <joseph@codesourcery.com>
8473
28361c5e
JM
8474 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8475 [!_G_USING_THUNKS]: Remove conditional code.
8476 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8477 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8478
0e886ef9
JM
8479 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8480 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8481 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8482 (_G_VTABLE_LABEL_PREFIX): Likewise.
8483 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8484 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8485 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8486 (_G_VTABLE_LABEL_PREFIX): Likewise.
8487 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8488 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8489 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8490 (_G_VTABLE_LABEL_PREFIX): Likewise.
8491 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8492
bcba7aa2
L
84932012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8494
8495 * libio/Makefile: Include ../Makeconfig before tests.
8496 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8497 only if $(build-shared) is yes.
8498
06585ee8
L
8499 * iconv/gconv_db.c: Update copyright years.
8500
80ccd52c
LD
85012012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8502
8503 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8504 unwind info if defined PIC. Fix special cases description.
8505 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8506
8507 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8508 DP_HI_MASK entry.
8509 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8510
691bc9c1
L
85112012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8512
3d9b46b3
L
8513 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8514
de2139a9
L
8515 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8516 is NULL.
8517
5ca78dd0
L
8518 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8519 (LDLIBS-tst-chk4): This.
8520 (LDFLAGS-tst-chk5): Renamed to ...
8521 (LDLIBS-tst-chk5): This.
8522 (LDFLAGS-tst-chk6): Renamed to ...
8523 (LDLIBS-tst-chk6): This.
8524 (LDFLAGS-tst-lfschk4): Renamed to ...
8525 (LDLIBS-tst-lfschk4): This.
8526 (LDFLAGS-tst-lfschk5): Renamed to ...
8527 (LDLIBS-tst-lfschk5): This.
8528 (LDFLAGS-tst-lfschk6): Renamed to ...
8529 (LDLIBS-tst-lfschk6): This.
8530
691bc9c1
L
8531 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8532 on $(common-objpfx)soversions.mk.
8533
65cafb1c
JM
85342012-09-07 Joseph Myers <joseph@codesourcery.com>
8535
8536 [BZ #10014]
8537 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8538 example host name.
8539
c78ab094
SP
85402012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8541
8542 * malloc/arena.c (arena_get_retry): New function that gets
8543 another arena for the caller to try its request on.
8544 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8545 current arena cannot fulfill the request.
8546 (__libc_memalign): Likewise.
8547 (__libc_memalign): Likewise.
8548 (__libc_pvalloc): Likewise.
8549 (__libc_calloc): Likewise.
8550
01f49f59
JT
85512012-09-05 John Tobey <john.tobey@gmail.com>
8552
8553 [BZ #13542]
8554 * manual/arith.texi (Operations on Complex): Fix description
8555 of carg branch cut.
8556
4c23fed5
JM
85572012-09-06 Joseph Myers <joseph@codesourcery.com>
8558
1d3c8572
JM
8559 [BZ #10014]
8560 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8561 host name.
8562
4c23fed5
JM
8563 [BZ #10038]
8564 * manual/memory.texi (Memory): Make order of menu items match
8565 order of sections.
8566
04570aaa
L
85672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8568
8569 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8570 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8571 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8572
b80af2f4
L
85732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8574
8575 * csu/libc-tls.c (static_dtv): Renamed to ...
8576 (_dl_static_dtv): This. Make it global.
8577 (_dl_initial_dtv): Removed.
8578 (__libc_setup_tls): Updated.
8579 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8580 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8581 DL_INITIAL_DTV.
8582
2abe9f15
PM
85832012-09-06 Petr Machata <pmachata@redhat.com>
8584
8585 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8586 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8587 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8588 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8589
0948c3af
L
85902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8591
8592 [BZ #14545]
8593 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8594 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8595 freeing dtv[-1].
8596
a5055ad1
L
85972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8598
8599 [BZ #14544]
8600 * Makeconfig (link-static-before-libc): Replace $(+prector)
8601 with $(+prectorT).
8602 (link-static-after-libc): Replace $(+postctor) with
8603 $(+postctorT).
8604 (link-bounded): Replace $(+prector)/$(+postctor) with
8605 $(+prectorT)/$(+postctorT).
8606 (+prectorT): New macro.
8607 (+postctorT): Likewise.
8608
ed8c2ecd
JM
86092012-09-06 Joseph Myers <joseph@codesourcery.com>
8610
8611 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8612 (round_str): Handle values above the maximum for IBM long double
8613 as inexact.
8614 * stdlib/tst-strtod-round.c (tests): Regenerated.
8615
14c996c8
AK
86162012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8617
8618 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8619 assembler flag.
8620 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8621 zarch_nohighgprs around the zarch optimized routines.
8622 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8623 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8624 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8625 for zarch.
8626
430d6ce6
DM
86272012-09-05 David S. Miller <davem@davemloft.net>
8628
8629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8630
ff04dda4
DM
8631 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8632 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8633 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8634 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8635 entries.
8636
24d4e01b
AO
86372012-09-05 Alexandre Oliva <aoliva@redhat.com>
8638
8639 * malloc/arena.c: Fold copyright years.
8640 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8641
61d58174
AO
86422012-09-05 Alexandre Oliva <aoliva@redhat.com>
8643
8644 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8645
20196a5e
AO
86462012-09-05 Alexandre Oliva <aoliva@redhat.com>
8647
8648 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8649
5c447383
AO
86502012-09-05 Alexandre Oliva <aoliva@redhat.com>
8651
8652 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8653 change internal state upon failure.
8654
fad64255
AO
86552012-09-05 Alexandre Oliva <aoliva@redhat.com>
8656
8657 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8658 * malloc/memusage.c (mmap): Likewise.
8659 (mmap64, mremap): Likewise. Adjust name in comment.
8660
1ffb8c90
SP
86612012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8662
8663 * libio/fileops.c: Fix typos in comments.
8664 * libio/oldfileops.c: Likewise.
8665 * libio/wfileops.c: Likewise.
8666
6ef9cc37
SP
86672012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8668
8669 [BZ #1349]
8670 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8671 (tst-malloc-usable-ENV): Set environment for test case.
8672 * malloc/hooks.c (malloc_check_get_size): New function to get
8673 requested size.
8674 * malloc/malloc.c (musable): Use malloc_check_get_size.
8675 * malloc/tst-malloc-usable.c: New test case.
8676
4d038ae3
AS
86772012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8678
8679 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8680
c4e85184
AM
86812012-09-05 Allan McRae <allan@archlinux.org>
8682
b9dafc56 8683 [BZ #13966]
c4e85184
AM
8684 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8685 determine header location.
8686 * configure: Regenerated.
8687
e1343020
AS
86882012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8689
8690 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8691 float format.
8692 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8693 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8694 format.
e1343020
AS
8695 (test): Regenerate.
8696
0a9f1987
DM
86972012-09-04 David S. Miller <davem@davemloft.net>
8698
8699 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8700 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8701 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8702
29237804
FW
87032012-09-04 Florian Weimer <fweimer@redhat.com>
8704
8705 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8706 failures.
8707
edb3cb88
FW
8708 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8709
60160d83
JM
87102012-09-04 Joseph Myers <joseph@codesourcery.com>
8711
8712 [BZ #9914]
8713 * libio/iogetdelim.c: Include <limits.h>.
8714 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8715 + len + 1 would overflow.
8716
bcd6c8dc
AJ
87172012-09-03 Andreas Jaeger <aj@suse.de>
8718
8719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8720 * sysdeps/i386/fpu/libm-test-ulps: Update.
8721
4ffffbd2
LD
87222012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8723
8724 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8725 Add s_sinf-sse2, s_conf-sse2.
8726
8727 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8728 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8729 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8730 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8731
8732 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8733 for using routine as __sinf_ia32.
8734 Use macro for function declaration and weak_alias.
8735 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8736 for using routine as __cosf_ia32.
8737 Use macro for function declaration and weak_alias.
8738
8739 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8740 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8741
8742 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8743 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8745
8746 * math/libm-test.inc (cos_test): Add more test cases.
8747 (sin_test): Likewise.
8748 (sincos_test): Likewise.
8749
511fa286
AK
87502012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8751
8752 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8753 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8754 hidden.
8755 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8756
5f30cfec
L
87572012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8758
8759 [BZ #14538]
8760 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8761 first element of the GOT.
8762 (elf_machine_load_address): Return the difference between
8763 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8764
0786794f
AM
87652012-09-01 Allan McRae <allan@archlinux.org>
8766
5f30cfec
L
8767 [BZ #13412]
8768 * configure.in (AWK): Require gawk version 3.0 or later.
8769 * configure: Regenerated.
0786794f 8770
26889eac
JM
87712012-09-01 Joseph Myers <joseph@codesourcery.com>
8772
8773 * sysdeps/unix/sysv/linux/kernel-features.h
8774 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8775 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8776 [__NR_clock_getres]: Make code unconditional.
8777 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8778 (clock_getcpuclockid): Remove code left unreachable by removal of
8779 conditionals.
8780 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8781 code unconditional.
8782 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8783 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8784 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8785 Make code unconditional.
8786 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8787 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8788 * sysdeps/unix/sysv/linux/clock_settime.c
8789 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8790 conditional code.
8791 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8792 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8793
d22e28b0
L
87942012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8795
8796 [BZ #14476]
8797 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8798 scripts/test-installation.pl.
8799
8800 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8801 and $ld_so_version if it is set.
8802
050af9c4
SP
88032012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8804
8805 [BZ #14516]
8806 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8807 failure if reading from procfs failed.
8808 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8809
ad845c0b
JM
88102012-08-27 Joseph Myers <joseph@codesourcery.com>
8811
8812 * sysdeps/unix/sysv/linux/kernel-features.h
8813 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8814 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8815 Remove conditional code.
8816 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8817 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8818 Remove conditional code.
8819 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8820 * sysdeps/unix/sysv/linux/i386/fxstat.c
8821 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8822 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8823 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8824 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8825 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8826 * sysdeps/unix/sysv/linux/i386/lxstat.c
8827 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8828 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8829 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8830 Remove conditional code.
8831 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8832 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8833 Remove conditional code.
8834 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8835 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8836 <kernel-features.h>.
8837 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8838 Remove.
8839 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8840 Remove conditional code.
8841 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8842 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8843 Remove conditional.
8844
5dbf56af
MF
88452012-08-27 Mike Frysinger <vapier@gentoo.org>
8846
8847 [BZ #5400]
8848 * NEWS: Add fixed bug number.
8849
d6e70f43
JM
88502012-08-27 Joseph Myers <joseph@codesourcery.com>
8851
7efb4737
JM
8852 [BZ #14519]
8853 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8854 underflowing exponent in case of negative sign.
8855 * stdlib/tst-strtod-round-data: Add more tests.
8856 * stdlib/tst-strtod-round.c (tests): Regenerated.
8857
af92131a
JM
8858 [BZ #3479]
8859 * stdlib/strtod_l.c (NDIG): Remove.
8860 (HEXNDIG): Likewise.
8861 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8862 smallest representable value.
8863 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8864 lie within an exact representation of 1/2 ulp of the result.
8865 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8866 unconditionally.
8867 (TENS_P9_IDX): Define unconditionally.
8868 (TENS_P9_SIZE): Likewise.
8869 (TENS_P10_IDX): Likewise.
8870 (TENS_P10_SIZE): Likewise.
8871 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8872 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8873 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8874 entries for 10^2^13 and 10^2^14.
8875 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8876 (TENS_P13_IDX): Define.
8877 (TENS_P13_SIZE): Likewise.
8878 (TENS_P14_IDX): Likewise.
8879 (TENS_P14_SIZE): Likewise.
8880 (_fpioconst_pow10): Change array size to
8881 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8882 unconditional.
8883 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8884 1024]: Add entries for 10^2^13 and 10^2^14.
8885 [LAST_POW10 > _LAST_POW10]: Remove #error.
8886 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8887 (_fpioconst_pow10): Change array size to
8888 FPIOCONST_POW10_ARRAY_SIZE.
8889 * stdlib/gen-fpioconst.c: New file.
8890 * stdlib/gen-tst-strtod-round.c: Likewise.
8891 * stdlib/tst-strtod-round-data: Likewise.
8892 * stdlib/tst-strtod-round.c: Likewise.
8893 * stdlib/Makefile (tests): Add tst-strtod-round.
8894
d6e70f43
JM
8895 [BZ #14459]
8896 * stdlib/strtod_l.c: Include <stdint.h>.
8897 (NDEBUG): Do not define.
8898 (round_and_return): Change EXPONENT parameter to type intmax_t.
8899 Rearrange calculations to avoid internal overflow possibilities.
8900 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8901 Rearrange calculations to avoid internal overflow possibilities.
8902 Assert that number fits inside MPNSIZE limbs.
8903 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8904 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8905 calculations and add assertions to avoid internal overflow
8906 possibilities. Add casts to avoid signed/unsigned operations.
8907 * stdlib/tst-strtod-overflow.c: New file.
8908 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8909
1f529f7d
MP
89102012-08-25 Marek Polacek <polacek@redhat.com>
8911
8912 * time/time.h: Fix some typos in comments.
8913
59a629f1
RM
89142012-08-23 Roland McGrath <roland@hack.frob.com>
8915
8916 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8917 * posix/tst-rfc3484-2.c: Likewise.
8918 * posix/tst-rfc3484-3.c: Likewise.
8919
d3bafbc9
SM
89202012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8921
8922 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8923 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8924
4efcc022
JM
89252012-08-23 Joseph Myers <joseph@codesourcery.com>
8926
8927 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8928 #include of fxstatat64.c.
8929
3cc3ef96
RM
89302012-08-22 Roland McGrath <roland@hack.frob.com>
8931
f04e2132
RM
8932 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8933 * shadow/getspent_r.c: Likewise.
8934 * shadow/getspnam.c: Likewise.
8935 * shadow/getspnam_r.c: Likewise.
8936 * gshadow/getsgent.c: Likewise.
8937 * gshadow/getsgent_r.c: Likewise.
8938 * gshadow/getsgnam.c: Likewise.
8939 * gshadow/getsgnam_r.c: Likewise.
8940 * inet/getnetbyad.c: Likewise.
8941 * inet/getnetbyad_r.c: Likewise.
8942 * inet/getnetbynm.c: Likewise.
8943 * inet/getnetbynm_r.c: Likewise.
8944 * inet/getnetent.c: Likewise.
8945 * inet/getnetent_r.c: Likewise.
8946 * inet/getproto.c: Likewise.
8947 * inet/getproto_r.c: Likewise.
8948 * inet/getprtent.c: Likewise.
8949 * inet/getprtent_r.c: Likewise.
8950 * inet/getprtname.c: Likewise.
8951 * inet/getprtname_r.c: Likewise.
8952 * inet/getrpcbyname.c: Likewise.
8953 * inet/getrpcbyname_r.c: Likewise.
8954 * inet/getrpcbynumber.c: Likewise.
8955 * inet/getrpcbynumber_r.c: Likewise.
8956 * inet/getrpcent.c: Likewise.
8957 * inet/getrpcent_r.c: Likewise.
8958 * inet/getaliasent.c: Likewise.
8959 * inet/getaliasent_r.c: Likewise.
8960 * inet/getaliasname.c: Likewise.
8961 * inet/getaliasname_r.c: Likewise.
8962 * nscd/getgrgid_r.c: Likewise.
8963 * nscd/getgrnam_r.c: Likewise.
8964 * nscd/gethstbyad_r.c: Likewise.
8965 * nscd/gethstbynm3_r.c: Likewise.
8966 * nscd/getpwnam_r.c: Likewise.
8967 * nscd/getpwuid_r.c: Likewise.
8968 * nscd/getsrvbynm_r.c: Likewise.
8969 * nscd/getsrvbypt_r.c: Likewise.
8970 * nscd/gai.c: Likewise.
8971
c53d909c
RM
8972 * configure.in (build_nscd): New substituted variable, set
8973 by --disable-build-nscd and defaults to $use_nscd.
8974 * configure: Regenerated.
8975 * config.make.in (build-nscd): New substituted variable.
8976 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8977 Change conditional to require [$(build-nscd) = yes] as well.
8978 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8979
3cc3ef96
RM
8980 [BZ# 13696]
8981 * configure.in (use_nscd): New substituted variable, set by
8982 --disable-nscd. If enabled, define USE_NSCD.
8983 * configure: Regenerated.
8984 * config.h.in: Add USE_NSCD.
8985 * config.make.in (use-nscd): New substituted variable.
8986 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8987 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8988 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8989 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8990 (CFLAGS-getgrnam_r.c): Likewise.
8991 (CFLAGS-initgroups.c): Likewise.
8992 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8993 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8994 Variables removed.
8995 * inet/getnetgrent_r.c
8996 (nscd_setnetgrent): New function, broken out of ...
8997 (setnetgrent): ... here. Call it.
8998 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8999 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9000 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9001 * nscd/Makefile (routines, aux): Move definitions after include of
9002 Makeconfig. Conditionalize on [$(use-nscd) != no].
9003 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9004 Conditionalize on [USE_NSCD].
9005 (is_nscd, nscd_init_cb): Likewise.
9006 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9007 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9008 * nss/nss_db/db-init.c: Likewise.
9009 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9010 [USE_NSCD].
9011 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9012 (make_request): Use it.
9013 (cache_valid_p): New function.
9014 (__check_pf): Use it.
9015 * NEWS: Add item for --disable-nscd.
9016
07e51550
DL
90172012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9018
9019 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9020 to support sed >= 4.2.1-20-ga9bf076.
9021 * configure: Regenerated.
9022
35a5b08b
RM
90232012-08-22 Roland McGrath <roland@hack.frob.com>
9024
9025 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9026 Conditionalize whole body on [IREL].
9027
8479f23a
JL
90282012-08-22 Jeff Law <law@redhat.com>
9029
9030 [BZ #14505]
9031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9032 if the family is PF_UNSPEC.
9033
48da0b21
MF
90342012-08-22 Mike Frysinger <vapier@gentoo.org>
9035
9036 * Makerules (lib-version): Rename from V.
9037 (install-lib-nosubdir): Change V to lib-version.
9038
15d0da8c
WS
90392012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9040
9041 [BZ #14252]
9042 * powerpc32/power6/wcschr.c: New file.
9043 * powerpc32/power6/wcscpy.c: New file.
9044 * powerpc32/power6/wcsrchr.c: New file.
9045 * powerpc64/power6/wcschr.c: New file.
9046 * powerpc64/power6/wcscpy.c: New file.
9047 * powerpc64/power6/wcsrchr.c: New file.
9048
bcca0895
MK
90492012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9050
9051 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9052 (two_way_short_needle): Use it.
5a4aaa33
RM
9053 * string/strstr.c (AVAILABLE1_USES_J): Define.
9054 * string/strcasestr.c: Likewise.
99677e57
MK
9055
9056 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9057 array references.
9058 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9059
400726de
MK
9060 [BZ #11607]
9061 * NEWS: Add an entry.
9062 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9063 define their defaults.
9064 (two_way_short_needle): Detect end-of-string on-the-fly.
9065 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9066 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9067 * string/bug-strcasestr1.c: New test.
9068 * string/Makefile: Run it.
9069
20a71f2c
MK
90702012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9071
9072 [BZ #11607]
9073 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9074 the first character.
9075
21ad0558
RM
90762012-08-21 Roland McGrath <roland@hack.frob.com>
9077
9078 * csu/elf-init.c (__libc_csu_irel): Function removed.
9079 * csu/libc-start.c (apply_irel): New function.
9080 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9081
0e1d9911
JM
90822012-08-21 Joseph Myers <joseph@codesourcery.com>
9083
9084 * sysdeps/unix/sysv/linux/kernel-features.h
9085 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9086 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9087 <kernel-features.h>.
9088 [__NR_fadvise64_64]: Make code unconditional.
9089 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9090 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9091 !__NR_fadvise64_64)]: Likewise.
9092 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9093 !__NR_fadvise64_64))]: Likewise.
9094 [__NR_fadvise64]: Make code unconditional.
9095 [!__NR_fadvise64]: Remove conditional code.
9096 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9097 <kernel-features.h>.
9098 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9099 unconditional.
9100 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9101 conditional code.
9102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9103 not include <kernel-features.h>.
9104 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9105 unconditional.
9106 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9107 conditional code.
9108 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9109 include <kernel-features.h>.
9110 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9111 unconditional.
9112 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9113 conditional code.
9114
14a50c9d
WS
91152012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9116
9117 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9118 slight instruction rearrangements per scrollpipe analysis.
9119 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9120
c0f4faf0
RM
91212012-08-20 Roland McGrath <roland@hack.frob.com>
9122
696da859
RM
9123 * manual/syslog.texi (syslog; vsyslog, closelog):
9124 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9125 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9126
c0f4faf0
RM
9127 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9128 DSOCAPS to match condition on defining it.
9129
348363b2
JM
91302012-08-20 Joseph Myers <joseph@codesourcery.com>
9131
a35cbf28
JM
9132 * sysdeps/unix/sysv/linux/kernel-features.h
9133 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9135 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9136 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9138 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9139 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9141 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9142 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9143
445f7ecd
JM
9144 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9145 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9146
348363b2
JM
9147 * sysdeps/unix/sysv/linux/kernel-features.h
9148 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9149 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9150 unconditional.
9151 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9152 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9153 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9154 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9155 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9156 Make code unconditional.
9157 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9158 (__mmap64) [!__NR_mmap2]: Likewise.
9159 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9160 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9161 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9162 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9163 [__NR_mmap2]: Make code unconditional.
9164 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9165 (__mmap64) [!__NR_mmap2]: Likewise.
9166
bc5bc0e5
AK
91672012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9168
9169 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9170
88d506de
AJ
91712012-08-18 Andreas Jaeger <aj@suse.de>
9172
9173 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9174
493387d2
MF
91752012-08-18 Mike Frysinger <vapier@gentoo.org>
9176
9177 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9178 * include/unistd.h (__have_sock_cloexec): Likewise.
9179 (__have_pipe2): Likewise.
9180 (__have_dup3): Likewise.
9181
a277af22
MF
91822012-08-18 Mike Frysinger <vapier@gentoo.org>
9183
9184 [BZ #9685]
9185 * include/unistd.h (__have_pipe2): Change define into an extern int.
9186 (__have_dup3): Likewise.
9187 * socket/have_sock_cloexec.c: Include fcntl.h.
9188 (__have_pipe2): New variable.
9189 (__have_dup3): Likewise.
9190
fdab8fd3
MF
91912012-08-17 Mike Frysinger <vapier@gentoo.org>
9192
9193 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9194
31035e80
MP
91952012-08-17 Marek Polacek <polacek@redhat.com>
9196
9197 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9198 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9199
3bd9e993
RM
92002012-08-17 Roland McGrath <roland@hack.frob.com>
9201
c91c505f
RM
9202 * configure.in: Add AC_SUBST for sysheaders.
9203 * configure: Regenerated.
9204 * config.make.in (sysheaders): New substituted variable.
9205
7c6f9d53
RM
9206 * sysdeps/unix/mkfifo.c: Moved ...
9207 * sysdeps/posix/mkfifo.c: ... here.
9208 * sysdeps/unix/mkfifoat.c: Moved ...
9209 * sysdeps/posix/mkfifoat.c: ... here.
9210
9211 * sysdeps/unix/utime.c: Moved ...
9212 * sysdeps/posix/utime.c: ... here.
9213
9214 * sysdeps/unix/time.c: Moved ...
9215 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9216 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9217 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9218
9219 * sysdeps/unix/nice.c: Moved ...
9220 * sysdeps/posix/nice.c: ... here.
9221
9222 * sysdeps/unix/alarm.c: Moved ...
9223 * sysdeps/posix/alarm.c: ... here.
9224
3bd9e993
RM
9225 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9226
d1f09384
JL
92272012-08-17 Jeff Law <law@redhat.com>
9228
9229 * intl/Makefile (codeset_mo): New variable.
9230 ($(codeset_mo)): New target.
9231 (tst-codeset.out): Depend on that. Remove explicit rule.
9232 (tst-gettext3.out, tst-gettext5.out): Likewise.
9233 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9234 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9235 * intl/tst-codeset.sh: Remove.
9236 * intl/tst-gettext3.sh: Likewise.
9237 * intl/tst-gettext5.sh: Likewise.
9238
2ae1ae5c
RM
92392012-08-17 Roland McGrath <roland@hack.frob.com>
9240
c31fdb83
RM
9241 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9242 * sysdeps/unix/syscalls.list: ... here.
9243
a0844057
RM
9244 * sysdeps/posix/getaddrinfo.c
9245 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9246 (gaiconf_init, gaiconf_reload): Use them.
9247 [!_STATBUF_ST_NSEC]
9248 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9249 Define using time_t rather than struct timespec.
9250
750c1f2a
RM
9251 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9252 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9253 Macros removed.
9254 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9255 [!NO_THREADS].
9256 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9257 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9258 Likewise.
9259
2ae1ae5c
RM
9260 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9261 __libc_cleanup_push argument.
9262
e66a42f5
RM
9263 * bits/param.h: New file.
9264 * misc/sys/param.h: New file.
9265 * include/sys/param.h: New file.
9266 * misc/Makefile (headers): Add bits/param.h.
9267 * sysdeps/generic/sys/param.h: File removed.
9268 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9269 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9270 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9271 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9272
b7c08a66
RM
9273 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9274 last change.
9275
b2e1c562
RM
9276 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9277 [_IO_MTSAFE_IO].
9278 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9279 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9280 New macros.
9281
c75ccd4c
RM
9282 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9283 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9284 rather than -D_IO_MTSAFE_IO conditionally.
9285 * stdio-common/Makefile (CPPFLAGS): Likewise.
9286 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9287 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9288 Use $(libio-mtsafe).
9289 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9290 of -D_IO_MTSAFE_IO.
9291 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9292 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9293 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9294 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9295 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9296 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9297 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9298 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9299 (CFLAGS-fread_u_chk.c): Likewise.
9300 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9301 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9302 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9303 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9304 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9305 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9306 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9307 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9308 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9309
9310 * libio/Makefile: Test [$(libc-reentrant) = yes]
9311 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9312
9313 * Makeconfig
9314 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9315 * sysdeps/pthread/configure: File removed.
9316 * sysdeps/pthread/Makeconfig: New file.
9317 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9318 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9319
d9195db8
GB
93202012-08-16 Gary Benson <gbenson@redhat.com>
9321
9322 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9323 unmapping the first object in a namespace.
9324
86466cd9
RM
93252012-08-16 Roland McGrath <roland@hack.frob.com>
9326
9327 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9328 (__internal_setnetgrent): ... this. Add internal_function to
9329 definition. Add libc_hidden_def.
9330 (setnetgrent): Update caller.
9331 (internal_endnetgrent): Renamed to ...
9332 (__internal_endnetgrent): ... this. Add internal_function to
9333 definition. Add libc_hidden_def.
9334 (endnetgrent): Update caller.
9335 (internal_getnetgrent_r): Renamed to ...
9336 (__internal_getnetgrent_r): ... this. Add internal_function to
9337 definition. Add libc_hidden_def.
9338 (__getnetgrent_r): Update caller.
9339 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9340
c3c8283c
JM
93412012-08-16 Joseph Myers <joseph@codesourcery.com>
9342
9343 * stdlib/longlong.h: Update from GCC.
9344
db1ee0a8
RM
93452012-08-16 Roland McGrath <roland@hack.frob.com>
9346
9347 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9348 on _QL, which is set by umul_ppmm but never used.
9349 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9350 variables, which are set by GMP macros but never used.
9351 * stdio-common/_itowa.c (_itowa): Likewise.
9352 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9353 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9354
30f69637
CD
93552012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9356
9357 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9358 struct La_sh_regs is not constant.
9359 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9360 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9361 and struct La_sparc64_regs are not constant.
9362
93a78ac4
JM
93632012-08-16 Joseph Myers <joseph@codesourcery.com>
9364
9365 * sysdeps/unix/sysv/linux/kernel-features.h
9366 (__ASSUME_POSIX_TIMERS): Remove.
9367 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9368 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9369 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9370 Make code unconditional.
9371 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9372 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9373 Make code unconditional.
9374 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9375 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9376 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9377 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9378 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9379 Make code unconditional.
9380 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9381 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9382 (__libc_missing_posix_timers): Remove.
9383
dd924cd7
RM
93842012-08-15 Roland McGrath <roland@hack.frob.com>
9385
4b4f2771
RM
9386 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9387 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9388
601c888b
RM
9389 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9390
176790a7
RM
9391 * elf/dl-sym.c: Include <stdlib.h>.
9392
329bc018
RM
9393 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9394 constants, which avoids warnings in 32-bit builds.
9395
e04e272d
RM
9396 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9397 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9398
952bf94a
RM
9399 * misc/lseek.c: File moved to ...
9400 * io/lseek.c: ... here.
9401
7c99b50a
RM
9402 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9403
dd924cd7
RM
9404 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9405 shifting LEN more than 31 bits at once.
9406
b3f479a8
LD
94072012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9408
9409 [BZ #14195]
8c4ae0d4
RM
9410 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9411 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9412 * string/test-strncasecmp.c (check1): Renamed to...
9413 (bz12205): ...this.
9414 (bz14195): Add new testcase for two empty input strings and N > 0.
9415 (test_main): Call new testcase, adapt for renamed function.
9416
9c55864e
AJ
94172012-08-15 Andreas Jaeger <aj@suse.de>
9418
9419 [BZ #14090]
9420 * crypt/md5test2.c: New test, based on test supplied by Serge
9421 Belyshev <belyshev@depni.sinp.msu.ru>.
9422 * crypt/Makefile (xtests): Add md5test-giant..
9423 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9424
02dcb6c5
PE
94252012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9426
9427 [BZ #14090]
9428 * crypt/md5.c (md5_process_block): Don't assume the buffer
9429 length is less than 2**32.
9430 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9431 length is less than 2**64.
9432
a3f95dcc
RM
94332012-08-15 Roland McGrath <roland@hack.frob.com>
9434
be75d758
RM
9435 * string/str-two-way.h: Include <sys/param.h>.
9436 (MAX): Macro removed.
9437
7312ca90
RM
9438 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9439 Move #define and #undef of memmove to just before and after
9440 including <string.h>.
9441
9a0a5486
RM
9442 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9443 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9444 and after including <string.h>. Move declarations of
9445 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9446 to before #include "string/memmove.c".
9447
67cc348d
RM
9448 * include/dirent.h: Declare __getdirentries.
9449
a3f95dcc
RM
9450 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9451 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9452
ca98e171
MF
94532012-08-14 Mike Frysinger <vapier@gentoo.org>
9454
9455 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9456 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9457 * sysdeps/i386/configure: Regenerated.
9458 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9459 STABS_CURRENT_FILE, and STABS_FUN.
9460 (END): Remove call to STABS_FUN_END.
9461 (STABS_CURRENT_FILE1): Delete.
9462 (STABS_CURRENT_FILE): Likewise.
9463 (STABS_FUN): Likewise.
9464 (STABS_FUN_END): Likewise.
9465 (STABS_FUN2): Likewise.
9466 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9467 * sysdeps/x86_64/configure: Regenerated.
9468
5908bf46
RM
94692012-08-14 Roland McGrath <roland@hack.frob.com>
9470
9471 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9472 * elf/dl-lookup.c: Likewise.
5908bf46 9473
f2c05b9e
JM
94742012-08-14 Joseph Myers <joseph@codesourcery.com>
9475
9476 * sysdeps/unix/sysv/linux/kernel-features.h
9477 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9478 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9479 unconditionally.
9480 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9481 unconditionally.
9482 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9483 condition on __ASSUME_CLONE_THREAD_FLAGS.
9484
e11f5155
AJ
94852012-08-14 Andreas Jaeger <aj@suse.de>
9486
9487 * sysdeps/i386/fpu/libm-test-ulps: Update.
9488
51a9ba86
MK
94892012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9490
2fdd4f78
AJ
9491 * include/atomic.h (atomic_exchange_and_add): Split into ...
9492 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9493 New atomic macros.
51a9ba86 9494
ba6cba9e
MT
94952012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9496
9497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9498
42443a47
JL
94992012-08-13 Jeff Law <law@redhat.com>
9500
9501 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9502 null byte in the output string.
9503
121dce05
JM
95042012-08-10 Joseph Myers <joseph@codesourcery.com>
9505
9506 * sysdeps/unix/sysv/linux/kernel-features.h
9507 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9508 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9509 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9510 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9511 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9512 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9513 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9514
bf51f568
JL
95152012-08-09 Jeff Law <law@redhat.com>
9516
9517 [BZ #13939]
9518 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9519 When avoid_arena is set, don't retry in the that arena. Pick the
9520 next one, whatever it might be.
9521 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9522 (arena_lock): Pass in new parameter to arena_get2.
9523 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9524 arena_get2.
9525 (__libc_malloc): Unify retrying after main arena failure with
9526 __libc_memalign version.
9527 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9528
f85fa270
L
95292012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9530
9531 [BZ #14166]
9532 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9533 to __redirect_strstr.
9534 (__strstr_sse42): Use typeof __redirect_strstr.
9535 (__strstr_ia32): Likewise.
9536 (__libc_strstr): New prototype.
9537 (strstr): Renamed to ...
9538 (__libc_strstr): This.
9539 (strstr): New strong alias of __libc_strstr.
9540 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9541 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9542 __redirect_time.
9543 Include <time.h>.
9544 (__libc_time): New prototype.
9545 (time_ifunc): Replace time with __libc_time.
9546 (time): New strong alias and hidden definition of __libc_time.
9547 (__GI_time): Remove strong alias.
9548 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9549 Include <stddef.h>.
9550 (memmove): Redefined to __redirect_memmove.
9551 (__memmove_sse2): Use typeof __redirect_memmove.
9552 (__memmove_ssse3): Likewise.
9553 (__memmove_ssse3_back): Likewise.
9554 (__libc_memmove): New prototype.
9555 (memmove): Renamed to ...
9556 (__libc_memmove): This.
9557 (memmove): New strong alias of __libc_memmove.
9558
33b4a91e
MS
95592012-08-08 Mark Salter <msalter@redhat.com>
9560
9561 * elf/elf.h
9562 (R_MN10300_TLS_GD): Define.
9563 (R_MN10300_TLS_LD): Likewise.
9564 (R_MN10300_TLS_LDO): Likewise.
9565 (R_MN10300_TLS_GOTIE): Likewise.
9566 (R_MN10300_TLS_IE): Likewise.
9567 (R_MN10300_TLS_LE): Likewise.
9568 (R_MN10300_TLS_DTPMOD): Likewise.
9569 (R_MN10300_TLS_DTPOFF): Likewise.
9570 (R_MN10300_TLS_TPOFF): Likewise.
9571 (R_MN10300_SYM_DIFF): Likewise.
9572 (R_MN10300_ALIGN): Likewise.
9573 (R_MN10300_NUM): Update.
9574
b36137f1
JM
95752012-08-08 Joseph Myers <joseph@codesourcery.com>
9576
9577 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9578 Remove.
9579
cdd915fd
RM
95802012-08-08 Roland McGrath <roland@hack.frob.com>
9581
a2433aac
RM
9582 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9583
cdd915fd
RM
9584 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9585 sysdeps/unix -> sysdeps/posix move.
9586 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9587
bf9b740a
AM
95882012-08-07 Allan McRae <allan@archlinux.org>
9589
9590 [BZ #14303]
9591 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9592 (SUNOS_CPP): Likewise.
9593 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9594 not found.
9595 (open_input): Call CPP using execvp.
9596
93df14ee
JM
95972012-08-07 Joseph Myers <joseph@codesourcery.com>
9598
9599 * sysdeps/unix/sysv/linux/kernel-features.h
9600 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9601 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9602 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9603 (__ASSUME_WAITID_SYSCALL): Likewise.
9604 * sysdeps/unix/sysv/linux/dl-execstack.c
9605 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9606 code unconditional.
9607 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9608 conditional code.
9609 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9610 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9611 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9612 code.
9613 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9614 unconditional.
9615 [__ASSUME_WAITID_SYSCALL]: Likewise.
9616 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9617
d34689de
RM
96182012-08-07 Roland McGrath <roland@hack.frob.com>
9619
a281decc
RM
9620 * sysdeps/unix/closedir.c: Renamed to ...
9621 * sysdeps/posix/closedir.c: ... here.
9622 * sysdeps/unix/dirfd.c: Renamed to ...
9623 * sysdeps/posix/dirfd.c: ... here.
9624 * sysdeps/unix/dirstream.h: Renamed to ...
9625 * sysdeps/posix/dirstream.h: ... here.
9626 * sysdeps/unix/fdopendir.c: Renamed to ...
9627 * sysdeps/posix/fdopendir.c: ... here.
9628 * sysdeps/unix/opendir.c: Renamed to ...
9629 * sysdeps/posix/opendir.c: ... here.
9630 * sysdeps/unix/readdir.c: Renamed to ...
9631 * sysdeps/posix/readdir.c: ... here.
9632 * sysdeps/unix/readdir_r.c: Renamed to ...
9633 * sysdeps/posix/readdir_r.c: ... here.
9634 * sysdeps/unix/rewinddir.c: Renamed to ...
9635 * sysdeps/posix/rewinddir.c: ... here.
9636 * sysdeps/unix/seekdir.c: Renamed to ...
9637 * sysdeps/posix/seekdir.c: ... here.
9638 * sysdeps/unix/telldir.c: Renamed to ...
9639 * sysdeps/posix/telldir.c: ... here.
9640 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9641 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9642 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9643 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9644
22895b47
RM
9645 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9646 * bits/fcntl.h: ... here.
9647
707a53b6
RM
9648 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9649 not 0.
9650 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9651 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9652 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9653 (struct flock): Move l_start, l_len to the beginning.
9654 Use __pid_t for l_pid.
9655 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9656 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9657 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9658 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9659 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9660 [__USE_LARGEFILE64] (struct flock64): New type.
9661 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9662
f0bd3e25
RM
9663 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9664 * bits/dirent.h: ... here.
9665
d34689de
RM
9666 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9667 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9668
6dad2c06
JM
96692012-08-07 Joseph Myers <joseph@codesourcery.com>
9670
9671 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9672 Change from 2.6.0 to 2.6.16.
9673 * sysdeps/unix/sysv/linux/configure: Regenerated.
9674 * sysdeps/unix/sysv/linux/kernel-features.h
9675 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9676 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9677 version.
9678 (__ASSUME_UTIMES): Likewise.
9679 (__ASSUME_CLONE_STOPPED): Remove.
9680 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9681 architectures, not kernel version.
9682 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9683 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9684 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9685 (__ASSUME_WAITID_SYSCALL): Likewise.
9686 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9687 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9688 * README: State 2.6.16 as minimum Linux kernel version. Do not
9689 refer to older versions.
9690
03af9520
RM
96912012-08-06 Roland McGrath <roland@hack.frob.com>
9692
8e49df1d
RM
9693 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9694 Define alphasort64 as an alias.
9695 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9696 Define versionsort64 as an alias.
9697 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9698 Define scandir64 as an alias.
9699 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9700 Define scandirat64 as an alias.
9701 * dirent/alphasort64.c (alphasort64):
9702 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9703 * dirent/versionsort64.c: Likewise.
9704 * dirent/scandir64.c: Likewise.
9705 * dirent/scandirat64.c: Likewise.
9706 * sysdeps/wordsize-64/alphasort.c: File removed.
9707 * sysdeps/wordsize-64/alphasort64.c: File removed.
9708 * sysdeps/wordsize-64/scandir.c: File removed.
9709 * sysdeps/wordsize-64/scandir64.c: File removed.
9710 * sysdeps/wordsize-64/scandirat.c: File removed.
9711 * sysdeps/wordsize-64/scandirat64.c: File removed.
9712 * sysdeps/wordsize-64/versionsort.c: File removed.
9713 * sysdeps/wordsize-64/versionsort64.c: File removed.
9714 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9715 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9716 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9717 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9718 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9719 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9720 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9721 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9722
9723 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9725 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9727 [defined __arch64__ || defined __sparcv9]
9728 (__INO_T_MATCHES_INO64_T): New macro.
9729 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9730 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9731 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9732 * sysdeps/unix/sysv/linux/bits/dirent.h
9733 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9734 (_DIRENT_MATCHES_DIRENT64): New macro.
9735
03af9520
RM
9736 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9737 Define lockf64 as an alias.
9738 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9739 Define fseeko64 as an alias.
9740 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9741 Define ftello64 as an alias.
9742 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9743 Define _IO_fgetpos64 and fgetpos64 as aliases.
9744 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9745 Define _IO_fsetpos64 and fsetpos64 as aliases.
9746 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9747 Conditionalize body on this.
9748 * libio/fseeko64.c: Likewise.
9749 * libio/ftello64.c: Likewise.
9750 * libio/iofgetpos64.c: Likewise.
9751 * libio/iofsetpos64.c: Likewise.
9752 * sysdeps/wordsize-64/lockf.c: File removed.
9753 * sysdeps/wordsize-64/lockf64.c: File removed.
9754 * sysdeps/wordsize-64/fseeko.c: File removed.
9755 * sysdeps/wordsize-64/fseeko64.c: File removed.
9756 * sysdeps/wordsize-64/ftello.c: File removed.
9757 * sysdeps/wordsize-64/ftello64.c: File removed.
9758 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9759 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9760 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9761 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9762 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9763 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9764 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9765 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9766 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9767 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9768 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9769 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9770 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9771 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9772
9773 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9774 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9775 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9776 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9777 [defined __arch64__ || defined __sparcv9]
9778 (__OFF_T_MATCHES_OFF64_T): New macro.
9779 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9780 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9781 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9782 (__OFF_T_MATCHES_OFF64_T): New macro.
9783
c5757acd
L
97842012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9785
9786 * stdlib/secure-getenv.c (__secure_getenv): Replace
9787 GLIBC_2_16 with GLIBC_2_17.
9788
3a31811e
L
97892012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9790
9791 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9792 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9793
faa2bccb
DM
97942012-08-03 David S. Miller <davem@davemloft.net>
9795
9796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9797
85fe1997
JM
97982012-08-03 Joseph Myers <joseph@codesourcery.com>
9799
9800 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9801 Remove.
9802 (__ASSUME_CORRECT_SI_PID): Likewise.
9803 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9804 (__ASSUME_TMPFS_NAME): Likewise.
9805 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9806 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9807 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9808 (HAVE_AUX_SECURE): Make definition unconditional.
9809 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9810 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9811
4f75b7a0
RM
98122012-08-03 Roland McGrath <roland@hack.frob.com>
9813
9814 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9815 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9816 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9817 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9818 __eloop_threshold instead of SYMLOOP_MAX.
9819
9820 * sysdeps/generic/eloop-threshold.h: New file.
9821 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9822 of MAXSYMLINKS.
9823 * elf/chroot_canon.c (chroot_canon): Likewise.
9824
7aab07e4
JM
98252012-08-03 Joseph Myers <joseph@codesourcery.com>
9826
9827 [BZ #13717]
9828 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9829 Change to 2.6.0 everywhere.
9830 * sysdeps/unix/sysv/linux/configure: Regenerated.
9831 * sysdeps/unix/sysv/linux/kernel-features.h
9832 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9833 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9834 kernel versions.
9835 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9836 (__ASSUME_FUTEX_REQUEUE): Remove.
9837 (__ASSUME_STATFS64): Define unconditionally.
9838 (__ASSUME_AT_SECURE): Likewise.
9839 (__ASSUME_CORRECT_SI_PID): Likewise.
9840 (__ASSUME_TGKILL): Define without depending on kernel version for
9841 i386.
9842 (__ASSUME_UTIMES): Likewise.
9843 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9844 kernel version.
9845 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9846 (__ASSUME_TMPFS_NAME): Likewise.
9847 * README: Update reference to Linux kernel versions.
9848
b67e9372
MP
98492012-08-02 Marek Polacek <polacek@redhat.com>
9850
1f529f7d 9851 [BZ# 14150]
b67e9372
MP
9852 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9853 libc_cv_asm_type_prefix with %.
9854 * configure: Regenerated.
d2441631
RM
9855 * include/libc-symbols.h: Remove comment about
9856 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9857 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9858 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9859 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9860 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9861 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9862 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9863 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9864 * elf/tst-unique2mod1.c: Likewise.
9865 * elf/tst-unique1mod2.c: Likewise.
9866 * elf/tst-unique1mod1.c: Likewise.
9867 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9868 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9869 Replace ASM_TYPE_DIRECTIVE with .type.
9870 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9871 * sysdeps/i386/sysdep.h: Likewise.
9872 * sysdeps/x86_64/sysdep.h: Likewise.
9873 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9875 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9876 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9877 * sysdeps/powerpc/powerpc32/sysdep.h:
9878 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9879 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9880 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9881 * sysdeps/i386/fpu/e_powf.S: Likewise.
9882 * sysdeps/i386/fpu/e_expl.S: Likewise.
9883 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9884 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9885 * sysdeps/i386/fpu/e_pow.S: Likewise.
9886 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9887 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9888 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9889 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9890 * sysdeps/i386/fpu/e_log2.S: Likewise.
9891 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9892 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9893 * sysdeps/i386/fpu/e_powl.S: Likewise.
9894 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9895 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9896 * sysdeps/i386/fpu/e_logl.S: Likewise.
9897 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9898 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9899 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9900 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9901 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9902 * sysdeps/i386/fpu/e_log.S: Likewise.
9903 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9904 * sysdeps/i386/fpu/e_logf.S: Likewise.
9905 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9906 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9907 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9908 * sysdeps/i386/fpu/e_log10.S: Likewise.
9909 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9910 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9911 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9912 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9913 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9914 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9915 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9916 * sysdeps/i386/i686/strtok.S: Likewise.
9917 * sysdeps/i386/i386-mcount.S: Likewise.
9918 * sysdeps/i386/strtok.S: Likewise.
9919 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9920 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9921 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9922 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9923 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9924 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9925 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9926 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9927 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9928 * sysdeps/x86_64/_mcount.S: Likewise.
9929 * sysdeps/x86_64/strtok.S: Likewise.
9930 * sysdeps/sh/_mcount.S: Likewise.
9931
2747bf9a
RM
99322012-08-01 Roland McGrath <roland@hack.frob.com>
9933
9934 * libio/iofopen.c: Include <fcntl.h>.
9935 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9936 (_IO_fopen64, fopen64): Define as aliases.
9937 * libio/iofopen64.c: Include <fcntl.h>.
9938 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9939 Conditionalize body on this.
9940 * sysdeps/wordsize-64/iofopen.c: File removed.
9941 * sysdeps/wordsize-64/iofopen64.c: File removed.
9942
3fb791b8
MP
99432012-08-01 Marek Polacek <polacek@redhat.com>
9944
9945 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9946 Use dlfcn directly instead of a variable.
9947 (binfmt-subdir): Do not define.
9948 (dlfcn): Likewise.
9949
a9f1039f
JM
99502012-08-01 Joseph Myers <joseph@codesourcery.com>
9951
23bddc06
JM
9952 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9953 Remove all definitions.
9954 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9955 <kernel-features.h>.
9956 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9957 (miss_F_GETOWN_EX): Remove all definitions.
9958 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9959 macro definition.
9960 [!__ASSUME_FCNTL64]: Remove conditional code.
9961 [__ASSUME_FCNTL64]: Make code unconditional.
9962 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9963 <kernel-features.h>.
9964 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9965 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9966 (lockf64) [__NR_fcntl64]: Make code unconditional.
9967 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9968
a9f1039f
JM
9969 * sysdeps/unix/sysv/linux/kernel-features.h
9970 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9971 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9972 Make code unconditional.
9973 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9974 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9976 [__NR_vfork]: Make code unconditional.
9977 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9978 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9980 [__NR_vfork]: Make code unconditional.
9981 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9982 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9983
09c0ee5f
RM
99842012-08-01 Roland McGrath <roland@hack.frob.com>
9985
48aec5b9
RM
9986 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9987 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9988
cd97c966
RM
9989 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9990 Define mkstemp64 as an alias.
3f55550c
RM
9991 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9992 Define mkstemps64 as an alias.
cd97c966
RM
9993 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9994 Define mkostemp64 as an alias.
b8625cfc
RM
9995 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9996 Define mkostemps64 as an alias.
cd97c966
RM
9997 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9998 Conditionalize body on this.
9999 * misc/mkostemp64.c: Likewise.
b8625cfc 10000 * misc/mkostemps64.c: Likewise.
3f55550c 10001 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10002 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10003 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10004 * sysdeps/wordsize-64/mkostemp.c: File removed.
10005 * sysdeps/wordsize-64/mkstemp.c: File removed.
10006 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10007 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10008 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10009 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10010
09c0ee5f
RM
10011 [BZ #14138]
10012 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10013 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10014 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10015 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10016
10017 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10018 compat_symbol macros from <shlib-compat.h> rather than the underlying
10019 default_symbol_version and symbol_version macros, so that DEFAULT
10020 lines in shlib-versions are respected.
10021 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10022
7e66ee51
FW
100232012-08-01 Florian Weimer <fweimer@redhat.com>
10024
10025 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10026 Declare with warn_unused_result.
10027 (setgid, setregid, setegid, setresgid): Likewise.
10028 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10029 Likewise.
10030 * WUR-REPORT: Remove set*id functions.
10031
d2a54255
PT
100322012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10033
10034 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10035
7ecdb005
RM
100362012-07-31 Roland McGrath <roland@hack.frob.com>
10037
789bd351
RM
10038 * include/sys/socket.h (__libc_accept, __libc_accept4):
10039 Add attribute_hidden.
10040 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10041
40ce302d
RM
10042 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10043 use of PTR_MANGLE.
10044 * inet/getnetgrent_r.c (setup): Likewise.
10045
7ecdb005
RM
10046 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10047
e2eabb2c
DM
100482012-07-31 David S. Miller <davem@davemloft.net>
10049
10050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10051
d0419dbf
JM
100522012-07-31 Joseph Myers <joseph@codesourcery.com>
10053
10054 [BZ #13629]
10055 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10056 value between 1.0 and 2.0 and smaller part has absolute value less
10057 than 1.0.
10058 * math/s_clog10.c (__clog10): Likewise.
10059 * math/s_clog10f.c (__clog10f): Likewise.
10060 * math/s_clog10l.c (__clog10l): Likewise.
10061 * math/s_clogf.c (__clogf): Likewise.
10062 * math/s_clogl.c (__clogl): Likewise.
10063 * math/libm-test.inc (clog_test): Add more tests.
10064 (clog10_test): Likewise.
10065 * sysdeps/i386/fpu/libm-test-ulps: Update.
10066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10067
2bc13872
FW
100682012-07-31 Florian Weimer <fweimer@redhat.com>
10069
10070 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10071 Exit with zero in case no suitable GID is found, and write a
10072 message to standard error.
10073
bea9b193
RM
100742012-07-30 Roland McGrath <roland@hack.frob.com>
10075
10076 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10077 rather than to 1.
10078 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10079 (MAXPATHLEN): Removed.
10080 (NOGROUP, NODEV): New macros.
10081 (setbit, clrbit, isset, isclr): New macros.
10082 (howmany, roundup, powerof2): New macros.
10083 (DEV_BSIZE): New macro.
10084
10085 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10086 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10087
10088 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10089 definition on [!__NO_LONG_DOUBLE_MATH].
10090
10091 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10092 PTR_MANGLE and PTR_DEMANGLE.
10093
10094 * socket/accept4.c (accept4): Rename to __libc_accept4.
10095 Define accept4 as a weak alias.
10096
10097 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10098 on [_DIRENT_HAVE_D_TYPE].
10099 * io/ftw.c (ftw_dir): Likewise.
10100
10101 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10102
10103 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10104
10105 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10106 Use the BSD numbers rather than the arbitrary ones we had.
10107 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10108 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10109 (SIGXCPU, SIGXFSZ): New macros.
10110 (_NSIG): Now 32.
10111
10112 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10113 initializer on [_LIBC_REENTRANT].
10114
10115 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10116 definitions inside [_POSIX_MAPPED_FILES].
10117
10118 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10119
10120 * dirent/opendir.c: Include <fcntl.h>.
10121
10122 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10123 (__libc_getspecific): Likewise.
10124 (__libc_key_create): Likewise.
10125
10126 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10127 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10128 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10129 (tmpfile64): Define as alias.
10130 * sysdeps/wordsize-64/tmpfile.c: File removed.
10131 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10132 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10133 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10134
10135 * stdio-common/vfscanf.c: Include <stdbool.h>.
10136 * nss/makedb.c: Likewise.
10137 * stdio-common/_i18n_number.h: Likewise.
10138 * argp/argp-help.c: Likewise.
10139 * posix/wordexp.c: Likewise.
10140 * sysdeps/posix/spawni.c: Likewise.
10141 * nss/nss_files/files-initgroups.c: Likewise.
10142 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10143 * nss/nss_files/files-initgroups.c: Likewise.
10144 * nss/nss_db/db-netgrp.c: Likewise.
10145 * nss/nss_db/db-initgroups.c: Likewise.
10146 * io/fchmodat.c: Include <sys/stat.h>.
10147
10148 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10149 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10150
10151 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10152 [HAVE_MMAP].
10153
10154 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10155 Add multiple inclusion protection.
10156
e5abc686
DM
101572012-07-27 David S. Miller <davem@davemloft.net>
10158
10159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10160
815e6fa3
GB
101612012-07-27 Gary Benson <gbenson@redhat.com>
10162
10163 [BZ #14298]
10164 * elf/rtld.c: Include <stap-probe.h>.
10165 (dl_main): Added static probes "init_start" and "init_complete".
10166 * elf/dl-load.c: Include <stap-probe.h>.
10167 (lose): Take new parameter "nsid".
10168 Added static probe "map_failed".
10169 (_dl_map_object_from_fd): Pass namespace id to lose.
10170 Added static probe "map_start".
10171 (open_verify): Pass namespace id to lose.
10172 * elf/dl-open.c: Include <stap-probe.h>.
10173 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10174 and "reloc_complete".
10175 * elf/dl-close.c: Include <stap-probe.h>.
10176 (_dl_close_worker): Added static probes "unmap_start" and
10177 "unmap_complete".
10178 * elf/rtld-debugger-interface.txt: New file documenting the above.
10179
9f98c16c
RM
101802012-07-26 Roland McGrath <roland@hack.frob.com>
10181
10182 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10183 rather than a string variable.
10184 * sunrpc/rpc_main.c (h_output): Likewise.
10185 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10186
f3c22df3
PT
101872012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10188
10189 * inet/check_native.c: New file.
10190
3129cfc6
JM
101912012-07-26 Joseph Myers <joseph@codesourcery.com>
10192
da865e95
JM
10193 [BZ #13629]
10194 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10195 if larger part has absolute value 1.0.
10196 * math/s_clog10.c (__clog10): Likewise.
10197 * math/s_clog10f.c (__clog10f): Likewise.
10198 * math/s_clog10l.c (__clog10l): Likewise.
10199 * math/s_clogf.c (__clogf): Likewise.
10200 * math/s_clogl.c (__clogl): Likewise.
10201 * math/libm-test.inc (clog_test): Add more tests.
10202 (clog10_test): Likewise.
10203 * sysdeps/i386/fpu/libm-test-ulps: Update.
10204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10205
3129cfc6
JM
10206 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10207 (pltexit): Likewise.
10208 (La_regs): Likewise.
10209 (La_retval): Likewise.
10210 (int_retval): Likewise.
10211 Update #error for removed macros to refer only to definitions in
10212 tst-audit.h.
10213 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10214 macro.
10215 (pltexit): Likewise.
10216 (La_regs): Likewise.
10217 (La_retval): Likewise.
10218 (int_retval): Likewise.
10219 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10220 macro.
10221 (pltexit): Likewise.
10222 (La_regs): Likewise.
10223 (La_retval): Likewise.
10224 (int_retval): Likewise.
10225 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10226 macro.
10227 (pltexit): Likewise.
10228 (La_regs): Likewise.
10229 (La_retval): Likewise.
10230 (int_retval): Likewise.
10231 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10232 macro.
10233 (pltexit): Likewise.
10234 (La_regs): Likewise.
10235 (La_retval): Likewise.
10236 (int_retval): Likewise.
10237 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10238 macro.
10239 (pltexit): Likewise.
10240 (La_regs): Likewise.
10241 (La_retval): Likewise.
10242 (int_retval): Likewise.
10243 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10244 macro.
10245 (pltexit): Likewise.
10246 (La_regs): Likewise.
10247 (La_retval): Likewise.
10248 (int_retval): Likewise.
10249 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10250 macro definitions in tst-audit.h.
10251 * sysdeps/i386/tst-audit.h: New file.
10252 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10253 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10254 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10255 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10256 * sysdeps/sh/tst-audit.h: Likewise.
10257 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10258 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10259 * sysdeps/x86_64/tst-audit.h: Likewise.
10260
bfc07087
AJ
102612012-07-26 Andreas Jaeger <aj@suse.de>
10262
b1b2aaf8
AJ
10263 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10264 ptrace.
10265
10266 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10267 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10268 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10269 PTRACE_O_MASK.
10270 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10271 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10272 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10273
bfc07087
AJ
10274 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10275 value.
10276
10277 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10278 _sigsys.
10279 (si_call_addr, si_syscall, si_arch): Define new macro.
10280 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10281 _sigsys.
10282 (si_call_addr, si_syscall, si_arch): Define new marcro.
10283 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10284 _sigsys.
10285 (si_call_addr, si_syscall, si_arch): Define new macro.
10286 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10287 _sigsys.
10288 (si_call_addr, si_syscall, si_arch): Define new macro.
10289
89b4b02f
JM
102902012-07-25 Joseph Myers <joseph@codesourcery.com>
10291
10292 [BZ #13717]
10293 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10294 Change to 2.4.21 where previously 2.4.1.
10295 * sysdeps/unix/sysv/linux/configure: Regenerated.
10296 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10297 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10298 Linux kernel version.
10299 (__ASSUME_STD_AUXV): Remove.
10300 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10301 kernel version.
10302 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10303 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10304 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10305 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10306 (__ASSUME_NETLINK_SUPPORT): Likewise.
10307 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10308 (__no_netlink_support): Remove conditional definition.
10309 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10310 Remove.
10311 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10312 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10313 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10314 (if_nameindex_ioctl): Remove.
10315 (if_nameindex_netlink): Do not handle __no_netlink_support.
10316 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10317 code.
10318 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10319 Remove conditional code.
10320 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10321 code.
10322 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10323 unconditional.
10324 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10325 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10326 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10327 Remove.
10328 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10329 [!__ASSUME_STD_AUXV]: Remove conditional code.
10330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10331 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10332 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10334 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10335 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10336 code.
10337 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10339 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10340 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10341 conditional code.
10342 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10344 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10345 code.
10346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10347 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10348 conditional code.
10349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10350 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10351 code unconditional.
10352 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10353 conditional code.
10354 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10355 unconditional.
10356 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10357 conditional code.
10358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10359 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10360 unconditional.
10361 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10362 conditional code.
10363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10364 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10365 code unconditional.
10366 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10367 conditional code.
10368 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10369 unconditional.
10370 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10371 conditional code.
10372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10373 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10374 code unconditional.
10375 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10376 conditional code.
10377 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10378 unconditional.
10379 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10380 conditional code.
10381
842a39cd
AS
103822012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10383
10384 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10385 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10386 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10387 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10388 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10389 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10390 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10391 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10392 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10393 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10394 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10395 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10396 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10397 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10398 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10399 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10400 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10401 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10402 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10403 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10404 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10405 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10406 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10407
84b3fd84
FW
104082012-07-25 Florian Weimer <fweimer@redhat.com>
10409
10410 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10411 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10412 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10413 Introduce __libc_secure_getenv.
0c7936d5
FW
10414 * stdlib/Versions (2.17): Add secure_getenv
10415 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10416 * stdlib/secure-getenv.c: Rename __secure_getenv to
10417 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10418 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10419 * stdlib/tst-secure-getenv.c: New.
10420 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10421 * manual/startup.texi (Environment Access): Document
10422 secure_getenv.
84b3fd84
FW
10423 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10424 __libc_secure_getenv.
10425 * inet/ruserpass.c (ruserpass): Likewise.
10426 * malloc/mtrace.c (mtrace): Likewise.
10427 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10428 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10429 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10430 * sysdeps/posix/tempname.c: Likewise. Evaluate
10431 HAVE_SECURE_GETENV.
10432 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10433 __secure_getenv to __libc_secure_getenv.
84b3fd84 10434 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10436 Likewise.
10437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10438 Likewise.
10439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10441 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10446
56e49b71
JM
104472012-07-25 Joseph Myers <joseph@codesourcery.com>
10448
10449 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10450 (struct La_i86_retval): Likewise.
10451 (struct La_x86_64_regs): Likewise.
10452 (struct La_x86_64_retval): Likewise.
10453 (struct La_x32_regs): Likewise.
10454 (struct La_x32_retval): Likewise.
10455 (struct La_ppc32_regs): Likewise.
10456 (struct La_ppc32_retval): Likewise.
10457 (struct La_ppc64_regs): Likewise.
10458 (struct La_ppc64_retval): Likewise.
10459 (struct La_sh_regs): Likewise.
10460 (struct La_sh_retval): Likewise.
10461 (struct La_s390_32_regs): Likewise.
10462 (struct La_s390_32_retval): Likewise.
10463 (struct La_s390_64_regs): Likewise.
10464 (struct La_s390_64_retval): Likewise.
10465 (struct La_sparc32_regs): Likewise.
10466 (struct La_sparc32_retval): Likewise.
10467 (struct La_sparc64_regs): Likewise.
10468 (struct La_sparc64_retval): Likewise.
10469 (struct audit_ifaces): Remove architecture-specific pltenter and
10470 pltexit members.
10471 * sysdeps/i386/ldsodefs.h: New file.
10472 * sysdeps/powerpc/ldsodefs.h: Likewise.
10473 * sysdeps/s390/ldsodefs.h: Likewise.
10474 * sysdeps/sh/ldsodefs.h: Likewise.
10475 * sysdeps/sparc/ldsodefs.h: Likewise.
10476 * sysdeps/x86_64/ldsodefs.h: Likewise.
10477
354691b7
MP
104782012-07-25 Marek Polacek <polacek@redhat.com>
10479
10480 [BZ #6808]
10481 * math/libm-test.inc (yn_test): Add another test.
10482 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10483 to ERANGE when the result is +-Inf.
10484 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10485 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10486 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10487 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10488
bf9e2071
JM
104892012-07-24 Joseph Myers <joseph@codesourcery.com>
10490
10491 * conform/data/time.h-data (NULL): Use macro-constant. Require
10492 equal to 0.
10493 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10494 clock_t.
10495 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10496
57633811
TS
104972012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10498
10499 * configure.in <sysdeps resolving>: Correct printing
10500 Implies_before.
10501 * configure: Regenerate.
10502
c23c33b0
TS
105032012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10504
10505 * math/w_ilogb.c: Include <limits.h>.
10506 * math/w_ilogbl.c: Likewise.
10507
b5982523
JM
105082012-07-20 Joseph Myers <joseph@codesourcery.com>
10509
10510 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10511 va_copy. Document allowing for unavailable va_copy only as
10512 pre-C99 compatibility.
10513 * manual/string.texi (Copying and Concatenation): Use va_copy
10514 instead of __va_copy in concat example.
10515
ac4ea442
PT
105162012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10517
10518 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10519 (__sendto): Use create_address_port. Initialize APORT and deallocate
10520 it if not null.
10521
f98eafbd
PT
10522 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10523 with O_NOLINK passed to __file_name_lookup.
10524
898c7aab
PT
10525 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10526 with O_NOLINK passed to __file_name_lookup.
10527
0ced335a
PT
10528 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10529 negative N or less than NGIDS.
10530
b3404dbd
PT
10531 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10532 type to string_t. Set ERANGE as errno and return it if NAME is not big
10533 enough. Use memcpy instead of strncpy.
10534
0f48659e
JM
105352012-07-20 Joseph Myers <joseph@codesourcery.com>
10536
10537 * elf/Makefile (check-data): Remove.
10538 (localplt.data): New vpath directive.
10539 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10540 instead of $(check-data).
10541 * scripts/data/localplt-generic.data: Move to ...
10542 * sysdeps/generic/localplt.data: ... here.
10543 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10544 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10545 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10547 ... here.
10548 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10550 ... here.
10551 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10553 ... here.
10554 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10556 ... here.
10557 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10559 ... here.
10560 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10562 ... here.
10563
d37cbdaa
AZ
105642012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10565
10566 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10567 PPC32 and PPC64 files.
10568 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10569 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10570
46f85fc2
AK
105712012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10572
10573 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10574 __makecontext_ret to ...
10575 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10576 ... here and call exit if uc_link is NULL. New file.
10577 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10578 __makecontext_ret.S.
10579 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10580 __makecontext_ret to ...
10581 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10582 ... here and call exit if uc_link is NULL. New file.
10583 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10584 __makecontext_ret.S.
10585
08f43f9b
AK
105862012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10587
10588 * elf/elf.h (R_390_IRELATIVE): New definition.
10589 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10590 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10591 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10592 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10593 (elf_machine_lazy_rel): Likewise.
10594 * sysdeps/s390/dl-irel.h: New file.
10595 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10596 * sysdeps/s390/s390-64/memset.S: New asm code.
10597 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10598 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10599 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10600 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10601 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10602 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10603 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10604 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10605 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10606 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10607 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10608 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10609 * sysdeps/s390/s390-32/memset.S: New asm code.
10610 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10611
3b05db33
MP
106122012-07-17 Marek Polacek <polacek@redhat.com>
10613
10614 [BZ #14349]
10615 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10616 * sysdeps/s390/s390-64/configure.in: Likewise.
10617 * sysdeps/sparc/configure.in: Likewise.
10618 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10619 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10620 * sysdeps/i386/configure.in: Likewise.
10621 * sysdeps/x86_64/configure.in: Likewise.
10622 * sysdeps/sh/configure.in: Likewise.
10623 * sysdeps/s390/s390-32/configure: Regenerated.
10624 * sysdeps/s390/s390-64/configure: Likewise.
10625 * sysdeps/x86_64/configure: Likewise.
10626 * sysdeps/sh/configure: Likewise.
10627 * sysdeps/powerpc/powerpc64/configure: Likewise.
10628 * sysdeps/powerpc/powerpc32/configure: Likewise.
10629 * sysdeps/sparc/configure: Likwise.
10630 * sysdeps/i386/configure: Likewise.
10631
a66877c6
MP
10632 * elf/dl-open.c: Comment fixes.
10633
cfc82fd8
JM
106342012-07-17 Joseph Myers <joseph@codesourcery.com>
10635
bd29910a
JM
10636 * Makefile [CXX] (check-data): Remove.
10637 [CXX] (c++-types.data): New vpath directive.
10638 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10639 vpath. Do not allow for C++ type data being missing.
10640 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10641 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10642 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10643 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10644 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10645 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10646 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10648 ... here.
10649 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10651 ... here.
10652 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10654 ... here.
10655 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10657 ... here.
10658 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10660 ... here.
10661 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10663 ... here.
10664 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10666 ... here.
10667 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10669
cfc82fd8
JM
10670 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10671 definitions to architecture-specific files.
10672 (TLS_IE): Likewise.
10673 (TLS_LD): Likewise.
10674 (TLS_GD): Likewise.
10675 * sysdeps/i386/tls-macros.h: New file.
10676 * sysdeps/powerpc/tls-macros.h: Likewise.
10677 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10678 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10679 * sysdeps/sh/tls-macros.h: Likewise.
10680 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10681 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10682 * sysdeps/x86_64/tls-macros.h: Likewise.
10683
f7db3170
TS
106842012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10685
07cbfc23
TS
10686 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10687 zero value for regular exit case.
10688
f7db3170
TS
10689 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10690 (__start_context): Preserve zero value for regular exit case.
10691
dc97c227
TS
106922012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10693 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10694
10695 * manual/setjmp.texi (setcontext): Clarify normal process
10696 termination when uc_link is the null pointer.
10697 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10698 exit call.
10699
d0cd7d02
AS
107002012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10701
10702 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10703 preprocessor. Test for each exception mask separately.
10704
dd318934
AJ
107052012-07-16 Andreas Jaeger <aj@suse.de>
10706
10707 * po/ru.po: Update from translation team.
10708
8048311a
JM
107092012-07-15 Joseph Myers <joseph@codesourcery.com>
10710
10711 * conform/data/string.h-data (NULL): Use macro-constant. Require
10712 equal to 0.
10713 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10714 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10715 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10716 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10717 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10718
b637d46e
AJ
107192012-07-13 Andreas Jaeger <aj@suse.de>
10720
10721 * po/fr.po: Update from translation team.
10722
541428fe
MP
107232012-07-12 Marek Polacek <polacek@redhat.com>
10724
10725 [BZ #14173]
10726 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10727 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10728 loop condition.
10729
ec332e94
JM
107302012-07-12 Joseph Myers <joseph@codesourcery.com>
10731
10732 [BZ #13717]
10733 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10734 Change to 2.4.1 where previously 2.4.0.
10735 * sysdeps/unix/sysv/linux/configure: Regenerated.
10736 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10737 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10738 version.
10739 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10740 (__ASSUME_AT_CLKTCK): Remove.
10741 (__ASSUME_AT_PAGESIZE): Likewise.
10742 (__ASSUME_AT_XID): Likewise.
10743 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10744 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10745 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10746 unconditionally.
10747 (HAVE_AUX_PAGESIZE): Likewise.
10748 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10749 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10750 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10751
7b6e99be
JB
107522012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10753
10754 [BZ #14307]
10755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10756 the temporary buffer used to invoke __gethostbyname2_r,
10757 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10758 host_data / struct gaih_addrtuple.
10759 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10760 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10761 header file nss/nsswitch.h.
10762 * nss/nsswitch.h (global scope): Add definition of implementation
10763 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10764 resolv/nss_dns/dns-host.c).
10765
608404eb
AJ
107662012-07-11 Andreas Jaeger <aj@suse.de>
10767
10768 * po/fr.po: Update from translation team.
10769
71220aca
AJ
10770 * po/sv.po: Update from translation team
10771 * po/fr.po: Another update from translation team.
10772
28cfe843
AZ
107732012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10774
10775 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10776 for subnormals or multiply small sinh result by itself.
10777 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10779
6b90f981
DM
107802012-07-11 David S. Miller <davem@davemloft.net>
10781
10782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10783
c6825772
AS
107842012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10785
10786 [BZ #14347]
10787 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10788 (INTERNAL_MARK): Shift it here.
10789
7b8e0d49
MP
107902012-07-10 Marek Polacek <polacek@redhat.com>
10791
10792 [BZ #14151]
10793 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10794 libc_cv_asm_global_directive with .globl.
10795 * configure: Regenerated.
10796 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10797 with .globl.
10798 * sysdeps/i386/configure: Regenerated.
10799 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10800 with .globl.
10801 * sysdeps/x86_64/configure: Regenerated.
10802 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10803 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10804 * elf/tst-unique2mod2.c: Likewise.
10805 * elf/tst-unique2mod1.c: Likewise.
10806 * elf/tst-unique1mod2.c: Likewise.
10807 * elf/tst-unique1mod1.c: Likewise.
10808 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10809 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10810 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10811 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10812 * sysdeps/mach/sysdep.h: Likewise.
10813 * sysdeps/i386/sysdep.h: Likewise.
10814 * sysdeps/i386/i386-mcount.S: Likewise.
10815 * sysdeps/x86_64/_mcount.S: Likewise.
10816 * sysdeps/x86_64/sysdep.h: Likewise.
10817 * sysdeps/sh/_mcount.S: Likewise.
10818 * sysdeps/sh/sysdep.h: Likewise.
10819 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10820 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10821 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10822 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10823 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10824 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10825 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10826 * locale/localeinfo.h: Likewise.
10827 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10828 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10829
6c55cda3
RM
108302012-07-09 Roland McGrath <roland@hack.frob.com>
10831
10832 [BZ #14336]
10833 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10834 system".
10835 * manual/message.texi (The Uniforum approach): Likewise.
10836 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10837 (glibc iconv Implementation): Likewise.
10838
638a572e
JM
108392012-07-09 Joseph Myers <joseph@codesourcery.com>
10840
10841 [BZ #14337]
10842 * math/s_clog.c (__clog): Avoid scaling a value down where that
10843 could result in underflow.
10844 * math/s_clog10.c (__clog10): Likewise.
10845 * math/s_clog10f.c (__clog10f): Likewise.
10846 * math/s_clog10l.c (__clog10l): Likewise.
10847 * math/s_clogf.c (__clogf): Likewise.
10848 * math/s_clogl.c (__clogl): Likewise.
10849 * math/libm-test.inc (clog_test): Add more tests.
10850 (clog10_test): Likewise.
10851 * sysdeps/i386/fpu/libm-test-ulps: Update.
10852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10853
261f4859
AS
108542012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10855
0abaf3e4
AS
10856 [BZ #14283]
10857 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10858 by 7 not 8 to examine high bit of fractional part.
10859
261f4859
AS
10860 [BZ #14042]
10861 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10862 for call to __mcount_internal.
10863 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10864 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10865 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10866
f17ac40d
JM
108672012-07-06 Joseph Myers <joseph@codesourcery.com>
10868
9ad63c23
JM
10869 [BZ #14154]
10870 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10871 approximation for values within 0x1p-13f of an odd multiple of
10872 pi/4.
10873 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10874 exception. Add more tests.
10875 * sysdeps/i386/fpu/libm-test-ulps: Update.
10876
f17ac40d
JM
10877 [BZ #6778]
10878 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10879 inputs and return -1 for them. Do not check for +Inf in case not
10880 reachable for +Inf.
10881 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10882 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10883 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10884 and return -1 for them. Do not check for +Inf in case not
10885 reachable for +Inf.
10886 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10887 define.
10888 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10889 and return -1 for them. Do not check for +Inf in case not
10890 reachable for +Inf.
10891 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10892 spurious underflow.
10893 * sysdeps/i386/fpu/libm-test-ulps: Update.
10894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10895
fb21f89b
MF
108962012-07-06 Mike Frysinger <vapier@gentoo.org>
10897
10898 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10899
cdfe2c5e
JM
109002012-07-05 Joseph Myers <joseph@codesourcery.com>
10901
10902 [BZ #14157]
10903 [BZ #14331]
10904 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10905 could result in spurious underflow. Scale down values above
10906 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10907 * math/s_csqrtf.c (__csqrtf): Likewise.
10908 * math/s_csqrtl.c (__csqrtl): Likewise.
10909 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10910 spurious underflow.
10911 * sysdeps/i386/fpu/libm-test-ulps: Update.
10912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10913
70d35b67
AS
109142012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10915
704bc459
AS
10916 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10917 xopen-msg.sed.
10918 * catgets/xopen-msg.awk: New file.
10919 * catgets/xopen-msg.sed: Removed.
10920
70d35b67
AS
10921 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10922 po2text.sed.
10923 * intl/po2test.awk: New file.
10924 * intl/po2test.sed: Removed.
10925
ca61cf32
JM
109262012-07-04 Joseph Myers <joseph@codesourcery.com>
10927
10928 [BZ #14328]
10929 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10930 or multiply small sinh result by itself.
10931 * math/s_ctanf.c (__ctanf): Likewise.
10932 * math/s_ctanh.c (__ctanh): Likewise.
10933 * math/s_ctanhf.c (__ctanhf): Likewise.
10934 * math/s_ctanhl.c (__ctanhl): Likewise.
10935 * math/s_ctanl.c (__ctanl): Likewise.
10936 * math/libm-test.inc (ctan_test_tonearest): New function.
10937 (ctan_test_towardzero): Likewise.
10938 (ctan_test_downward): Likewise.
10939 (ctan_test_upward): Likewise.
10940 (ctanh_test_tonearest): Likewise.
10941 (ctanh_test_towardzero): Likewise.
10942 (ctanh_test_downward): Likewise.
10943 (ctanh_test_upward): Likewise.
10944 (main): Call these new functions.
10945 * sysdeps/i386/fpu/libm-test-ulps: Update.
10946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10947
ca48a46a
MF
109482012-07-03 Mike Frysinger <vapier@gentoo.org>
10949
10950 * .gitignore: Delete /ports entry.
10951
9d63d37d
AJ
109522012-07-03 Andreas Jaeger <aj@suse.de>
10953
10954 * po/bg.po: Update from translation team.
10955 * po/cs.po: Likewise.
10956 * po/de.po: Likewise.
10957 * po/hr.po: Likewise.
10958 * po/nl.pl: Likewise.
10959 * po/pl.po: Likewise.
10960 * po/vi.po: Likewise.
10961
370ca3d2
JM
109622012-07-03 Joseph Myers <joseph@codesourcery.com>
10963
95f5a9a8
JM
10964 * Makeconfig [!+link] (+link-before-libc): New variable.
10965 [!+link] (+link-after-libc): Likewise.
10966 [!+link] (+link-tests): Likewise.
10967 [!+link] (+link): Define in terms of $(+link-before-libc) and
10968 $(+link-after-libc).
10969 [!+link-static] (+link-static-before-libc): New variable.
10970 [!+link-static] (+link-static-after-libc): Likewise.
10971 [!+link-static] (+link-static-tests): Likewise.
10972 [!+link-static] (+link-static): Define in terms of
10973 $(+link-static-before-libc) and $(+link-static-after-libc).
10974 [build-shared] (link-libc-before-gnulib): New variable.
10975 [build-shared] (link-libc-tests): Likewise.
10976 [build-shared] (link-libc): Define in terms of
10977 $(link-libc-before-gnulib).
10978 [!build-shared] (link-libc-tests): New variable.
10979 (link-libc-static-tests): New variable.
10980 [!gnulib] (gnulib-arch): New variable.
10981 [!gnulib] (gnulib-tests): Likewise.
10982 [!gnulib] (static-gnulib-arch): Likewise.
10983 [!gnulib] (static-gnulib-tests): Likewise.
10984 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10985 Define with "=" instead of ":=".
10986 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10987 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10988 * Rules (binaries-all-notests): New variable.
10989 (binaries-all-tests): Likewise.
10990 (binaries-static-notests): Likewise.
10991 (binaries-static-tests): Likewise.
10992 (binaries-all): Define using $(binaries-all-notests) and
10993 $(binaries-all-tests).
10994 (binaries-static): Define using $(binaries-static-notests) and
10995 $(binaries-static-tests).
10996 (binaries-shared-tests): New variable.
10997 (binaries-shared-notests): Likewise.
10998 (binaries-shared): Remove variable.
10999 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11000 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11001 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11002 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11003 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11004 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11005 * elf/Makefile (sln-modules): New variable.
11006 (extra-objs): Add $(sln-modules:=.o).
11007 (ldconfig-modules): Add static-stubs.
11008 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11009 * elf/static-stubs.c: New file.
11010
7a845b2c
JM
11011 [BZ #14283]
11012 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11013 by 7 not 8 to examine high bit of fractional part. Use volatile
11014 variables when splitting into final array of floats if
11015 __FLT_EVAL_METHOD__ != 0.
11016 * math/libm-test.inc (cos_test): Add another test.
11017 (sin_test): Likewise.
11018 * sysdeps/i386/fpu/libm-test-ulps: Update.
11019
e2283f38
JM
11020 [BZ #14273]
11021 * math/libm-test.inc (cosh_test): Add more tests.
11022
370ca3d2
JM
11023 * version.h (RELEASE): Set to "development".
11024 (VERSION): Set to "2.16.90".
11025
ee9247c3
CD
110262012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11027
11028 * NEWS: Update copyright. Remove last-updated date.
11029 Mention math library bug fixes and timezone data changes.
11030 * README: Mention GNU/Hurd, x32, and HPPA support status.
11031
4648c381
TS
110322012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11033
11034 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11035
aac78a43
AJ
110362012-06-27 Andreas Jaeger <aj@suse.de>
11037
11038 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11039
ed3dbfad
AJ
110402012-06-25 Andreas Jaeger <aj@suse.de>
11041
11042 * sysdeps/s390/fpu/libm-test-ulps: Update.
11043
4d0ee855
AS
110442012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11045 Thomas Schwinge <thomas@codesourcery.com>
11046
11047 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11048 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11049 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11050 fanotify_mark.
11051
af1bce34
TS
110522012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11053
a9fa33ba
TS
11054 * sysdeps/mach/start.c: Remove file.
11055 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11056 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11057 * sysdeps/sh/init-first.c: Likewise.
11058
58f902b8
TS
11059 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11060 registers for frame unwinding purposes, add CFI directives.
11061 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11062 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11063 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11064 Likewise.
11065
1518f58b
TS
11066 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11067 __fortify_fail returning.
11068 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11069
db9b5059
TS
11070 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11071 sysdeps/sh/____longjmp_chk.S.
11072 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11073 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11074 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11075 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11076
967705fe
TS
11077 * sysdeps/sh/abort-instr.h: New file.
11078 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11079 process in case exit returns.
11080
a9def8c4
TS
11081 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11082 initialize the GOT register before use.
11083
2a649725
TS
11084 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11085 calculation of ARGC > 4.
11086
af1bce34
TS
11087 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11088 meaningful names to some local labels.
11089
d230f50a
KK
110902012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11091 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11092
11093 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11094 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11095 (__arch_compare_and_exchange_val_16_acq): Likewise.
11096 (__arch_compare_and_exchange_val_32_acq): Likewise.
11097 (atomic_exchange_and_add): Fix gUSA sequence.
11098 (atomic_add): Likewise.
11099 (atomic_add_negative): Likewise.
11100 (atomic_add_zero): Likewise.
11101 (atomic_bit_test_set): Likewise.
11102
0479b305
AS
111032012-06-22 Andreas Schwab <schwab@redhat.com>
11104
11105 [BZ #13579]
11106 * include/link.h (struct link_map): Add l_free_initfini.
11107 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11108 l_initfini.
11109 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11110 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11111 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11112 set.
11113
0e3933b9
CD
111142012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11115
11116 * configure.in: Use AC_LANG_SOURCE.
11117 * configure: Regenerate.
11118
4248b1b1
RM
111192012-06-22 Roland McGrath <roland@hack.frob.com>
11120
11121 * configure.in (libc_cv_localstatedir): New substituted variable.
11122 * configure: Regenerated.
11123 * config.make.in (localstatedir): New variable, substituted from
11124 libc_cv_localstatedir.
11125 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11126 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11127 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11128 * sysdeps/gnu/configure: Regenerated.
11129
006dd861
JL
111302012-06-21 Jeff Law <law@redhat.com>
11131
11132 [BZ #14277]
11133 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11134 free. Simplify list management for _LIBC case.
11135
79662d42
JM
111362012-06-21 Joseph Myers <joseph@codesourcery.com>
11137
b7abb4bf
JM
11138 [BZ #14273]
11139 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11140 Clear sign bit of 64-bit integer value before comparing against
11141 overflow value.
11142
79662d42
JM
11143 * sysdeps/mach/configure: Regenerated.
11144
1f150908
L
111452012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11146
11147 [BZ #14278]
11148 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11149
28363bbf
JL
111502012-06-21 Jeff Law <law@redhat.com>
11151
11152 [BZ #13882]
11153 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11154 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11155 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11156 * elf/dl-open.c (dl_open_worker): Likewise.
11157
09615db4
CD
111582012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11159
11160 * scripts/list-sources.sh: Scan PORTS for translations.
11161 * po/libc.pot: Regenerated.
11162
2174c6dd
AJ
111632012-06-21 Andreas Jaeger <aj@suse.de>
11164
11165 [BZ #12194]
11166 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11167 warning.
11168 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11169 * bits/byteswap-16.h (__bswap_16): Likewise.
11170 * bits/byteswap.h (__bswap_constant_16): Likewise.
11171
3ee947b1
L
111722012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11173
11174 [BZ #14117]
a2f34833
L
11175 * sysdeps/i386/fpu_control.h: Removed.
11176 * sysdeps/x86_64/fpu_control.h: Moved to ...
11177 * sysdeps/x86/fpu_control.h: Here.
11178
3ee947b1
L
11179 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11180 (_FPU_SETCW): Likewise.
11181
ed1825f8
L
111822012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11183
25f1282a
L
11184 [BZ #14117]
11185 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11186 * sysdeps/x86/fpu/bits/mathinline.h: This.
11187 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11188
ed1825f8
L
11189 [BZ #14050]
11190 [BZ #14117]
11191 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11192 functions if __x86_64__ is defined.
11193
36d54b74
CLT
111942012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11195
11196 * string/endian.h: Add !__ASSEMBLER__ condition for including
11197 conversion interfaces.
11198
10285c21
JM
111992012-06-15 Joseph Myers <joseph@codesourcery.com>
11200
11201 [BZ #14241]
11202 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11203 of ABS(x) in calculating zero to negative powers other than odd
11204 integers.
11205 * math/libm-test.inc (pow_test): Add more tests.
11206
06c5abbd
AJ
112072012-06-15 Andreas Jaeger <aj@suse.de>
11208
11209 * manual/contrib.texi (Contributors): Update entry of Liubov
11210 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11211 Machado Filho.
11212
a3aeac40
CH
112132012-06-15 Cyril Hrubis <metan@ucw.cz>
11214
11215 * string/string.h: Add __wur to GNU version of strerror_r.
11216
49bdf4c1
L
112172012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11218
11219 [BZ #14229]
11220 * string/Makefile (tests): Add tst-strtok_r.
11221 * string/tst-strtok_r.c: New file.
11222 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11223 RAX_LP/RDX_LP on SAVE_PTR.
11224
834f9b8d
RM
112252012-06-14 Roland McGrath <roland@hack.frob.com>
11226
11227 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11228
75fa1921
JM
112292012-06-14 Joseph Myers <joseph@codesourcery.com>
11230
11231 * libm_test.inc (csqrt_test): Allow more spurious underflow
11232 exceptions.
11233 (j0_test): Likewise.
11234 (j1_test): Likewise.
11235 (y0_test): Likewise.
11236 (y1_test): Likewise.
11237
771766df
CD
112382012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11239
11240 * po/Makefile (libc.pot): Use UTF-8 charset.
11241
ceb9e56b
PP
112422012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11243
11244 [BZ #14210]
11245 Suppress sign-conversion warning from FD_SET.
11246 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11247 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11248 not unsigned long int.
11249 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11250
ddb28975
L
112512012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11252
11253 [BZ #14050]
11254 [BZ #14117]
11255 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11256 __extern_always_inline instead of __extern_inline.
11257 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11258 (__signbit): Likewise.
11259 (__signbitl): Support C++ namespace.
11260 (lrintf): New inline function.
11261 (lrint): Likewise.
11262 (llrintf): Likewise.
11263 (llrint): Likewise.
11264 (fmaxf): Likewise.
11265 (fmax): Likewise.
11266 (fminf): Likewise.
11267 (fmin): Likewise.
11268 (rint): Likewise.
11269 (rintf): Likewise.
11270 (ceil): Likewise.
11271 (ceilf): Likewise.
11272 (floor): Likewise.
11273 (floorf): Likewise.
11274 (nearbyint): Likewise.
11275 (nearbyintf): Likewise.
11276
d7b4fb26
TS
112772012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11278
11279 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11280 non-default versions.
11281
eb55f5c2
RM
112822012-06-11 Roland McGrath <roland@hack.frob.com>
11283
11284 [BZ #14218]
11285 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11286
366af02c
TS
112872012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11288
99ff6e5c
TS
11289 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11290 (FE_UPWARD, FE_DOWNWARD): Don't define.
11291 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11292 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11293
366af02c
TS
11294 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11295 reading it.
11296 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11297 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11298
793ea851
KK
112992012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11300
11301 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11302 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11303 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11304 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11305
a728a38f
L
113062012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11307
11308 [BZ #14117]
c08010c7
L
11309 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11310 * sysdeps/i386/fpu/Implies: New file.
11311 * sysdeps/x86_64/fpu/Implies: Likewise.
11312 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11313 * sysdeps/x86/fpu/bits/fenv.h: This.
11314
a728a38f
L
11315 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11316 __SSE_MATH__.
11317
6e230d11
SP
113182012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11319
11320 [BZ #14134]
11321 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11322 character 0xffff that matches the last element of the
11323 conversion table.
11324
1b671feb
AZ
113252012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11326
11327 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11328 fmodl commit.
11329
6043738b
AZ
113302012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11331
11332 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11333 values higher than 25.6283.
11334
34ae0b32
AZ
113352012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11336
11337 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11338 subnormal exponent extraction and add some __builtin_expect.
11339 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11340 Fix for subnormal mantissa calculation.
11341
1214ec8f
MF
113422012-06-04 Mike Frysinger <vapier@gentoo.org>
11343
11344 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11345 cpu2 is -1 and errno is not ENOSYS.
11346
f3d1f93c
L
113472012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11348
11349 [BZ #14117]
0e4a3cd7
L
11350 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11351 * sysdeps/x86/bits/string.h: This.
11352 * sysdeps/x86_64/bits/string.h: Removed.
11353
6704c645
L
11354 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11355 if not compiling for x86-64, but compiling for >= i486.
11356
48495318
L
11357 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11358 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11359
14adcbfc
L
11360 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11361 New macro from Linux kernel 3.4.0.
11362 (FP_XSTATE_MAGIC2): Likewise.
11363 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11364 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11365 (struct _fpx_sw_bytes): New struct.
11366 (struct _xsave_hdr): Likewise.
11367 (struct _ymmh_state): Likewise.
11368 (struct _xstate): Likewise.
11369
68e408ab
L
11370 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11371 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11372 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11373 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11374 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11375 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11376
f3d1f93c
L
11377 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11378 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11379 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11380 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11381 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11382 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11383
d9dc34cd
TMQMF
113842012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11385
11386 [BZ #13743]
11387 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11388 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11389 (sysdep_headers): Include sys/platform/ppc.h.
11390 * sysdeps/powerpc/test-gettimebase.c: Test for
11391 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11392 * manual/Makefile (appendices): Include platform.texi.
11393 * manual/contrib.texi (Contributors): Update @node pointers.
11394 * manual/maint.texi (Maintenance): Likewise.
11395 (Platform): New node.
11396 * manual/platform.texi: New file. Document the new features.
11397
4af3879c
SP
113982012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11399 Jakub Jelinek <jakub@redhat.com>
11400
11401 [BZ #14188]
11402 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11403 where __builtin_expect is unavailable.
11404
2fd6ff13
DM
114052012-06-03 David S. Miller <davem@davemloft.net>
11406
11407 * stdlib/longlong.h: Updated from GCC.
11408
173f7220
AS
114092012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11410
11411 [BZ #14042]
11412 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11413 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11414 __mcount_internal.
11415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11416 (GLIBC_2.16): Likewise.
11417
f34a1c6f
L
114182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11419
11420 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11421
88a4576f
JM
114222012-06-01 Joseph Myers <joseph@codesourcery.com>
11423
ea32bcdd
JM
11424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11425 (default-abi): New variable.
11426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11427 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11428 variable.
11429 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11430 Likewise.
11431 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11432 Likewise.
11433 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11434 Likewise.
11435
88a4576f
JM
11436 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11437 definition. Document in comment.
11438
402fe938
DM
114392012-06-01 David S. Miller <davem@davemloft.net>
11440
11441 * stdlib/longlong.h: Updated from GCC.
11442
3553723f
L
114432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11444
11445 [BZ #14117]
3bd872c4
L
11446 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11447 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11448 sys/debugreg.h sys/io.h here.
11449 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11450 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11451 sys/io.h.
11452 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11453 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11454 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11455 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11456 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11457 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11458
3553723f
L
11459 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11460 Define only if __x86_64__ is defined.
11461
4842e4fe
JM
114622012-06-01 Joseph Myers <joseph@codesourcery.com>
11463
c5bfe3d5
JM
11464 [BZ #14048]
11465 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11466 Use int64_t for variable i.
11467 * math/libm-test.inc (fmod_test): Add more tests.
11468
4842e4fe
JM
11469 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11470 z computation is not scheduled after fetestexcept.
11471 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11472 Use math_force_eval instead of asm to ensure calculation scheduled
11473 before exception test.
11474 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11475 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11476
efb73488
AJ
114772012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11478
11479 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11480 computation is not scheduled after fetestexcept.
11481
29bcce7c
L
114822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11483
11484 [BZ #14117]
11485 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11486 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11487
73a68f94
AZ
114882012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11489
11490 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11491 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11492
67b6df78
L
114932012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11494
edf2933a 11495 [BZ #14117]
ebc64a18
L
11496 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11497 <bits/wordsize.h>.
11498 (__WCHAR_MIN): Support __WORDSIZE == 64.
11499 (__WCHAR_MAX): Likewise.
11500
edf2933a
L
11501 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11502 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11503
57c6cf40
L
11504 [BZ #14183]
11505 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11506 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11507
67b6df78 11508 [BZ #14117]
8eb6281e
L
11509 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11510 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11511
aac639f4
L
11512 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11513 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11514
67b6df78
L
11515 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11516 Defined to 1 if __x86_64__ isn't defined.
11517 (_STAT_VER_LINUX_OLD): New.
11518 (st_atime): Remove duplicate.
11519 (st_mtime): Likewise.
11520 (st_ctime): Likewise.
11521
1c2cfe81
DM
115222012-05-31 David S. Miller <davem@davemloft.net>
11523
11524 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11525 entries.
11526
5be8418c
AS
115272012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11528
e7725326
AS
11529 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11530 gen-libm-test.pl.
11531
5be8418c
AS
11532 [BZ #14132]
11533 * elf/dl-reloc.c: Include <_itoa.h>.
11534 (_dl_reloc_bad_type): Remove use of INTUSE.
11535 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11536 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11537 * stdio-common/psiginfo.c (psiginfo): Likewise.
11538 * stdio-common/psignal.c (psignal): Likewise.
11539 * string/strsignal.c (strsignal): Likewise.
11540 * include/signal.h (_sys_siglist): Declare hidden proto.
11541 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11542 INTVARDEF with libc_hidden_data_def.
11543 * stdio-common/itoa-udigits.c: Likewise.
11544 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11545 (_itoa_lower_digits_internal): Remove declaration.
11546 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11547 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11548 (_sys_sigabbrev_internal): Remove aliases.
11549 (_sys_siglist): Define hidden alias.
11550
507352f1
MT
115512012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11552
11553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11554 bits/sysctl.h.
11555
42bbb1c3
L
115562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11557
11558 [BZ #14117]
6bd784b6
L
11559 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11560 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11561
8bca20f0
L
11562 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11563 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11564 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11565 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11566 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11567 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11568
f9e890a9
L
11569 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11570 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11571 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11572
471101a1
L
11573 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11574 with __addr.
11575 (insw): Likewise.
11576 (insl): Likewise.
11577 (outsb): Likewise.
11578 (outsw): Likewise.
11579 (outsl): Likewise.
11580
6451c862
L
11581 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11582 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11583 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11584
a254b8c9
L
11585 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11586 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11587 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11588 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11589 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11590 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11591
b8dfdd92
L
11592 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11593 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11594
578cd270
L
11595 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11596 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11597
de662f5f
L
11598 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11599 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11600 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11601
25653439
L
11602 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11603 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11604 to ...
11605 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11606
6bad24a0
L
11607 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11608 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11609 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11610
42bbb1c3
L
11611 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11612 for x86-64.
11613 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11614
2d10d547
JM
116152012-05-31 Joseph Myers <joseph@codesourcery.com>
11616
11617 * math/math.h (M_El): Use two more decimal places.
11618 (M_LOG2El): Likewise.
11619 (M_LOG10El): Likewise.
11620 (M_LN2l): Likewise.
11621 (M_LN10l): Likewise.
11622 (M_PIl): Likewise.
11623 (M_PI_2l): Likewise.
11624 (M_PI_4l): Likewise.
11625 (M_1_PIl): Likewise.
11626 (M_2_PIl): Likewise.
11627 (M_2_SQRTPIl): Likewise.
11628 (M_SQRT2l): Likewise.
11629 (M_SQRT1_2l): Likewise.
11630
f230c29b
DM
116312012-05-31 David S. Miller <davem@davemloft.net>
11632
11633 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11634 values between float registers.
11635 * sysdeps/sparc/sparc64/memset.S: Likewise.
11636 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11637
fed806c3
MF
116382012-05-31 Mike Frysinger <vapier@gentoo.org>
11639
11640 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11641 -D_FORTIFY_SOURCE=1.
11642 (CPPFLAGS-tst-longjmp_chk.c): Define.
11643 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11644 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11645 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11646 CFLAGS-tst-wchar-h.c.
11647
30917259
MP
116482012-05-31 Marek Polacek <polacek@redhat.com>
11649
11650 [BZ #14132]
11651 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11652 __endmntent_internal): Remove declaration.
11653 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11654 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11655 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11656
1c58d5dc
DM
116572012-05-30 David S. Miller <davem@davemloft.net>
11658
11659 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11660 (___Q_simulate_exceptions): Use real FP ops rather than writing
11661 into the %fsr.
11662 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11663 Likewise.
11664
7dc00e0d
L
116652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11666
11667 [BZ #14117]
0bd53985
L
11668 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11669 * sysdeps/x86/bits/xtitypes.h: This.
11670
3a257e66
L
11671 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11672 * sysdeps/x86/bits/wordsize.h: This.
11673
62f62904
L
11674 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11675 * sysdeps/x86/bits/huge_vall.h: This.
11676
404fe9d9
L
11677 * sysdeps/i386/bits/select.h: Removed.
11678 * sysdeps/x86_64/bits/select.h: Renamed to ...
11679 * sysdeps/x86/bits/select.h: This.
11680
d48d0446
L
11681 * sysdeps/i386/bits/setjmp.h: Removed.
11682 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11683 * sysdeps/x86/bits/setjmp.h: This.
11684
7dc00e0d
L
11685 * sysdeps/i386/bits/mathdef.h: Removed.
11686 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11687 * sysdeps/x86/bits/mathdef.h: This.
11688
03277f8f
AS
116892012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11690
11691 [BZ #14132]
11692 * include/sys/socket.h (__connect_internal)
11693 (__libc_sa_len_internal): Remove declaration.
11694 (__connect, __libc_sa_len): Declare hidden_proto.
11695 (SA_LEN): Remove use of INTUSE.
11696 * socket/connect.c: Add libc_hidden_def.
11697 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11698 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11699 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11700 alias.
11701 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11702 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11703 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11704 of adding _internal alias.
11705
13764867
L
117062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11707
11708 [BZ #14117]
6bd97696
L
11709 * sysdeps/i386/bits/link.h: Removed.
11710 * sysdeps/i386/bits/linkmap.h: Likewise.
11711 * sysdeps/x86_64/bits/link.h: Renamed to ...
11712 * sysdeps/x86/bits/link.h: This.
11713 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11714 * sysdeps/x86/bits/linkmap.h: This.
11715
f726f0bb
L
11716 * sysdeps/i386/bits/endian.h: Removed.
11717 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11718 * sysdeps/x86/bits/endian.h: This.
11719
13764867
L
11720 * sysdeps/i386/bits/byteswap.h: Removed.
11721 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11722 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11723 * sysdeps/x86/bits/byteswap.h: This.
11724 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11725 * sysdeps/x86/bits/byteswap-16.h: This.
11726 * sysdeps/i386/Implies: Add x86.
11727 * sysdeps/x86_64/Implies: Likewise.
11728
ae251b0b
DM
117292012-05-30 David S. Miller <davem@davemloft.net>
11730
11731 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11732 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11733 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11734 (FP_TRAPPING_EXCEPTIONS): Define.
11735 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11736 (FP_TRAPPING_EXCEPTIONS): Define.
11737 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11738 subnormals only when inexact has been signalled or underflow
11739 exceptions are enabled.
11740 (_FP_PACK_CANONICAL): Likewise.
11741
d5c90867
L
117422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11743
11744 [BZ #14183]
11745 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11746 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11747
63f1549e
RH
117482012-05-30 Richard Henderson <rth@twiddle.net>
11749
8d8f2279
RH
11750 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11751 with #ifndef NOT_IN_libc.
11752
63f1549e
RH
11753 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11754 marked to avoid plt entry.
11755
0ab0291b
L
117562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11757
11758 [BZ #14112]
11759 * Makeconfig (default-abi): New macro.
11760 (abi-includes): Likewise.
11761 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11762 $(abi-$(default-abi)-lib-soname) for soname if defined.
11763 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11764 abi-variants.
11765 * Makefile (installed-stubs): Likewise.
11766 * include/stubs-biarch.h: Removed.
11767 * scripts/lib-names.awk: Only handle one library at a time.
11768 * scripts/soversions.awk: Remove WORDSIZE support.
11769 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11770 entries.
11771 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11772 Removed.
11773 (syscall-list-default-condition): Likewise.
11774 (syscall-list-default-condition): Likewise.
11775 (syscall-list-includes): Likewise.
11776 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11777 syscall-list-* with abi-*. Handle undefined abi-variants.
11778 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11779 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11780 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11781 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11782 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11783 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11784 Removed.
11785 (syscall-list-32-options): Likewise.
11786 (syscall-list-32-condition): Likewise.
11787 (syscall-list-64-options): Likewise.
11788 (syscall-list-64-condition): Likewise.
11789 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11790 macro.
11791 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11792 Renamed to ...
11793 (abi-*): This.
11794 (abi-64-ld-soname): New macro.
11795 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11796 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11797 Renamed to ...
11798 (abi-*): This.
11799 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11800 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11801
4da0431d
JM
118022012-05-30 Joseph Myers <joseph@codesourcery.com>
11803
3a85279c
JM
11804 * sysdeps/unix/sysv/linux/kernel-features.h
11805 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11806 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11807 include <kernel-features.h>.
11808 [!__NR_ftruncate64]: Remove conditional code.
11809 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11810 [__NR_ftruncate64]: Make code unconditional.
11811 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11812 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11813 include <kernel-features.h>.
11814 [!__NR_ftruncate64]: Remove conditional code.
11815 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11816 [__NR_ftruncate64]: Make code unconditional.
11817 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11819 include <kernel-features.h>.
11820 [!__NR_ftruncate64]: Remove conditional code.
11821 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11822 [__NR_ftruncate64]: Make code unconditional.
11823 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11825 include <kernel-features.h>.
11826 [!__NR_ftruncate64]: Remove conditional code.
11827 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11828 [__NR_ftruncate64]: Make code unconditional.
11829 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11830
4da0431d
JM
11831 * configure.in (libc_cv_fpie): Weaken to a compile test using
11832 LIBC_TRY_CC_OPTION.
11833 * configure: Regenerated.
11834
11ef492c
AK
118352012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11836
11837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11841 Refreshed.
11842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11848 Refreshed.
11849
d66ef399
DM
118502012-05-27 David S. Miller <davem@davemloft.net>
11851
11852 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11853 (___Q_zero): New.
11854 (__Q_simulate_exceptions): Return void. Change to simulate
11855 exceptions by writing into the %fsr.
11856 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11857 (__Qp_handle_exceptions): Likewise.
11858 (numbers): Delete.
11859 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11860 __Qp_handle_exceptions.
11861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11862 __Qp_handle_exceptions.
11863 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11864 as unused and give dummy FP_RND_NEAREST initializer.
11865 (FP_INHIBIT_RESULTS): Define.
11866 (___Q_simulate_exceptions): Update declaration.
11867 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11868 formatting.
11869 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11870 as unused and give dummy FP_RND_NEAREST initializer.
11871 (__Qp_handle_exceptions): Update declaration.
11872 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11873 formatting.
11874
04fb54b5
TS
118752012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11876
11877 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11878 the temporary FPU control word.
11879 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11880 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11881 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11882 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11883 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11884 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11885 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11886 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11887 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11888 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11889 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11890
3f99608f
KK
118912012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11892
11893 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11894 fields.
11895
65a4de4e
CLT
118962012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11897
11898 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11899 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11900 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11901 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11902 Likewise.
11903 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11904 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11905 Likewise.
11906
15749d40
UD
119072012-05-27 Ulrich Drepper <drepper@gmail.com>
11908
11909 * po/h.po: Update from translation team.
11910
25dbcb27
AS
119112012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11912
3d3f8e55
AS
11913 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11914
25dbcb27
AS
11915 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11916 handling of denormals.
11917 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11918 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11919 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11920 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11921 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11922 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11923 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11924 Likewise.
11925
7ad47a80 119262012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11927
11928 [BZ #14152]
11929 * math/libm-test.inc (fma_test): Don't always expect underflow
11930 exception.
11931
9c6ea9fa
SP
119322012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11933
11934 [BZ #12416]
11935 * elf/tst-execstack.c: Include stackinfo.h.
11936 (do_test): Adjust test case to ensure that pthread_getattr_np
11937 behaviour remains the same after marking stack executable.
11938
a8239222
JM
119392012-05-25 Joseph Myers <joseph@codesourcery.com>
11940
11941 * sysdeps/unix/sysv/linux/kernel-features.h
11942 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11943 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11944 kernel-features.h.
11945 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11946 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11947 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11948 kernel-features.h.
11949 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11950 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11951
918b5606
L
119522012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11953
11954 * configure.in: Define the default includes to being none.
11955 * configure: Regenerated.
11956
3a097cc7
RM
119572012-05-25 Roland McGrath <roland@hack.frob.com>
11958
8422c9a5
RM
11959 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11960 * sysdeps/x86_64/setjmp.S: Likewise.
11961 * sysdeps/i386/bsd-setjmp.S: Likewise.
11962 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11963 * sysdeps/i386/setjmp.S: Likewise.
11964 * sysdeps/i386/__longjmp.S: Likewise.
11965 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11966 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11967
3a097cc7
RM
11968 * include/stap-probe.h: New file.
11969 * configure.in: Handle --enable-systemtap.
11970 * configure: Regenerated.
11971 * config.h.in (USE_STAP_PROBE): New #undef.
11972 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11973 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11974 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11975
21708942
JM
119762012-05-25 Joseph Myers <joseph@codesourcery.com>
11977
11978 [BZ #13717]
11979 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11980 to 2.4.0 where earlier.
11981 * sysdeps/unix/sysv/linux/configure: Regenerated.
11982 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11983 <kernel-features.h>.
11984 [__ASSUME_32BITUIDS]: Make code unconditional.
11985 [!__ASSUME_32BITUIDS]: Remove conditional code.
11986 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11987 <kernel-features.h>.
11988 [__ASSUME_32BITUIDS]: Make code unconditional.
11989 [!__ASSUME_32BITUIDS]: Remove conditional code.
11990 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11991 [__ASSUME_32BITUIDS]: Make code unconditional.
11992 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11993 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11994 <kernel-features.h>.
11995 [__ASSUME_32BITUIDS]: Make code unconditional.
11996 [!__ASSUME_32BITUIDS]: Remove conditional code.
11997 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11998 <kernel-features.h>.
11999 [__ASSUME_32BITUIDS]: Make code unconditional.
12000 [!__ASSUME_32BITUIDS]: Remove conditional code.
12001 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12002 <kernel-features.h>.
12003 [__ASSUME_32BITUIDS]: Make code unconditional.
12004 [!__ASSUME_32BITUIDS]: Remove conditional code.
12005 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12006 <kernel-features.h>.
12007 [__ASSUME_32BITUIDS]: Make code unconditional.
12008 [!__ASSUME_32BITUIDS]: Remove conditional code.
12009 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12010 <kernel-features.h>.
12011 [__ASSUME_32BITUIDS]: Make code unconditional.
12012 [!__ASSUME_32BITUIDS]: Remove conditional code.
12013 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12014 <kernel-features.h>.
12015 [__ASSUME_32BITUIDS]: Make code unconditional.
12016 [!__ASSUME_32BITUIDS]: Remove conditional code.
12017 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12018 <kernel-features.h>.
12019 [__ASSUME_32BITUIDS]: Make code unconditional.
12020 [!__ASSUME_32BITUIDS]: Remove conditional code.
12021 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12022 <kernel-features.h>.
12023 [__ASSUME_32BITUIDS]: Make code unconditional.
12024 [!__ASSUME_32BITUIDS]: Remove conditional code.
12025 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12026 <kernel-features.h>.
12027 [__ASSUME_32BITUIDS]: Make code unconditional.
12028 [!__ASSUME_32BITUIDS]: Remove conditional code.
12029 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12030 <kernel-features.h>.
12031 [__ASSUME_32BITUIDS]: Make code unconditional.
12032 [!__ASSUME_32BITUIDS]: Remove conditional code.
12033 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12034 <kernel-features.h>.
12035 [__NR_setresgid] (__setresgid): Do not declare.
12036 [__ASSUME_32BITUIDS]: Make code unconditional.
12037 [!__ASSUME_32BITUIDS]: Remove conditional code.
12038 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12039 <kernel-features.h>.
12040 [__NR_setresuid] (__setresuid): Do not declare.
12041 [__ASSUME_32BITUIDS]: Make code unconditional.
12042 [!__ASSUME_32BITUIDS]: Remove conditional code.
12043 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12044 <kernel-features.h>.
12045 [__ASSUME_32BITUIDS]: Make code unconditional.
12046 [!__ASSUME_32BITUIDS]: Remove conditional code.
12047 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12048 <kernel-features.h>.
12049 [__ASSUME_32BITUIDS]: Make code unconditional.
12050 [!__ASSUME_32BITUIDS]: Remove conditional code.
12051 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12052 <kernel-features.h>.
12053 [__ASSUME_32BITUIDS]: Make code unconditional.
12054 [!__ASSUME_32BITUIDS]: Remove conditional code.
12055 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12056 <kernel-features.h>.
12057 [__ASSUME_32BITUIDS]: Make code unconditional.
12058 [!__ASSUME_32BITUIDS]: Remove conditional code.
12059 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12060 <kernel-features.h>.
12061 [__ASSUME_32BITUIDS]: Make code unconditional.
12062 [!__ASSUME_32BITUIDS]: Remove conditional code.
12063 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12064 <kernel-features.h>.
12065 [__ASSUME_32BITUIDS]: Make code unconditional.
12066 [!__ASSUME_32BITUIDS]: Remove conditional code.
12067 * sysdeps/unix/sysv/linux/i386/setresuid.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/i386/setreuid.c: Do not include
12072 <kernel-features.h>.
12073 [__ASSUME_32BITUIDS]: Make code unconditional.
12074 [!__ASSUME_32BITUIDS]: Remove conditional code.
12075 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12076 <kernel-features.h>.
12077 [__ASSUME_32BITUIDS]: Make code unconditional.
12078 [!__ASSUME_32BITUIDS]: Remove conditional code.
12079 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12080 <kernel-features.h>.
12081 [__ASSUME_32BITUIDS]: Make code unconditional.
12082 [!__ASSUME_32BITUIDS]: Remove conditional code.
12083 * sysdeps/unix/sysv/linux/kernel-features.h
12084 (__ASSUME_SETRESUID_SYSCALL): Remove.
12085 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12086 (__ASSUME_32BITUIDS): Likewise.
12087 (__ASSUME_LDT_WORKS): Likewise.
12088 (__ASSUME_O_DIRECTORY): Likewise.
12089 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12090 architecture but not kernel version.
12091 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12092 (__ASSUME_MMAP2_SYSCALL): Likewise.
12093 (__ASSUME_STAT64_SYSCALL): Likewise.
12094 (__ASSUME_IPC64): Likewise.
12095 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12096 <kernel-features.h>.
12097 [__ASSUME_32BITUIDS]: Make code unconditional.
12098 [!__ASSUME_32BITUIDS]: Remove conditional code.
12099 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12100 <kernel-features.h>.
12101 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12102 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12103 132096]: Remove conditional code.
12104 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12105 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12106 <kernel-features.h>.
12107 [__ASSUME_32BITUIDS]: Make code unconditional.
12108 [!__ASSUME_32BITUIDS]: Remove conditional code.
12109 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12110 <kernel-features.h>.
12111 [__ASSUME_32BITUIDS]: Make code unconditional.
12112 [!__ASSUME_32BITUIDS]: Remove conditional code.
12113 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12114 <kernel-features.h>.
12115 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12116 unconditional.
12117 (__setresgid): Do not declare.
12118 [__ASSUME_32BITUIDS]: Make code unconditional.
12119 [!__ASSUME_32BITUIDS]: Remove conditional code.
12120 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12121 <kernel-features.h>.
12122 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12123 unconditional.
12124 (__setresuid): Do not declare.
12125 [__ASSUME_32BITUIDS]: Make code unconditional.
12126 [!__ASSUME_32BITUIDS]: Remove conditional code.
12127 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12128 <kernel-features.h>.
12129 [__ASSUME_32BITUIDS]: Make code unconditional.
12130 [!__ASSUME_32BITUIDS]: Remove conditional code.
12131 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12132 <kernel-features.h>.
12133 [__ASSUME_32BITUIDS]: Make code unconditional.
12134 [!__ASSUME_32BITUIDS]: Remove conditional code.
12135
a386f1cc
RH
121362012-05-25 Richard Henderson <rth@twiddle.net>
12137
12138 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12139 dl_hwcap to ifunc resolver.
12140 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12141 elf_ifunc_invoke.
12142 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12143 dl_hwcap to ifunc resolver.
12144 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12145
b6550497
JM
121462012-05-24 Joseph Myers <joseph@codesourcery.com>
12147
12148 [BZ #14153]
12149 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12150 for |x| <= 2**-26, not 2**-57.
12151 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12152 exception.
12153
b0bc23a1
JL
121542012-05-24 Jeff Law <law@redhat.com>
12155
12156 * stdio-common/Makefile (tests): Add bug25.
12157 * stdio-common/bug25.c: New test.
12158
347c92e9
L
121592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12160
12161 [BZ #13576]
12162 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12163 multiple of MALLOC_ALIGNMENT in size.
12164 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12165
6bcc8b3f
JM
121662012-05-24 Joseph Myers <joseph@codesourcery.com>
12167
12168 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12169 Require >= 256.
12170 (FILENAME_MAX): Use macro-int-constant.
12171 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12172 (_IOFBF): Use macro-int-constant.
12173 (_IOLBF): Likewise.
12174 (_IONBF): Likewise.
12175 (SEEK_CUR): Likewise.
12176 (SEEK_END): Likewise.
12177 (SEEK_SET): Likewise.
12178 (TMP_MAX): Likewise.
12179 (EOF): Use macro-int-constant. Require < 0.
12180 (NULL): Use macro-constant. Require == 0.
12181 (stdin): Require type to be FILE *.
12182 (stdout): Likewise.
12183 (stderr): Likewise.
12184 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12185 macro-int-constant.
12186 (EXIT_SUCCESS): Likewise.
12187 (NULL): Use macro-constant. Require == 0.
12188 (RAND_MAX): Use macro-int-constant.
12189 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12190 [C99-based standards] (strtof): Require function.
12191 [C99-based standards] (strtold): Likewise.
12192 [C99-based standards] (strtoll): Likewise.
12193 [C99-based standards] (strtoull): Likewise.
12194 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12195 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12196 [ISO || ISO99 || ISO11] (math.h): Likewise.
12197 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12198 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12199 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12200
d18ea0c5
AS
122012012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12202
12203 [BZ #14132]
56d25bb8
AS
12204 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12205 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12206 * intl/dgettext.c (DCGETTEXT): Likewise.
12207 * intl/gettext.c (DCGETTEXT): Likewise.
12208 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12209 * posix/regex_internal.h (gettext): Likewise.
12210 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12211 Remove declaration.
12212 * include/argz.h (__argz_count_internal)
12213 (__argz_stringify_internal): Remove declaration.
12214 (__argz_count, __argz_stringify): Declare hidden proto.
12215 * intl/dcgettext.c: Remove use of INTDEF.
12216 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12217 * string/argz-stringify.c: Likewise.
12218 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12219 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12220 Declare hidden proto.
d18ea0c5
AS
12221 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12222 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12223 Declare hidden proto.
12224 * include/stdio.h (__asprintf_internal): Don't declare.
12225 (__asprintf): Don't define as macro. Declare hidden proto.
12226 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12227 (__fsetlocking): Declare hidden proto.
12228 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12229 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12230 hidden proto.
12231 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12232 (_IO_setlinebuf): Remove use of INTUSE.
12233 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12234 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12235 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12236 Remove declaration.
12237 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12238 (_IO_do_flush): Remove use of INTUSE.
12239 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12240 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12241 (_IO_adjust_column, _IO_least_wmarker)
12242 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12243 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12244 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12245 (_IO_default_doallocate, _IO_wdefault_doallocate)
12246 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12247 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12248 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12249 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12250 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12251 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12252 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12253 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12254 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12255 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12256 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12257 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12258 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12259 proto.
12260 (_IO_flush_all_internal, _IO_adjust_column_internal)
12261 (_IO_default_uflow_internal, _IO_default_finish_internal)
12262 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12263 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12264 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12265 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12266 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12267 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12268 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12269 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12270 (_IO_file_close_internal, _IO_file_close_it_internal)
12271 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12272 (_IO_file_init_internal, _IO_file_attach_internal)
12273 (_IO_file_fopen_internal, _IO_file_read_internal)
12274 (_IO_file_sync_internal, _IO_file_seek_internal)
12275 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12276 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12277 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12278 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12279 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12280 (_IO_list_all_internal, _IO_link_in_internal)
12281 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12282 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12283 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12284 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12285 (_IO_do_write_internal, _IO_padn_internal)
12286 (_IO_getline_info_internal, _IO_getline_internal)
12287 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12288 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12289 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12290 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12291 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12292 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12293 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12294 with libc_hidden_ver, remove use of INTUSE.
12295 * libio/genops.c: Likewise.
12296 * libio/freopen.c: Likewise.
12297 * libio/freopen64.c: Likewise.
12298 * libio/iofclose.c: Likewise.
12299 * libio/iofdopen.c: Likewise.
12300 * libio/iofflush.c: Likewise.
12301 * libio/iofflush_u.c: Likewise.
12302 * libio/iofgets.c: Likewise.
12303 * libio/iofgets_u.c: Likewise.
12304 * libio/iofopen.c: Likewise.
12305 * libio/iofopncook.c: Likewise.
12306 * libio/iofread.c: Likewise.
12307 * libio/iofread_u.c: Likewise.
12308 * libio/ioftell.c: Likewise.
12309 * libio/iofwrite.c: Likewise.
12310 * libio/iogetline.c: Likewise.
12311 * libio/iogets.c: Likewise.
12312 * libio/iogetwline.c: Likewise.
12313 * libio/iopadn.c: Likewise.
12314 * libio/iopopen.c: Likewise.
12315 * libio/ioseekoff.c: Likewise.
12316 * libio/ioseekpos.c: Likewise.
12317 * libio/iosetbuffer.c: Likewise.
12318 * libio/iosetvbuf.c: Likewise.
12319 * libio/ioungetc.c: Likewise.
12320 * libio/ioungetwc.c: Likewise.
12321 * libio/iovdprintf.c: Likewise.
12322 * libio/iovsprintf.c: Likewise.
12323 * libio/iovsscanf.c: Likewise.
12324 * libio/memstream.c: Likewise.
12325 * libio/obprintf.c: Likewise.
12326 * libio/oldfileops.c: Likewise.
12327 * libio/oldiofclose.c: Likewise.
12328 * libio/oldiofdopen.c: Likewise.
12329 * libio/oldiofopen.c: Likewise.
12330 * libio/oldiopopen.c: Likewise.
12331 * libio/oldstdfiles.c: Likewise.
12332 * libio/putc.c: Likewise.
12333 * libio/setbuf.c: Likewise.
12334 * libio/setlinebuf.c: Likewise.
12335 * libio/stdfiles.c: Likewise.
12336 * libio/strops.c: Likewise.
12337 * libio/vasprintf.c: Likewise.
12338 * libio/vscanf.c: Likewise.
12339 * libio/vsnprintf.c: Likewise.
12340 * libio/vswprintf.c: Likewise.
12341 * libio/wfiledoalloc.c: Likewise.
12342 * libio/wfileops.c: Likewise.
12343 * libio/wgenops.c: Likewise.
12344 * libio/wmemstream.c: Likewise.
12345 * libio/wstrops.c: Likewise.
12346 * libio/__fpurge.c: Likewise.
12347 * libio/__fsetlocking.c: Likewise.
12348 * assert/assert.c: Likewise.
12349 * debug/fgets_chk.c: Likewise.
12350 * debug/fgets_u_chk.c: Likewise.
12351 * debug/fread_chk.c: Likewise.
12352 * debug/fread_u_chk.c: Likewise.
12353 * debug/gets_chk.c: Likewise.
12354 * debug/obprintf_chk.c: Likewise.
12355 * debug/vasprintf_chk.c: Likewise.
12356 * debug/vdprintf_chk.c: Likewise.
12357 * debug/vsnprintf_chk.c: Likewise.
12358 * debug/vsprintf_chk.c: Likewise.
12359 * malloc/mtrace.c: Likewise.
12360 * misc/error.c: Likewise.
12361 * misc/syslog.c: Likewise.
12362 * stdio-common/asprintf.c: Likewise.
12363 * stdio-common/fxprintf.c: Likewise.
12364 * stdio-common/getw.c: Likewise.
12365 * stdio-common/isoc99_fscanf.c: Likewise.
12366 * stdio-common/isoc99_scanf.c: Likewise.
12367 * stdio-common/isoc99_vfscanf.c: Likewise.
12368 * stdio-common/isoc99_vscanf.c: Likewise.
12369 * stdio-common/isoc99_vsscanf.c: Likewise.
12370 * stdio-common/printf-prs.c: Likewise.
12371 * stdio-common/printf_fp.c: Likewise.
12372 * stdio-common/printf_fphex.c: Likewise.
12373 * stdio-common/printf_size.c: Likewise.
12374 * stdio-common/putw.c: Likewise.
12375 * stdio-common/scanf.c: Likewise.
12376 * stdio-common/sprintf.c: Likewise.
12377 * stdio-common/tmpfile.c: Likewise.
12378 * stdio-common/vfprintf.c: Likewise.
12379 * stdio-common/vfscanf.c: Likewise.
12380 * stdlib/strfmon_l.c: Likewise.
12381 * sunrpc/openchild.c: Likewise.
12382 * sunrpc/xdr_stdio.c: Likewise.
12383 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12384 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12385
d6c33fda
RM
123862012-05-24 Roland McGrath <roland@hack.frob.com>
12387
c1487492
RM
12388 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12389
12390 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12391 in the third column, to generate for the shared library an IFUNC
12392 that uses _dl_vdso_vsym.
12393 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12394 * Makeconfig (object-suffixes-noshared): New variable.
12395
12396 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12397 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12398 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12399 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12400
d6c33fda
RM
12401 [BZ #14132]
12402 * include/sys/time.h (__gettimeofday): Remove macro.
12403 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12404 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12405 Remove INTDEF.
12406 (__gettimeofday): Add libc_hidden_def.
12407 (gettimeofday): Add libc_hidden_weak.
12408 * sysdeps/mach/gettimeofday.c: Likewise.
12409 * sysdeps/posix/gettimeofday.c: Likewise.
12410 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12411 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12412 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12413 (__gettimeofday_internal): Remove strong_alias.
12414 (__gettimeofday): Add libc_hidden_def.
12415 (gettimeofday): Add libc_hidden_weak.
12416 * sysdeps/unix/syscalls.list (gettimeofday):
12417 Remove __gettimeofday_internal alias.
12418
b5a2bbe6
L
124192012-05-24 Daniel Jacobowitz <drow@false.org>
12420 H.J. Lu <hongjiu.lu@intel.com>
12421
12422 [BZ #12495]
12423 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12424 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12425 (largebin_index_32_big): New.
12426 (largebin_index): Use it for 16-byte alignment.
12427 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12428 correction with front_misalign.
12429
cfba4fda
L
124302012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12431
7f907421
L
12432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12434 Likewise.
12435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12436 Likewise.
12437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12438 Likewise.
12439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12440 Likewise.
12441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12442 Likewise.
12443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12444 Likewise.
12445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12446 Likewise.
12447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12448 Likewise.
12449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12450 Likewise.
12451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12452 Likewise.
12453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12454 Likewise.
12455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12456 Likewise.
12457
cfba4fda
L
12458 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12459 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12460
80bad0cc
JM
124612012-05-24 Joseph Myers <joseph@codesourcery.com>
12462
7a25eb06
JM
12463 [BZ #10846]
12464 [BZ #14036]
12465 * math/libm-test.inc (exp_test): Add test from bug 14036.
12466 (pow_test): Add test from bug 10846.
12467
795405f9
JM
12468 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12469 and other flags.
12470 (special_function): Do not include flags in test name.
12471 (parse_args): Likewise.
12472 * sysdeps/i386/fpu/libm-test-ulps: Update.
12473 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12474 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12475 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12477
80bad0cc
JM
12478 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12479 exceptions.
12480 * math/libm-test.inc ("Philosophy"): Update comment about
12481 exception testing.
12482 (UNDERFLOW_EXCEPTION): New macro.
12483 (UNDERFLOW_EXCEPTION_OK): Likewise.
12484 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12485 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12486 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12487 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12488 (INVALID_EXCEPTION_OK): Update value.
12489 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12490 (OVERFLOW_EXCEPTION_OK): Likewise.
12491 (IGNORE_ZERO_INF_SIGN): Likewise.
12492 (test_exceptions): Handle underflow exceptions.
12493 (acos_test): Update for underflow exception expectations.
12494 (cexp_test): Likewise.
12495 (clog_test): Likewise.
12496 (clog10_test): Likewise.
12497 (csqrt_test): Likewise.
12498 (ctan_test): Likewise.
12499 (ctanh_test): Likewise.
12500 (exp_test): Likewise.
12501 (exp10_test): Likewise.
12502 (exp2_test): Likewise.
12503 (expm1_test): Likewise.
12504 (fma_test): Likewise.
12505 (j0_test): Likewise.
12506 (jn_test): Likewise.
12507 (nexttoward_test): Likewise.
12508 (pow_test): Likewise.
12509 (scalbn_test): Likewise.
12510 (scalbln_test): Likewise.
12511 (tan_test): Likewise.
12512 (y1_test): Likewise.
12513 * sysdeps/i386/fpu/libm-test-ulps: Update.
12514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12515
9e0e3d0b
DM
125162012-05-23 David S. Miller <davem@davemloft.net>
12517
12518 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12519 (__libc_sigaction): Remove unused local variables.
12520
ccd0a08f
L
125212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12522
12523 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12524
62bdf9a6
PE
125252012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12526
f8591f80
PE
12527 mktime: avoid signed integer overflow
12528 * time/mktime.c (__mktime_internal): Do not mishandle the case
12529 where diff == INT_MIN.
12530
94c7d826
PE
12531 mktime: simplify computation of average
12532 * time/mktime.c (ranged_convert): Use new time_t_avg function
12533 instead of rolling our own (probably-slower) code.
12534
ce73d683
PE
12535 mktime: do not assume signed right shift propagates sign bit
12536 * time/mktime.c (isdst_differ): New static function.
12537 (__mktime_internal): No need to normalize tm_isdst now.
12538 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12539 tm_isdst values.
12540
72a22e59
PE
12541 mktime: merge another wrapv change from gnulib
12542 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12543 from some compilers.
12544
68605433
PE
12545 mktime: remove incorrect attempt at unusual arithmetics
12546 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12547 The code didn't really work on such machines anyway.
12548 (TYPE_MINIMUM): Assume two's complement.
12549 (twos_complement_arithmetic): Verify that long_int and time_t
12550 are two's complement (or unsigned, in the latter case).
12551
03cf7fe3
PE
12552 mktime: check signed shifts on long_int and time_t, too
12553 * time/mktime.c (SHR): Check that shifts work as desired
12554 on the types long_int and time_t too, as SHR is used on
12555 such types.
12556
f04dfbc2
PE
12557 mktime: do not assume 'long' is wide enough
12558 * time/mktime.c (verify): Move decl up.
12559 (long_int): New type.
12560 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12561 to remove assumption in the code that 'long' is wide enough to
12562 store year values. This assumption is not true on x32 and on
12563 some non-glibc platforms.
12564
62bdf9a6
PE
12565 mktime: merge wrapv change from gnulib
12566 * time/mktime.c (WRAPV): New macro.
12567 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12568 (guess_time_tm, __mktime_internal): Do not assume that signed
12569 integer overflow wraps around; modern compilers generate code
12570 where this assumption is no longer valid.
12571
5e292e4f
L
125722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12573
12574 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12575 Replace "jmp L(pseudo_end)" with "ret".
12576 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12577 Likewise.
12578
8caf8c87
AJ
125792012-05-23 Andreas Jaeger <aj@suse.de>
12580
12581 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12582 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12583
1a09dc56
AJ
125842012-05-23 Andreas Jaeger <aj@suse.de>
12585 Maximilian Attems <max@stro.at>
12586
12587 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12588 New macros.
12589
1c87aba0
L
125902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12591
12592 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12593 code so that pseudo_end is just ret and the stack pointer is
12594 correct also for static library in error case.
12595
40e45bd5
JM
125962012-05-23 Joseph Myers <joseph@codesourcery.com>
12597
c2670533
JM
12598 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12599 move to syscalls.list.
12600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12604
40e45bd5
JM
12605 * manual/install.texi (Running make install): Do not mention Linux
12606 kernel version for which pt_chown is not needed.
12607 (Linux): Do not mention problems with nscd with 2.0 kernels.
12608 * INSTALL: Regenerated.
12609
be08eda5
AJ
126102012-05-23 Andreas Jaeger <aj@suse.de>
12611
12612 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12613 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12614 macro.
12615 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12616 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12617 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12618 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12619 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12620 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12621 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12622 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12623 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12624 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12625 * sysdeps/unix/sysv/linux/bits/in.h
12626 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12627
a6a056bb
RM
126282012-05-22 Roland McGrath <roland@hack.frob.com>
12629
12630 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12631 (PREPARE_VERSION): Just use assert instead, it will be elided
12632 under [NDEBUG] anyway.
12633
c9009328
L
126342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12635
12636 * sysdeps/unix/sysv/linux/Makefile: Include
12637 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12638 (sysdep_routines): Remove sysctl.
c9009328
L
12639 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12640 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12641 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12642 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12643 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12644
73338355
AJ
126452012-05-22 Andreas Jaeger <aj@suse.de>
12646
12647 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12648 that pseudo_end is just ret and the stack pointer is correct also
12649 for static library in error case.
12650
d44638b0
PP
126512012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12652
12653 [BZ #14122]
12654 * nss/nsswitch.c (defconfig_entries): New variable.
12655 (__nss_database_lookup): Don't leak defconfig entries.
12656 (nss_parse_service_list): Don't leak on error paths.
12657 (free_database_entries): New function.
12658 (free_defconfig): New function.
12659 (free_mem): Move common code to free_database_entries.
12660
31a39bd8
L
126612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12662
da0331a8
L
12663 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12664 Add arch_prctl.
12665 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12666
31a39bd8
L
12667 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12668 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12669 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12670 New macro.
12671 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12672 (INTERNAL_SYSCALL_TYPES): Likewise.
12673 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12674 (LOAD_REGS_TYPES_[1-6]): Likewise.
12675 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12676 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12677
45470df3
AZ
126782012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12679
12680 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12681 copysignl for GLIBC_2_0.
12682 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12683 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12684 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12685 logbl for GLIBC_2_0.
12686 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12687 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12688
98a61bcb
L
126892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12690
a4f6e481
L
12691 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12692 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12693
f63d5db6
L
12694 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12695 Use "neg %eax".
12696
98a61bcb
L
12697 * time/mktime.c: Update copyright years.
12698
95770f14
PE
126992012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12700
6226efbd
PE
12701 mktime: merge comment-quoting-style change from gnulib
12702 * time/mktime.c: Quote 'like this' in comments.
12703 The GNU coding standards suggest that we no longer quote `like this',
12704 as "`" and "'" are typically rendered asymmetrically nowadays.
12705 The typical gnulib style is to quote 'like this' when quoting
12706 code, and "like this" when quoting English.
12707
b99e4f78
PE
12708 * time/mktime.c (compile-command): Add "-I.".
12709
643e01e6
PE
12710 mktime: merge mktime-internal.h change from gnulib
12711 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12712
2554247d
PE
12713 mktime: merge time_r change from gnulib
12714 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12715
826dd0ab
PE
12716 mktime: merge DEBUG change from gnulib
12717 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12718 case system <time.h> has a #define.
12719
bd83aabe
PE
12720 mktime: merge <sys/types.h> change from gnulib
12721 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12722 since <time.t> is now guaranteed to define time_t.
12723
95770f14
PE
12724 mktime: merge HAVE_CONFIG_H change from gnulib
12725 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12726
5e1a27a9
L
127272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12728
0e44a77e
L
12729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12730 Use "neg %eax".
12731
5e1a27a9
L
12732 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12733 __rlim_t cast.
12734 (struct rusage): Use anonymous union to pad each field to
12735 __syscall_slong_t.
12736
46259bec
DM
127372012-05-21 David S. Miller <davem@davemloft.net>
12738
12739 * Makefules (o-iterator): Remove .s cases.
12740 (compile-command.s): Delete.
12741 (COMPILE.s): Delete.
12742 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12743
59f0c22e
JM
127442012-05-21 Joseph Myers <joseph@codesourcery.com>
12745
12746 * configure.in (libc_cv_predef_stack_protector): Only consider
12747 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12748 * configure: Regenerated.
12749
20c07380
L
127502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12751
bbb3154b
L
12752 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12753 New macro. Use R*LP on int and pointer.
12754 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12755 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12756 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12757 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12758
20c07380
L
12759 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12760 [__WORDSIZE_TIME64_COMPAT32] instead of
12761 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12762 (struct utmp): Likewise.
12763 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12764 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12765 Renamed to ...
12766 (__WORDSIZE_TIME64_COMPAT32): This.
12767 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12768 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12769 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12770 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12771 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12772 (__WORDSIZE_TIME64_COMPAT32): New macro.
12773
d8d1017e
AJ
127742012-05-21 Andreas Jaeger <aj@suse.de>
12775
12776 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12777 only if [SHARED]. Add prototype for __wcschr_ia32.
12778
6c7fb145
RM
127792012-05-21 Roland McGrath <roland@hack.frob.com>
12780
12781 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12782 of %rbp unmolested in the jmp_buf while mangling the low bits.
12783 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12784 unmolested high bits of %rbp while demangling the low bits.
12785 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12786
66274218
AJ
127872012-05-21 Andreas Jaeger <aj@suse.de>
12788
07c58f8f
AJ
12789 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12790 * sunrpc/svc_simple.c: Use it for registerrpc.
12791 * sunrpc/xcrypt.c: Use it for passwd2des.
12792
66274218
AJ
12793 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12794
61f65140
L
127952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12796
12797 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12798 Don't define if [__SYSCALL_WORDSIZE != 32].
12799 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12800 New macro.
12801
5fefb436
AJ
128022012-05-21 Bruno Haible <bruno@clisp.org>
12803 Andreas Jaeger <aj@suse.de>
12804
12805 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12806 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12807 inptr and inend for must_buffer_ch.
12808 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12809 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12810 * stdio-common/Makefile (tests): Remove bug15.
12811 (bug15-ENV): Remove macro.
12812 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12813 anymore.
12814
d8e272ab
AJ
128152012-05-19 Andreas Jaeger <aj@suse.de>
12816 Roland McGrath <roland@hack.frob.com>
12817
12818 * manual/contrib.texi: Completely rewritten. It contains now an
12819 alphabetical list of contributors and their contributions.
12820
4a56a162
RH
128212012-05-21 Richard Henderson <rth@twiddle.net>
12822
12823 * misc/getauxval.c (__getauxval): Use unsigned long int.
12824 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12825 (getauxval): Use unsigned long int.
12826
d024d23c
L
128272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12828
12829 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12830
cbc00a03
RM
128312012-05-21 Roland McGrath <roland@hack.frob.com>
12832
12833 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12834 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12835 __alignof__ (long double).
12836
478143fa
AZ
128372012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12838
12839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12840
c7683a6d
RH
128412012-05-20 Richard Henderson <rth@twiddle.net>
12842
12843 * misc/getauxval.c: New file.
12844 * misc/sys/auxv.h: New file.
12845 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12846 (routines): Add getauxval.
12847 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12848 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12849 * elf/dl-sysdep.c (_dl_auxv): Remove.
12850 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12851 * elf/dl-support.c (_dl_auxv): New variable.
12852 (_dl_aux_init): Initialize it.
12853 * manual/startup.texi (Auxiliary Vector): New node.
12854 * sysdeps/generic/bits/hwcap.h: New file.
12855 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12856 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12857 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12858 * sysdeps/sparc/sysdep.h: ... here. Include it.
12859 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12860 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12862 Update.
c7683a6d
RH
12863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12866 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12871
a6f1845d
AZ
128722012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12873
12874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12875
cbcbe830
DM
128762012-05-19 David S. Miller <davem@davemloft.net>
12877
12878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12879
e0b16cc2
JM
128802012-05-19 Joseph Myers <joseph@codesourcery.com>
12881
12882 [BZ #14123]
12883 * math/s_ccosh.c: Include <float.h>
12884 (__ccosh): Avoid internal overflow calculating sinh and cosh
12885 values before multiplying by sin and cos values.
12886 * math/s_ccoshf.c: Likewise.
12887 * math/s_ccoshl.c: Likewise.
12888 * math/s_csin.c: Likewise.
12889 * math/s_csinf.c: Likewise.
12890 * math/s_csinl.c: Likewise.
12891 * math/s_csinh.c: Likewise.
12892 * math/s_csinhf.c: Likewise.
12893 * math/s_csinhl.c: Likewise.
12894 * math/libm-test.inc (ccos_test): Add more tests.
12895 (ccosh_test): Likewise.
12896 (csin_test): Likewise.
12897 (csinh_test): Likewise.
12898 * sysdeps/i386/fpu/libm-test-ulps: Update.
12899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12900
6ad13e08
L
129012012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12902
f66f0ce8
L
12903 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12904 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12905
6ad13e08
L
12906 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12907
b1d072a7
JM
129082012-05-19 Joseph Myers <joseph@codesourcery.com>
12909
12910 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12911 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12912 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12913 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12914 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12915 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12916 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12917 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12918 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12919 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12920 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12921 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12922 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12923 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12924 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12925 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12926 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12927 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12928 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12929 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12930 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12931 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12932 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12933 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12934 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12935 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12936 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12937 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12938 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12939 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12940 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12941
9eae47cb
AJ
129422012-05-18 Andreas Jaeger <aj@suse.de>
12943
12944 * csu/.gitignore: Delete.
12945
bb07f69f
L
129462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12947
12948 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12949 (timex): Use __syscall_slong_t.
12950
e6bdb741
AJ
129512012-05-18 Andreas Jaeger <aj@suse.de>
12952 Carlos O'Donell <carlos_odonell@mentor.com>
12953
12954 * manual/install.texi (Configuring and compiling): Update
12955 description about files modified in the source directory.
d6c33fda 12956 * INSTALL: Regenerated.
e6bdb741 12957
1b74487e
L
129582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12959
12960 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12961 value. Use "or" to set return value to -1.
12962 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12963 negate return value.
12964
a88b64b9
TMQMF
129652012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12966
12967 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12968 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12969 failure if the compiler has Graphite support disabled.
12970 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12971 Likewise.
12972 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12973 CFLAGS-memmove.c): Likewise.
12974 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12975 Likewise.
12976
3707636e
L
129772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12978
610b8622
L
12979 * sysdeps/x86_64/x32/_itoa.h: New file.
12980
7cd195df
L
12981 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12982 getdents system call only if kernel and user dirents have the
12983 same d_ino and d_off.
12984
94b07d20
L
12985 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12986 LLONG_MAX != LONG_MAX.
12987 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12988 (_fitoa_word): Likewise.
12989
18298070
L
12990 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12991 years.
12992 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12993 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12994 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12995
553c7ea4
L
12996 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12997 include <bits/wordsize.h>. Check __x86_64__ instead of
12998 __WORDSIZE.
12999 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13000 if __x86_64__ is defined. Use anonymous union on fpstate.
13001
3707636e
L
13002 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13003 anonymous union.
13004
b53ef01a
AS
130052012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13006
37fb1dc0
AS
13007 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13008 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13009 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13010 Refer to _rtld_local_ro instead of _rtld_global_ro.
13011 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13012 Likewise.
13013 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13014 Likewise.
13015 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13016 Likewise.
13017 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13018 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13019 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13020
b53ef01a
AS
13021 * sysdeps/powerpc/powerpc32/dl-machine.c
13022 (__elf_machine_runtime_setup) [PROF]: Don't reference
13023 _dl_prof_resolve.
13024
7a185db2
AJ
130252012-05-18 Andreas Jaeger <aj@suse.de>
13026
13027 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13028 function only available for GCCs before 3.4 since GCC 3.4
13029 introduced a builtin.
13030 (lrint): Likewise.
13031 (llrintf): Likewise.
13032 (llrint): Likewise.
13033 (fmaxf): Likewise.
13034 (fmax): Likewise.
13035 (fminf): Likewise.
13036 (fmin): Likewise.
13037 (rint): Likewise.
13038 (rintf): Likewise.
13039 (nearbyint): Likewise.
13040 (nearbyintf): Likewise.
13041 (ceil): Likewise.
13042 (ceilf): Likewise.
13043 (floor): Likewise.
13044 (floorf): Likewise.
13045
3e5aef87
L
130462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13047
428bd707
L
13048 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13049 on both fields and cast pointer to __syscall_ulong_t.
13050
3e5aef87
L
13051 * bits/types.h (__fsword_t): New type.
13052 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13053 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13054 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13055 (__FSWORD_T_TYPE): Likewise.
13056 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13057 (__FSWORD_T_TYPE): Likewise.
13058 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13059 (__FSWORD_T_TYPE): Likewise.
13060 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13061 (__FSWORD_T_TYPE): Likewise.
13062 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13063 __SWORD_TYPE with __fsword_t.
13064 (statfs64): Likewise.
13065
1ba7c3dc
DM
130662012-05-17 David S. Miller <davem@davemloft.net>
13067
13068 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13069
59910343
AJ
130702012-05-17 Andreas Jaeger <aj@suse.de>
13071
13072 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13073 warning.
13074
2e4c1e9e
L
130752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13076
13077 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13078
de7f5ce7
AJ
130792012-05-17 Andreas Jaeger <aj@suse.de>
13080
13081 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13082 when it is used.
13083
286abc3d
CM
130842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13085
13086 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13087
477cc68e
L
130882012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13089
13090 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13091 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13092
1a0994f5
CD
130932012-05-17 Andreas Jaeger <aj@suse.de>
13094 Carlos O'Donell <carlos_odonell@mentor.com>
13095
13096 [BZ #14059]
13097 * sysdeps/x86_64/multiarch/init-arch.h
13098 (bit_YMM_Usable): Rename to...
13099 (bit_AVX_Usable): ... this.
13100 (bit_FMA4_Usable): New macro.
13101 (bit_XMM_state): New macro.
13102 (bit_YMM_state): New macro.
13103 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13104 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13105 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13106 (CPUID_OSXSAVE): New macro.
13107 (CPUID_AVX): New macro.
13108 (CPUID_FMA4): New macro.
13109 (index_YMM_Usable): Rename to...
13110 (index_AVX_Usable): ... this.
13111 (HAS_AVX): Use HAS_ARCH_FEATURE.
13112 (HAS_FMA4): Likewise.
13113 (HAS_YMM_USABLE): Remove.
13114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13115 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13116 are present.
13117 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13118 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13119 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13120 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13121 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13122
0af797de
CM
131232012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13124
13125 * math/libm-test.c: Support platforms without multiple rounding modes.
13126 * math/bug-nextafter.c: Support platforms without FP exceptions.
13127 * math/bug-nexttoward.c: Likewise.
13128 * math/test-fenv.c: Likewise.
13129 * math/test-misc.c: Likewise.
13130 * stdlib/bug-getcontext.c: Likewise.
13131
e39745ff
AJ
131322012-05-17 Andreas Jaeger <aj@suse.de>
13133
13134 * manual/examples/search.c (critter_cmp): Change signature to
13135 avoid warnings.
13136 * manual/string.texi (Collation Functions): Likewise.
13137
48970aba
L
131382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13139
13140 * bits/types.h: Fold copyright years.
13141 * bits/typesizes.h: Likewise.
13142 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13143 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13144 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13145 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13146 * time/time.h: Likewise.
13147
bedee953
PP
131482012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13149
13150 [BZ #208]
13151 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13152 in instead of returning them. Return void.
13153 (__libc_mallinfo): Accumulate over all arenas.
13154 (__malloc_stats): Adjust for change in int_mallinfo interface.
13155
61653dfb
RM
131562012-05-16 Roland McGrath <roland@hack.frob.com>
13157
30b99d79
RM
13158 [BZ #10375]
13159 * configure.in (NM): Add AC_CHECK_TOOL for it.
13160 (libc_extra_cflags): New substituted variable.
13161 Check for -fstack-protector being used implicitly.
13162 * configure: Regenerated.
13163 * config.make.in (config-extra-cflags): New variable,
13164 gets @libc_extra_cflags@.
13165 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13166
61653dfb
RM
13167 [BZ #10375]
13168 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13169 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13170 * configure: Regenerated.
13171 * config.make.in (CPPUNDEFS): New substituted variable.
13172 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13173 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13174 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13175
661768bb
L
131762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13177
13178 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13179 (mq_attr): Use __syscall_slong_t.
13180
d4261567
L
131812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13182
13183 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13184 Check __x86_64__ instead of __WORDSIZE.
13185 (_STAT_VER_LINUX): Likewise.
13186 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13187 __syscall_ulong_t and __syscall_slong_t.
13188 (stat64): Likewise.
13189
cf3ff365
L
131902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13191
13192 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13193
76cf3e4d
L
131942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13195
13196 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13197
a637753a
L
131982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13199
13200 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13201 __syscall_ulong_t.
13202
d5e05119
L
13203 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13204 include <bits/wordsize.h>. Check __x86_64__ instead of
13205 __WORDSIZE.
13206 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13207 defined.
13208 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13209
f62ee380
L
13210 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13211 include <bits/wordsize.h>. Check __x86_64__ instead of
13212 __WORDSIZE.
13213 (user_regs_struct): Use "__extension__ unsigned long long"
13214 instead of "unsigned long" if __x86_64__ is defined.
13215 (user): Likewise. Pad after pointer field if __ILP32__ is
13216 defined.
13217
4e124ced
JM
132182012-05-16 Joseph Myers <joseph@codesourcery.com>
13219
6a3951a0
JM
13220 * configure.in (makeinfo): Require version 4.5 or later. Allow
13221 versions 5 to 9.
13222 * configure: Regenerated.
13223 * manual/install.texi (texinfo): Increase version requirement to
13224 4.5 or later.
13225 * INSTALL: Regenerated.
13226
4e124ced
JM
13227 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13228
953ca31a
L
132292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13230
13231 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13232
617aca05
L
13233 * sysdeps/x86_64/x32/ffs.c: New file.
13234
5762f7ae
L
13235 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13236 __syscall_ulong_t.
13237 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13238 defined. Use __syscall_ulong_t.
13239 (shminfo): Use __syscall_ulong_t.
13240 (shm_info): Likewise.
13241
a26b6856
L
13242 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13243 __syscall_ulong_t.
13244
cb2b9ef7
L
13245 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13246 <bits/wordsize.h>.
13247 (msgqnum_t): Use __syscall_ulong_t.
13248 (msglen_t): Likewise.
13249 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13250 __syscall_ulong_t.
13251
34683bb0
L
13252 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13253 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13254
84a68786
L
13255 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13256
48baa5f1
L
13257 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13258 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13259
180be88b
L
13260 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13261 __syscall_slong_t.
13262
5e90c8ad
L
13263 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13264 include <bits/wordsize.h>. Check __x86_64__ instead of
13265 __WORDSIZE.
13266
23dfb58b
L
13267 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13268 "unsigned long long int" if __x86_64__ is defined.
13269 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13270
ce5d54b0
L
13271 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13272 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13273 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13274
13dc9eac
L
13275 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13276 <stdint.h>.
13277 (GET_PC): Cast to uintptr_t first.
13278 (GET_FRAME): Likewise.
13279 (GET_STACK): Likewise.
13280
a7895d15
L
13281 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13282 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13283 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13284 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13285 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13286 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13287 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13288 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13289 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13290 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13291 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13292 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13293 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13294 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13295 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13296 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13297 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13298 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13299 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13300 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13301 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13302 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13303 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13304 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13305 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13306 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13307 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13308 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13309 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13310
656416c9
AS
133112012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13312
5bd66283
AS
13313 * Makerules (+depfiles): Also collect depfiles from .oS in
13314 $(extra-objs).
13315 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13316 .oS, $(libnldbl-routines)).
13317
656416c9
AS
13318 * Makerules (native-compile-mkdep-flags): Define.
13319 * sunrpc/Makefile (extra-objs): Add $(addprefix
13320 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13321 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13322 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13323 calling $(make-target-directory).
13324
a46f2169
L
133252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13326
13327 * bits/types.h (__snseconds_t): Removed.
13328 * time/time.h (struct timespec): Replace __snseconds_t with
13329 __syscall_slong_t.
13330 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13331 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13332 Likewise.
13333 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13334 (__SNSECONDS_T_TYPE): Likewise.
13335 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13336 (__SNSECONDS_T_TYPE): Likewise.
13337 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13338 (__SNSECONDS_T_TYPE): Likewise.
13339
6af6528b
L
133402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13341
13342 * sysdeps/mach/hurd/bits/typesizes.h
13343 (__SYSCALL_SLONG_TYPE): New macro.
13344 (__SYSCALL_ULONG_TYPE): Likewise.
13345
de986b56
L
133462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13347
13348 * bits/types.h (__syscall_slong_t): New type.
13349 (__syscall_ulong_t): Likewise.
13350
13351 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13352 (__SYSCALL_ULONG_TYPE): Likewise.
13353 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13354 (__SYSCALL_SLONG_TYPE): Likewise.
13355 (__SYSCALL_ULONG_TYPE): Likewise.
13356 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13357 (__SYSCALL_SLONG_TYPE): Likewise.
13358 (__SYSCALL_ULONG_TYPE): Likewise.
13359 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13360 (__SYSCALL_SLONG_TYPE): Likewise.
13361 (__SYSCALL_ULONG_TYPE): Likewise.
13362
85736dc7
L
133632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13364
13365 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13366 Add sigaltstack-offsets.sym.
13367 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13368 <sigaltstack-offsets.h>.
13369 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13370 longjmp_msg pointer.
13371 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13372 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13373 signal stack.
13374 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13375
cc03b296
JM
133762012-05-15 Joseph Myers <joseph@codesourcery.com>
13377
a9538892
JM
13378 * elf/stackguard-macros.h: Remove file.
13379 * sysdeps/generic/stackguard-macros.h: New file.
13380 * sysdeps/i386/stackguard-macros.h: Likewise.
13381 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13382 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13383 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13384 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13385 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13386 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13387 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13388 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13389 <elf/stackguard-macros.h>.
13390
cc03b296
JM
13391 [BZ #14109]
13392 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13393 __aligned__ in attribute.
13394 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13395 (gregset_t): Likewise.
13396
93171016
L
133972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13398
13399 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13400 * sysdeps/x86_64/64/Implies-after: Here. New file.
13401 * sysdeps/x86_64/x32/Implies-after: New file.
13402
d86813a0
L
134032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13404
13405 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13406 and access return value for _dl_profile_fixup. Use R10_LP to
13407 load frame size.
13408
2953ec75
L
134092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13410
13411 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13412
3b550e9e
L
134132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13414
13415 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13416 * sysdeps/x86_64/x32/sysdep.h: New file.
13417
eda41706
L
134182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13419
13420 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13421 * sysdeps/x86_64/setjmp.S: Likewise.
13422
9ea01d93
AZ
134232012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13424
13425 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13426 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13427 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13428 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13429 remove unused global constant.
13430
02a91938
CM
134312012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13432
13433 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13434 include of <not-cancel.h>.
13435
6540185f
RM
134362012-05-15 Roland McGrath <roland@hack.frob.com>
13437
13438 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13439
509072a0
AJ
134402012-05-15 Jeff Law <law@redhat.com>
13441 Andreas Jaeger <aj@suse.de>
13442
13443 [BZ #13594]
13444 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13445 out from...
13446 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13447 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13448 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13449 code changing __hst_map_handle.map.
13450
ba75122d
RM
134512012-05-15 Roland McGrath <roland@hack.frob.com>
13452
13453 * configure.in (sysnames): Look for Implies-before and Implies-after
13454 files.
13455 * configure: Regenerated.
13456
890d8bd8
L
134572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13458
13459 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13460 8-byte data alignment with LP_SIZE alignment.
13461
f6ee6623
L
134622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13463
13464 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13465 into R10_LP.
13466
ea2626f6
L
134672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13468
13469 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13470
085f715e
L
134712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13472
13473 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13474 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13475 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13476 Likewise.
13477 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13478
be8498fc
L
134792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13480
13481 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13482 (stackinfo_sub_sp): Likewise.
13483
70bc83b9
L
134842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13485
13486 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13487 RAX_LP.
13488
9bc0b730
L
134892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13490
13491 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13492 into R*_LP.
13493
6d2850e7
L
134942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13495
13496 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13497 sizes into R*_LP.
13498
3cb84561
L
134992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13500
13501 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13502
54e2ed81
L
135032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13504
13505 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13506 into R11_LP and load __x86_64_shared_cache_size_half into
13507 R8_LP.
13508
8a17f349
L
135092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13510
13511 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13512 R8_LP.
13513
777b1eea
AZ
135142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13515
13516 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13517 logb for POWER7.
13518 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13519 logbf for POWER7.
13520 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13521 logbl for POWER7.
13522 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13523 powerpc32/power7/fpu/s_logb.c via #include.
13524 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13525 powerpc32/power7/fpu/s_logbf.c via #include.
13526 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13527 powerpc32/power7/fpu/s_logbl.c via #include.
13528
d20d4ac2
JM
135292012-05-15 Joseph Myers <joseph@codesourcery.com>
13530
13531 * README.libm: Remove file.
13532
6cdef1ab
L
135332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13534
13535 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13536 count for x32. Use R*_LP and omit operand-size suffix.
13537
0b254d8f
L
135382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13539
13540 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13541 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13542 * sysdeps/x86_64/x32/shlib-versions: New file.
13543
ceb809dc
RM
135442012-05-14 Roland McGrath <roland@hack.frob.com>
13545
13546 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13547 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13548 Use _dl_fatal_printf instead.
13549
37f1abd4
JM
135502012-05-14 Joseph Myers <joseph@codesourcery.com>
13551
13552 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13553 set if not set by the user. Do not allow for being unset.
13554 * sysdeps/unix/sysv/linux/configure: Regenerated.
13555
11de3a33
L
135562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13557
13558 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13559 the `q' suffix from lea and replace .quad with ASM_ADDR.
13560
e02f153a
L
135612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13562
13563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13564 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13565 instead of $17.
13566 (PTR_DEMANGLE): Likewise.
13567
520ae0fd
L
135682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13569
13570 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13571 (LP_OP): Likewise.
13572 (ASM_ADDR): Likewise.
13573 (RAX_LP): Likewise.
13574 (RBP_LP): Likewise.
13575 (RBX_LP): Likewise.
13576 (RCX_LP): Likewise.
13577 (RDI_LP): Likewise.
13578 (RSI_LP): Likewise.
13579 (RSP_LP): Likewise.
13580 (R8_LP): Likewise.
13581 (R9_LP): Likewise.
13582 (R10_LP): Likewise.
13583 (R10_LP): Likewise.
13584 (R11_LP): Likewise.
13585 (R12_LP): Likewise.
13586 (R13_LP): Likewise.
13587 (R14_LP): Likewise.
13588 (R15_LP): Likewise.
13589
b985be81
L
135902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13591
13592 * sysdeps/x86_64/x32/dl-machine.h: New file.
13593
6a4888ff
AJ
135942012-05-14 Andreas Jaeger <aj@suse.de>
13595
13596 * manual/Makefile (subdir): Remove export of subdir.
13597 (all): Remove target.
13598 (.PHONY): Remove all from list.
13599 (mkinstalldirs): Remove.
13600 (.PHONY): Remove installdirs from list.
13601 ($(inst_infodir)/libc.info): Use make-target-directory.
13602 (installdirs): Remove.
13603 (subdir_%): Remove.
13604 (glibc-targets): Remove.
13605 (lib): Remove.
13606 (stubs): Remove.
13607 ($(objpfx)stubs ../po/manual.pot): Remove.
13608 ($(objpfx)stamp%): Remove.
13609 (make-target-directory): Remove.
13610 (subdir_install): Remove.
13611 (routines): Remove.
13612 (aux): Remove.
13613 (sources): Remove.
13614 (objects): Remove.
13615 (headers): Remove.
13616
13617 [BZ #13750]
13618 * manual/.gitignore: Remove, it's not needed anymore.
13619 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13620 all files in it.
13621 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13622 directory.
13623 (texis): Renamed to $(objpfx)texis.
13624 (texis-path): New, contains path to generated files.
13625 (chapters.%): Use texis-path for complete path, add extra argument
13626 libc-texinfo.sh.
13627 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13628 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13629 (summary,texi, stamp-summary): Use complete path of
13630 files. Generate files in build dir.
13631 (dir-add.texi): Build in build dir.
13632 (libm-err.texi,stamp-libm-err): Likewise.
13633 (version.texi, stamp-version): Likewise.
13634 (.%c.texi): Likewise.
13635 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13636 (mostlyclean): Remove target.
13637 (realclean): Remove target.
13638 (generated): Add new variable with contents from mostlyclean and
13639 realclean, remove entries duplicated in common-mostlyclean, add
13640 stamp-libm-err and stamp-version.
13641 (generated-dirs): Add libc directory.
13642 ($(inst_infodir)/libc.info): Install files from build dir.
13643
13644 * manual/install.texi (Configuring and compiling): Adjust since
13645 the info files are not part of the tar ball anymore.
13646
7ac77294
AJ
136472012-05-14 Andreas Jaeger <aj@suse.de>
13648
13649 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13650 variable.
13651
ffb7875d
JM
136522012-05-14 Joseph Myers <joseph@codesourcery.com>
13653
13654 [BZ #13717]
13655 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13656 to 2.2.0 where earlier.
13657 * sysdeps/unix/sysv/linux/configure: Regenerated.
13658 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13659 Remove conditional code.
13660 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13661 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13662 Remove conditional code.
13663 [!__NR_lchown]: Likewise.
13664 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13665 [__NR_lchown]: Likewise.
13666 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13667 comment referencing __ASSUME_LCHOWN_SYSCALL.
13668 * sysdeps/unix/sysv/linux/i386/sigaction.c
13669 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13670 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13671 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13672 Remove conditional code.
13673 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13674 (__protocol_available): Remove #if 0 code.
13675 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13676 conditional code.
13677 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13678 * sysdeps/unix/sysv/linux/kernel-features.h
13679 (__ASSUME_GETCWD_SYSCALL): Don't define.
13680 (__ASSUME_REALTIME_SIGNALS): Likewise.
13681 (__ASSUME_PREAD_SYSCALL): Likewise.
13682 (__ASSUME_PWRITE_SYSCALL): Likewise.
13683 (__ASSUME_POLL_SYSCALL): Likewise.
13684 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13685 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13686 non-SPARC.
13687 (__ASSUME_SIOCGIFNAME): Don't define.
13688 (__ASSUME_MSG_NOSIGNAL): Likewise.
13689 (__ASSUME_SENDFILE): Define unconditionally.
13690 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13691 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13692 conditional code.
13693 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13694 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13695 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13696 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13697 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13698 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13699 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13701 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13702 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13704 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13705 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13707 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13708 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13710 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13711 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13713 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13714 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13716 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13717 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13719 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13720 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13722 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13723 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13724 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13725 Remove conditional code.
13726 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13727 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13728 Remove conditional code.
13729 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13730 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13731 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13732 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13733 Remove conditional code.
13734 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13735 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13736 Remove conditional code.
13737 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13738 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13739 Remove conditional code.
13740 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13741 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13742 Remove conditional code.
13743 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13744 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13745 Remove conditional code.
13746 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13747 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13748 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13749 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13750 * sysdeps/unix/sysv/linux/sigaction.c
13751 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13752 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13753 * sysdeps/unix/sysv/linux/sigpending.c
13754 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13755 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13756 * sysdeps/unix/sysv/linux/sigprocmask.c
13757 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13758 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13759 * sysdeps/unix/sysv/linux/sigsuspend.c
13760 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13761 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13762 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13763 (__libc_missing_rt_sigs): Remove.
13764 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13765 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13766 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13767 Remove conditional code.
13768 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13769 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13770 return 1.
13771 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13772 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13773 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13774 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13775
1bfb7291
AJ
137762012-05-14 Andreas Jaeger <aj@suse.de>
13777
caae5a81
AJ
13778 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13779 it's not used in glibc.
13780 (__coshm1): Likewise.
13781 (__acosh1p): Likewise.
13782 (__sgn): Likewise.
13783
1bfb7291
AJ
13784 * manual/string.texi (Copying and Concatenation): Add missing
13785 variable in concat example.
13786 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13787
c044d724
L
137882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13789
144c5467 13790 [BZ #14103]
c044d724
L
13791 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13792 __builtin_clzl with __builtin_clzll.
13793
2523c62b
L
137942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13795
13796 [BZ #14104]
13797 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13798 libc_freeres_ptr.
13799
d7bb4c42
LD
138002012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13801
13802 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13803 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13804 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13805 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13806
9dc4e1fb
MF
138072012-05-14 Mike Frysinger <vapier@gentoo.org>
13808
13809 * NEWS: Update ia64 info.
13810
c7df0112
AS
138112012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13812
13813 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13814 used as bcopy.
13815
dc70356c
TS
138162012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13817
13818 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13819 * sysdeps/unix/syscalls.list (dup3): Likewise.
13820 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13821 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13822
9fb1a21f
L
138232012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13824
13825 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13826 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13827
4822a2a5
L
138282012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13829
13830 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13831 thread pointer.
13832 (TLS_IE): Use mov/add instead of movq/addq to load thread
13833 pointer.
13834 (TLS_GD_PREFIX): New.
13835 (TLS_GD): Use it.
13836
842b81d6
DM
138372012-05-11 David S. Miller <davem@davemloft.net>
13838
13839 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13840 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13841 (_FPU_SETCW): Likewise.
13842
1cf463cd
L
138432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13844
13845 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13846 is 32-byte aligned.
13847
60cc4a18
AS
138482012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13849
13850 [BZ #11837]
13851 * iconvdata/gb18030.c: Update tables.
13852 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13853 characters specially.
13854 (BODY for TO_LOOP): Add encoding of missing ranges.
13855
febb44a4
TS
138562012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13857
13858 [BZ #13673]
13859 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13860 * sysdeps/mach/hurd/dup3.c: Likewise.
13861 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13862 * sysdeps/powerpc/memmove.c:: Likewise.
13863
0a10fb9e
L
138642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13865
13866 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13867 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13868
df8a552f
L
138692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13870
13871 * elf/elf.h (R_X86_64_RELATIVE64): New.
13872 (R_X86_64_NUM): Updated.
13873 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13874 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13875 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13876 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13877 tst-quad1pie tst-quad2pie
13878 (modules-names): Add tst-quadmod1 tst-quadmod2.
13879 ($(objpfx)tst-quad1): New dependency.
13880 ($(objpfx)tst-quad2): Likewise.
13881 ($(objpfx)tst-quad1pie): Likewise.
13882 ($(objpfx)tst-quad2pie): Likewise.
13883 * sysdeps/x86_64/tst-quad1.c: New file.
13884 * sysdeps/x86_64/tst-quad1pie.c: New file.
13885 * sysdeps/x86_64/tst-quad2.c: Likewise.
13886 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13887 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13888 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13889 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13890 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13891
f34d6f84
ST
138922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13893
f42d41d1
ST
13894 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13895 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13896 * streams/stropts.h (t_scalar_t): Define type.
13897
3c3571fc
ST
13898 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13899 (_PATH_PRESERVE): Set to "/var/lib".
13900 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13901
61f06bd3
ST
13902 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13903 instead of int.
13904
918d4d71
ST
13905 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13906 if __dir_mkfile succeeded.
13907
f34d6f84
ST
13908 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13909 checking for _hurd_dtablesize. Unlock it right after having
13910 finished _hurd_dtable allocation.
13911
10589b4a
TS
139122012-05-10 Thomas Schwinge <thomas@schwinge.name>
13913
674cdbc7
TS
13914 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13915 * sysdeps/mach/hurd/configure: Regenerated.
13916 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13917 special-casing to...
13918 * sysdeps/gnu/configure.in: ... this new file.
13919 * sysdeps/unix/sysv/linux/configure: Regenerated.
13920 * sysdeps/gnu/configure: New generated file.
13921
8e41b99f
TS
13922 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13923 for Linux: use nsec instead of usec, as well as:
13924 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13925 members of type struct timespec.
13926 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13927 New macros.
13928 (struct stat64): Likewise.
13929 (_STATBUF_ST_NSEC): New macro.
13930 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13931
10589b4a
TS
13932 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13933 __strtoul_internal rather than strtoul.
13934
63643c85
PT
139352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13936
13937 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13938 and reject them.
13939
3faebe6a
ST
139402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13941
13942 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13943 which preserves existing values.
13944 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13945
c6474b07
PT
139462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13947
13948 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13949 TIMEOUT values. Return EINVAL for NFDS values either negative or
13950 greater than FD_SETSIZE.
13951
1043890b
ST
139522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13953
13954 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13955 allocated, call __vm_protect to finish enabling the existing space, and
13956 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13957 allocate the remainder.
13958
37ed8b9b
PT
139592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13960
13961 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13962 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13963
db653660
ST
139642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13965
37ed8b9b
PT
13966 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13967 sysdeps/mach/hurd/readlink.c.
b29d4053 13968
db653660
ST
13969 * posix/tst-sysconf.c (posix_options): Only use
13970 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13971 _POSIX_SYNCHRONIZED_IO when they are defined
13972 * sysdeps/mach/hurd/bits/posix_opt.h:
13973 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13974 (_XOPEN_REALTIME): Undefine macro.
13975 (_XOPEN_REALTIME_THREADS): Undefine macro.
13976 (_XOPEN_SHM): Undefine macro.
13977 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13978 macro to -1.
13979 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13980 macro to -1.
13981 (_POSIX_ASYNC_IO): Undefine macro.
13982 (_POSIX_PRIORITIZED_IO): Undefine macro.
13983 (_POSIX_SPIN_LOCKS): Define macro to -1.
13984
ee16e894
ST
13985 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13986 SA_NODEFER, SA_RESETHAND.
13987 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13988 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13989 F_DUPFD_CLOEXEC.
13990
6103ae3b
TS
139912012-05-10 Thomas Schwinge <thomas@schwinge.name>
13992
13993 * elf/Makefile (pldd-modules): Define unconditionally.
13994
80b4e5f3
TS
139952012-05-10 Thomas Schwinge <thomas@schwinge.name>
13996
13997 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13998
edadcbd6
ST
139992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14000
14001 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14002 Return ENOENT when name is empty.
14003 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14004
80694780
TS
140052012-05-10 Thomas Schwinge <thomas@schwinge.name>
14006
1792c087
TS
14007 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14008
80694780
TS
14009 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14010
6b645f0d
ST
140112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14012
80694780
TS
14013 Fix mlock in all cases except non-readable pages.
14014 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14015 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14016
6b645f0d
ST
14017 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14018 (__mkdir): When path is `/', just fail with EEXIST.
14019 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14020
e468f8a3
TS
140212012-05-10 Thomas Schwinge <thomas@schwinge.name>
14022
14023 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14024 <sys/uio.h> (for writev).
14025 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14026 and <sys/param.h> (for MIN).
14027
a4186cff
PT
140282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14029
14030 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14031 REQUESTED_TIME. Properly set the remaining time and return EINTR
14032 if interrupted.
14033
510bbf14
TS
140342012-05-10 Thomas Schwinge <thomas@schwinge.name>
14035
14036 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14037 Depend on against $(link-rpcuserlibs).
14038
5d5722e8
ST
140392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14040
a4186cff
PT
14041 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14042 (__libc_stack_end): Do not use attribute_relro.
14043 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14044 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14045 to libthread-provided value.
a4186cff
PT
14046 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14047 attribute_relro.
5d5722e8 14048
37233df9
TS
140492012-05-10 Thomas Schwinge <thomas@schwinge.name>
14050
be971a2b
TS
14051 [BZ #3748]
14052 * bits/libc-lock.h (__libc_once_get): New macro.
14053 * sysdeps/mach/bits/libc-lock.h: Likewise.
14054 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14055 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14056 instead of using implementation details.
14057
37233df9
TS
14058 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14059 * libio/freopen.c: Likewise.
14060 * libio/freopen64.c: Likewise.
14061 * misc/syslog.c: Likewise.
14062 * nscd/connections.c: Likewise.
14063 * nscd/netgroupcache.c: Likewise.
14064 * sysdeps/posix/getcwd.c: Likewise.
14065
38de94a5
RM
140662012-05-10 Roland McGrath <roland@hack.frob.com>
14067
14068 * math/w_ilogbf.c: Add #include <limits.h>.
14069
67530489
ST
140702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14071
a4186cff 14072 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14073 path instead of returning without unlocking.
14074
67530489
ST
14075 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14076 immediate-write ioctls.
14077 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14078
5aa3a74a
TS
140792012-05-10 Thomas Schwinge <thomas@schwinge.name>
14080
18bad2ae
TS
14081 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14082 __builtin_frame_address instead of making assumptions about the
14083 location of the return address relative to DATA. Force early load of
14084 the return address.
14085 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14086 __builtin_frame_address.
14087
5aa3a74a
TS
14088 dup3 for GNU Hurd.
14089 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14090 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14091 implement dup3 and do some further code clean-ups.
14092 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14093 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14094
ecd0de9a
ST
140952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14096
cd9fa985
ST
14097 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14098
a4186cff
PT
14099 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14100 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14101 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14102 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14103 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14104 d->port.lock.
802ca5a5 14105
a4186cff
PT
14106 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14107 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14108 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14109
bcf55240
TS
141102012-05-10 Thomas Schwinge <thomas@schwinge.name>
14111
6960eb42
TS
14112 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14113 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14114 definitions.
14115
eb43375f
TS
14116 accept4 for GNU Hurd.
14117 * include/sys/socket.h (__libc_accept4): New prototype.
14118 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14119 to implement __libc_accept4.
14120 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14121 __libc_accept4.
14122 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14123
bcf55240
TS
14124 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14125 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14126 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14127 signal-defines.sym.
14128
6178c55b
ST
141292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14130
a4186cff 14131 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14132
6f080c2f
TS
141332012-05-10 Thomas Schwinge <thomas@schwinge.name>
14134
14135 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14136 assertion on O_CLOEXEC flag.
14137 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14138 * hurd/intern-fd.c: Likewise.
14139 * hurd/port2fd.c: Likewise.
14140
bcfe3a54
ST
141412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14142
14143 [BZ #3906]
14144 * bits/in.h (IPV6_PKTINFO): Define new macro.
14145 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14146
89c9aa49
AZ
141472012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14148
14149 [BZ #13954]
14150 [BZ #13955]
14151 [BZ #13956]
14152 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14153 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14154 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14155 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14156 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14157 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14158 * math/libm-test.inc (logb_test) : Additional logb tests.
14159
021db4be
AJ
141602012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14161 Andreas Jaeger <aj@suse.de>
14162
14163 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14164 * configure: Regenerated.
14165 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14166 * config.make.in (link-obsolete-rpc): New substituted variable.
14167 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14168 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14169 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14170 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14171 so that libc.a contains the symbols.
14172 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14173 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14174 * sunrpc/auth_none.c: Likewise.
14175 * sunrpc/auth_unix.c: Likewise.
14176 * sunrpc/authdes_prot.c: Likewise.
14177 * sunrpc/authuxprot.c: Likewise.
14178 * sunrpc/clnt_gen.c: Likewise.
14179 * sunrpc/clnt_perr.c: Likewise.
14180 * sunrpc/clnt_raw.c: Likewise.
14181 * sunrpc/clnt_simp.c: Likewise.
14182 * sunrpc/clnt_tcp.c: Likewise.
14183 * sunrpc/clnt_udp.c: Likewise.
14184 * sunrpc/clnt_unix.c: Likewise.
14185 * sunrpc/des_crypt.c: Likewise.
14186 * sunrpc/des_soft.c: Likewise.
14187 * sunrpc/get_myaddr.c: Likewise.
14188 * sunrpc/key_call.c: Likewise.
14189 * sunrpc/key_prot.c: Likewise.
14190 * sunrpc/netname.c: Likewise.
14191 * sunrpc/pm_getmaps.c: Likewise.
14192 * sunrpc/pm_getport.c: Likewise.
14193 * sunrpc/pmap_clnt.c: Likewise.
14194 * sunrpc/pmap_prot.c: Likewise.
14195 * sunrpc/pmap_prot2.c: Likewise.
14196 * sunrpc/pmap_rmt.c: Likewise.
14197 * sunrpc/publickey.c: Likewise.
14198 * sunrpc/rpc_cmsg.c: Likewise.
14199 * sunrpc/rpc_common.c: Likewise.
14200 * sunrpc/rpc_dtable.c: Likewise.
14201 * sunrpc/rpc_prot.c: Likewise.
14202 * sunrpc/rpc_thread.c: Likewise.
14203 * sunrpc/rtime.c: Likewise.
14204 * sunrpc/svc.c: Likewise.
14205 * sunrpc/svc_auth.c: Likewise.
14206 * sunrpc/svc_raw.c: Likewise.
14207 * sunrpc/svc_run.c: Likewise.
14208 * sunrpc/svc_tcp.c: Likewise.
14209 * sunrpc/svc_udp.c: Likewise.
14210 * sunrpc/svc_unix.c: Likewise.
14211 * sunrpc/svcauth_des.c: Likewise.
14212 * sunrpc/xcrypt.c: Likewise.
14213 * sunrpc/xdr.c: Likewise.
14214 * sunrpc/xdr_array.c: Likewise.
14215 * sunrpc/xdr_float.c: Likewise.
14216 * sunrpc/xdr_intXX_t.c: Likewise.
14217 * sunrpc/xdr_mem.c: Likewise.
14218 * sunrpc/xdr_rec.c: Likewise.
14219 * sunrpc/xdr_ref.c: Likewise.
14220 * sunrpc/xdr_sizeof.c: Likewise.
14221 * sunrpc/xdr_stdio.c: Likewise.
14222
b5c086a2
RM
142232012-05-10 Roland McGrath <roland@hack.frob.com>
14224
14225 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14226 change. Update copyright years.
14227
6d74dd09
JM
142282012-05-10 Joseph Myers <joseph@codesourcery.com>
14229
14230 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14231
28e72501
MK
142322012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14233 Joseph Myers <joseph@codesourcery.com>
14234 Paul Pluzhnikov <ppluzhnikov@google.com>
14235
14236 [BZ #14012]
14237 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14238 requiring rpcgen.
14239 [cross-compiling] (extra-libs): Likewise.
14240 [cross-compiling] (extra-libs-others): Likewise.
14241 [cross-compiling] (librpcsvc-routines): Likewise.
14242 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14243 [cross-compiling] (omit-deps): Likewise.
14244 (sunrpc-CPPFLAGS): New variable.
14245 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14246 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14247 (cross-rpcgen-objs): New variable.
14248 (extra-objs): Append $(cross-rpcgen-objs).
14249 ($(cross-rpcgen-objs)): New rule.
14250 ($(objpfx)cross-rpcgen): Likewise.
14251 (rpcgen-cmd): Define to use $(built-program-file). Expand
14252 comment.
14253 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14254 ($(objpfx)x%.stmp): Likewise.
14255 * sunrpc/proto.h [IS_IN_build] (_): Define.
14256 [IS_IN_build] (_libc_intl_domainname): Likewise.
14257
c8c59454
L
142582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14259
14260 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14261 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14262 and R_X86_64_TPOFF64.
14263
6f27cd16
JM
142642012-05-10 Joseph Myers <joseph@codesourcery.com>
14265
14266 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14267 sysdeps/unix/sysv/syscalls.list.
14268 (stime): Likewise.
14269 (utime): Likewise.
14270 * sysdeps/unix/sysv/syscalls.list: Remove file.
14271
02467e1c
PE
142722012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14273
14274 [BZ #3440]
14275 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14276 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14277 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14278 (__LC_IDENTIFICATION): Make these macros useful in #if
14279 expressions, as required by C99.
14280
da392631
AS
142812012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14282
14283 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14284 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14285 after this.
14286
8115f29b
L
142872012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14288
14289 * stdlib/longlong.h: Updated from GCC.
14290
bdd74070
AJ
142912012-05-09 Andreas Jaeger <aj@suse.de>
14292
edfe0dbe
AJ
14293 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14294 default is first entry.
14295 (run_mode): Set type.
14296 (main): Remove informal message about syslog.
14297 (options): Fix typo.
14298
bcfe3a54
ST
14299 [BZ #14053]
14300 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14301 to asm.
bcfe3a54
ST
14302 (lrint): Likewise.
14303 (llrintf): Likewise.
14304 (llrint): Likewise.
14305 (rint): Likewise.
14306 (rintf): Likewise.
14307 (nearbyint): Likewise.
14308 (nearbyintf): Likewise.
bdd74070 14309
91d8d69e
AJ
143102012-05-09 Andreas Jaeger <aj@suse.de>
14311 Pedro Alves <palves@redhat.com>
14312
14313 * nscd/nscd.c (run_mode): Use enum.
14314 (main): Cleanup coding style issue.
14315
bb90b80b
AJ
143162012-05-09 Alexandre Oliva <aoliva@redhat.com>
14317 Andreas Jaeger <aj@suse.de>
14318
bcfe3a54
ST
14319 * nscd/nscd.c (go_background): Replaced with...
14320 (run_mode): ... this.
bb90b80b 14321 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14322 (options): Add -F --foreground.
14323 (main): Implement it.
14324 (parse_opt): Parse it.
bb90b80b 14325
1a4b75a1
AJ
143262012-05-09 Andreas Jaeger <aj@suse.de>
14327
14328 [BZ #14083]
14329 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14330 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14331 -Wconversion warning.
14332 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14333 Likewise.
14334
b1cc2472
JM
143352012-05-09 Joseph Myers <joseph@codesourcery.com>
14336
14337 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14338 == 0.
14339 (LC_ALL): Use macro-int-constant.
14340 (LC_COLLATE): Likewise.
14341 (LC_CTYPE): Likewise.
14342 (LC_MESSAGES): Likewise.
14343 (LC_MONETARY): Likewise.
14344 (LC_NUMERIC): Likewise.
14345 (LC_TIME): Likewise.
14346 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14347 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14348 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14349 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14350 Specify type.
14351 [C99-based standards] (float_t): Expect type.
14352 [C99-based standards] (double_t): Expect type.
14353 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14354 type.
14355 [C99-based standards] (HUGE_VALL): Likewise.
14356 [C99-based standards] (INFINITY): Likewise.
14357 [C99-based standards] (NAN): Likewise.
14358 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14359 [C99-based standards] (FP_NAN): Likewise.
14360 [C99-based standards] (FP_NORMAL): Likewise.
14361 [C99-based standards] (FP_SUBNORMAL): Likewise.
14362 [C99-based standards] (FP_ZERO): Likewise.
14363 [C99-based standards] (FP_FAST_FMA): Use
14364 optional-macro-int-constant. Specify type. Require == 1.
14365 [C99-based standards] (FP_FAST_FMAF): Likewise.
14366 [C99-based standards] (FP_FAST_FMAL): Likewise.
14367 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14368 [C99-based standards] (FP_ILOGBNAN): Likewise.
14369 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14370 Specify type.
14371 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14372 [C99-based standards] (math_errhandling): Specify type.
14373 [ISO99 || ISO11] (signgam): Do not allow.
14374 [non-C99-based standards] (copysignf): Do not allow.
14375 [non-C99-based standards] (exp2f): Likewise.
14376 [non-C99-based standards] (log2f): Likewise.
14377 [non-C99-based standards] (modff): Allow.
14378 [non-C99-based standards] (erff): Do not allow.
14379 [non-C99-based standards] (erfcf): Likewise.
14380 [non-C99-based standards] (gammaf): Likewise.
14381 [non-C99-based standards] (hypotf): Likewise.
14382 [non-C99-based standards] (j0f): Likewise.
14383 [non-C99-based standards] (j1f): Likewise.
14384 [non-C99-based standards] (jnf): Likewise.
14385 [non-C99-based standards] (lgammaf): Likewise.
14386 [non-C99-based standards] (tgammaf): Likewise.
14387 [non-C99-based standards] (y0f): Likewise.
14388 [non-C99-based standards] (y1f): Likewise.
14389 [non-C99-based standards] (ynf): Likewise.
14390 [non-C99-based standards] (isnanf): Likewise.
14391 [non-C99-based standards] (acoshf): Likewise.
14392 [non-C99-based standards] (asinhf): Likewise.
14393 [non-C99-based standards] (atanhf): Likewise.
14394 [non-C99-based standards] (cbrtf): Likewise.
14395 [non-C99-based standards] (expm1f): Likewise.
14396 [non-C99-based standards] (ilogbf): Likewise.
14397 [non-C99-based standards] (log1pf): Likewise.
14398 [non-C99-based standards] (logbf): Likewise.
14399 [non-C99-based standards] (nextafterf): Likewise.
14400 [non-C99-based standards] (remainderf): Likewise.
14401 [non-C99-based standards] (rintf): Likewise.
14402 [non-C99-based standards] (scalbf): Likewise.
14403 [non-C99-based standards] (copysignl): Likewise.
14404 [non-C99-based standards] (exp2l): Likewise.
14405 [non-C99-based standards] (log2l): Likewise.
14406 [non-C99-based standards] (modfl): Allow.
14407 [non-C99-based standards] (erfl): Do not allow.
14408 [non-C99-based standards] (erfcl): Likewise.
14409 [non-C99-based standards] (gammal): Likewise.
14410 [non-C99-based standards] (hypotl): Likewise.
14411 [non-C99-based standards] (j0l): Likewise.
14412 [non-C99-based standards] (j1l): Likewise.
14413 [non-C99-based standards] (jnl): Likewise.
14414 [non-C99-based standards] (lgammal): Likewise.
14415 [non-C99-based standards] (tgammal): Likewise.
14416 [non-C99-based standards] (y0l): Likewise.
14417 [non-C99-based standards] (y1l): Likewise.
14418 [non-C99-based standards] (ynl): Likewise.
14419 [non-C99-based standards] (isnanl): Likewise.
14420 [non-C99-based standards] (acoshl): Likewise.
14421 [non-C99-based standards] (asinhl): Likewise.
14422 [non-C99-based standards] (atanhl): Likewise.
14423 [non-C99-based standards] (cbrtl): Likewise.
14424 [non-C99-based standards] (expm1l): Likewise.
14425 [non-C99-based standards] (ilogbl): Likewise.
14426 [non-C99-based standards] (log1pl): Likewise.
14427 [non-C99-based standards] (logbl): Likewise.
14428 [non-C99-based standards] (nextafterl): Likewise.
14429 [non-C99-based standards] (remainderl): Likewise.
14430 [non-C99-based standards] (rintl): Likewise.
14431 [non-C99-based standards] (scalbl): Likewise.
14432 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14433 [non-C99-based standards] (FP_*): Do not allow.
14434 [C99-based standards] (FP_*): Change to
14435 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14436 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14437 allow.
14438 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14439 (SIG_ERR): Likewise.
14440 [X/Open-based standards] (SIG_HOLD): Likewise.
14441 (SIG_IGN): Likewise.
14442 (SIGABRT): Use macro-int-constant. Specify type. Require
14443 positive value.
14444 (SIGFPE): Likewise.
14445 (SIGILL): Likewise.
14446 (SIGINT): Likewise.
14447 (SIGSEGV): Likewise.
14448 (SIGTER): Likewise.
14449 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14450 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14451 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14452 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14453 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14454 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14455 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14456 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14457 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14458 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14459 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14460 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14461 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14462 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14463 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14464 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14465 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14466 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14467 [X/Open-based standards] (SIGTRAP): Likewise.
14468 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14469 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14470 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14471 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14472 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14473 allow.
14474
b9f1922d
IW
144752012-05-08 Ian Wienand <ianw@vmware.com>
14476
14477 [BZ #14080]
14478 * time/tzset.c (__tzset_parse_tz): Update default rules for
14479 daylight time changes in the Energy Policy Act of 2005.
14480
1db86e88
AJ
144812012-05-09 Andreas Jaeger <aj@suse.de>
14482
14483 [BZ #13983]
14484 * elf/ldconfig.c (parse_conf): Change string to make clear that
14485 ldconfig only issued a warning if ld.so.conf does not exist.
14486
dee4a4e3
DM
144872012-05-08 David S. Miller <davem@davemloft.net>
14488
ee0db190
DM
14489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14490 movxtod instead of popping the value on the stack.
14491
dee4a4e3
DM
14492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14493
6a43ec98
CD
144942012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14495
14496 * config.h.in: Add HAVE_ARM_PCS_VFP.
14497
05c2c961
RMG
144982012-05-08 Roland Mc Grath <roland@hack.frob.com>
14499
bcfe3a54
ST
14500 [BZ #13979]
14501 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14502 checking but the checks are disabled for any reason.
05c2c961 14503
4b30f61a
L
145042012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14505
14506 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14507 and ELF64_R_TYPE with ELFW(R_TYPE).
14508
eee2bc67
JM
145092012-05-08 Joseph Myers <joseph@codesourcery.com>
14510
7ea5391a
JM
14511 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14512 (ulimit): Likewise.
14513
eee2bc67
JM
14514 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14515 (settimeofday): Likewise.
14516
abb66a67
MF
145172012-05-08 Mike Frysinger <vapier@gentoo.org>
14518
14519 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14520 a struct th_u2 inside the union, and move tu_block/tu_code into
14521 a new th_u3 union of tu_block/tu_code inside of that. Move
14522 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14523 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14524 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14525 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14526 (th_stuff): Change to th_u1.tu_stuff.
14527 (th_data): Define.
14528 (th_msg): Change to th_u1.th_u2.tu_data.
14529
7f18b530
DM
145302012-05-07 David S. Miller <davem@davemloft.net>
14531
05760585
DM
14532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14533
7f18b530
DM
14534 [BZ #14074]
14535 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14536 (SETUP_PIC_REG): Use it.
14537 (SETUP_PIC_REG_LEAF): Use it.
14538
495fd99f
JM
145392012-05-07 Joseph Myers <joseph@codesourcery.com>
14540
14541 [BZ #13885]
14542 [BZ #13923]
14543 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14544 USE_AS_EXPM1L.
14545 (EXPL_FINITE): Likewise.
14546 (FLDLOG): Likewise.
14547 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14548 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14549 e_expl.S.
14550 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14551 USE_AS_EXPM1L.
14552 (EXPL_FINITE): Likewise.
14553 (FLDLOG): Likewise.
14554 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14555 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14556 e_expl.S.
14557 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14558 test of -max_value argument for long double.
14559 * sysdeps/i386/fpu/libm-test-ulps: Update.
14560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14561
6693d694
DM
145622012-05-06 David S. Miller <davem@davemloft.net>
14563
14564 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14565 quad soft-float symbols whose references which are compiler
14566 generated.
14567 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14568
6c23e11c
JM
145692012-05-06 Joseph Myers <joseph@codesourcery.com>
14570
d8b82cad
JM
14571 [BZ #13884]
14572 [BZ #13914]
14573 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14574 USE_AS_EXP10L.
14575 (EXPL_FINITE): Likewise.
14576 (FLDLOG): Likewise.
14577 (c0): Likewise.
14578 (c1): Likewise.
14579 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14580 Adjust comments for base varying.
14581 (__expl_finite): Change alias to EXPL_FINITE.
14582 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14583 e_expl.S.
14584 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14585 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14586 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14587 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14588 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14589 USE_AS_EXP10L.
14590 (EXPL_FINITE): Likewise.
14591 (FLDLOG): Likewise.
14592 (c0): Likewise.
14593 (c1): Likewise.
14594 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14595 Adjust comments for base varying.
14596 (__expl_finite): Change alias to EXPL_FINITE.
14597 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14598 tests for bugs.
14599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14600
6c23e11c
JM
14601 [BZ #14064]
14602 * math/libm-test.inc (check_float_internal): Correct ulp
14603 calculation for subnormal expected results.
14604
29ba805c
AJ
146052012-05-06 Andreas Jaeger <aj@suse.de>
14606
14607 * Makeconfig (+math-flags): New, set to -frounding-math.
14608 (+cflags): Add +math-flags so that all of glibc gets compiled with
14609 it.
14610
14611 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14612
7b17aeda
JM
146132012-05-05 Joseph Myers <joseph@codesourcery.com>
14614
5779f134
JM
14615 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14616 Disable one test.
14617
41498f4d
JM
14618 [BZ #13787]
14619 [BZ #13922]
14620 [BZ #14036]
14621 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14622 (__ieee754_expl): Allow for and saturate large arguments.
14623 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14624 (u_threshold): Likewise.
14625 (__exp): Call __ieee754_exp before checking for overflow and
14626 underflow.
14627 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14628 (u_threshold): Likewise.
14629 (__expf): Call __ieee754_expf before checking for overflow and
14630 underflow.
14631 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14632 (u_threshold): Likewise.
14633 (__expl): Call __ieee754_expl before checking for overflow and
14634 underflow.
14635 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14636 (__ieee754_expl): Allow for and saturate large arguments.
14637 * math/libm-test.inc (exp_test): Add another test. Do not allow
14638 missing overflow exception on overflow.
14639 (expm1_test): Do not allow missing overflow exception on overflow.
14640
6698b8bf
JM
14641 * sysdeps/i386/fpu/e_expl.c: Move to ...
14642 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14643 rather than using inline asm.
14644 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14645 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14646 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14647
7b17aeda
JM
14648 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14649 (nice): Likewise.
14650 (poll): Likewise.
14651 (signal): Likewise.
14652 (time): Likewise.
14653 (times): Likewise.
14654
f7c85819
JM
146552012-05-04 Joseph Myers <joseph@codesourcery.com>
14656
14657 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14658 sysdeps/unix/common/syscalls.list.
14659 (fchmod): Likewise.
14660 (fchown): Likewise.
14661 (ftruncate): Likewise.
14662 (getrusage): Likewise.
14663 (gettimeofday): Likewise.
14664 (setpgid): Likewise.
14665 (setregid): Likewise.
14666 (setreuid): Likewise.
14667 (sigaction): Likewise.
14668 (truncate): Likewise.
14669 (vhangup): Likewise.
14670 * sysdeps/unix/common/syscalls.list: Remove file.
14671 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14672 * sysdeps/unix/sysv/linux/Implies: Likewise.
14673
336270d0
L
146742012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14675
14676 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14678 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14679 Moved to ...
14680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14681 Here.
14682 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14683 to ...
14684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14685 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14686 to ...
14687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14688 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14689 to ...
14690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14691 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14692 to ...
14693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14694 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14695 to ...
14696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14697 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14698 to ...
14699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14700 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14701 to ...
14702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14703 Here.
14704 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14705 to ...
14706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14707 Here.
14708 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14709 to ...
14710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14711 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14712 Moved to ...
14713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14714 Here.
14715 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14716 to ...
14717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14718
d128e450
JM
147192012-05-04 Joseph Myers <joseph@codesourcery.com>
14720
fa8ee516
JM
14721 * sysdeps/unix/common/bits/dirent.h: Remove file.
14722 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14723
d128e450
JM
14724 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14725 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14726 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14727 * sysdeps/unix/bsd/isatty.c: Likewise.
14728 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14729 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14730 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14731
ff8faaf0 147322012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14733
62881be4 14734 [BZ #13563]
31dc8730
AZ
14735 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14736 long double comparison inaccuracies.
14737 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14739
6fef930c
AS
147402012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14741
14742 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14743 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14744
8f203e6c
JM
147452012-05-04 Joseph Myers <joseph@codesourcery.com>
14746
14747 [BZ #14049]
14748 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14749 nonzero digits before rounding a hex value.
14750 * stdlib/tst-strtod.c (tests): Add another test.
14751
5197d9c2
AK
147522012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14753
14754 * sysdeps/s390/fpu/libm-test-ulps: Update.
14755
f0c1dedf
AJ
147562012-05-03 Andreas Jaeger <aj@suse.de>
14757
14758 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14759 does not get optimized out.
14760 (malloc_opt_barrier): New.
14761
a65ef2ae 147622012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14763 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14764
2b942cb7 14765 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14766 intermediate file deletion.
2b942cb7 14767 (generated): Add .symlist files.
a65ef2ae 14768
54b71e02
JM
147692012-05-03 Joseph Myers <joseph@codesourcery.com>
14770
14771 [BZ #13775]
14772 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14773 Redirect under this condition.
14774 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14775 [__USE_GNU] (__dprintf_chk): Not under this condition.
14776 [__USE_GNU] (__vdprintf_chk): Likewise.
14777 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14778 under this condition.
14779 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14780 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14781 [__USE_XOPEN2K8] (vdprintf): Likewise.
14782 [__USE_GNU] (__dprintf_chk): Not under this condition.
14783 [__USE_GNU] (__vdprintf_chk): Likewise.
14784 [__USE_GNU] (dprintf): Likewise.
14785 [__USE_GNU] (vdprintf): Likewise.
14786
d3dfcc41
RM
147872012-05-03 Roland McGrath <roland@hack.frob.com>
14788
14789 * elf/Makefile (common-generated): Set this instead of generated for
14790 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14791 $(all-built-dso)-derived lists.
14792
7ac30cc5
AJ
147932012-05-03 Andreas Jaeger <aj@suse.de>
14794
0c51e550
AJ
14795 * sysdeps/i386/fpu/libm-test-ulps: Update.
14796
7ac30cc5
AJ
14797 * FAQ: Removed.
14798 * FAQ.in: Likewise.
14799 * scripts/gen-FAQ.pl: Likewise.
14800 * manual/install.texi (Installation): Point to online location of
14801 FAQ.
14802 * Makefile (files-for-dist): Remove FAQ.
14803 (FAQ): Remove.
14804
d4c2917f
AM
148052012-05-02 Allan McRae <allan@archlinux.org>
14806
14807 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14808 (LDFLAGS-reldepmod5.so): Likewise.
14809 (LDFLAGS-reldep6mod1.so): Likewise.
14810 (LDFLAGS-reldep6mod4.so): Likewise.
14811 (LDFLAGS-reldep8mod3.so): Likewise.
14812 (LDFLAGS-unload4mod1.so): Likewise.
14813 (LDFLAGS-unload4mod2.so): Likewise.
14814 (LDFLAGS-tst-initorder): Likewise.
14815 (LDFLAGS-tst-initordera2.so): Likewise.
14816 (LDFLAGS-tst-initordera3.so): Likewise.
14817 (LDFLAGS-tst-initordera4.so): Likewise.
14818 (LDFLAGS-tst-initorderb2.so): Likewise.
14819 (LDFLAGS-noload): Likewise.
14820 (LDFLAGS-next): Likewise.
14821 (LDFLAGS-order2mod1.so): Likewise.
14822 (LDFLAGS-order2mod2.so): Likewise.
14823 (LDFLAGS-tst-initorder2): Likewise.
14824 (LDFLAGS-tst-initorder2a.so): Likewise.
14825 (LDFLAGS-tst-initorder2b.so): Likewise.
14826 (LDFLAGS-tst-initorder2c.so): Likewise.
14827 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14828
d77f993f
DM
148292012-05-02 David S. Miller <davem@davemloft.net>
14830
14831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14832
171a70b4
PP
148332012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14834
14835 [BZ #14055]
14836 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14837
0be196ad
AJ
148382012-05-02 Andreas Jaeger <aj@suse.de>
14839
14840 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14841 since we manipulate rounding mode.
14842 (CPPFLAGS-test-idouble.c): Likewise.
14843 (CPPFLAGS-test-ifloat.c): Likewise.
14844 (CFLAGS-test-ldouble.c): Likewise.
14845 (CFLAGS-test-double.c): Likewise.
14846 (CFLAGS-test-float.c): Likewise.
14847 (CFLAGS-test-misc.c): Likewise.
14848 (CFLAGS-test-test-fenv.c): Likewise.
14849
4f9d04aa
AZ
148502012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14851
2b942cb7
RM
14852 [BZ #2550]
14853 [BZ #2570]
14854 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14855 comparisons to determine direction to adjust input.
4f9d04aa 14856
82a79e7d
RM
148572012-05-01 Roland McGrath <roland@hack.frob.com>
14858
f5a01ca9
RM
14859 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14860 output to the target.
14861
90fe4186
RM
14862 * scripts/localplt.awk: New file.
14863 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14864 (check-localplt-CFLAGS): Variable removed.
14865 ($(all-built-dso:=.jmprel)): New static pattern rule.
14866 (generated): Add those targets.
14867 (localplt-built-dso): New variable.
14868 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14869
14870 * elf/check-localplt.c: File removed.
14871
82397ed6
RM
14872 * scripts/check-execstack.awk: New file.
14873 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14874 (check-execstack-CFLAGS): Variable removed.
14875 ($(objpfx)check-execstack.h): Target removed.
14876 ($(objpfx)execstack-default): New target.
14877 (generated): Add that instead of check-execstack.h.
14878 ($(all-built-dso:=.phdr)): New static pattern rule.
14879 (generated): Add those targets.
14880 * elf/check-execstack.c: File removed.
14881
82a79e7d
RM
14882 * scripts/check-textrel.awk: New file.
14883 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14884 (check-textrel-CFLAGS): Variable removed.
14885 (all-built-dso): Use := to define.o
14886 ($(all-built-dso:=.dyn)): New static pattern rule.
14887 (generated): Add those targets.
14888 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14889 * config.make.in (READELF): New substituted variable.
14890 * elf/check-textrel.c: File removed.
14891
62fde54f 148922012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14893
615605c9
JM
14894 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14895 allow.
14896 * conform/data/ctype.h-data [C99-based standards] (isblank):
14897 Expect function.
14898 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14899 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14900 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14901 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14902 Specify type. Require positive value.
14903 (EILSEQ): Likewise.
14904 (ERANGE): Likewise.
14905 [ISO || POSIX] (EILSEQ): Do not expect.
14906 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14907 Specify type. Require positive value.
14908 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14909 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14910 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14911 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14912 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14913 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14914 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14915 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14916 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14917 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14918 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14919 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14920 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14921 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14922 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14923 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14924 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14925 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14926 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14927 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14928 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14929 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14930 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14931 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14932 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14933 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14934 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14935 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14936 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14937 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14938 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14939 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14940 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14941 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14942 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14943 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14944 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14945 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14946 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14947 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14948 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14949 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14950 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14951 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14952 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14953 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14954 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14955 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14956 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14957 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14958 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14959 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14960 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14961 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14962 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14963 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14964 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14965 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14966 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14967 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14968 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14969 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14970 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14971 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14972 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14973 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14974 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14975 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14976 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14977 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14978 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14979 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14980 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14981 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14982 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14983 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14984 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14985 Require >= 2.
14986 (FLT_ROUNDS): Expect as macro, not constant.
14987 (FLT_MANT_DIG): Use macro-int-constant.
14988 (DBL_MANT_DIG): Likewise.
14989 (LDBL_MANT_DIG): Likewise.
14990 (FLT_DIG): Likewise.
14991 (DBL_DIG): Likewise.
14992 (LDBL_DIG): Likewise.
14993 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14994 (DBL_MIN_EXP): Likewise.
14995 (LDBL_MIN_EXP): Likewise.
14996 (FLT_MAX_EXP): Use macro-int-constant.
14997 (DBL_MAX_EXP): Likewise.
14998 (LDBL_MAX_EXP): Likewise.
14999 (FLT_MAX_10_EXP): Likewise.
15000 (DBL_MAX_10_EXP): Likewise.
15001 (LDBL_MAX_10_EXP): Likewise.
15002 (FLT_MAX): Use macro-constant.
15003 (DBL_MAX): Likewise.
15004 (LDBL_MAX): Likewise.
15005 (FLT_EPSILON): Use macro-constant. Give upper bound.
15006 (DBL_EPSILON): Likewise.
15007 (LDBL_EPSILON): Likewise.
15008 (FLT_MIN): Likewise.
15009 (DBL_MIN): Likewise.
15010 (LDBL_MIN): Likewise.
15011 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15012 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15013 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15014 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15015 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15016 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15017 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15018 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15019 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15020 [ISO11] (FLT_TRUE_MIN): Likewise.
15021 [ISO11] (LDBL_TRUE_MIN): Likewise.
15022 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15023 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15024 (SCHAR_MIN): Use macro-int-constant. Specify type.
15025 (SCHAR_MAX): Likewise.
15026 (UCHAR_MAX): Likewise.
15027 (CHAR_MIN): Likewise.
15028 (CHAR_MAX): Likewise.
15029 (MB_LEN_MAX): Use macro-int-constant.
15030 (SHRT_MIN): Use macro-int-constant. Specify type.
15031 (SHRT_MAX): Likewise.
15032 (USHRT_MAX): Likewise.
15033 (INT_MAX): Likewise.
15034 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15035 bound negative.
15036 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15037 bound with "U".
15038 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15039 bound with "L".
15040 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15041 bound negative. Suffix upper bound with "L".
15042 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15043 bound with "UL".
15044 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15045 Specify type.
15046 [C99-based standards] (LLONG_MAX): Likewise.
15047 [C99-based standards] (ULLONG_MAX): Likewise.
15048 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15049 == 0.
15050 [ISO11] (max_align_t): Require type.
15051 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15052
c9140a62
JM
15053 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15054 from $CFLAGS, without defining away __attribute__ calls.
15055 (checknamespace): Use $CFLAGS_namespace.
15056
9af0bf29
JM
15057 * conform/conformtest.pl (@keywords): Only include C99 keywords
15058 for standards based on C99 or C11.
15059
343222a2
JM
15060 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15061 Disable tests.
15062 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15063 UNIX98]: Likewise.
15064
661f8cf0
JM
15065 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15066 usability of symbols in #if.
15067
ee74b9cb
JM
15068 * conform/conformtest.pl: If macro or constant types start
15069 "promoted:", expect the symbol to be of the following type
15070 promoted by the integer promotions.
62fde54f 15071
aafc49b3
JM
15072 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15073 in one place. Also handle "macro-constant".
15074
fefdf574
JM
15075 * conform/conformtest.pl: Only accept expected macro values with
15076 "==". Parse all "macro" lines in one place.
15077 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15078
f2d922fe
JM
15079 * conform/conformtest.pl: Handle braced types on "constant" lines
15080 instead of handling "typed-constant".
15081 * conform/data/signal.h-data: Use "constant" instead of
15082 "typed-constant".
15083
d22956c9
JM
15084 * conform/conformtest.pl: Handle "optional-" at start of lines in
15085 one place rather than duplicating several cases. Handle each
15086 format of "macro" line with initial "optional-".
15087
028e2e38
JM
15088 * conform/conformtest.pl: Only accept expected constant or
15089 optional-constant values with "==". Parse all "constant" lines in
15090 one place. Parse all "optional-constant" lines in one place.
15091 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15092 * conform/data/fmtmsg.h-data: Likewise.
15093 * conform/data/netinet/in.h-data: Likewise.
15094 * conform/data/tar.h-data: Likewise.
15095 * conform/data/limits.h-data: Use "==" form on "constant" and
15096 "optional-constant" lines.
15097
1b8f2850
JM
15098 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15099 Use -std=c99 for XOPEN2K.
15100 (@knownproblems): Remove.
15101 (newtoken): Don't check %isknown.
15102
a05a144b
JM
15103 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15104 Do not expect macro.
15105 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15106 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15107 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15108 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15109 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15110 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15111 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15112 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15113 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15114 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15115 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15116 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15117 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15118 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15119 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15120 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15121 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15122 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15123 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15124 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15125 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15126 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15127 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15128 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15129 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15130 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15131 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15132 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15133 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15134 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15135 [XPG3] (acosh): Likewise.
15136 [XPG3] (asinh): Likewise.
15137 [XPG3] (atanh): Likewise.
15138 [XPG3] (cbrt): Likewise.
15139 [XPG3] (expm1): Likewise.
15140 [XPG3] (ilogb): Likewise.
15141 [XPG3] (log1p): Likewise.
15142 [XPG3] (logb): Likewise.
15143 [XPG3] (nextafter): Likewise.
15144 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15145 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15146 [XPG3] (remainder): Likewise.
15147 [XPG3] (rint): Likewise.
15148 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15149 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15150 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15151 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15152 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15153 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15154 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15155 [UNIX98 || XOPEN2K] (scalb): Expect.
15156 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15157 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15158 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15159 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15160 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15161 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15162 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15163 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15164 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15165 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15166 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15167 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15168 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15169 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15170 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15171 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15172 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15173 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15174 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15175 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15176 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15177 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15178 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15179 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15180 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15181 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15182 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15183 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15184 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15185 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15186 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15187 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15188 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15189 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15190 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15191 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15192 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15193 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15194 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15195 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15196 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15198 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15199 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15200 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15201 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15202 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15203 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15204 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15205 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15207 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15208 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15209 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15210 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15211 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15212 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15213 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15214 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15215 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15216 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15217 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15218 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15219 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15220 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15221 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15222 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15223 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15224 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15225 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15226 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15227 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15228 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15229 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15230 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15231 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15232 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15233 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15234 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15235 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15236 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15237 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15238 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15239 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15240 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15241 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15242 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15243 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15244 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15245 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15246 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15247 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15248 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15249 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15250 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15251 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15252 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15253 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15254 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15255 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15256 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15257 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15258 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15259 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15260 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15261 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15262 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15263 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15264 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15265 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15266 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15267 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15268 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15269 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15270 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15271 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15272 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15273 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15274 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15275 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15276 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15277 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15278 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15279 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15280 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15281 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15282 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15283 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15284 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15285 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15286 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15287 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15288 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15289 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15290 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15291 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15292 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15293
73c5ebe3
JM
15294 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15295 _XOPEN_SOURCE_EXTENDED for XPG4.
15296
39c33b6c
JM
15297 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15298
62fde54f
JM
15299 * Makeconfig (localtime): Remove variable.
15300 (inst_localtime-file): Likewise.
15301
0741d64c
AS
153022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15303
15304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15305 Update.
15306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15307 Update.
15308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15309 Update.
15310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15311 Update.
15312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15313 Update.
15314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15315 Update.
15316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15317 Update.
15318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15319 Update.
15320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15321 Update.
15322
7cb029ee
JM
153232012-05-01 Joseph Myers <joseph@codesourcery.com>
15324
15325 [BZ #2550]
15326 [BZ #2570]
15327 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15328 comparisons to determine direction to adjust input.
15329 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15330 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15331 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15332 Likewise.
15333 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15334 Likewise.
15335 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15336 Likewise.
15337 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15338 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15339 Likewise.
15340 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15341 Likewise.
15342 * math/libm-test.inc (nexttoward_test): Add more tests.
15343
412bd966
AS
153442012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15345
15346 [BZ #14040]
15347 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15348 in version GLIBC_2.1, not GLIBC_2.0.
15349 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15350 Likewise.
15351
9568c0c2
JM
153522012-04-30 Joseph Myers <joseph@codesourcery.com>
15353
adfbc8ac
JM
15354 [BZ #13942]
15355 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15356 (1 - x) * (1 + x).
15357 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15358 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15359 * math/libm-test.inc (acos_test): Add more tests.
15360 (asin_test): Likewise.
15361 * sysdeps/i386/fpu/libm-test-ulps: Update.
15362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15363
5ba3cc69
JM
15364 [BZ #14034]
15365 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15366 of square root.
15367 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15368 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15369 * math/libm-test.inc (acos_test_tonearest): New function.
15370 (acos_test_towardzero): Likewise.
15371 (acos_test_downward): Likewise.
15372 (acos_test_upward): Likewise.
15373 (asin_test_tonearest): Likewise.
15374 (asin_test_towardzero): Likewise.
15375 (asin_test_downward): Likewise.
15376 (asin_test_upward): Likewise.
15377 (main): Call the new functions.
15378 * sysdeps/i386/fpu/libm-test-ulps: Update.
15379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15380
9568c0c2
JM
15381 [BZ #13884]
15382 [BZ #13924]
15383 * math/e_exp10.c: Include <float.h>.
15384 (__ieee754_exp10): Handle underflow here rather than multiplying
15385 large negative argument by M_LN10.
15386 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15387 of __ieee754_expf.
15388 * math/e_exp10l.c: Include <float.h>.
15389 (__ieee754_exp10l): Handle underflow here rather than multiplying
15390 large negative argument by M_LN10l.
15391 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15392 spurious overflow exception on underflow.
15393
5ac3ea17
MP
153942012-04-29 Marek Polacek <polacek@redhat.com>
15395
15396 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15397 (__fortify_function): New macro.
15398 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15399 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15400 __extern_always_inline.
15401 * libio/bits/stdio2.h: Likewise.
15402 * libio/bits/stdio.h: Likewise.
15403 * string/string.h: Likewise.
15404 * string/bits/string3.h: Likewise.
15405 * include/stdio.h: Likewise.
15406 * stdlib/bits/stdlib.h: Likewise.
15407 * stdlib/stdlib.h: Likewise.
15408 * rt/bits/mqueue2.h: Likewise.
15409 * rt/mqueue.h: Likewise.
15410 * posix/bits/unistd.h: Likewise.
15411 * posix/unistd.h: Likewise.
15412 * io/bits/poll2.h: Likewise.
15413 * io/bits/fcntl2.h: Likewise.
15414 * io/fcntl.h: Likewise.
15415 * io/sys/poll.h: Likewise.
15416 * misc/bits/syslog.h: Likewise.
15417 * misc/bits/syslog-ldbl.h: Likewise.
15418 * misc/sys/syslog.h: Likewise.
15419 * socket/bits/socket2.h: Likewise.
15420 * socket/sys/socket.h: Likewise.
15421 * debug/tst-chk1.c: Likewise.
15422 * wcsmbs/bits/wchar2.h: Likewise.
15423 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15424 * wcsmbs/wchar.h: Likewise.
15425
ecf0ebfb
AJ
154262012-04-29 Andreas Jaeger <aj@suse.de>
15427
15428 * Makerules (tests): Remove enable-check-abi protection.
15429 (check-abi-warn): Remove.
15430 (check-abi-%): Remove check-abi-warn usage.
15431
15432 * configure.in: Remove check-abi configure option.
15433 * configure: Regenerated.
15434 * config.make.in (enable-check-abi): Remove.
15435
6d5c57fa
AS
154362012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15437
24c5d07e 15438 [BZ #14033]
ded5180a
AS
15439 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15440 double functions to double *_finite functions.
15441
7e0d315d
AS
15442 [BZ #13941]
15443 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15444 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15445 LDBL_MIN_EXP.
15446 * stdio-common/Makefile (tests): Add tst-sprintf3.
15447 * stdio-common/tst-sprintf3.c: New file.
15448
6d5c57fa
AS
15449 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15450 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15451
0749ff8b
JM
154522012-04-28 Joseph Myers <joseph@codesourcery.com>
15453
15454 * conform/conformtest.pl: Remove duplicate typed-constant
15455 handling.
15456
8dbd5d7b
DM
154572012-04-28 David S. Miller <davem@davemloft.net>
15458
15459 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15460 (check-abi-%): Remove AWK script prerequisite and explicit
15461 abilist directory.
15462 (check-abi): Rewrite to just diff the symlist with the abilist.
15463 (config-tls, config-abi-config): Delete, no longer used.
15464 (update-abi-%): Remove AWK script and explicit abilist directory.
15465 (update-abi): Rewrite to simply compare and conditionally copy the
15466 symlist and the sysdep abilist file. Remove update-abi-config
15467 checks.
15468 * abilist/ld.abilist: Remove.
15469 * abilist/libBrokenLocale.abilist: Remove.
15470 * abilist/libanl.abilist: Remove.
15471 * abilist/libcrypt.abilist: Remove.
15472 * abilist/libdl.abilist: Remove.
15473 * abilist/librt.abilist: Remove.
15474 * abilist/libthread_db.abilist: Remove.
15475 * abilist/libutil.abilist: Remove.
15476 * scripts/extract-abilist.awk: Remove.
15477 * scripts/merge-abilist.awk: Remove.
15478 * sysdeps/generic/libcidn.abilist: New file.
15479 * sysdeps/generic/libnss_compat.abilist: New file.
15480 * sysdeps/generic/libnss_db.abilist: New file.
15481 * sysdeps/generic/libnss_dns.abilist: New file.
15482 * sysdeps/generic/libnss_files.abilist: New file.
15483 * sysdeps/generic/libnss_hesiod.abilist: New file.
15484 * sysdeps/generic/libnss_nis.abilist: New file.
15485 * sysdeps/generic/libnss_nisplus.abilist: New file.
15486 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15487 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15488 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15489 file.
15490 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15491 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15492 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15493 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15494 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15495 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15496 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15497 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15498 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15499 file.
15500 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15501 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15502 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15503 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15504 file.
15505 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15506 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15507 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15508 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15509 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15510 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15511 file.
15512 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15513 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15514 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15515 file.
15516 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15518 New file.
15519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15520 New file.
15521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15522 New file.
15523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15524 New file.
15525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15526 New file.
15527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15528 New file.
15529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15530 New file.
15531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15532 New file.
15533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15534 New file.
15535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15536 New file.
15537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15538 New file.
15539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15540 New file.
15541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15542 New file.
15543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15544 file.
15545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15546 New file.
15547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15548 New file.
15549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15550 file.
15551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15552 New file.
15553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15554 New file.
15555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15556 file.
15557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15558 New file.
15559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15560 New file.
15561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15562 New file.
15563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15564 New file.
15565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15566 New file.
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15568 New file.
15569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15571 file.
15572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15573 New file.
15574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15575 file.
15576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15577 file.
15578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15579 file.
15580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15581 file.
15582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15583 file.
15584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15585 New file.
15586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15587 file.
15588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15589 file.
15590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15591 New file.
15592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15593 file.
15594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15596 file.
15597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15598 New file.
15599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15600 file.
15601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15602 file.
15603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15604 file.
15605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15606 file.
15607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15608 file.
15609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15610 New file.
15611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15612 file.
15613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15614 file.
15615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15616 New file.
15617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15618 file.
15619 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15620 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15621 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15622 file.
15623 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15624 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15625 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15626 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15627 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15628 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15629 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15630 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15631 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15632 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15635 file.
15636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15637 New file.
15638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15639 file.
15640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15641 file.
15642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15643 file.
15644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15645 file.
15646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15647 file.
15648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15649 New file.
15650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15651 New file.
15652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15653 file.
15654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15655 New file.
15656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15657 file.
15658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15660 file.
15661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15662 New file.
15663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15664 file.
15665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15666 file.
15667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15668 file.
15669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15670 file.
15671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15672 file.
15673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15674 New file.
15675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15676 New file.
15677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15678 file.
15679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15680 New file.
15681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15682 file.
15683
41d73a1b
JM
156842012-04-28 Joseph Myers <joseph@codesourcery.com>
15685
15686 * conform/conformtest.pl: Fix typo in handling typed-constant from
15687 allow-header.
15688
28aeeda4
JM
156892012-04-27 Joseph Myers <joseph@codesourcery.com>
15690
adae8f5e
JM
15691 * README: Cut down references to pre-2.6 Linux kernels and
15692 Linuxthreads. Update lists of configurations in libc and ports
15693 and sort alphabetically. Say "or newer" with Linux kernel version
15694 requirements.
15695
28aeeda4
JM
15696 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15697
a462cb63
RA
156982012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15699
15700 [BZ #887]
15701 * math/libm-test.inc (logb_test_downward): New test to expose
15702 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15703 rounding mode.
15704
6ad3493e
JM
157052012-04-27 Joseph Myers <joseph@codesourcery.com>
15706
15707 [BZ #14027]
15708 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15709 to be done.
15710 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15711 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15712
2ce4f015
JM
157132012-04-26 Joseph Myers <joseph@codesourcery.com>
15714
5aeb141a
JM
15715 * sysdeps/unix/i386/brk.S: Remove file.
15716 * sysdeps/unix/i386/dl-brk.S: Likewise.
15717 * sysdeps/unix/i386/pipe.S: Likewise.
15718 * sysdeps/unix/i386/sigreturn.S: Likewise.
15719 * sysdeps/unix/i386/syscall.S: Likewise.
15720 * sysdeps/unix/i386/vfork.S: Likewise.
15721 * sysdeps/unix/i386/wait.S: Likewise.
15722
7143acae
JM
15723 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15724 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15725
2ce4f015
JM
15726 * configure.in (arm*-none*): Do not allow without
15727 --enable-hacker-mode.
15728 (netbsd*): Remove case setting base_os.
15729 (386bsd*): Likewise.
15730 (freebsd*): Likewise.
15731 (bsdi*): Likewise.
15732 (osf*): Likewise.
15733 (sunos*): Likewise.
15734 (ultrix*): Likewise.
15735 (newsos*): Likewise.
15736 (dynix*): Likewise.
15737 (*bsd*): Likewise.
15738 (sysv*): Likewise.
15739 (isc*): Likewise.
15740 (esix*): Likewise.
15741 (sco*): Likewise.
15742 (minix*): Likewise.
15743 (irix4*): Likewise.
15744 (irix6*): Likewise.
15745 (solaris[2-9]*): Likewise.
15746 (none): Likewise.
15747 * configure: Regenerated.
15748
0ac229c8
AZ
157492012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15750
15751 [BZ #11521]
15752 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15753 overflow or cancellation in calculating denominator.
15754 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15755 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15756 down expression to avoid unexpected rounding in newer GCCs.
15757 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15758
33f244f4
DM
157592012-04-26 David S. Miller <davem@davemloft.net>
15760
15761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15762 long-double compat symbols.
15763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15776
cfa1f3e8
DM
157772012-04-25 David S. Miller <davem@davemloft.net>
15778
15779 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15780 HWCAP_* values only after the memory barriers have been defined.
15781 (atomic_full_barrier): Define.
15782 (atomic_read_barrier): Define.
15783 (atomic_write_barrier): Define.
15784
6e236b92
SP
157852012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15786
15787 * shlib-versions: Add libgcc_s version information.
15788 * sysdeps/generic/libgcc_s.h: Remove.
15789 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15790 libgcc_s.h.
15791 * sysdeps/gnu/unwind-resume.c: Likewise.
15792 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15793
aab39a09
DM
157942012-04-25 David S. Miller <davem@davemloft.net>
15795
15796 * sysdeps/unix/sparc/brk.S: Delete.
15797 * sysdeps/unix/sparc/dl-brk.S: Delete.
15798 * sysdeps/unix/sparc/pipe.S: Delete.
15799 * sysdeps/unix/sparc/sysdep.S: Delete.
15800 * sysdeps/unix/sparc/sysdep.h: Delete.
15801 * sysdeps/unix/sparc/vfork.S: Delete.
15802 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15803 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15804 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15805 ret_ERRVAL, r0, r1, MOVE): Define.
15806 (JUMPTARGET): Remove.
15807 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15808 sysdeps/unix/sparc/sysdep.h
15809 (ENTRY, END): Remove.
15810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15811
a3cc4f48
JM
158122012-04-25 Joseph Myers <joseph@codesourcery.com>
15813
2ed8cda2
JM
15814 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15815 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15816 -DIS_IN_build.
15817
35d76d59
JM
15818 * timezone/README: Update upstream location and email address for
15819 tzcode and tzdata.
15820 * timezone/zdump.c: Update from tzcode 2012b.
15821 * timezone/zic.c: Likewise.
15822
a3cc4f48
JM
15823 * configure.in (libc_cv_as_needed): Remove test.
15824 * configure: Regenerated.
15825 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15826 conditional definition.
15827 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15828 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15829 * config.make.in (have-as-needed): Remove variable.
15830
ceab42c3
SP
158312012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15832 Paul Pluzhnikov <ppluzhnikov@google.com>
15833
15834 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15835 strings correctly.
15836
3ce2865f
CLT
158372012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15838
15839 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15840 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15841 * sysdeps/sh/strlen.S: Likewise.
15842
f37e0d68
JM
158432012-04-24 Joseph Myers <joseph@codesourcery.com>
15844
ae186e9a
JM
15845 * sysdeps/unix/fork.S: Remove file.
15846 * sysdeps/unix/i386/fork.S: Likewise.
15847 * sysdeps/unix/sparc/fork.S: Likewise.
15848
b96914af
JM
15849 * sysdeps/unix/system.c: Remove file.
15850 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15851
f37e0d68
JM
15852 * sysdeps/unix/getegid.S: Remove file.
15853 * sysdeps/unix/geteuid.S: Likewise.
15854
87ef29ca
RM
158552012-04-24 Roland McGrath <roland@hack.frob.com>
15856
83bcd236
RM
15857 * scripts/check-localplt.awk: New file.
15858 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15859 of diff.
15860 * scripts/data/localplt-generic.data: Add a comment.
15861
87ef29ca
RM
15862 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15863 NODE when __dir_mkfile failed.
15864 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15865 Reported by Ludovic Courtès <ludo@gnu.org>.
15866
e5a6e567
AJ
158672012-04-24 Andreas Jaeger <aj@suse.de>
15868
15869 * Makerules (common-clean): Also remove gen-as-const-headers
15870 files.
15871
c1820385
JM
158722012-04-24 Joseph Myers <joseph@codesourcery.com>
15873
15874 * Makerules (native-compile): Do not change working directory for
15875 build. Use $(OUTPUT_OPTION) in command.
15876 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15877
94e02fc4
AZ
158782012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15879
15880 [BZ #13886]
15881 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15882 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15883 * math/libm-test.inc (floor_test): Add more tests.
15884 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15885
3a533ca3
JM
158862012-04-24 Joseph Myers <joseph@codesourcery.com>
15887
940ab4b3
JM
15888 * sysdeps/unix/getdents.c: Remove file.
15889 * sysdeps/unix/sysv/getdents.c: Likewise.
15890 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15891
90e037bd
JM
15892 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15893 sysdeps/unix/mman/syscalls.list.
15894 (mmap): Likewise.
15895 (mprotect): Likewise.
15896 (msync): Likewise.
15897 (munmap): Likewise.
15898 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15899 * sysdeps/unix/mman/syscalls.list: Remove.
15900 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15901
3a533ca3
JM
15902 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15903 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15904 * configure: Regenerated.
15905 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15906 $(libgcc_s_suffix).
15907 * config.make.in (libgcc_s_suffix): Remove variable.
15908
1ad743de
JM
159092012-04-23 Joseph Myers <joseph@codesourcery.com>
15910
4ad451e2
JM
15911 * sysdeps/unix/sysv/gethostname.c: Move to ...
15912 * sysdeps/posix/gethostname.c: ... here.
15913
5e37ce39
JM
15914 * sysdeps/unix/execve.S: Remove file.
15915
1ad743de
JM
15916 * sysdeps/unix/_exit.S: Remove file.
15917
4e681b5b
AJ
159182012-04-23 Andreas Jaeger <aj@suse.de>
15919
15920 [BZ #13739]
15921 * manual/Makefile: Remove make dist support, there's no
15922 need for a stand-alone documentation tar ball.
15923 (TEXI2DVI): Define always, it's not in Makeconfig.
15924 (dist): Removed.
15925 (tar-it): Removed.
15926 (edition): Removed.
15927 (glibc-doc-$(edition).tar): Removed
15928 (%.Z): Removed.
15929 (%.gz): Removed.
15930 (%.uu): Removed.
15931 (ETAGS): Remove, it's in Makeconfig.
15932 (move-if-change): Remove, it's in Makeconfig.
15933
38686a03 159342012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15935
15936 [BZ #13970]
15937 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15938 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15939 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15940 (strtod_l, strtof_l, strtold_l): Remove __wur.
15941 It is not necessarily an error to ignore strtol's return value.
15942 One can reliably look at the stored endptr to decide whether
15943 the number had valid syntax.
15944
7c0616fa
AJ
159452012-04-21 Andreas Jaeger <aj@suse.de>
15946
803cb6b7 15947 [BZ #13739]
7c0616fa
AJ
15948 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15949
b0fe253f
JM
159502012-04-21 Joseph Myers <joseph@codesourcery.com>
15951
15952 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15953 * sysdeps/unix/sysv/Versions: Remove file.
15954
8280f22d
MT
159552012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15956
15957 [BZ #13927]
15958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15959
75ce411f 159602012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15961
15962 [BZ #7064]
15963 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15964 version from __vm86.
15965
097d59fa
JM
159662012-04-20 Joseph Myers <joseph@codesourcery.com>
15967
a90f3bcb
JM
15968 * sysdeps/unix/common/lxstat.c: Remove file.
15969 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15970
edc7ea78
JM
15971 * sysdeps/unix/sysv/Makefile: Remove file.
15972
cb78c221
JM
15973 * sysdeps/unix/sysv/direct.h: Remove file.
15974
efa6a45f
JM
15975 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15976 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15977 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15978 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15979 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15980 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15981 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15982
9c9f2d0c
JM
15983 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15984
4541c83b
JM
15985 * sysdeps/unix/xmknod.c: Remove file.
15986 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15987
f5d153a0
JM
15988 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15989
aa746595
JM
15990 * sysdeps/unix/sysv/i386/time.S: Remove file.
15991
cce5905e
JM
15992 * sysdeps/unix/fxstat.c: Remove file.
15993 * sysdeps/unix/xstat.c: Likewise.
15994 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15995
37fa3841
JM
15996 * sysdeps/unix/sysv/sigaction.c: Remove file.
15997
ff1962a3
JM
15998 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15999 (sysdep_headers): Remove variable.
16000 [termio.h not in sysdep_headers] (generated): Likewise.
16001 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16002 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16003 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16004 * sysdeps/unix/sysv/tcflow.c: Likewise.
16005 * sysdeps/unix/sysv/tcflush.c: Likewise.
16006 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16007 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16008 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16009 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16010 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16011
e7740d31
JM
16012 * sysdeps/unix/siglist.c: Remove file.
16013
ee06f18b
JM
16014 * sysdeps/unix/getppid.S: Remove file.
16015
097d59fa
JM
16016 * sysdeps/unix/mkdir.c: Remove file.
16017 * sysdeps/unix/rmdir.c: Likewise.
16018
ff3d51ec
AS
160192012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16020
16021 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16022 ERR_MAX value.
16023 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16024 errlist-compat value.
16025
50f81fd7
DM
160262012-04-18 David S. Miller <davem@davemloft.net>
16027
16028 * sysdeps/generic/memcopy.h (reg_char): Delete.
16029 * debug/strcat_chk.c: Use char, not reg_char.
16030 * debug/strcpy_chk.c: Likewise.
16031 * debug/strncat_chk.c: Likewise.
16032 * debug/strncpy_chk.c: Likewise.
16033 * string/memchr.c: Likewise.
16034 * string/memrchr.c: Likewise.
16035 * string/rawmemchr.c: Likewise.
16036 * string/strcat.c: Likewise.
16037 * string/strchr.c: Likewise.
16038 * string/strchrnul.c: Likewise.
16039 * string/strcmp.c: Likewise.
16040 * string/strcpy.c: Likewise.
16041 * string/strncat.c: Likewise.
16042 * string/strncmp.c: Likewise.
16043 * string/strncpy.c: Likewise.
16044
8ff41c46
WS
160452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16046
16047 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16048 __builtin_memcopy is called when src and dest ranges are known to not
16049 overlap.
16050
6b652f46
WS
160512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16052
16053 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16054 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16055 fwd_align_merge macro call.
16056 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16057 bwd_align_merge macro call.
16058 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16059
b282631e
WS
160602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16061
16062 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16063 bwd_align_merge macros.
16064 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16065 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16066 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16067
95aa737c
DM
160682012-04-18 David S. Miller <davem@davemloft.net>
16069
16070 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16071
7a99a614
AJ
160722012-04-18 Andreas Jaeger <aj@suse.de>
16073
16074 [BZ# 6794]
16075 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16076 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16077 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16078
16079 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16080 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16081 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16082
16083 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16084 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16085 Adjust for changed ldbl-128 files.
16086
16087 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16088 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16089 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16090
e5270c23
DM
160912012-04-17 David S. Miller <davem@davemloft.net>
16092
16093 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16094
fb5e92c9
AS
160952012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16096
16097 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16098 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16099 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16100 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16101 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16102 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16103
76da7265
AZ
161042012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16105
16106 [BZ #6794]
16107 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16108 * math/libm-test.inc: Add ilogb errno and exception tests.
16109 * math/w_ilogb.c: New file: ilogb wrapper.
16110 * math/w_ilogbf.c: New file: ilogbf wrapper.
16111 * math/w_ilogbl.c: New file: ilogbl wrapper.
16112 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16113 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16114 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16115 exception being thrown with 0.0 as argument.
16116 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16117 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16118 exception being thrown with 0.0 as argument.
16119 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16120 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16121 exception being thrown with 0.0 as argument.
16122 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16123 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16124 exception being thrown with 0.0 as argument.
16125 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16126 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16127 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16128 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16129 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16130 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16131 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16132 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16133 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16134
0396e69d
PB
161352012-04-17 Petr Baudis <pasky@ucw.cz>
16136
16137 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16138 with altivec.
16139
750b5926
MP
161402012-04-16 Marek Polacek <polacek@redhat.com>
16141
16142 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16143
751728a1
MP
161442012-04-16 Marek Polacek <polacek@redhat.com>
16145
16146 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16147 operands of fdivp instruction.
16148
34a27407
L
161492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16150
16151 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16152 * elf/tst-auditmod3b.c: Likewise.
16153 * elf/tst-auditmod4b.c: Likewise.
16154 * elf/tst-auditmod5b.c: Likewise.
16155 * elf/tst-auditmod6b.c: Likewise.
16156 * elf/tst-auditmod6c.c: Likewise.
16157 * elf/tst-auditmod7b.c: Likewise.
16158 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16159 * sysdeps/x86_64/preconfigure.in: Likewise.
16160 * sysdeps/x86_64/preconfigure: Regenerated.
16161
7e73e17d
L
161622012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16163
16164 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16165 __ILP32__.
16166
c7a6ab72
AB
161672012-04-13 Antoine Balestrat <merkil33@gmail.com>
16168
16169 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16170 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16171
a9e8e0e0
CL
161722012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16173
16174 [BZ #13973]
16175 * locale/iso-639.def: Fix gl language name. Spotted by
16176 Yaron Shahrabani.
16177
ec98af7d
RM
161782012-04-12 Roland McGrath <roland@hack.frob.com>
16179
16180 [BZ #2074]
16181 * libio/libio.h (__io_write_fn): Update comment.
16182
247c3ede
PB
161832012-04-12 Petr Baudis <pasky@ucw.cz>
16184
16185 [BZ #2074]
16186 * stdio.texi (Hook Functions): The user provided writer function
16187 is not allowed to return -1.
16188
55939d6d
DM
161892012-04-11 David S. Miller <davem@davemloft.net>
16190
16191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16192
90020f5a
MF
161932012-04-11 Mike Frysinger <vapier@gentoo.org>
16194
16195 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16196 Add a leading slash to rtkaio.
16197
288f9098
JM
161982012-04-11 Jim Meyering <meyering@redhat.com>
16199
90020f5a
MF
16200 [BZ #11959]
16201 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16202 It is not necessarily an error to ignore fwrite's return
16203 value. One can reliably use ferror to test for errors after
16204 the fact.
288f9098 16205
4be2b570
L
162062012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16207
16208 * bits/types.h (__snseconds_t): New type.
16209 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16210
16211 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16213 (__SNSECONDS_T_TYPE): Likewise.
16214 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16215 (__SNSECONDS_T_TYPE): Likewise.
16216 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16217 (__SNSECONDS_T_TYPE): Likewise.
16218
288f9098 162192012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16220
16221 [BZ #2636]
16222 * manual/time.texi (Processor Time): Return type of times is
16223 elapsed real time since an arbitrary point in the past.
16224 (CPU Time): Move CLK_TCK from here...
16225 (Processor Time): ...to here. Correct description.
16226 * manual/conf.texi (Constants for Sysconf): Correct description of
16227 _SC_CLK_TCK.
16228
d7dd4413
DM
162292012-04-10 David S. Miller <davem@davemloft.net>
16230
16231 [BZ #13967]
16232 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16233 where the is a gap between DT_REL(A) and DT_JMPREL.
16234
b46068fc
L
162352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16236
16237 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16238 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16239 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16240
73d65cc3
SP
162412012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16242
16243 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16244 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16245 (dl_main): Handle --inhibit-cache.
16246 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16247 _dl_inhibit_cache.
16248 * elf/dl-load.c (_dl_map_object): Use it.
16249 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16250
bcc8d661
JM
162512012-04-09 Joseph Myers <joseph@codesourcery.com>
16252
8f9a2fae
JM
16253 [BZ #13872]
16254 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16255 (__ieee754_powl): Saturate large exponents rather than testing for
16256 overflow of y*log2(x).
16257 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16258 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16259 exceptions.
16260
bcc8d661
JM
16261 [BZ #11521]
16262 * math/s_ctan.c: Include <float.h>.
16263 (__ctan): Avoid internal overflow or cancellation in calculating
16264 denominator.
16265 * math/s_ctanf.c: Likewise.
16266 * math/s_ctanl.c: Likewise.
16267 * math/s_ctanh.c: Likewise.
16268 * math/s_ctanhf.c: Likewise.
16269 * math/s_ctanhl.c: Likewise.
16270 * math/libm-test.inc (ctan_test): Add more tests.
16271 (ctanh_test): Likewise.
16272 * sysdeps/i386/fpu/libm-test-ulps: Update.
16273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16274
823fbbb4
AJ
162752012-04-09 Andreas Jaeger <aj@suse.de>
16276
03879793
AJ
16277 [BZ #6894]
16278 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16279 is an optional BSD extension.
16280
823fbbb4
AJ
16281 [BZ #10254]
16282 * manual/stdio.texi (Opening Streams): Document additional fopen
16283 parameters.
16284
8de131cb
RM
162852012-04-09 Roland McGrath <roland@hack.frob.com>
16286
16287 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16288 %eax without telling the compiler.
16289
c0ed9d7d
CD
162902012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16291
16292 [BZ # 13963]
16293 * manual/install.texi: Use sourceware.org.
16294
c483f6b4
JM
162952012-04-09 Joseph Myers <joseph@codesourcery.com>
16296
d7dd9453
JM
16297 [BZ #13873]
16298 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16299 (__ieee754_pow): Generate overflow and underflow using huge*huge
16300 and tiny*tiny rather than just returning constant infinity or zero
16301 for large exponents.
16302 * math/libm-test.inc (pow_test): Require overflow exceptions for
16303 applicable cases of large exponents.
16304
c483f6b4
JM
16305 [BZ #706]
16306 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16307 (__ieee754_pow): Use iterative multiplication algorithm only for
16308 integer exponents with absolute value below 1024. Check for odd
16309 integer exponents when using algorithm for real exponents.
16310 * math/libm-test.inc (pow_test): Add more tests.
16311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16312
d2de7579
JM
163132012-04-08 Joseph Myers <joseph@codesourcery.com>
16314
16315 [BZ #13705]
16316 * math/libm-test.inc (exp_test): Do not allow overflow exception
16317 on underflow test.
16318
f77f1232
AJ
163192012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16320
16321 [BZ #13705]
16322 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16323 instead of __kernel_standard_f.
16324
3884932b
MF
163252012-04-08 Mike Frysinger <vapier@gentoo.org>
16326
16327 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16328 * sysdeps/x86_64/memset_chk.S: Likewise.
16329
54472e9c
AJ
163302012-04-08 Andreas Jaeger <aj@suse.de>
16331
6ab0fbfc
AJ
16332 [BZ #10153]
16333 * manual/startup.texi (Environment Access): Describe return value
16334 for putenv and setenv.
16335
61efba8c
AJ
16336 [BZ #6895]
16337 * manual/filesys.texi (Directory Entries): Add description for
16338 DT_LNK.
16339
95c3f29a
AJ
16340 [BZ #6890]
16341 * manual/filesys.texi (Directory Entries): Clarify that it's file
16342 system not operating system in the description of DT_UNKNOWN.
16343
54472e9c
AJ
16344 [BZ #6578]
16345 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16346
624254b1
SC
163472012-04-08 Stephen Compall <s11@member.fsf.org>
16348
16349 [BZ #6649]
16350 * manual/llio.texi (Opening and Closing Files): Add cross
16351 reference to explain mode argument.
16352
1e4920e0
MF
163532012-04-07 Mike Frysinger <vapier@gentoo.org>
16354
16355 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16356 * sysdeps/x86_64/memset_chk.S: Likewise.
16357
5ed848f3
DM
163582012-04-07 David S. Miller <davem@davemloft.net>
16359
16360 * elf/elf.h (R_SPARC_WDISP10): Define.
16361 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16362 R_SPARC_SIZE32.
16363 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16364 R_SPARC_SIZE64 and R_SPARC_H34.
16365
96154cd8
CD
163662012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16367
16368 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16369 conditions and remove no longer applicable assertion.
16370
9904dc47
L
163712012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16372
16373 * bits/byteswap.h: Include <features.h>.
16374 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16375 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16376
f8887d0a
L
163772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16378
16379 * bits/byteswap.h (__bswap_16): Removed.
16380 Include <bits/byteswap-16.h> to get __bswap_16.
16381 * sysdeps/i386/bits/byteswap.h: Likewise.
16382 * sysdeps/s390/bits/byteswap.h: Likewise.
16383 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16384 * bits/byteswap-16.h: New file.
16385 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16386 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16387 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16388 * string/Makefile (headers): Add bits/byteswap-16.h.
16389
62470f60
PP
163902012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16391
16392 [BZ #13895]
16393 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16394 extra indirection.
16395 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16396 * nss/tst-nss-static.c: New.
16397
4dad7bab
RM
163982012-04-06 Robert Millan <rmh@gnu.org>
16399
16400 [BZ #6486]
16401 * manual/llio.texi (File Position Primitive): lseek
16402 refers to WHENCE when it really means OFFSET.
16403
e9142a17
AJ
164042012-04-06 Andreas Jaeger <aj@suse.de>
16405
2c040eff
AJ
16406 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16407 strncmp declarations.
16408
e9142a17
AJ
16409 * abilist/libc.abilist: Add __poll and __ppoll.
16410
ff9f1c5f
DM
164112012-04-05 David S. Miller <davem@davemloft.net>
16412
dcd2ae90
DM
16413 * scripts/check-local-headers.sh: Accept a host triplet in the
16414 path matched by the exclude regexp.
16415
993eb054
DM
16416 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16417 definition.
16418 * sysdeps/powerpc/powerpc32/dl-machine.h
16419 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16420 * sysdeps/s390/s390-32/dl-machine.h
16421 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16422 * sysdeps/sparc/sparc32/dl-machine.h
16423 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16424 * sysdeps/sparc/sparc64/dl-machine.h
16425 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16426
ff9f1c5f
DM
16427 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16428 lazy binding.
48e2e132 16429 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16430 undefined symbol errors.
16431
48e2e132 16432 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16433 DT_NEEDED entries.
16434
e80d6f94
MM
164352012-04-05 Michael Matz <matz@suse.de>
16436
16437 [BZ #13592]
16438 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16439
349fa79f
AJ
164402012-04-05 Andreas Jaeger <aj@suse.de>
16441
16442 [BZ #13908]
16443 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16444 comment.
16445
f402708f
KK
164462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16447
16448 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16449 which ROUND is no valid rounding mode.
16450
2ecccfc9
KK
164512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16452
16453 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16454 read again.
16455 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16456
8a53f50f
KK
164572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16458
16459 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16460 an exception using FPU order intentionally.
16461
164622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16463
16464 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16465 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16466 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16467 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16468
d653abb7
SJ
164692012-04-05 Simon Josefsson <simon@josefsson.org>
16470
16471 [BZ #12340]
16472 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16473 EINVAL when BUFLEN is too smal.
16474
c3b1bf7d
TS
164752012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16476
16477 [BZ #13553]
16478 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16479 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16480
b1aa60f3
AJ
164812012-04-03 Andreas Jaeger <aj@suse.de>
16482
c3b1bf7d 16483 [BZ #13938]
67f60a26
AJ
16484 * manual/setjmp.texi (System V contexts): Fix sentence.
16485
b1aa60f3
AJ
16486 [BZ #13926]
16487 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16488 New macro for this case.
16489 [!__GNUC__] (__bswap_64): New inline function for this case.
16490 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16491 * bits/byteswap.h: Likewise.
16492 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16493 ull, guard with __GLIBC_HAVE_LONG_LONG.
16494
16495 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16496 __GLIBC_HAVE_LONG_LONG.
16497
16498 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16499 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16500
39c59c35
TMQMF
165012012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16502
16503 [BZ #13691]
16504 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16505 inptr and inend, rather than using last_ch.
16506
135ffda8
DM
165072012-04-02 David S. Miller <davem@davemloft.net>
16508
16509 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16510 * stdio-common/printf-parse.h (read_int): Change return type to
16511 'int', return -1 on INT_MAX overflow.
16512 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16513 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16514 overflows INT_MAX. Check for overflow of in-format-string precision
16515 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16516 SIZE_MAX not INT_MAX for integer overflow test.
16517 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16518 skip the construct in the format string but do not record anything.
16519 * stdio-common/bug22.c: Adjust to test both width/prevision
16520 INT_MAX overflow as well as total length INT_MAX overflow. Check
16521 explicitly for proper errno values.
16522
228c019e
TS
165232012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16524
302cadd3
TS
16525 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16526 CHAR_MAX.
16527 * string/test-strcmp.c [! WIDE]: Likewise.
16528 * time/tst-mktime2.c: Likewise for INT_MAX.
16529 * string/test-string.h: #include <sys/param.h> for MIN.
16530
228c019e
TS
16531 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16532 * sysdeps/i386/init-first.c (init): Likewise.
16533 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16534 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16535 * sysdeps/sh/init-first.c (init): Likewise.
16536
cfa633f5
UD
165372012-04-01 Ulrich Drepper <drepper@gmail.com>
16538
16539 * po/ru.po: Update from translation team.
d1635ef8 16540 * po/vi.po: Likewise.
cfa633f5 16541
6cd0a5ea
SP
165422012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16543
16544 * resolv/nss_dns/dns-host.c: Merge copyright years.
16545
4b43400f
LD
165462012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16547
16548 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16549 Optimize memcpy with prefetch if
16550 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16551 src, dst pointers have unequal 16 byte alignments.
16552
48c41d04
SP
165532012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16554
16555 [BZ #13928]
16556 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16557 from a CNAME entry and return the minimum ttl for the query.
16558 (gaih_getanswer_slice): Likewise.
16559
b8dc394d
JL
165602012-03-30 Jeff Law <law@redhat.com>
16561
16562 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16563 due to long keys.
16564 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16565 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16566
2f5a5ed0
JL
16567 * resolv/nss_dns/dns-host.c: Update copyright year.
16568
1d39e359
UD
165692012-03-30 Ulrich Drepper <drepper@gmail.com>
16570
c030f70c 16571 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16572 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16573
1d39e359
UD
16574 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16575 comments for sendmmsg.
16576
165772012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16578
16579 [BZ #13691]
16580 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16581 with only 1 character between 0x0041 and 0x01b0.
16582 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16583 * wcsmbs/tst-mbsnrtowcs.c: New file.
16584
20fde227
DM
165852012-03-29 David S. Miller <davem@davemloft.net>
16586
16587 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16588 small copies by hand.
16589
984a4237
JL
165902012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16591
16592 [BZ #13761]
16593 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16594 _nss_compat_initgroups_dyn): Fall back to malloc/free
16595 for large group memberships.
16596
18c9d62b
DM
165972012-03-28 David S. Miller <davem@davemloft.net>
16598
88d85d4f
DM
16599 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16600 that branches into memcpy.
16601 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16602 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16603 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16604 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16606 bits.
16607 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16608 implementation too.
16609 * sysdeps/sparc/mempcpy.S: New file.
16610
e5aa83e1
DM
16611 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16612 the IFUNC routine in the libc case.
16613 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16614
88570753
DM
16615 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16616 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16617 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16618 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16619 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16620 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16621 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16622 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16623
249d7567
DM
16624 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16625 loop to 256 bytes instead of 64 bytes and fix test signedness.
16626
18c9d62b
DM
16627 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16628 * sysdeps/sparc/sparc32/Makefile: rather than here...
16629 * sysdeps/sparc/sparc64/Makefile: and here.
16630
05f3d1f6
UD
166312012-03-28 Ulrich Drepper <drepper@gmail.com>
16632
16633 * malloc/mallocbug.c: Avoid warnings about unused variables.
16634
86ae07a8
JL
166352012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16636
16637 [BZ #13760]
16638 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16639 in the right place. Discard and retry query if response is
16640 larger than input buffer size.
16641
41bf21a1
JM
166422012-03-28 Joseph Myers <joseph@codesourcery.com>
16643
d6270972
JM
16644 [BZ #369]
16645 [BZ #2678]
16646 [BZ #3866]
16647 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16648 x for large integer exponent.
16649 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16650 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16651 sign of result as needed afterwards.
16652 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16653 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16654 result for underflowing pow the same as for overflow.
16655 (__kernel_standard_l): Handle powl overflow and underflow here
16656 rather than calling __kernel_standard.
16657 * math/libm-test.inc (pow_test): Add more tests.
16658
414fca03 16659 [BZ #3868]
41bf21a1
JM
16660 [BZ #13879]
16661 [BZ #13910]
16662 [BZ #13911]
16663 [BZ #13912]
16664 [BZ #13913]
16665 [BZ #13915]
16666 [BZ #13916]
16667 [BZ #13917]
16668 [BZ #13918]
16669 [BZ #13919]
16670 [BZ #13920]
16671 [BZ #13921]
16672 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16673 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16674 (__kernel_standard_l): New function.
16675 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16676 __kernel_standard.
16677 * math/w_acosl.c (__acosl): Likewise.
16678 * math/w_asinl.c (__asinl): Likewise.
16679 * math/w_atan2l.c (__atan2l): Likewise.
16680 * math/w_atanhl.c (__atanhl): Likewise.
16681 * math/w_coshl.c (__coshl): Likewise.
16682 * math/w_exp10l.c (__exp10l): Likewise.
16683 * math/w_exp2l.c (__exp2l): Likewise.
16684 * math/w_fmodl.c (__fmodl): Likewise.
16685 * math/w_hypotl.c (__hypotl): Likewise.
16686 * math/w_j0l.c (__j0l, __y0l): Likewise.
16687 * math/w_j1l.c (__j1l, __y1l): Likewise.
16688 * math/w_jnl.c (__jnl, __ynl): Likewise.
16689 * math/w_lgammal.c (__lgammal): Likewise.
16690 * math/w_log10l.c (__log10l): Likewise.
16691 * math/w_log2l.c (__log2l): Likewise.
16692 * math/w_logl.c (__logl): Likewise.
16693 * math/w_powl.c (__powl): Likewise.
16694 * math/w_remainderl.c (__remainderl): Likewise.
16695 * math/w_scalbl.c (sysv_scalbl): Likewise.
16696 * math/w_sinhl.c (__sinhl): Likewise.
16697 * math/w_sqrtl.c (__sqrtl): Likewise.
16698 * math/w_tgammal.c (__tgammal): Likewise.
16699 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16700 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16701 * math/libm-test.inc (acos_test): Add more tests.
16702 (acosh_test): Likewise.
16703 (asin_test): Likewise.
16704 (atanh_test): Likewise.
16705 (exp_test): Likewise.
16706 (exp10_test): Likewise.
16707 (exp2_test): Likewise.
16708 (expm1_test): Likewise.
16709 (lgamma_test): Likewise.
16710 (log_test): Likewise.
16711 (log10_test): Likewise.
16712 (log1p_test): Likewise.
16713 (log2_test): Likewise.
16714 (pow_test): Do not allow some spurious overflow exceptions.
16715 (sqrt_test): Add more tests.
16716 (tgamma_test): Likewise.
16717 (y0_test): Likewise.
16718 (y1_test): Likewise.
16719 (yn_test): Likewise.
16720
dd62fda6
AB
167212012-03-27 Anton Blanchard <anton@samba.org>
16722
16723 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16724 MAP_HUGETLB.
16725 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16726 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16727 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16728
1e3cdfda
AJ
167292012-03-27 David S. Miller <davem@davemloft.net>
16730
b855ab85
DM
16731 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16732
1e3cdfda
AJ
16733 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16734 have-as-vis3 check.
16735
167362012-03-27 Andreas Jaeger <aj@suse.de>
16737
16738 * sysdeps/x86_64/elf/configure.in: Moved to ...
16739 * sysdeps/x86_64/configure.in: ... here.
16740 * sysdeps/x86_64/elf/start.S: Moved to ...
16741 * sysdeps/x86_64/start.S: ... here.
16742 * sysdeps/x86_64/elf/configure: Delete.
16743
16744 * sysdeps/x86_64/configure.in: Merge contents from
16745 sysdeps/i386/configure.in (without i686 check).
16746
16747 * sysdeps/i386/elf/Versions: Merge into ...
16748 * sysdeps/i386/Versions: ... this.
16749 * sysdeps/i386/elf/Versions: Delete file.
16750 * sysdeps/i386/elf/start.S: Moved to ...
16751 * sysdeps/i386/start.S: ...here.
16752 * sysdeps/i386/elf/configure.in: Merge into...
16753 * sysdeps/i386/configure.in: ...here.
16754 * sysdeps/i386/elf/configure.in: Delete file.
16755 * sysdeps/i386/elf/configure: Delete file.
16756
16757 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16758 * debug/backtracesyms.c: ... here.
16759 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16760 * debug/backtracesymsfd.c: ... here.
16761 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16762 * sysdeps/generic/ifunc-sel.h: ... here.
16763
16764 * sysdeps/unix/i386/start.c: Delete file.
16765 * sysdeps/unix/sparc/start.c: Delete file.
16766 * sysdeps/unix/start.c: Delete file.
16767
16768 * sysdeps/sh/elf/configure.in: Moved to ...
16769 * sysdeps/sh/configure.in: ... here.
16770 * sysdeps/sh/elf/start.S: Moved to ...
16771 * sysdeps/sh/start.S: ... here.
16772 * sysdeps/sh/elf/configure: Delete file.
16773
16774 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16775 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16776 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16777 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16778 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16779 * sysdeps/powerpc/powerpc64/start.S: here.
16780 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16781 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16782 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16783 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16784 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16785
16786 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16787 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16788 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16789 * sysdeps/powerpc/powerpc32/start.S: ... here.
16790 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16791 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16792 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16793
16794 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16795 * sysdeps/powerpc/ifunc-sel.h: ... here.
16796 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16797 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16798
16799 * sysdeps/sparc/elf/configure.in: Moved to ...
16800 * sysdeps/sparc/configure.in: ... here.
16801 * sysdeps/sparc/elf/configure: Delete file.
16802 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16803 * sysdeps/sparc/sparc32/start.S: ... here.
16804 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16805 * sysdeps/sparc/sparc64/start.S: ... here.
16806 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16807 * sysdeps/sparc/sparc32/Makefile: ... this.
16808 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16809 * sysdeps/sparc/sparc64/Makefile: ... this.
16810
16811 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16812 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16813 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16814 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16815 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16816 * sysdeps/s390/s390-32/setjmp.S: ... here.
16817 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16818 * sysdeps/s390/s390-32/configure.in: ... here.
16819 * sysdeps/s390/s390-32/elf/configure: Delete file.
16820 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16821 * sysdeps/s390/s390-32/start.S: ... here.
16822
16823 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16824 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16825 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16826 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16827 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16828 * sysdeps/s390/s390-64/setjmp.S: ... here.
16829 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16830 * sysdeps/s390/s390-64/configure.in: ... here
16831 * sysdeps/s390/s390-64/elf/configure: Delete file.
16832 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16833 * sysdeps/s390/s390-64/start.S: ... here.
16834 * sysdeps/s390/s390-64/elf/configure: Delete.
16835
16836 * configure.in: Remove support for elf directories in sysdeps.
16837
16838 * configure: Regenerated.
16839 * sysdeps/i386/configure: Regenerated.
16840 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16841 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16842 * sysdeps/s390/s390-32/configure: Regenerated.
16843 * sysdeps/s390/s390-64/configure: Regenerated.
16844 * sysdeps/sh/configure: Regenerated.
16845 * sysdeps/sparc/configure: Regenerated.
16846 * sysdeps/x86_64/configure: Regenerated.
16847
a3f61311
AS
168482012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16849
c876e002
AS
16850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16851
a3f61311
AS
16852 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16853 denormal result into account.
16854
ac4c54f0
RM
168552012-03-25 Roland McGrath <roland@hack.frob.com>
16856
16857 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16858 Reported by Allan McRae <allan@archlinux.org>.
16859
6a9b9c02
JL
168602012-03-23 Jeff Law <law@redhat.com>
16861
16862 * nss/getnssent.c (__nss_getent): Fix typo.
16863
4c42a0c1
DM
168642012-03-23 David S. Miller <davem@davemloft.net>
16865
16866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16867
1532c7ac
L
168682012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16869
16870 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16871 to pad to uint64_t for each field.
16872 (dl_tls_index): Replace unsigned long with uint64_t.
16873
3ff42526
PP
168742012-03-23 Daniel Jacobowitz <dmj@google.com>
16875 Paul Pluzhnikov <ppluzhnikov@google.com>
16876
16877 [BZ #6528]
16878 * grp/Makefile (otherlibs): Don't set it.
16879 * inet/Makefile (otherlibs): Likewise.
16880 * login/Makefile (otherlibs): Likewise.
16881 * nscd/Makefile (otherlibs): Likewise.
16882 * posix/Makefile (otherlibs): Likewise.
16883 * pwd/Makefile (otherlibs): Likewise.
16884 * rt/Makefile (otherlibs): Likewise.
16885 * sunrpc/Makefile (otherlibs): Likewise.
16886 * nss/Makefile (otherlibs): Likewise.
16887 Add libnss_files to routines and static-only-routines.
16888 ($(objpfx)getent): Remove rule.
16889 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16890 static-only-routines.
16891
7c69cd14
JM
168922012-03-22 Joseph Myers <joseph@codesourcery.com>
16893
16894 [BZ #13892]
16895 * math/s_cexp.c: Include <float.h>.
16896 (__cexp): Handle exp result overflowing not necessarily
16897 overflowing both real and imaginary parts of result.
16898 * math/s_cexpf.c: Likewise.
16899 * math/s_cexpl.c: Likewise.
16900 * math/libm-test.inc (cexp_test): Add more tests.
16901 * sysdeps/i386/fpu/libm-test-ulps: Update.
16902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16903
81b035fe
L
169042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16905
16906 * include/link.h (ELFW): New macro.
16907 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16908 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16909
1da7940c
L
169102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16911
16912 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16913 with uint64_t.
16914
b749dbb9
L
169152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16916
16917 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16918 declaration.
16919 (struct La_x32_retval): Likewise.
16920
2ff87f3f
L
169212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16922
16923 * sysdeps/x86_64/preconfigure.in: New file.
16924 * sysdeps/x86_64/preconfigure: New generated file.
16925
c0df8e69
JM
169262012-03-22 Joseph Myers <joseph@codesourcery.com>
16927
48e44791
JM
16928 [BZ #13824]
16929 * math/e_exp2l.c: Include <float.h>.
16930 (__ieee754_exp2l): Handle overflow and underflow cases
16931 separately. Only pass fractional part of argument to
16932 __ieee754_expl.
16933 * math/libm-test.inc (exp2_test): Add more tests.
16934
c0df8e69
JM
16935 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16936 negating x to take absolute value.
16937 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16938 Likewise.
16939 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16940 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16941 Likewise.
16942 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16943 computing low part if x was negated.
16944 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16945
c8e43ba7
L
169462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16947
16948 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16949 la_x32_gnu_pltexit.
16950 (pltexit): Cast int_retval to ptrdiff_t.
16951 * elf/tst-auditmod3b.c: Likewise.
16952 * elf/tst-auditmod4b.c: Likewise.
16953 * elf/tst-auditmod5b.c: Likewise.
16954 * elf/tst-auditmod6b.c: Likewise.
16955 * elf/tst-auditmod6c.c: Likewise.
16956 * elf/tst-auditmod7b.c: Likewise.
16957
16958 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16959 and x32_gnu_pltexit.
16960
16961 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16962 __ELF_NATIVE_CLASS.
16963 (La_x32_regs): New macro.
16964 (La_x32_retval): Likewise.
16965 (la_x32_gnu_pltenter): New function prototype.
16966 (la_x32_gnu_pltexit): Likewise.
16967
7998fa78
AS
169682012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16969
dcb33988
AS
16970 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16971 exponent.
16972
233fc563
AS
16973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16974
7998fa78
AS
16975 * configure.in (libc_cv_cc_nofma): Check for option to disable
16976 generation of FMA instructions.
16977 * configure: Regenerate.
16978 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16979 * sysdeps/ieee754/dbl-64/Makefile: New file.
16980 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16981 Remove brandred-fma4.
16982 (CFLAGS-brandred-fma4.c): Remove.
16983 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16984 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16985 define.
16986 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16987 define.
16988
8e95c99a
L
169892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16990
16991 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16992 LLONG_MAX != LONG_MAX.
16993 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16994 (_fitoa_word): Likewise.
16995 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16996 LLONG_MAX != LONG_MAX.
16997 * stdio-common/_itowa.h: Include <_itoa.h>.
16998 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16999 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17000 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17001 only if not defined.
17002 (_ITOA_WORD_TYPE): Likewise.
17003 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17004 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17005
6f4db457
DM
170062012-03-21 David S. Miller <davem@davemloft.net>
17007
17008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17009
7785fe5a
L
170102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17011
17012 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17013 of x86_64 when setting libc_cv_slibdir, libdir and
17014 libc_cv_localedir.
17015 * sysdeps/unix/sysv/linux/configure: Regenerated.
17016
4535cd55
JM
170172012-03-21 Joseph Myers <joseph@codesourcery.com>
17018
17019 * manual/lang.texi (Old Varargs): Remove section.
17020 (How Variadic): Update menu.
17021 (va_start): Do not mention varargs.h.
17022
17228132
TS
170232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17024 Joseph Myers <joseph@codesourcery.com>
17025
17026 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17027 link test.
17028 * configure: Regenerated.
17029
8149f976
TS
170302012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17031
05f3d1f6
UD
17032 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17033 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17034 conformtest.pl
8149f976 17035
1a4ac776
JM
170362012-03-21 Joseph Myers <joseph@codesourcery.com>
17037
be22ce65
JM
17038 * NOTES: Remove.
17039 * Makefile (files-for-dist): Remove NOTES.
17040 (NOTES): Remove rule.
17041 * README: Don't refer to NOTES.
17042 * manual/creature.texi: Don't include macros.texi.
17043 * manual/intro.texi (creature.texi): Remove comment referring to
17044 NOTES.
17045
40b601fb
JM
17046 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17047 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17048 * configure: Regenerated.
17049 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17050 LIBC_TRY_CC_OPTION.
17051 (libc_cv_as_i686): Likewise.
17052 (libc_cv_cc_avx): Likewise.
17053 (libc_cv_cc_sse2avx): Likewise.
17054 (libc_cv_cc_fma4): Likewise.
17055 (libc_cv_cc_novzeroupper): Likewise.
17056 * sysdeps/i386/configure: Regenerated.
17057
1a4ac776
JM
17058 [BZ #13883]
17059 * sysdeps/i386/fpu/s_cexp.S: Remove.
17060 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17061 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17062 * math/libm-test.inc (cexp_test): Add more tests.
17063 * sysdeps/i386/fpu/libm-test-ulps: Update.
17064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17065
a458e7fe
AM
170662012-03-21 Allan McRae <allan@archlinux.org>
17067
17068 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17069
0cb7efc5
JM
170702012-03-21 Joseph Myers <joseph@codesourcery.com>
17071
17072 [BZ #13871]
17073 * math/w_exp2.c: Do not include <float.h>.
17074 (o_threshold, u_threshold): Remove.
17075 (__exp2): Calculate result before checking finiteness and calling
17076 __kernel_standard.
17077 * math/w_exp2f.c: Likewise.
17078 * math/w_exp2l.c: Likewise.
17079 * math/libm-test.inc (exp2_test): Require overflow exception for
17080 1e6 input.
2460d3aa
JM
17081
17082 [BZ #3866]
17083 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17084 range of signed 64-bit integers before using fistpll. Remove
17085 checks for whether integers fit in mantissa bits.
17086 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17087 the range of signed 32-bit integers before using fistpl. Remove
17088 checks for whether integers fit in mantissa bits.
17089 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17090 (__ieee754_powl): Test for y outside the range of signed 64-bit
17091 integers before using fistpll. Reduce 64-bit values to 63-bit
17092 ones as needed.
17093 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17094 divide-by-zero is raised for zero to large negative powers.
17095 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17096 (__ieee754_powl): Test for y outside the range of signed 64-bit
17097 integers before using fistpll. Reduce 64-bit values to 63-bit
17098 ones as needed.
17099 * math/libm-test.inc (pow_test): Add more tests.
17100
eb96ffb0
L
171012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17102
17103 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17104 <stdio-common/_itoa.h>.
17105 * debug/segfault.c: Likewise.
17106 * elf/dl-cache.c: Likewise.
17107 * elf/dl-minimal.c: Likewise.
17108 * elf/dl-misc.c: Likewise.
17109 * elf/dl-sysdep.c: Likewise.
17110 * elf/dl-version.c: Likewise.
17111 * elf/rtld.c: Likewise.
17112 * hurd/hurdsock.c: Likewise.
17113 * hurd/lookup-retry.c: Likewise.
17114 * malloc/malloc.c: Likewise.
17115 * malloc/mtrace.c: Likewise.
17116 * nscd/nscd_getgr_r.c: Likewise.
17117 * nscd/nscd_getpw_r.c: Likewise.
17118 * nscd/nscd_getserv_r.c: Likewise.
17119 * posix/getopt_init.c: Likewise.
17120 * posix/wordexp.c: Likewise.
17121 * stdio-common/_itoa.c: Likewise.
17122 * stdio-common/printf_fphex.c: Likewise.
17123 * stdio-common/vfprintf.c: Likewise.
17124 * string/_strerror.c: Likewise.
17125 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17126 * sysdeps/i386/i686/hp-timing.h: Likewise.
17127 * sysdeps/mach/_strerror.c: Likewise.
17128 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17129 * sysdeps/mach/hurd/sethostid.c: Likewise.
17130 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17131 * sysdeps/mach/xpg-strerror.c: Likewise.
17132 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17133 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17134 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17135 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17136 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17137 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17138 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17139 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17140 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17141 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17142 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17143 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17144 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17145 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17146 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17147 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17148 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17149 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17150 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17151 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17152 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17153
17154 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17155
17156 * stdio-common/_itoa.h: Moved to ...
17157 * sysdeps/generic/_itoa.h: Here.
17158
17159 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17160
17161 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17162 instead of "_itoa.h" and "_itowa.h".
17163 * stdio-common/vfprintf.: Likewise.
17164
d1af992d
L
171652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17166
17167 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17168 <bits/wordsize.h>.
17169 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17170 (__signbit): Likwise.
17171 (llrintf): Likwise.
17172 (llrint): Likwise.
17173
114883e0
L
171742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17175
17176 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17177 __WORDSIZE != 64.
17178
c135cc1b
JM
171792012-03-20 Joseph Myers <joseph@codesourcery.com>
17180
17181 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17182 OVERFLOW_EXCEPTION_OK.
17183 * math/libm-test.inc ("Philosophy"): Update comment about
17184 exception testing.
17185 (OVERFLOW_EXCEPTION): Define.
17186 (OVERFLOW_EXCEPTION_OK): Likewise.
17187 (INVALID_EXCEPTION_OK): Renumber.
17188 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17189 (IGNORE_ZERO_INF_SIGN): Likewise.
17190 (test_exceptions): Handle FE_OVERFLOW.
17191 (exp10_test): Expect overflow exceptions.
17192 (exp2_test): Likewise.
17193 (expm1_test): Likewise.
17194 (nextafter_test): Likewise.
17195 (pow_test): Likewise.
17196 (scalbn_test): Likewise.
17197 (scalbln_test): Likewise.
17198
95443d88
L
171992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17200
17201 * sysdeps/x86_64/bits/atomic.h
17202 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17203 64bit integer.
17204 (atomic_exchange_acq): Likewise.
17205 (__arch_exchange_and_add_body): Likewise.
17206 (__arch_add_body): Likewise.
17207 (atomic_add_negative): Likewise.
17208 (atomic_add_zero): Likewise.
17209
490df6c4
L
172102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17211
c2722551 17212 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17213 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17214
5e52b189
L
172152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17216
17217 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17218 Check __x86_64__ instead of __WORDSIZE.
17219
a9879d4c
L
172202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17221
17222 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17223
5df98260
DM
172242012-03-19 David S. Miller <davem@davemloft.net>
17225
e1497744
DM
17226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17227
5df98260
DM
17228 * sysdeps/sparc/fpu/fenv_private.h: New file.
17229 * sysdeps/sparc/fpu/math_private.h: Use it.
17230 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17231 Remove.
17232 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17233 (libc_feholdexcept_setroundl): Remove.
17234 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17235 Remove.
17236 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17237 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17238
b4c35121
L
172392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17240
17241 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17242 int64_t instead of long int.
17243 (INSERT_WORDS64): Likwise.
17244
56965fd7
L
172452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17246
17247 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17248 _Unwind_GetCFA return to _Unwind_Ptr first.
17249
83d1aec8
JM
172502012-03-19 Joseph Myers <joseph@codesourcery.com>
17251
1897ad44
JM
17252 [BZ #13629]
17253 * math/s_clog.c: Include <float.h>.
17254 (__clog): Scale large or subnormal inputs.
17255 * math/s_clogf.c: Likewise.
17256 * math/s_clogl.c: Likewise.
17257 * math/s_clog10.c: Include <float.h>.
17258 (M_LOG10_2): Define.
17259 (__clog10): Scale large or subnormal inputs.
17260 * math/s_clog10f.c: Likewise.
17261 * math/s_clog10l.c: Likewise.
17262 * math/libm-test.inc (clog_test): Add more tests.
17263 (clog10_test): Likewise.
17264 * sysdeps/i386/fpu/libm-test-ulps: Update.
17265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17266
7726d6a9
JM
17267 [BZ #11451]
17268 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17269 x and y.
17270 * math/libm-test.inc (atan2_test): Add another test.
17271
83d1aec8
JM
17272 * Makerules (common-objdir-compile): Remove.
17273 * sysdeps/unix/Makefile (config-generated): Do not add
17274 $(unix-generated) to variable.
17275 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17276 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17277 Remove rule.
17278 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17279 Likewise.
17280 [generic bits/local_lim.h] (before-compile): Do not append to
17281 variable.
17282 [generic bits/local_lim.h] (common-generated): Likewise.
17283 [generic sys/param.h] (before-compile): Do not append to variable.
17284 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17285 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17286 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17287 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17288 include.
17289 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17290 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17291 [generic sys/param.h] ($(addprefix
17292 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17293 [generic sys/param.h] (common-generated): Do not append to
17294 variable.
17295 [generic sys/param.h] (sysdep_headers): Likewise.
17296 [generic bits/errno.h] (before-compile): Do not append to
17297 variable.
17298 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17299 rule.
17300 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17301 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17302 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17303 [generic bits/errno.h] (common-generated): Do not append to
17304 variable.
17305 [generic bits/ioctls.h] (before-compile): Do not append to
17306 variable.
17307 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17308 rule.
17309 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17310 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17311 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17312 rule.
17313 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17314 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17315 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17316 [generic bits/ioctls.h] (common-generated): Do not append to
17317 variable.
17318 [generic sys/syscall.h] (syscall.h): Remove variable.
17319 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17320 rule.
17321 [generic sys/syscall.h] (before-compile): Do not append to
17322 variable.
17323 [generic sys/syscall.h] (common-generated): Likewise.
17324 * sysdeps/unix/errnos-tmpl.c: Remove file.
17325 * sysdeps/unix/errnos.awk: Likewise.
17326 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17327 * sysdeps/unix/ioctls.awk: Likewise.
17328 * sysdeps/unix/mk-local_lim.c: Likewise.
17329 * sysdeps/unix/snarf-ioctls: Likewise.
17330
4851a949
RH
173312012-03-19 Richard Henderson <rth@twiddle.net>
17332
bd37f2ee
RH
17333 * sysdeps/i386/fpu/fenv_private.h: New file.
17334 * sysdeps/i386/fpu/math_private.h: Use it.
17335 (math_opt_barrier, math_force_eval): Remove.
17336 (libc_feholdexcept_setround_53bit): Remove.
17337 (libc_feupdateenv_53bit): Remove.
17338 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17339 (math_opt_barrier, math_force_eval): Remove.
17340 (libc_feholdexcept): Remove.
17341 (libc_feholdexcept_setround): Remove.
17342 (libc_fetestexcept, libc_fesetenv): Remove.
17343 (libc_feupdateenv_test): Remove.
17344 (libc_feupdateenv, libc_feholdsetround): Remove.
17345 (libc_feresetround): Remove.
17346
d0adc922
RH
17347 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17348 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17349
0fe0f1f8
RH
17350 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17351 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17352 (libc_feupdateenv_testl): New.
17353 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17354 (libc_feupdateenv_testf): New.
17355 (libc_feupdateenv): Use libc_feupdateenv_test.
17356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17357 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17358
eb92c487
RH
17359 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17360 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17361 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17362 (libc_feresetround_noex): New.
17363 (libc_feresetround_noexf): New.
17364 (libc_feresetround_noexl): New.
17365 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17366 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17367 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17368 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17369 SET_RESTORE_ROUND.
17370 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17371 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17372 (__cos): Likewise.
17373 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17374 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17375 SET_RESTORE_ROUND_NOEX.
17376 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17377 SET_RESTORE_ROUND_NOEXF.
17378 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17379 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17380 (libc_feholdsetroundf): New.
17381 (libc_feresetround, libc_feresetroundf): New.
17382
7d2e8012
RH
17383 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17384 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17385 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17386
b4dabbb4
RH
17387 * sysdeps/generic/math_private.h: Include <fenv.h>.
17388 (default_libc_feholdexcept): New.
17389 (default_libc_feholdexcept_setround): New.
17390 (default_libc_fesetenv, default_libc_feupdateenv): New.
17391 (libc_feholdexcept): Only define if undefined.
17392 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17393 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17394 (libc_feholdexcept_setroundl): Likewise.
17395 (libc_feholdexcept_setround_53bit): Likewise.
17396 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17397 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17398 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17399 (libc_feupdateenv_53bit): Likewise.
17400 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17401 (libc_feholdexcept): Convert from macro to inline function.
17402 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17403 (libc_fesetenv, libc_feupdateenv): Likewise.
17404
4851a949
RH
17405 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17406 not previously defined.
17407 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17408 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17409 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17410 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17411 * sysdeps/ieee754/flt-32/math_private.h: New file.
17412 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17413 math_private.h below SET_FLOAT_WORD.
17414 (__isnan, __isinf_ns, __finite): Remove.
17415 (__isnanf, __isinf_nsf, __finitef): Remove.
17416
e79d442e
AS
174172012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17418
17419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17420
90b80344
DM
174212012-03-17 David S. Miller <davem@davemloft.net>
17422
17423 [BZ #6471]
17424 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17425 for 2.16.
17426
edc21804
DM
174272012-03-16 David S. Miller <davem@davemloft.net>
17428
77e927af
DM
17429 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17430 warnings.
17431
374976dd
DM
17432 [BZ #6471]
17433 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17434 properly.
17435 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17436 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17437 sysdep_routines when subdir is sysvipc.
17438 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17439 __getshmlba helper.
17440
edc21804
DM
17441 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17442
473c3ef3
L
174432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17444
17445 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17446 [__LP64__].
17447
eb0f39b6
L
174482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17449
17450 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17451 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17452 (__lround): Renamed to ...
17453 (__llround): This. Replace long int with long long int.
17454 Define lround functions as aliases of llround functions.
17455 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17456
6b6cd74b
L
174572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17458
17459 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17460 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17461 adresses to uintptr_t. Replace "long int" and "unsigned long
17462 int" with "greg_t" on va_arg.
17463
f1a77b01
L
174642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17465
17466 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17467 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17468
17469 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17470 Move e_machine check before EI_CLASS check. Handle x32
17471 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17472 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17473 SKIP_EM_IA_64 and include
17474 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17475
17476 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17477 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17478 (add_system_dir): New macro.
17479
17480 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17481 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17482
11b90b9f
JM
174832012-03-16 Joseph Myers <joseph@codesourcery.com>
17484
c36e1d23
JM
17485 [BZ #2551]
17486 [BZ #2552]
17487 [BZ #2553]
17488 [BZ #2554]
17489 [BZ #2562]
17490 [BZ #2563]
17491 [BZ #2565]
17492 [BZ #2566]
17493 [BZ #2576]
17494 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17495 (y0): Likewise.
17496 * math/w_j0f.c (j0f): Likewise.
17497 (y0f): Likewise.
17498 * math/w_j0l.c (__j0l): Likewise.
17499 (__y0l): Likewise.
17500 * math/w_j1.c (j1): Likewise.
17501 (y1): Likewise.
17502 * math/w_j1f.c (j1f): Likewise.
17503 (y1f): Likewise.
17504 * math/w_j1l.c (__j1l): Likewise.
17505 (__y1l): Likewise.
17506 * math/w_jn.c (jn): Likewise.
17507 (yn): Likewise.
17508 * math/w_jnf.c (jnf): Likewise.
17509 (ynf): Likewise.
17510 * math/w_jnl.c (__jnl): Likewise.
17511 (__ynl): Likewise.
17512 * math/libm-test.inc (j0_test): Add more tests.
17513 (j1_test): Likewise.
17514 (jn_test): Likewise. Add trailing semicolon to existing test.
17515 (y0_test): Likewise.
17516 (y1_test): Likewise.
17517 * sysdeps/i386/fpu/libm-test-ulps: Update.
17518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17519
11b90b9f
JM
17520 [BZ #13851]
17521 [BZ #13854]
17522 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17523 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17524 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17525 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17526 (__tanl): Set errno for infinite argument.
17527 * sysdeps/i386/fpu/mptan.c: Remove.
17528 * sysdeps/i386/fpu/s_tan.S: Likewise.
17529 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17530 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17531 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17532 * math/libm-test.inc (tan_test): Add more tests and enable more
17533 tests for double and long double.
17534 * sysdeps/i386/fpu/libm-test-ulps: Update.
17535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17536
6a1bd2a1
JK
175372012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17538
17539 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17540 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17541
10a803e0
RM
175422012-03-16 Roland McGrath <roland@hack.frob.com>
17543
17544 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17545 * configure.in: Use it for both main tree and add-ons.
17546 * configure: Regenerated.
17547
f196c7f7
L
175482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17549
17550 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17551
8848d99d
JM
175522012-03-16 Joseph Myers <joseph@codesourcery.com>
17553
96cbe7f4
JM
17554 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17555 in comment.
17556
8848d99d
JM
17557 [BZ #13851]
17558 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17559 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17560 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17561 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17562 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17563 infinite argument.
17564 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17565 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17566 != 0 for prec == 2.
17567 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17568 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17569 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17570 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17571 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17572 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17573 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17574 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17575 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17576 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17577 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17578 * math/libm-test.inc (cos_test): Add more tests and enable more
17579 tests for long double.
17580 (sin_test): Likewise.
17581 (sincos_test): Likewise.
17582 * sysdeps/i386/fpu/libm-test-ulps: Update.
17583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17584
dd7f4703
DM
175852012-03-16 David S. Miller <davem@davemloft.net>
17586
17587 * sysdeps/sparc/fpu/math_private.h: New file.
17588
006f1daa
DM
175892012-03-15 David S. Miller <davem@davemloft.net>
17590
c0c83bc8
DM
17591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17592 file.
e6a62e18 17593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17595 file.
e6a62e18
DM
17596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17601 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17602 sysdep routines.
17603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17604
88cb87d9
DM
17605 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17606 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17607
006f1daa 17608 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17610 sparc-ifunc.h
006f1daa 17611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17613 Likewise.
17614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17615 Likewise.
006f1daa
DM
17616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17620 Likewise.
006f1daa
DM
17621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17626 Likewise.
17627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17628 Likewise.
006f1daa
DM
17629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17633 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17634 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17635 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17636 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17637 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17644 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17645 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17646 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17647 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17648 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17649 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17650 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17651 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17652 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17653
11e0098e
AS
176542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17655
17656 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17657 scaling.
17658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17659
e85b09d0
AJ
176602012-03-15 Andreas Jaeger <aj@suse.de>
17661
17662 [BZ #13852]
17663 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17664 ieee754/flt-32 implementation for sin, cos and sincos.
17665 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17666 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17667 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17668 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17669 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17670 ieee754/flt-32 implementation for tan.
17671
17672 * math/libm-test.inc (cos_test): Enable some large input tests for
17673 float as well
17674 (sin_test): Likewise.
17675 (sincos_test): Likewise.
17676 (tan_test): Add tests for large input.
17677
17678 * sysdeps/i386/fpu/libm-test-ulps: Update.
17679
81c64153
AJ
176802012-03-15 Andreas Jaeger <aj@suse.de>
17681
17682 [BZ #13658]
17683 * math/libm-test.inc (cos_test): Add more test cases.
17684 (sin_test): Likewise.
17685 (sincos_test): Likewise.
17686
7bbfa5c6
AJ
176872012-03-15 Andreas Jaeger <aj@suse.de>
17688
17689 [BZ #13837]
17690 * math/libm-test.inc (cos_test): Add a test case for large input
17691 value.
17692 (sin_test): Likewise.
17693 (sincos_test): Likewise.
17694
176952012-03-15 Andreas Jaeger <aj@suse.de>,
17696 Joseph Myers <joseph@codesourcery.com>
17697
17698 [BZ #13658]
0671f479 17699 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17700 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17701 * sysdeps/i386/fpu/branred.c: Likewise.
17702 * sysdeps/i386/fpu/dosincos.c: Likewise.
17703 * sysdeps/i386/fpu/mpa.c: Likewise.
17704 * sysdeps/i386/fpu/s_cos.S: Likewise.
17705 * sysdeps/i386/fpu/s_sin.S: Likewise.
17706 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17707 * sysdeps/i386/fpu/sincos32.c: Likewise.
17708
17709 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17710 Define.
17711 (libc_feupdateenv_53bit): Define.
17712 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17713 Define.
17714 (libc_feupdateenv_53bit): Define.
17715
17716 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17717 53 bit (without extend i386 double precision).
17718
17719 * math/libm-test.inc (sincos_test): Add tests for large input.
17720 (sin): Likewise.
17721 (cos): Likewise.
17722
17723 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17724
9cad04ea
AS
177252012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17726
17727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17728
f7062b9a
DM
177292012-03-15 David S. Miller <davem@davemloft.net>
17730
17731 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17732 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17733 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17734 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17742 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17743 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17744 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17747 file.
f7062b9a 17748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17750 file.
f7062b9a 17751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17753 file.
f7062b9a 17754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17756 file.
f7062b9a
DM
17757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17758 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17759 fmin/fmax sysdep routines.
17760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17761
7bd951ff
DM
177622012-03-14 David S. Miller <davem@davemloft.net>
17763
559398ab
DM
17764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17767 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17768 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17769 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17770 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17771 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17772 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17779 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17780 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17784 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17785 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17786 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17787 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17788 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17789 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17790 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17791 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17792 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17793 routines.
17794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17795 file.
559398ab 17796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17798 file.
559398ab 17799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17801 file.
559398ab 17802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17804 file.
559398ab 17805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17807 file.
559398ab 17808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17810 file.
17811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17812 file.
17813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17814 file.
17815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17816 file.
17817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17818 New file.
17819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17820 file.
17821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17822 file.
559398ab 17823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17825 file.
559398ab 17826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17828 file.
559398ab 17829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17831 file.
559398ab 17832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17834 VIS3 routines.
559398ab
DM
17835
17836 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17837 New file.
17838
5a1c1e32
DM
17839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17840
eae47a36
DM
17841 * sysdeps/sparc/configure.in: New file.
17842 * sysdeps/sparc/configure: Generate.
17843 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17844 * configure: Regenerate.
17845 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17846 * config.make.in (have-as-vis3): New.
17847 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17848 available use -Av9d instead of -Av9a.
17849 * sysdeps/sparc/sparc64/Makefile: Likewise.
17850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17852 New file.
17853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17854 file.
17855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17856 New file.
17857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17858 file.
eae47a36
DM
17859 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17860 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17861 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17862 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17863 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17864
c0c83bc8
DM
17865 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17866 fzeros/fnegs to load 0x80000000 into a float register instead of
17867 using the stack.
7bd951ff
DM
17868 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17869
bd951ccb
JM
178702012-03-14 Joseph Myers <joseph@codesourcery.com>
17871
17872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17873 bits/syscall.h.
17874 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17875 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17876 ($(inst_includedir)/bits/syscall.h): Remove rule.
17877 ($(objpfx)bits/syscall.d): Include instead of
17878 $(objpfx)syscall-list.d.
17879 (generated): Change syscall-list.h and syscall-list.d to
17880 bits/syscall.h and bits/syscall.d.
17881
bb4e6db2
RM
178822012-03-14 Roland McGrath <roland@hack.frob.com>
17883
17884 [BZ #13846]
17885 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17886
aa4a2ae1
JM
178872012-03-14 Joseph Myers <joseph@codesourcery.com>
17888
e456826d
JM
17889 [BZ #13841]
17890 * math/s_csqrt.c: Include <float.h>.
17891 (__csqrt): Scale large or subnormal inputs.
17892 * math/s_csqrtf.c: Likewise.
17893 * math/s_csqrtl.c: Likewise.
17894 * math/libm-test.inc (csqrt_test): Add more tests.
17895 * sysdeps/i386/fpu/libm-test-ulps: Update.
17896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17897
aa4a2ae1
JM
17898 [BZ #13840]
17899 * math/libm-test.inc (hypot_test): Add more tests.
17900
7c10fd35
DM
179012012-03-13 David S. Miller <davem@davemloft.net>
17902
17903 [BZ #13840]
17904 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17905 double-precision for the calculation instead of scaling.
17906
f453b98b
JM
179072012-03-13 Joseph Myers <joseph@codesourcery.com>
17908
17909 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17910 manipulate bits before adding and subtracting TWO52[sx].
17911 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17912 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17913 Likewise.
17914 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17915
09a3453f
DM
179162012-03-13 David S. Miller <davem@davemloft.net>
17917
8e59da90
DM
17918 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17919 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17920 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17921 rtld-global-offsets.h
17922 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17923
2a8ab7f2
DM
17924 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17925 large parameters.
17926
10f62770
DM
17927 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17928
5f0bdb18
DM
17929 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17930 'err' in the ifdef scope in which it is actually used.
17931
09a3453f
DM
17932 * nss/nss_db/db-init.c: Include string.h
17933
b4b2eb5e
DM
179342012-03-12 David S. Miller <davem@davemloft.net>
17935
98bb2f1c
DM
17936 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17937 masking out of the most significant byte of random value used.
17938 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17939 Fix coding style in previous change.
17940
b4b2eb5e
DM
17941 * sysdeps/unix/sysv/linux/kernel-features.h
17942 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17943 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17944 expression.
17945 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17946 later.
17947
6e226b09
DM
179482012-03-11 David S. Miller <davem@davemloft.net>
17949
a1bcbd40
DM
17950 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17951 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17952 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17953 for 'resultvar' otherwise things get truncated on 64-bit.
17954
cb9d6174
DM
17955 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17956 Fix masking out of the most significant byte of random value used.
17957
6e226b09
DM
17958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17959
058c132d
AS
179602012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17961
17962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17963
2d2cd515
DM
179642012-03-09 David S. Miller <davem@davemloft.net>
17965
17966 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17967 variables with appropriate CPP guards.
17968 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17969 frame pointer, not the stack pointer. Correct layout comments. Fix test
17970 on resulting framesize and the management of the outregs buffer for pltexit.
17971 Preserve floating point return values across _dl_call_pltexit call.
17972 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17973 framesize and the management of the outregs buffer for pltexit.
17974 Preserve floating point return values across _dl_call_pltexit
17975 call.
17976 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17977 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17978 (print_exit): Fix format string for return register value.
17979
9a07f9d0
JM
179802012-03-10 Joseph Myers <joseph@codesourcery.com>
17981
17982 * sunrpc/Makefile (others): Add rpcgen.
17983 ($(objpfx)rpcgen): Remove special build rule and dependency on
17984 libc.
17985 * sunrpc/rpcgen.c: New file.
17986
547b5e30
PE
179872012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17988
c524201a
PE
17989 [BZ #13673]
17990 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17991 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17992 * sysdeps/i386/crti.S: Likewise.
17993 * sysdeps/i386/crtn.S: Likewise.
17994 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17995 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17996 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17997 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17998 * sysdeps/sh/crti.S: Likewise.
17999 * sysdeps/sh/crtn.S: Likewise.
18000 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18001
7b6235f2
PE
18002 [BZ #13673]
18003 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18004 with URL.
18005 * locale/programs/locfile-kw.gperf: Likewise.
18006 * locale/programs/charmap-kw.h: Regenerated.
18007 * locale/programs/locfile-kw.h: Likewise.
18008
547b5e30
PE
18009 [BZ #13673]
18010 * intl/plural.y: Replace FSF snail mail address with URL.
18011 * intl/plural.c: Regenerated.
18012
5f0a5dae
RH
180132012-03-09 Richard Henderson <rth@twiddle.net>
18014
18015 * include/math_private.h: Remove file.
18016 * math/math_private.h: Move file ...
18017 * sysdeps/generic/math_private.h: ... here.
18018
b8c03620
RH
18019 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18020 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18021 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18022
4e234f5d 18023 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18024 and <math_private.h>.
18025 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18026 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18027 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18028 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18029 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18030 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18031 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18032 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18033 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18034 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18035 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18036 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18037 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18038 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18039 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18040 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18041 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18042 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18043 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18044 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18045 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18047 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18048 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18049 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18050 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18051 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18052 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18053 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18054 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18055 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18056 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18063 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18064 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18065 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18066 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18067 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18068 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18069 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18070 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18071 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18072 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18073 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18074 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18075 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18076 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18077 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18078 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18079 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18080 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18081 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18082 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18083 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18084 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18085 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18086 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18087 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18088 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18089 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18090 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18091 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18092 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18094 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18098 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18099 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18100 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18101 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18102 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18103 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18104 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18105 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18106 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18107 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18108 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18109 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18110 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18111 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18112 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18113 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18114 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18115 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18116 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18117 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18118 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18119 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18120 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18121 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18122 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18123 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18124 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18125 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18126 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18127 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18128 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18129 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18130 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18131 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18132 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18133 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18134 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18135 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18136 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18137 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18138 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18139 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18140 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18141 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18142 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18143 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18144 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18145 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18146 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18147 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18148 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18149 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18150 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18151 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18152 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18153 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18154 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18155 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18156 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18157 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18158 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18159 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18160 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18161 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18162 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18163 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18164 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18165 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18166 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18167 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18168 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18169 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18170 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18171 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18172 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18173 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18174 * sysdeps/ieee754/k_standard.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18205 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18206 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18208 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18210 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18211 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18212 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18213 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18220 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18222 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18224 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18225 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18226 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18227 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18242 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18243 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18244 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18247 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18248 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18249 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18251 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18252 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18253 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18254 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18255 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18256 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18257 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18258 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18262 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18263 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18265 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18266 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18268 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18272 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18273 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18274 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18278 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18279 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18280 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18281 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18282 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18284 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18285 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18286 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18289 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18290 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18292 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18293 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18294 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18295 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18296 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18297 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18298 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18299 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18300 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18301 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18302 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18303 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18304 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18307 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18308 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18311 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18313 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18319 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18322 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18323 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18324 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18325 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18326 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18328 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18329 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18330 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18331 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18332 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18333 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18334 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18335 * sysdeps/ieee754/s_lib_version.c: Likewise.
18336 * sysdeps/ieee754/s_matherr.c: Likewise.
18337 * sysdeps/ieee754/s_signgam.c: Likewise.
18338 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18339 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18340 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18341 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18342 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18343 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18344 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18345 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18346 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18347 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18348 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18349 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18350 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18351 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18352 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18353 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18354 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18355 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18356 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18357 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18358 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18359
1991fa03
JM
183602012-03-09 Joseph Myers <joseph@codesourcery.com>
18361
18362 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18363 * sunrpc/rpc_main.c: Likewise.
18364 * sunrpc/rpc_svcout.c: Likewise.
18365
60d6f5a6
DM
183662012-03-09 David S. Miller <davem@davemloft.net>
18367
18368 * include/math_private.h: New file.
18369
4962050e
JM
183702012-03-09 Joseph Myers <joseph@codesourcery.com>
18371
02a6f887
JM
18372 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18373 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18374 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18375 from <bits/socket_type.h>.
18376 (enum __socket_type): Don't define here.
18377 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18379 bits/socket_type.h.
18380
c6e013c1
JM
18381 [BZ #13566]
18382 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18383 checking __USE_GNU.
18384
4962050e
JM
18385 * Makerules ($(inst_includedir)/%.h): New rule.
18386 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18387 (install-others): Remove variable setting.
18388 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18389
38842f45
RH
183902012-03-08 Richard Henderson <rth@twiddle.net>
18391
67bb6da6
RH
18392 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18393 from macro to inline function; merge with the
18394 !__LIBC_INTERNAL_MATH_INLINES version.
18395 (__ieee754_sqrtf): Likewise.
18396
15194b4b
RH
18397 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18398 to inline function.
18399 (__rintf, __floor, __floorf): Likewise.
18400
64e21ede
RH
18401 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18402 macro to inline function.
18403 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18404
38842f45
RH
18405 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18406 not <math/math_private.h>.
18407
c64bf5fe
DM
184082012-03-08 David S. Miller <davem@davemloft.net>
18409
18410 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18411 copyright year.
18412 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18413
82d86f28
TS
184142012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18415
18416 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18417 normalization.
18418 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18419 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18420
aea5d727
UD
184212012-03-08 Ulrich Drepper <drepper@gmail.com>
18422
18423 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18424 be defined individually, they must be defined as a block. Define
18425 S for printing a string instead of hidint the different by using a
18426 macro for adding the 'l'.
18427 * stdio-common/tst-fphex-wide.c: Adjust.
18428
70bca0a3
MP
184292012-03-07 Marek Polacek <polacek@redhat.com>
18430
18431 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18432
65b81130
MP
184332012-03-08 Marek Polacek <polacek@redhat.com>
18434
18435 [BZ #13806]
18436 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18437 * stdio-common/tst-fphex.c: Define a few macros to make the
18438 test reusable. Use them.
18439 * stdio-common/tst-fphex-wide.c: New file.
18440
07037eeb
JM
184412012-03-08 Joseph Myers <joseph@codesourcery.com>
18442
a7a93d50
JM
18443 [BZ #6911]
18444 * manual/macros.texi (gnusystems): New macro.
18445 (nongnusystems): Likewise.
18446 (gnulinuxhurdsystems): Likewise.
18447 (gnuhurdsystems): Likewise..
18448 (gnulinuxsystems): Likewise.
18449 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18450 variants of the GNU system, not "GNU system".
18451 * manual/conf.texi: Likewise.
18452 * manual/errno.texi: Likewise. Update example of errno macro
18453 expansion.
18454 * manual/filesys.texi: Likewise.
18455 (getumask): Document as specific to GNU/Hurd.
18456 * manual/install.texi: Likewise. Reword some references to
18457 GNU/Linux.
18458 * manual/intro.texi: Likewise.
18459 * manual/io.texi: Likewise.
18460 (File Name Portability): Detail which constraints are inapplicable
18461 to all GNU systems and which are only inapplicable to GNU/Hurd.
18462 * manual/job.texi: Likewise.
18463 * manual/llio.texi: Likewise.
18464 (O_NOCTTY): Document as present on GNU/Linux.
18465 * manual/maint.texi: Likewise.
18466 * manual/memory.texi: Likewise.
18467 * manual/pattern.texi: Likewise.
18468 * manual/pipe.texi: Likewise.
18469 * manual/process.texi: Likewise.
18470 * manual/resource.texi: Likewise.
18471 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18472 child on GNU/Hurd.
18473 * manual/setjmp.texi: Likewise.
18474 * manual/signal.texi: Likewise.
18475 * manual/startup.texi: Likewise.
18476 * manual/stdio.texi: Likewise.
18477 * manual/terminal.texi: Likewise.
18478 (ONLCR): Document as POSIX.
18479 (OXTABS): Document availability on GNU/Linux as XTABS.
18480 (ONOEOT): Document availability separately from other bits.
18481 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18482 * manual/time.texi: Likewise.
18483 * manual/users.texi: Likewise.
18484 * INSTALL: Regenerated.
18485 * sysdeps/gnu/errlist.c: Regenerated.
18486
07037eeb
JM
18487 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18488 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18489 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18490 puts.
18491 * configure: Regenerated.
18492
d1d3431a
JM
184932012-03-07 Joseph Myers <joseph@codesourcery.com>
18494
af6a1e37
JM
18495 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18496 default includes instead of AC_HEADER_CHECK.
18497 * sysdeps/i386/configure: Regenerated.
18498
d1d3431a
JM
18499 [BZ #10716]
18500 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18501 * math/s_cacoshf.c (__cacoshf): Likewise.
18502 * math/s_cacoshl.c (__cacoshl): Likewise.
18503 * math/s_casinh.c (__casinh): Set signs of result from argument.
18504 * math/s_casinhf.c (__casinhf): Likewise.
18505 * math/s_casinhl.c (__casinhl): Likewise.
18506 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18507 (casinh_test): Add more tests.
18508 * sysdeps/i386/fpu/libm-test-ulps: Update.
18509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18510
482ff4da
UD
185112012-03-07 Ulrich Drepper <drepper@gmail.com>
18512
872fda05
UD
18513 * po/zh_TW.po: Update from translation team.
18514
a4300c7a
UD
18515 * login/Makefile (distribute): Remove variable.
18516 * catgets/Makefile: Likewise.
18517 * mach/Makefile: Likewise.
18518 * malloc/Makefile: Likewise.
18519 * misc/Makefile: Likewise.
18520 * iconv/Makefile: Likewise.
18521 * nscd/Makefile: Likewise.
18522 * hurd/Makefile: Likewise.
18523 * manual/Makefile: Likewise.
18524 * locale/Makefile: Likewise.
18525 * intl/Makefile: Likewise.
18526 * conform/Makefile: Likewise.
18527 * nss/Makefile: Likewise.
18528 * time/Makefile: Likewise.
18529 * soft-fp/Makefile: Likewise.
18530 * dirent/Makefile: Likewise.
18531 * gmon/Makefile: Likewise.
18532 * po/Makefile: Likewise.
18533 * rt/Makefile: Likewise.
18534 * socket/Makefile: Likewise.
18535 * math/Makefile: Likewise.
18536 * signal/Makefile: Likewise.
18537 * debug/Makefile: Likewise.
18538 * elf/Makefile: Likewise.
18539 * timezone/Makefile: Likewise.
18540 * stdlib/Makefile: Likewise.
18541 * iconvdata/Makefile: Likewise.
18542 * sunrpc/Makefile: Likewise.
18543 * io/Makefile: Likewise.
18544 * argp/Makefile: Likewise.
18545 * inet/Makefile: Likewise.
18546 * hesiod/Makefile: Likewise.
18547 * grp/Makefile: Likewise.
18548 * csu/Makefile: Likewise.
18549 * wctype/Makefile: Likewise.
18550 * crypt/Makefile: Likewise.
18551 * libio/Makefile: Likewise.
18552 * string/Makefile: Likewise.
18553 * nis/Makefile: Likewise.
18554 * resolv/Makefile: Likewise.
18555 * stdio-common/Makefile: Likewise.
18556 * wcsmbs/Makefile: Likewise.
18557 * dlfcn/Makefile: Likewise.
18558 * posix/Makefile: Likewise.
18559
3b7c4e74 18560 [BZ #6959]
482ff4da
UD
18561 * timezone/Makefile: Don't install timezone files, just the programs
18562 and scripts.
18563
f72ed77d
UD
185642012-03-06 Ulrich Drepper <drepper@gmail.com>
18565
a000466f
UD
18566 * nss/databases.def: Add missing gshadow entry.
18567
f72ed77d
UD
18568 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18569
a53b7a4e
MP
185702012-03-06 Marek Polacek <polacek@redhat.com>
18571
18572 [BZ #13726]
18573 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18574 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18575 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18576 * stdio-common/tst-long-dbl-fphex.c: New file.
18577
e9258400
DM
185782012-03-06 David S. Miller <davem@davemloft.net>
18579
18580 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18581 (set_obp_int): New function.
18582 (get_obp_int): New function.
18583 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18584 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18585 Avoid unused variable warnings on 'val' and use builtin_expect.
18586 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18587 __builtin_expect.
e9258400
DM
18588 (INLINE_CLONE_SYSCALL): Likewise.
18589
3bd2c723
DM
185902012-03-05 David S. Miller <davem@davemloft.net>
18591
18592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18593
bbb78d03
AS
185942012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18595
884c5db4
AS
18596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18597
bbb78d03
AS
18598 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18599 only for |x| >= 40.
18600 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18601
1c9f702a 186022012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18603
18604 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18605 Replace gettimeofday with __vdso_gettimeofday.
18606
7be16f82
RM
18607 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18608 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18609 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18610
18611 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18612 time with __vdso_time.
18613
ed58a00f
JM
186142012-03-05 Joseph Myers <joseph@codesourcery.com>
18615
18616 * manual/lang.texi (size_t): Note types to which size_t may be
18617 equivalent with the GNU C Library, but do not describe when
18618 differences between them are significant.
18619
30ee4ced
AJ
186202012-03-05 Andreas Jaeger <aj@suse.de>
18621
18622 * sysdeps/i386/fpu/libm-test-ulps: Update.
18623
b7cd39e8
JM
186242012-03-05 Joseph Myers <joseph@codesourcery.com>
18625
18626 [BZ #3976]
18627 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18628 (__ieee754_pow): Save and restore rounding mode and use
18629 round-to-nearest for main computations.
18630 * math/libm-test.inc (pow_test_tonearest): New function.
18631 (pow_test_towardzero): Likewise.
18632 (pow_test_downward): Likewise.
18633 (pow_test_upward): Likewise.
18634 (main): Call the new functions.
18635 * sysdeps/i386/fpu/libm-test-ulps: Update.
18636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18637
18638 [BZ #3976]
18639 * math/libm-test.inc (cosh_test_tonearest): New function.
18640 (cosh_test_towardzero): Likewise.
18641 (cosh_test_downward): Likewise.
18642 (cosh_test_upward): Likewise.
18643 (sinh_test_tonearest): Likewise.
18644 (sinh_test_towardzero): Likewise.
18645 (sinh_test_downward): Likewise.
18646 (sinh_test_upward): Likewise.
18647 (main): Call the new functions.
18648 * sysdeps/i386/fpu/libm-test-ulps: Update.
18649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18650
6c6a98c9
TV
186512012-03-05 Tom de Vries <tom@codesourcery.com>
18652
18653 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18654 default stack guard is set in last bytes.
18655 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18656
21bb2d2e 186572012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18658
21bb2d2e 18659 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18660
21bb2d2e
AJ
18661 [BZ #13656]
18662 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18663 possibly allocate from heap instead of stack.
18664 * stdio-common/bug-vfprintf-nargs.c: New file.
18665 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18666
c6922934
AS
186672012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18668
18669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18670
bc957d53
MP
186712012-03-03 Marek Polacek <polacek@redhat.com>
18672
18673 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18674 * math/math_private.h: Likewise.
18675 * stdlib/tst-strtod.c: Likewise.
18676 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18677 * sysdeps/x86_64/bits/atomic.h: Likewise.
18678
6358490d
DM
186792012-03-02 David S. Miller <davem@davemloft.net>
18680
18681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18685 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18686 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18687 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18688 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18689
01ae168d
RM
186902012-03-02 Roland McGrath <roland@hack.frob.com>
18691
d9a17c07
RM
18692 [BZ #13792]
18693 * manual/examples/README: New file, says the example source files
18694 can be used under GPL>=2.
18695 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18696 line containing just "*/".
18697 * manual/examples/add.c: Add copyright header (GPL>=2).
18698 * manual/examples/argp-ex1.c: Likewise.
18699 * manual/examples/argp-ex2.c: Likewise.
18700 * manual/examples/argp-ex3.c: Likewise.
18701 * manual/examples/argp-ex4.c: Likewise.
18702 * manual/examples/atexit.c: Likewise.
18703 * manual/examples/db.c: Likewise.
18704 * manual/examples/dir.c: Likewise.
18705 * manual/examples/dir2.c: Likewise.
18706 * manual/examples/execinfo.c: Likewise.
18707 * manual/examples/filecli.c: Likewise.
18708 * manual/examples/filesrv.c: Likewise.
18709 * manual/examples/fmtmsgexpl.c: Likewise.
18710 * manual/examples/genpass.c: Likewise.
18711 * manual/examples/inetcli.c: Likewise.
18712 * manual/examples/inetsrv.c: Likewise.
18713 * manual/examples/isockad.c: Likewise.
18714 * manual/examples/longopt.c: Likewise.
18715 * manual/examples/memopen.c: Likewise.
18716 * manual/examples/memstrm.c: Likewise.
18717 * manual/examples/mkfsock.c: Likewise.
18718 * manual/examples/mkisock.c: Likewise.
18719 * manual/examples/mygetpass.c: Likewise.
18720 * manual/examples/pipe.c: Likewise.
18721 * manual/examples/popen.c: Likewise.
18722 * manual/examples/rprintf.c: Likewise.
18723 * manual/examples/search.c: Likewise.
18724 * manual/examples/select.c: Likewise.
18725 * manual/examples/setjmp.c: Likewise.
18726 * manual/examples/sigh1.c: Likewise.
18727 * manual/examples/sigusr.c: Likewise.
18728 * manual/examples/stpcpy.c: Likewise.
18729 * manual/examples/strdupa.c: Likewise.
18730 * manual/examples/strftim.c: Likewise.
18731 * manual/examples/strncat.c: Likewise.
18732 * manual/examples/subopt.c: Likewise.
18733 * manual/examples/swapcontext.c: Likewise.
18734 * manual/examples/termios.c: Likewise.
18735 * manual/examples/testopt.c: Likewise.
18736 * manual/examples/testpass.c: Likewise.
18737 * manual/examples/timeval_subtract.c: Likewise.
18738
01ae168d
RM
18739 [BZ #13792]
18740 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18741 function to ...
18742 * manual/timeval_subtract.c.texi: ... here, new file.
18743
49efa33d
DM
187442012-03-02 David S. Miller <davem@davemloft.net>
18745
18746 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18747
28afd92d
JM
187482012-03-02 Joseph Myers <joseph@codesourcery.com>
18749
804360ed
JM
18750 [BZ #3976]
18751 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18752 (__sin): Save and restore rounding mode and use round-to-nearest
18753 for all computations.
18754 (__cos): Save and restore rounding mode and use round-to-nearest
18755 for all computations.
18756 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18757 <fenv.h>.
18758 (tan): Save and restore rounding mode and use round-to-nearest for
18759 all computations.
18760 * math/libm-test.inc (cos_test_tonearest): New function.
18761 (cos_test_towardzero): Likewise.
18762 (cos_test_downward): Likewise.
18763 (cos_test_upward): Likewise.
18764 (sin_test_tonearest): Likewise.
18765 (sin_test_towardzero): Likewise.
18766 (sin_test_downward): Likewise.
18767 (sin_test_upward): Likewise.
18768 (tan_test_tonearest): Likewise.
18769 (tan_test_towardzero): Likewise.
18770 (tan_test_downward): Likewise.
18771 (tan_test_upward): Likewise.
18772 (main): Call the new functions.
18773 * sysdeps/i386/fpu/libm-test-ulps: Update.
18774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18775
a6d06d7b
JM
18776 [BZ #10135]
18777 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18778 small n, then large n, before computing and testing k+n.
18779 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18780 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18781 Likewise.
18782 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18783 Likewise.
18784 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18785 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18786 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18787 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18788 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18789 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18790 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18791 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18792 * math/libm-test.inc (scalbn_test): Add more tests.
18793 (scalbln_test): Likewise.
18794
07e12bb3
JM
18795 * manual/filesys.texi (mode_t): Describe constraints on size and
18796 signedness, not exact equivalence to a particular type.
18797 (ino_t): Likewise.
18798 (ino64_t): Likewise.
18799 (dev_t): Likewise.
18800 (nlink_t): Likewise.
18801 (blkcnt_t): Likewise.
18802 (blkcnt64_t): Likewise.
18803 * manual/llio.texi (off_t): Likewise.
18804
28afd92d
JM
18805 [BZ #3976]
18806 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18807 (__ieee754_exp): Save and restore rounding mode and use
18808 round-to-nearest for all computations.
18809 * math/libm-test.inc (exp_test_tonearest): New function.
18810 (exp_test_towardzero): Likewise.
18811 (exp_test_downward): Likewise.
18812 (exp_test_upward): Likewise.
18813 (main): Call the new functions.
18814 * sysdeps/i386/fpu/libm-test-ulps: Update.
18815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18816
b1eeb65d
CD
188172012-03-01 Chris Demetriou <cgd@google.com>
18818
18819 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18820 have predictable order.
18821
53362a4b
DM
188222012-03-01 David S. Miller <davem@davemloft.net>
18823
3c969083
DM
18824 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18825
759707de
DM
18826 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18827 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18828 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18829 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18830
dfdb8ff2
DM
18831 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18832 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18833 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18835 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18836 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18837 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18838 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18839 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18840
ead89f96
DM
18841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18842
7f66bd07
DM
18843 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18844 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18845 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18846
53362a4b
DM
18847 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18848 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18849 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18850 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18851 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18852 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18853 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18854 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18855 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18856 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18857 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18858 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18859 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18860 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18861 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18862 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18863 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18864 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18865 * sysdeps/sparc/elf/configure: Regenerated.
18866
7b1902cb
JM
188672012-03-01 Joseph Myers <joseph@codesourcery.com>
18868
bec039bc
JM
18869 * configure.in (AS, LD): Require binutils 2.20 or later.
18870 * configure: Regenerated.
18871 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18872 as required minimum version.
18873 * INSTALL: Regenerated.
18874
7b1902cb
JM
18875 [BZ #2541]
18876 [BZ #4108]
18877 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18878 before squaring exponent.
18879 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18880 bottom long double and 27 bits of top long double before squaring
18881 exponent.
18882 * math/libm-test.inc (erfc_test): Add more tests.
18883 * sysdeps/i386/fpu/libm-test-ulps: Update.
18884 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18886
f775c276
KT
188872012-03-01 Kai Tietz <ktietz@redhat.com>
18888
18889 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18890 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18891 containing bit-fields.
18892 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18893 * soft-fp/single.h (_FP_UNION_S): Likewise.
18894 * soft-fp/double.h (_FP_UNION_D): Likewise.
18895
5b8a4d4a
JM
188962012-02-29 Joseph Myers <joseph@codesourcery.com>
18897
0bab47b6
JM
18898 [BZ #13786]
18899 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18900 not include ../strcmp.S.
18901 [USE_AS_STRNCASECMP_L]: Likewise.
18902 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18903 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18904 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18905 (__strncasecmp_l_ia32): Define as alias to
18906 __strncasecmp_l_nonascii.
18907
0fcad3e2
JM
18908 [BZ #5794]
18909 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18910 * sysdeps/i386/fpu/libm-test-ulps: Update.
18911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18912
5b8a4d4a
JM
18913 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18915
8fdceb2e
JL
189162012-02-29 Jeff Law <law@redhat.com>
18917
18918 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18919 out of bounds read.
18920
1f393a11
MP
189212012-02-29 Marek Polacek <polacek@redhat.com>
18922
18923 [BZ #13706]
18924 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18925 * elf/Makefile: Add rules to run tst-unused-dep.out.
18926
8847f037
DM
189272012-02-28 David S. Miller <davem@davemloft.net>
18928
18929 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18930 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18931 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18932 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18933 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18934 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18935
169d7f11
JM
189362012-02-29 Joseph Myers <joseph@codesourcery.com>
18937
18938 * math/libm-test.inc (llround_test): Move one test from
18939 lround_test. Use TEST_f_L in moved test.
18940 (lround_test): Move misplaced test to llround_test. Add testcase
18941 from bug 2561.
18942
39adf059
UD
189432012-02-28 Ulrich Drepper <drepper@gmail.com>
18944
18945 * sysdeps/x86_64/fpu/e_expf.S: New file.
18946 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18947
71b5d1c5
SB
189482012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18949
18950 [BZ #13637]
18951 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18952 of remain_len that may cause incomplete multi-byte character and
18953 false match.
18954 * posix/bug-regex33.c: New file.
18955 * posix/Makefile (tests): Add bug-regex33.
18956
1f77f049
JM
189572012-02-28 Joseph Myers <joseph@codesourcery.com>
18958
18959 * manual/macros.texi: New file.
18960 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18961 * manual/libc.texinfo: Include macros.texi.
18962 * manual/creatute.texi: Likewise.
18963 * manual/install.texi: Likewise.
18964 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18965 @glibcadj{} in references to the GNU C Library.
18966 * manual/charset.texi: Likewise.
18967 * manual/conf.texi: Likewise.
18968 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18969 when not using those macros.
18970 * manual/creature.texi: Likewise.
18971 * manual/crypt.texi: Likewise.
18972 * manual/errno.texi: Likewise.
18973 * manual/filesys.texi: Likewise.
18974 * manual/header.texi: Likewise.
18975 * manual/install.texi: Likewise.
18976 * manual/intro.texi: Likewise.
18977 * manual/io.texi: Likewise.
18978 * manual/job.texi: Likewise.
18979 * manual/lang.texi: Likewise.
18980 * manual/libc.texiinfo: Likewise.
18981 * manual/llio.texi: Likewise.
18982 * manual/locale.texi: Likewise.
18983 * manual/maint.texi: Likewise.
18984 * manual/math.texi: Likewise.
18985 * manual/memory.texi: Likewise.
18986 * manual/message.texi: Likewise.
18987 * manual/nss.texi: Likewise.
18988 * manual/pattern.texi: Likewise.
18989 * manual/process.texi: Likewise.
18990 * manual/resource.texi: Likewise.
18991 * manual/search.texi: Likewise.
18992 * manual/setjmp.texi: Likewise.
18993 * manual/signal.texi: Likewise.
18994 * manual/socket.texi: Likewise.
18995 * manual/startup.texi: Likewise.
18996 * manual/stdio.texi: Likewise.
18997 * manual/string.texi: Likewise.
18998 * manual/sysinfo.texi: Likewise.
18999 * manual/syslog.texi: Likewise.
19000 * manual/terminal.texi: Likewise.
19001 * manual/time.texi: Likewise.
19002 * manual/users.texi: Likewise.
19003 * INSTALL: Regenerated.
19004 * NOTES: Regenerated.
d40c5d54 19005 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19006
450bf206
AS
190072012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19008
19009 * include/dirent.h: Include <dirstream.h> before
19010 <dirent/dirent.h>.
19011
741a235b
DM
190122012-02-28 David S. Miller <davem@davemloft.net>
19013
19014 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19015 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19016 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19017 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19018
d6b5aa58
DM
190192012-02-27 David S. Miller <davem@davemloft.net>
19020
1aff59a3
DM
19021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19023 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19024 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19025
d6b5aa58
DM
19026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19027 frame pointer instead of stack pointer relative arg slot.
19028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19029 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19030 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19031
433f48bf
CD
190322012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19033
19034 [BZ #3992]
19035 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19036
d674b76d
DM
190372012-02-27 David S. Miller <davem@davemloft.net>
19038
19039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19043 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19044 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19045 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19046 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19047
0e7727f7
JM
190482012-02-27 Joseph Myers <joseph@codesourcery.com>
19049
19050 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19051 later. Allow versions 5-9.
43be4ca2 19052 * configure: Regenerated.
0e7727f7
JM
19053 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19054 required minimum version and 4.6 as recommended version. Do not
19055 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19056 * INSTALL: Regenerated.
0e7727f7 19057
a78bc654
DM
190582012-02-27 David S. Miller <davem@davemloft.net>
19059
428d5830
DM
19060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19064 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19065 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19066 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19067 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19068
a78bc654
DM
19069 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19070 manipulate bits before adding and subtracting TWO112[sx].
19071 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19072
4579f81c
RM
190732012-02-27 Roland McGrath <roland@hack.frob.com>
19074
36c8acb4
RM
19075 [BZ #13775]
19076 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19077 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19078 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19079 being in POSIX, because they are in 1003.1-2008.
19080
84ad622b
RM
19081 * rt/tst-aio.c: Include <fcntl.h>.
19082 * rt/tst-aio7.c: Likewise.
19083 * rt/tst-aio64.c: Likewise.
19084
4579f81c
RM
19085 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19086
abd923db
JM
190872012-02-27 Joseph Myers <joseph@codesourcery.com>
19088
19089 * manual/install.texi (--with-headers): Describe headers as
19090 interface headers, not private headers.
19091 (Specific advice for GNU/Linux systems): Describe use of headers
19092 from "make headers_install", not private headers from older
19093 kernels.
43be4ca2 19094 * INSTALL: Regenerated.
abd923db
JM
19095 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19096 Change to 2.6.19.
19097 * sysdeps/unix/sysv/linux/configure: Regenerated.
19098
6664049b
JM
19099 * manual/llio.texi (fclean): Remove documentation.
19100
bb8b6697
JM
19101 * manual/Makefile (libc-texi-generated): New variable. Include
19102 version.texi.
19103 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19104 $(libc-texi-generated), not duplicated list of files.
19105 (version.texi, stamp-version): New rules.
19106 (realclean): Remove $(libc-texi-generated), not individual files
19107 from that list. Do not remove dir-add.texinfo.
19108 * manual/libc.texinfo: Comment out uses of edition numbers and
19109 references to printed manual. Remove last-updated dates.
19110 (EDITION): Comment out.
19111 (ISBN): Likewise.
19112 (VERSION, UPDATED): Remove.
19113 (version.texi): Include.
19114
12e5c3b9
AS
191152012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19116
19117 * sysdeps/posix/spawni.c: Include <signal.h>.
19118 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19119 * sysdeps/pthread/aio_fsync.c: Likewise.
19120
4efeffc1 191212012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19122
ba63ba08
UD
19123 * conform/Makefile (tests): Run only when not cross-compiling and
19124 when fast-check is not defined.
19125
d94a4670
UD
19126 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19127 * conform/data/limits.h-data: Fixes for POSIX2008.
19128 * conform/run-conformtest.sh: Run all tests.
19129 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19130 headers.
19131 * include/bits/dlfcn.h: Likewise.
19132 * include/langinfo.h: Likewise.
19133 * include/monetary.h: Likewise.
19134 * include/sys/poll.h: Likewise.
19135
19136 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19137 for __USE_GNU.
19138 * posix/spawn.h: Define __need_sigset_t.
19139 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19140 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19141 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19142 to get sigevent_t only.
19143 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19144 only for __USE_GNU.
19145 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19146 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19147 process_vm_writev only for __USE_GNU.
19148 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19149
19150 * conform/Makefile: For now ignore errors from run-conformtest.
19151 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19152 POSIX to avoid namespace pollution. Don't prepend headers.
19153 * conform/data/aio.h-data: Fixes for POSIX testing.
19154 * conform/data/fcntl.h-data: Likewise.
19155 * conform/data/glob.h-data: Likewise.
19156 * conform/data/grp.h-data: Likewise.
19157 * conform/data/pthread.h-data: Likewise.
19158 * conform/data/pwd.h-data: Likewise.
19159 * conform/data/signal.h-data: Likewise.
19160 * conform/data/spawn.h-data: Likewise.
19161 * conform/data/stdio.h-data: Likewise.
19162 * conform/data/stdlib.h-data: Likewise.
19163 * conform/data/stropts.h-data: Likewise.
19164 * conform/data/sys/mman.h-data: Likewise.
19165 * conform/data/sys/stat.h-data: Likewise.
19166 * conform/data/sys/types.h-data: Likewise.
19167 * conform/data/sys/wait.h-data: Likewise.
19168 * conform/data/time.h-data: Likewise.
19169 * conform/data/unistd.h-data: Likewise.
19170 * conform/data/utime.h-data: Likewise.
19171
19172 * io/sys/stat.h: fchmod was always in POSIX.
19173 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19174 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19175 * rt/aio.h: Define __need_timespec before including <time.h>.
19176 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19177 struct. Add forward declaration of pthread_attr_t and use it in
19178 sigevent.
19179 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19180 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19181 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19182 always remove CLK_TCK definition.
19183
c20105c3
AS
191842012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19185
19186 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19187
7a270350
UD
191882012-02-25 Ulrich Drepper <drepper@gmail.com>
19189
31341567
UD
19190 * conform/run-conformtest.sh: New file.
19191 * conform/Makefile: Run run-conformtest for tests.
19192 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19193 support.
19194
19195 * conform/data/uchar.h-data: New file.
19196 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19197 * conform/data/arpa/inet.h-data: Likewise.
19198 * conform/data/assert.h-data: Likewise.
19199 * conform/data/complex.h-data: Likewise.
19200 * conform/data/cpio.h-data: Likewise.
19201 * conform/data/ctype.h-data: Likewise.
19202 * conform/data/dirent.h-data: Likewise.
19203 * conform/data/dlfcn.h-data: Likewise.
19204 * conform/data/errno.h-data: Likewise.
19205 * conform/data/fcntl.h-data: Likewise.
19206 * conform/data/float.h-data: Likewise.
19207 * conform/data/fmtmsg.h-data: Likewise.
19208 * conform/data/fnmatch.h-data: Likewise.
19209 * conform/data/ftw.h-data: Likewise.
19210 * conform/data/glob.h-data: Likewise.
19211 * conform/data/grp.h-data: Likewise.
19212 * conform/data/iconv.h-data: Likewise.
19213 * conform/data/inttypes.h-data: Likewise.
19214 * conform/data/langinfo.h-data: Likewise.
19215 * conform/data/libgen.h-data: Likewise.
19216 * conform/data/limits.h-data: Likewise.
19217 * conform/data/locale.h-data: Likewise.
19218 * conform/data/math.h-data: Likewise.
19219 * conform/data/monetary.h-data: Likewise.
19220 * conform/data/mqueue.h-data: Likewise.
19221 * conform/data/ndbm.h-data: Likewise.
19222 * conform/data/net/if.h-data: Likewise.
19223 * conform/data/netdb.h-data: Likewise.
19224 * conform/data/netinet/in.h-data: Likewise.
19225 * conform/data/nl_types.h-data: Likewise.
19226 * conform/data/poll.h-data: Likewise.
19227 * conform/data/pthread.h-data: Likewise.
19228 * conform/data/pwd.h-data: Likewise.
19229 * conform/data/regex.h-data: Likewise.
19230 * conform/data/sched.h-data: Likewise.
19231 * conform/data/search.h-data: Likewise.
19232 * conform/data/semaphore.h-data: Likewise.
19233 * conform/data/setjmp.h-data: Likewise.
19234 * conform/data/signal.h-data: Likewise.
19235 * conform/data/spawn.h-data: Likewise.
19236 * conform/data/stdarg.h-data: Likewise.
19237 * conform/data/stdio.h-data: Likewise.
19238 * conform/data/stdlib.h-data: Likewise.
19239 * conform/data/string.h-data: Likewise.
19240 * conform/data/strings.h-data: Likewise.
19241 * conform/data/stropts.h-data: Likewise.
19242 * conform/data/sys/ipc.h-data: Likewise.
19243 * conform/data/sys/mman.h-data: Likewise.
19244 * conform/data/sys/msg.h-data: Likewise.
19245 * conform/data/sys/resource.h-data: Likewise.
19246 * conform/data/sys/select.h-data: Likewise.
19247 * conform/data/sys/sem.h-data: Likewise.
19248 * conform/data/sys/shm.h-data: Likewise.
19249 * conform/data/sys/socket.h-data: Likewise.
19250 * conform/data/sys/stat.h-data: Likewise.
19251 * conform/data/sys/statvfs.h-data: Likewise.
19252 * conform/data/sys/time.h-data: Likewise.
19253 * conform/data/sys/timeb.h-data: Likewise.
19254 * conform/data/sys/times.h-data: Likewise.
19255 * conform/data/sys/types.h-data: Likewise.
19256 * conform/data/sys/uio.h-data: Likewise.
19257 * conform/data/sys/un.h-data: Likewise.
19258 * conform/data/sys/utsname.h-data: Likewise.
19259 * conform/data/sys/wait.h-data: Likewise.
19260 * conform/data/syslog.h-data: Likewise.
19261 * conform/data/tar.h-data: Likewise.
19262 * conform/data/termios.h-data: Likewise.
19263 * conform/data/utime.h-data: Likewise.
19264 * conform/data/utmpx.h-data: Likewise.
19265 * conform/data/varargs.h-data: Likewise.
19266 * conform/data/wchar.h-data: Likewise.
19267 * conform/data/wctype.h-data: Likewise.
19268 * conform/data/wordexp.h-data: Likewise.
19269
19270 * include/stropts.h: New file.
19271 * include/uchar.h: New file.
19272 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19273 * include/assert.h: Likewise.
19274 * include/ctype.h: Likewise.
19275 * include/dirent.h: Likewise.
19276 * include/dlfcn.h: Likewise.
19277 * include/fcntl.h: Likewise.
19278 * include/fnmatch.h: Likewise.
19279 * include/glob.h: Likewise.
19280 * include/grp.h: Likewise.
19281 * include/libio.h: Likewise.
19282 * include/locale.h: Likewise.
19283 * include/math.h: Likewise.
19284 * include/net/if.h: Likewise.
19285 * include/netdb.h: Likewise.
19286 * include/netinet/in.h: Likewise.
19287 * include/pthread.h: Likewise.
19288 * include/pwd.h: Likewise.
19289 * include/regex.h: Likewise.
19290 * include/sched.h: Likewise.
19291 * include/search.h: Likewise.
19292 * include/setjmp.h: Likewise.
19293 * include/signal.h: Likewise.
19294 * include/stdio.h: Likewise.
19295 * include/stdlib.h: Likewise.
19296 * include/string.h: Likewise.
19297 * include/sys/cdefs.h: Likewise.
19298 * include/sys/mman.h: Likewise.
19299 * include/sys/msg.h: Likewise.
19300 * include/sys/resource.h: Likewise.
19301 * include/sys/select.h: Likewise.
19302 * include/sys/socket.h: Likewise.
19303 * include/sys/stat.h: Likewise.
19304 * include/sys/statvfs.h: Likewise.
19305 * include/sys/time.h: Likewise.
19306 * include/sys/times.h: Likewise.
19307 * include/sys/uio.h: Likewise.
19308 * include/sys/utsname.h: Likewise.
19309 * include/sys/wait.h: Likewise.
19310 * include/termios.h: Likewise.
19311 * include/time.h: Likewise.
19312 * include/ulimit.h: Likewise.
19313 * include/unistd.h: Likewise.
19314 * include/utime.h: Likewise.
19315 * include/wchar.h: Likewise.
19316 * include/wctype.h: Likewise.
19317 * include/wordexp.h: Likewise.
19318
19319 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19320
7a270350
UD
19321 * time/time.h: TIME_UTC must be a macro.
19322 Make timespec_get available for ISO C11 only as well.
19323
7724defc
UD
193242012-02-24 Ulrich Drepper <drepper@gmail.com>
19325
19326 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19327 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19328
6b1d1d46
JM
193292012-02-24 Joseph Myers <joseph@codesourcery.com>
19330
19331 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19332
0f8bbd69
JM
193332012-02-24 Joseph Myers <joseph@codesourcery.com>
19334
19335 * manual/texinfo.tex: Update to version 2012-01-19.16.
19336
66ab80bc
JM
193372012-02-24 Joseph Myers <joseph@codesourcery.com>
19338
19339 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19340
74981cc5
RM
193412012-02-24 Roland McGrath <roland@hack.frob.com>
19342
ee968201
RM
19343 [BZ #13738]
19344 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19345 * manual/fdl-1.3.texi: New file.
19346 * manual/fdl-1.1.texi: File removed.
19347
74981cc5
RM
19348 [BZ #13738]
19349 * manual/libc.texinfo (FDL_VERSION): New @set.
19350 Use it for mention of FDL in cover text.
19351 (Documentation License): Use it in @include file name.
19352
7bb764bc
JM
193532012-02-22 Joseph Myers <joseph@codesourcery.com>
19354 Roland McGrath <roland@hack.frob.com>
19355
19356 [BZ #5461]
19357 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19358 not LONG_LONG_MAX and LONG_LONG_MIN.
19359 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19360 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19361 name.
19362 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19363
6cbeae47
JM
193642012-02-22 Joseph Myers <joseph@codesourcery.com>
19365
19366 [BZ #2547]
19367 [BZ #11365]
19368 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19369 manipulate bits before adding and subtracting TWO23[sx].
19370 * math/libm-test.inc (nearbyint_test): Add more tests.
19371
fe45ce09
JM
193722012-02-22 Joseph Myers <joseph@codesourcery.com>
19373
19374 [BZ #2548]
19375 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19376 bits before adding and subtracting TWO23[sx].
19377 * math/libm-test.inc (rint_test): Add more tests.
19378 (rint_test_tonearest): Likewise.
19379 (rint_test_towardzero): Likewise.
19380 (rint_test_downward): Likewise.
19381 (rint_test_upward: Likewise.
19382
ff3b3d82
JM
193832012-02-22 Joseph Myers <joseph@codesourcery.com>
19384
19385 [BZ #10110]
19386 * include/stdc-predef.h: New file. Extracted from features.h.
19387 * include/features.h: Include stdc-predef.h.
19388 * Makefile (headers): Add stdc-predef.h.
19389 * CONFORMANCE (Compiler limitations): Update.
19390
ef0aab35
JM
193912012-02-22 Joseph Myers <joseph@codesourcery.com>
19392
19393 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19394
58639409
DM
193952012-02-21 David S. Miller <davem@davemloft.net>
19396
19397 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19398 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19399
c0e70b25
DM
194002012-02-20 David S. Miller <davem@davemloft.net>
19401
19402 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19403 using a normal save/restore sequence, rather than allocating a
19404 dummy stack frame just to store a frame pointer and restore.
19405 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19406
fb06851d
JM
194072012-02-21 Joseph Myers <joseph@codesourcery.com>
19408
19409 * manual/install.texi: Fix stray word in line-wrapped comment.
19410
7a8b71c3
DM
194112012-02-20 David S. Miller <davem@davemloft.net>
19412
d510c123
DM
19413 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19414 both binutils and gcc support GOTDATA.
19415
0722d7c2
DM
19416 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19417 "rd %pc" in the PIC register setup sequences.
19418
3d2b3019
DM
19419 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19420 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19421 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19422 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19423 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19424 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19425 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19426 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19427 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19428 (SYSCALL_ERROR_HANDLER): Likewise.
19429 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19430 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19431 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19432 (SYSCALL_ERROR_HANDLER): Likewise.
19433
c80098a9
DM
19434 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19435 (HAVE_GCC_GOTDATA): New.
19436 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19437 relocation support in both binutils and gcc.
19438 * sysdeps/sparc/elf/configure: Regenerate.
19439
3a2545a0
DM
19440 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19441 * sysdeps/sparc/sparc32/elf/configure: Delete.
19442 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19443 * sysdeps/sparc/sparc64/elf/configure: Delete.
19444 * sysdeps/sparc/elf/configure.in: New file.
19445 * sysdeps/sparc/elf/configure: Generate.
19446
7a8b71c3
DM
19447 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19448 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19449 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19450 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19451 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19452
f1e86fca
JM
194532012-02-21 Joseph Myers <joseph@codesourcery.com>
19454
19455 * manual/install.texi: Do not mention specific glibc version
19456 numbers.
19457 * manual/libc.texinfo (VERSION, UPDATED): Update.
19458 (@copying): Use @copyright{} and range of years.
19459
0e7dfaef
JM
194602012-02-21 Joseph Myers <joseph@codesourcery.com>
19461
19462 [BZ #13695]
19463 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19464 [crti.S not in sysdirs] (generated): Do not append.
19465 [crti.S not in sysdirs] (omit-deps): Likewise.
19466 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19467 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19468 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19469 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19470 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19471 Likewise.
19472 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19473 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19474 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19475 * csu/defs.awk: Remove file.
19476 * sysdeps/generic/initfini.c: Likewise.
19477 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19478 variable.
19479 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19480 Likewise.
19481
599af3ca
JM
194822012-02-20 Joseph Myers <joseph@codesourcery.com>
19483
19484 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19485 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19486 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19487 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19488 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19489 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19490 <bits/epoll.h>.
19491 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19492 (__EPOLL_PACKED): Define to empty if not defined by
19493 <bits/epoll.h>.
19494 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19496 bits/epoll.h.
19497
0e499750
JM
194982012-02-20 Joseph Myers <joseph@codesourcery.com>
19499
19500 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19501 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19502 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19503 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19504 <bits/timerfd.h>.
19505 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19506 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19507 bits/timerfd.h.
19508
5ad91f6e
JM
195092012-02-20 Joseph Myers <joseph@codesourcery.com>
19510
19511 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19512 in C locale.
19513 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19514 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19515 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19517
06b99b02
AJ
195182012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19519
19520 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19521 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19522
7638c0fd
AS
195232012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19524
19525 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19526 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19527 defined.
19528 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19529 Likewise.
19530 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19531 entry for 2.16.
19532
92221550
AJ
195332012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19534
19535 * math/w_acos.c: Use non-signaling floating-point comparisons.
19536 * math/w_acosf.c: Likewise.
19537 * math/w_acosh.c: Likewise.
19538 * math/w_acoshf.c: Likewise.
19539 * math/w_acoshl.c: Likewise.
19540 * math/w_acosl.c: Likewise.
19541 * math/w_asin.c: Likewise.
19542 * math/w_asinf.c: Likewise.
19543 * math/w_asinl.c: Likewise.
19544 * math/w_atanh.c: Likewise.
19545 * math/w_atanhf.c: Likewise.
19546 * math/w_atanhl.c: Likewise.
19547 * math/w_exp2.c: Likewise.
19548 * math/w_exp2f.c: Likewise.
19549 * math/w_exp2l.c: Likewise.
19550 * math/w_j0.c: Likewise.
19551 * math/w_j0f.c: Likewise.
19552 * math/w_j0l.c: Likewise.
19553 * math/w_j1.c: Likewise.
19554 * math/w_j1f.c: Likewise.
19555 * math/w_j1l.c: Likewise.
19556 * math/w_jn.c: Likewise.
19557 * math/w_jnf.c: Likewise.
19558 * math/w_log.c: Likewise.
19559 * math/w_log10.c: Likewise.
19560 * math/w_log10f.c: Likewise.
19561 * math/w_log10l.c: Likewise.
19562 * math/w_log2.c: Likewise.
19563 * math/w_log2f.c: Likewise.
19564 * math/w_log2l.c: Likewise.
19565 * math/w_logf.c: Likewise.
19566 * math/w_logl.c: Likewise.
19567 * math/w_sqrt.c: Likewise.
19568 * math/w_sqrtf.c: Likewise.
19569 * math/w_sqrtl.c: Likewise.
19570 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19571 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19572 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19573 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19574 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19575
ebaf36eb
JM
195762012-02-19 Joseph Myers <joseph@codesourcery.com>
19577
19578 [BZ #9739]
19579 * manual/string.texi (strnlen): Use correct parameter name in
19580 equivalent expression.
19581
71c254a6
JM
195822012-02-19 Joseph Myers <joseph@codesourcery.com>
19583
19584 [BZ #11174]
19585 * manual/users.texi (seteuid): Consistently use neweuid for
19586 argument name.
19587
16d2c631
JM
195882012-02-19 Joseph Myers <joseph@codesourcery.com>
19589
19590 [BZ #13704]
19591 * manual/nss.texi (Services in the NSS configuration): Correct
19592 list of services in example configuration file.
19593
cd837b09
NB
195942012-02-19 Nick Bowler <nbowler@draconx.ca>
19595
19596 [BZ #11322]
19597 * manual/arith.texi: Remove statements about negative zero
19598 behaving identically to zero.
19599
02c4bbad
JM
196002012-02-18 Joseph Myers <joseph@codesourcery.com>
19601
19602 [BZ #5993]
19603 * manual/install.texi: Do not document upgrading from libc5.
19604
366842e7
JM
196052012-02-18 Joseph Myers <joseph@codesourcery.com>
19606
19607 [BZ #4596]
19608 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19609
dd54084d
DM
196102012-02-18 David S. Miller <davem@davemloft.net>
19611
19612 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19613 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19614 %o7 across the call.
19615 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19616 instead.
19617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19618 SETUP_PIC_REG_LEAF.
19619 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19620 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19621 * sysdeps/sparc/crtn.S: Likewise.
19622
2bcc53a3
UD
196232012-02-17 Ulrich Drepper <drepper@gmail.com>
19624
19625 * aout/Makefile: Remove.
19626
09c093b5
RK
196272012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19628
19629 [BZ #13058]
19630 * manual/examples/argp-ex1.c (main): Format definition in GNU
19631 style.
19632 * manual/examples/argp-ex2.c (main): Likewise.
19633 * manual/examples/argp-ex3.c (main): Likewise.
19634 * manual/examples/argp-ex4.c (main): Likewise.
19635 * manual/examples/longopt.c (main): Use new-style prototype
19636 definition.
19637 * manual/examples/strncat.c (main): Specify return type and use
19638 (void) for arguments.
19639 * manual/examples/subopt.c (main): Use char **argv argument.
19640
2ee633a2
JM
196412012-02-17 Joseph Myers <joseph@codesourcery.com>
19642
19643 [BZ #5077]
19644 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19645 rounding modes.
19646
0520adde
FB
196472012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19648
19649 [BZ #6907]
19650 * manual/string.texi (strchr): Change when strchrnul is
19651 recommended.
19652
3f4081cd
DGM
196532012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19654
19655 [BZ #174]
19656 * manual/locale.texi (setlocale): Document LOCPATH.
19657
d1b10e78
JM
196582012-02-17 Joseph Myers <joseph@codesourcery.com>
19659
19660 [BZ #10210]
19661 * manual/process.texi (execle): Move @dots{} before last argument.
19662
79c6869c
PB
196632012-02-17 Paul Bolle <pebolle@tiscali.nl>
19664
19665 [BZ #12047]
19666 * manual/charset.texi (Generic Charset Conversion): Fix typo
19667 (LC_TYPE -> LC_CTYPE).
19668
cc6e48bc
NB
196692012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19670
19671 [BZ #5805]
19672 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19673 (scalbnf): Likewise.
19674 (scalbnl): Likewise.
19675 (scalbln): Likewise.
19676 (scalblnf): Likewise.
19677 (scalblnl): Likewise.
19678 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19679 (vwarnx): Likewise.
19680 (verr): Likewise.
19681 (verrx): Likewise.
19682 * manual/filesys.texi (telldir): Use braces around return type.
19683 * manual/llio.texi (mmap): Add space after comma.
19684 (mmap64): Likewise.
19685 * manual/math.texi (jn): Use @var{} on parameter names.
19686 (jnf): Likewise.
19687 (jnl): Likewise.
19688 (yn): Likewise.
19689 (ynf): Likewise.
19690 (ynl): Likewise.
19691 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19692 line.
19693 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19694 "...".
19695 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19696 (sched_get_priority_max): Likewise.
19697 * manual/signal.texi (sigvec): Add space after comma.
19698 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19699 names.
19700 (if_indextoname): Likewise.
19701 (if_freenameindex): Likewise.
19702 (sendto): Use ',' instead of '.' in prototype.
19703 * manual/startup.texi (syscall): Use @dots{} instead of literal
19704 "...".
19705 * manual/stdio.texi (__fpending): Separate initial words of
19706 paragraph from @deftypefun line.
19707 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19708 "...".
19709 (vsyslog): Use @var{} on parameter names.
19710 * manual/terminal.texi (stty): Use @var{} on parameter names.
19711 * manual/users.texi (getutmp): Use @var{} on parameter names.
19712 (getutmpx): Likewise.
19713
5b23062f
JM
197142012-02-17 Joseph Myers <joseph@codesourcery.com>
19715
19716 [BZ #6884]
19717 * manual/stdio.texi (fopen): Fix typos in description of
19718 ",ccs=STRING".
19719
8dee4833
AJ
197202012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19721
19722 [BZ #4026]
19723 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19724 get clock_id definition.
19725
9078ce93
TS
197262012-02-17 Thomas Schwinge <thomas@schwinge.name>
19727
19728 [BZ #4822]
19729 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19730 (madvise): Cast every argument to void on its own.
19731
3835c55f
JM
197322012-02-17 Joseph Myers <joseph@codesourcery.com>
19733
19734 [BZ #9902]
19735 * manual/startup.texi (Exit Status): Fix typo.
19736
35c47e37
JM
197372012-02-17 Joseph Myers <joseph@codesourcery.com>
19738
19739 [BZ #10140]
19740 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19741 * manual/examples/argp-ex2.c: Likewise.
19742 * manual/examples/argp-ex3.c: Likewise.
19743
e3b69ca7
RH
197442012-02-16 Richard Henderson <rth@redhat.com>
19745
19746 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19747 * sysdeps/s390/s390-32/initfini.c: Remove.
19748 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19749 * sysdeps/s390/s390-64/initfini.c: Remove.
19750
df83af67
KK
197512012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19752
19753 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19754 compiler output for sysdeps/generic/initfini.c.
19755 * sysdeps/sh/elf/initfini.c: Remove file.
19756
f63f3380
DM
197572012-02-16 David S. Miller <davem@davemloft.net>
19758
fb59b3a4
DM
19759 [BZ #11494]
19760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19761
f63f3380
DM
19762 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19763 * sysdeps/sparc/crti.S: New file.
19764 * sysdeps/sparc/crtn.S: New file.
19765 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19766 * sysdeps/sparc/sparc64/Makefile: Likewise.
19767
df6a4a4a
MF
197682012-02-15 Mike Frysinger <vapier@gentoo.org>
19769
6dd8f3dc 19770 [BZ #3335]
df6a4a4a
MF
19771 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19772
1cac7236
RM
197732012-02-15 Roland McGrath <roland@hack.frob.com>
19774
d2c736f8
RM
19775 [BZ #4822]
19776 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19777
1cac7236
RM
19778 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19779 (write, read, close): Likewise.
19780 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19781
8e475601
JM
197822012-02-15 Joseph Myers <joseph@codesourcery.com>
19783
19784 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19785 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19786 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19787 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19788 <bits/signalfd.h>.
19789 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19790 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19791 bits/signalfd.h.
19792
ed656b40
MP
197932012-02-14 Marek Polacek <polacek@redhat.com>
19794
19795 * sysdeps/x86_64/crti.S: New file.
19796 * sysdeps/x86_64/crtn.S: New file.
19797 * sysdeps/x86_64/elf/initfini.c: Remove file.
19798
2a979d3a
JM
197992012-02-13 Joseph Myers <joseph@codesourcery.com>
19800
19801 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19802 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19803 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19804 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19805 <bits/inotify.h>.
19806 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19808 bits/inotify.h.
19809
2a418ac3
JM
198102012-02-13 Joseph Myers <joseph@codesourcery.com>
19811
19812 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19813 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19814 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19815 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19816 <bits/eventfd.h>.
19817 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19819 bits/eventfd.h.
19820
fb779be7
TS
198212012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19822
e19e83c5
RM
19823 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19824 __feraiseexcept instead of feraiseexcept.
7c35ffed 19825
fb779be7
TS
19826 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19827 nanosleep invocations.
19828 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19829 strings, and add error checking for a nanosleep invocations.
19830
59ba27a6
PE
198312012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19832
19833 Replace FSF snail mail address with URLs, as per GNU coding standards.
19834 Most of the snail mail addresses were wrong anyway, and omitting
19835 them makes the source code easier to maintain. Almost all of the
19836 changes are to license notices and to locale LC_IDENTIFICATION
19837 addresses, except for this one:
19838 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19839 not its snail mail address.
19840
57b957eb
RH
198412012-02-09 Richard Henderson <rth@twiddle.net>
19842
af850b1c
RH
19843 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19844 of kernel-features.h.
19845
57b957eb
RH
19846 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19847
6b73181a
MP
198482012-02-08 Marek Polacek <polacek@redhat.com>
19849
19850 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19851 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19852 * sysdeps/gnu/_G_config.h: Likewise.
19853 * sysdeps/generic/_G_config.h: Likewise.
19854
26ecc33a
AS
198552012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19856
6c6dbc63
AS
19857 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19858 tests.
19859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19860
e216c012
AS
19861 * sysdeps/powerpc/powerpc32/crti.S: New file.
19862 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19863 * sysdeps/powerpc/powerpc64/crti.S: New file.
19864 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19865
26ecc33a
AS
19866 * Makeconfig (have-initfini): Don't set.
19867 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19868 * configure.in (nopic_initfini): Don't substitute.
19869 * config.h.in (HAVE_INITFINI): Don't #undef.
19870 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19871 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19872
3add8e13
JM
198732012-02-08 Joseph Myers <joseph@codesourcery.com>
19874
19875 Support crti.S and crtn.S provided directly by architectures.
19876 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19877 [crti.S in sysdirs] (omit-deps): Likewise.
19878 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19879 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19880 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19881 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19882 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19883 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19884 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19885 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19886 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19887 compiler output for sysdeps/generic/initfini.c.
19888 * sysdeps/i386/elf/Makefile: Remove file.
19889 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19890
a22f12b4
MP
198912012-02-07 Marek Polacek <polacek@redhat.com>
19892
19893 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19894 * sysdeps/gnu/_G_config.h: Likewise.
19895 * sysdeps/mach/hurd/_G_config.h: Likewise.
19896
148cf100
MP
198972012-02-07 Marek Polacek <polacek@redhat.com>
19898
19899 * math/Makefile (tests): Add tst-CMPLX2.
19900 * math/tst-CMPLX2.c: New file.
19901
cfdc0dd7
AS
199022012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19903
84ba42c4
AS
19904 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19905
cfdc0dd7
AS
19906 * math/libm-test.inc (jn_test): Add missing L suffix.
19907
622c86f4
MP
199082012-02-06 Marek Polacek <polacek@redhat.com>
19909
19910 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19911 * sysdeps/i386/fpu/e_powf.S: Likewise.
19912 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19913 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19914 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19915 * sysdeps/i386/fpu/e_pow.S: Likewise.
19916 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19917 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19918 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19919 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19920 * sysdeps/i386/fpu/e_log2.S: Likewise.
19921 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19922 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19923 * sysdeps/i386/fpu/e_powl.S: Likewise.
19924 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19925 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19926 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19927 * sysdeps/i386/fpu/e_logl.S: Likewise.
19928 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19929 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19930 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19931 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19932 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19933 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19934 * sysdeps/i386/fpu/e_log.S: Likewise.
19935 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19936 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19937 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19938 * sysdeps/i386/fpu/e_logf.S: Likewise.
19939 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19940 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19941 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19942 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19943 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19944 * sysdeps/i386/fpu/e_log10.S: Likewise.
19945 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19946 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19947 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19948 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19949 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19950 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19951 * sysdeps/i386/asm-syntax.h: Likewise.
19952 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19953 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19954 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19955 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19956 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19957 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19958 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19959 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19960 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19961 * sysdeps/powerpc/sysdep.h: Likewise.
19962 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19963 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19964
d4a54ac6
JM
199652012-02-06 Joseph Myers <joseph@codesourcery.com>
19966
19967 [BZ #411]
19968 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19969
314054ea
JM
199702012-02-06 Joseph Myers <joseph@codesourcery.com>
19971
19972 * sysdeps/i386/sysdep.h: Include <features.h>.
19973 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19974 version.
19975
d8e0ca50
JM
199762012-02-05 Joseph Myers <joseph@codesourcery.com>
19977
19978 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19979 Define.
19980 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19981 LOAD_PIC_REG_STR.
19982
b1da7dd9
JM
199832012-02-03 Joseph Myers <joseph@codesourcery.com>
19984
19985 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19986 (SETUP_PIC_REG): Use GET_PC_THUNK.
19987 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19988 macro.
19989
9a1d9254
JM
199902012-02-03 Joseph Myers <joseph@codesourcery.com>
19991
19992 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19993 for non-PIC compilation.
19994 (SETUP_PIC_REG): Add .p2align directive.
19995 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19996 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19997 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19998 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19999 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20000 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20001 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20002 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20003 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20004 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20005 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20006 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20007 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20008 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20009 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20010 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20011 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20012 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20013 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20014 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20015 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20016 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20017 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20018 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20019 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20020 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20021 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20022 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20023 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20024 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20025 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20026 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20027 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20028 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20029 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20030 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20031 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20032 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20033 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20034 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20035 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20036
65dc3b75
JM
200372012-02-03 Joseph Myers <joseph@codesourcery.com>
20038
20039 * math/tst-CMPLX.c: Include <stdio.h>.
20040
d55bf177
JM
200412012-01-31 Joseph Myers <joseph@codesourcery.com>
20042
20043 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20044 float.
20045 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20046 * sysdeps/sparc/bits/mathdef.h: Likewise.
20047
69db4f8f
MP
200482012-01-31 Marek Polacek <polacek@redhat.com>
20049
20050 * libio/libio.h: Don't define _PARAMS.
20051 * locale/programs/config.h: Don't define PARAMS.
20052 * stdlib/strtol_l.c: Likewise.
20053 (__strtol_l): Remove PARAMS from the prototype.
20054
41b81892
UD
200552012-01-31 Ulrich Drepper <drepper@gmail.com>
20056
3b49edc0
UD
20057 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20058 names. Just use the correct names. Remove unnecessary wrapper
20059 functions.
20060 * malloc/arena.c: Likewise.
20061 * malloc/hooks.c: Likewise.
20062
41b81892
UD
20063 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20064 ARENA_TEST says not to. Simplify test for creation of a new arena.
20065 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20066
27a25b6e
UD
200672012-01-30 Ulrich Drepper <drepper@gmail.com>
20068
20069 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20070 into tail calls.
20071 (update_get_addr): New function.
20072 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20073 GET_ADDR_MODULE parameter.
20074
c8a89e7d
JM
200752012-01-30 Joseph Myers <joseph@codesourcery.com>
20076
20077 * crypt/cert.c: Remove __STDC__ conditionals.
20078 * crypt/crypt-entry.c: Likewise.
20079 * crypt/crypt_util.c: Likewise.
20080 * libio/filedoalloc.c: Likewise.
20081 * libio/fileops.c: Likewise.
20082 * libio/genops.c: Likewise.
20083 * libio/iofclose.c: Likewise.
20084 * libio/iofdopen.c: Likewise.
20085 * libio/iofopen.c: Likewise.
20086 * libio/iofopen64.c: Likewise.
20087 * libio/iogetdelim.c: Likewise.
20088 * libio/iopopen.c: Likewise.
20089 * libio/obprintf.c: Likewise.
20090 * libio/oldfileops.c: Likewise.
20091 * libio/oldiofclose.c: Likewise.
20092 * libio/oldiofdopen.c: Likewise.
20093 * libio/oldiofopen.c: Likewise.
20094 * libio/oldiopopen.c: Likewise.
20095 * libio/wfiledoalloc.c: Likewise.
20096 * libio/wgenops.c: Likewise.
20097 * locale/programs/xmalloc.c: Likewise.
20098 * misc/syslog.c: Likewise.
20099 * stdio-common/xbug.c: Likewise.
20100 * string/memchr.c: Likewise.
20101 * string/memcmp.c: Likewise.
20102 * string/memrchr.c: Likewise.
20103 * string/rawmemchr.c: Likewise.
20104 * sysdeps/posix/getcwd.c: Likewise.
20105 * time/strftime_l.c: Likewise.
20106
3b100462
JM
201072012-01-30 Joseph Myers <joseph@codesourcery.com>
20108
20109 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20110 * config.make.in (config-cflags-sse2avx): Define.
20111 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20112 Fix typo.
20113
607998af
CM
201142012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20115
20116 * scripts/config.guess: Update from upstream config git repository.
20117 * scripts/config.sub: Likewise.
20118
3601428f
CM
201192012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20120
3ac8b282
CM
20121 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20122 (EM_NUM): Update.
20123 (R_TILEPRO_*, R_TILEGX_*): New macros.
20124
e034841e
CM
20125 * scripts/firstversions.awk: Fix bug in version range handling.
20126
540d7568
CM
20127 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20128
3601428f
CM
20129 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20130
463de862
CM
20131 * include/sys/epoll.h: New file.
20132 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20133 libc_hidden_def.
20134
73139a76
UD
201352012-01-28 Ulrich Drepper <drepper@gmail.com>
20136
96bc5b45
UD
20137 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20138 Avoid unnecessary __WORDSIZE == 64 test.
20139 (fmaxf): Use VEX format if possible.
20140 (fmax): Likewise.
20141 (fminf): Likewise.
20142 (fmin): Likewise.
20143
56f6f6a2
UD
20144 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20145 * math/math_private.h: Remove libc_fegetround* and
20146 libc_fesetround*.
20147 * sysdeps/i386/configure.in: Check for -msse2avx.
20148 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20149 also if SSE2AVX is defined.
20150 Remove libc_fegetround* and libc_fesetround*.
20151 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20152 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20153 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20154 of HAS_YMM_USABLE.
20155 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20156 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20157 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20158 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20159 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20160
73139a76
UD
20161 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20162
d73f93a4
AZ
201632012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20164
20165 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20166 size is not set.
20167 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20168
6ee65ed6
UD
201692012-01-27 Ulrich Drepper <drepper@gmail.com>
20170
20171 [BZ #13618]
20172 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20173 relocation.
20174 * Makeconfig (libm): Define.
20175 * elf/Makefile: Add rules to build and run tst-relsort1.
20176 * elf/tst-relsort1.c: New file.
20177 * elf/tst-relsort1mod1.c: New file.
20178 * elf/tst-relsort1mod2.c: New file.
20179
8db21882
JM
201802012-01-27 Joseph Myers <joseph@codesourcery.com>
20181
20182 * math/s_ldexp.c: Remove __STDC__ conditionals.
20183 * math/s_ldexpf.c: Likewise.
20184 * math/s_ldexpl.c: Likewise.
20185 * math/s_nextafter.c: Likewise.
20186 * math/s_nexttowardf.c: Likewise.
20187 * math/s_significand.c: Likewise.
20188 * math/s_significandf.c: Likewise.
20189 * math/s_significandl.c: Likewise.
20190 * math/w_jnl.c: Likewise.
20191 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20192 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20193 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20194 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20195 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20196 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20197 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20198 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20199 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20200 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20201 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20202 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20203 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20204 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20205 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20206 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20207 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20208 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20209 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20210 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20211 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20212 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20213 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20214 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20215 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20216 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20217 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20218 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20219 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20220 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20221 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20222 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20223 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20224 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20225 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20226 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20227 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20228 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20229 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20230 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20231 * sysdeps/ieee754/k_standard.c: Likewise.
20232 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20233 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20234 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20235 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20236 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20237 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20238 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20239 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20240 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20241 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20242 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20243 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20244 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20245 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20246 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20247 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20248 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20249 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20250 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20251 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20252 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20253 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20254 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20255 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20256 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20257 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20258 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20259 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20260 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20261 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20262 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20263 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20264 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20265 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20266 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20267 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20268 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20269 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20270 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20271 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20272 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20273 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20274 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20275 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20276 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20277 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20278 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20279 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20280 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20281 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20282 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20283 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20284 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20285 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20286 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20287 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20288 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20289 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20290 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20291 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20292 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20293 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20294 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20295 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20296 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20297 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20298 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20299 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20300 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20301 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20302 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20303 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20304 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20305 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20306 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20307 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20308 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20309 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20310 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20311 * sysdeps/ieee754/s_matherr.c: Likewise.
20312 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20313 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20314 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20315 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20316
965a54a4
JM
203172012-01-26 Joseph Myers <joseph@codesourcery.com>
20318
20319 * crypt/md5.h: Remove __STDC__ conditionals.
20320 * libio/libioP.h: Likewise.
20321 * locale/programs/config.h: Likewise.
20322 * sysdeps/generic/sysdep.h: Likewise.
20323 * sysdeps/i386/asm-syntax.h: Likewise.
20324 * sysdeps/s390/asm-syntax.h: Likewise.
20325 * sysdeps/unix/sysdep.h: Likewise.
20326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20328
7071ad79
JM
203292012-01-26 Joseph Myers <joseph@codesourcery.com>
20330
20331 * libio/libio.h: Remove __STDC__ conditionals.
20332 * malloc/obstack.h: Likewise.
20333 * math/complex.h: Likewise.
20334 * math/math.h: Likewise.
20335 * sysdeps/generic/_G_config.h: Likewise.
20336 * sysdeps/gnu/_G_config.h: Likewise.
20337 * sysdeps/mach/hurd/_G_config.h: Likewise.
20338 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20339 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20340 * sysdeps/sparc/bits/mathdef.h: Likewise.
20341
afc5ed09
UD
203422012-01-26 Ulrich Drepper <drepper@gmail.com>
20343
20344 [BZ #13583]
20345 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20346 Clean up HAS_* macros.
afc5ed09 20347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20348 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20349 possible.
20350 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20351 HAS_AVX.
20352 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20353 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20354 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20355 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20356 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20357
bdb6de1d
JM
203582012-01-25 Joseph Myers <joseph@codesourcery.com>
20359
20360 * elf/tst-unique3.cc (gets): Remove declaration.
20361 * elf/tst-unique3lib.cc (gets): Likewise.
20362 * elf/tst-unique3lib2.cc (gets): Likewise.
20363 * elf/tst-unique4.cc (gets): Likewise.
20364
b15549e6
UD
203652012-01-24 Ulrich Drepper <drepper@gmail.com>
20366
20367 * include/stdio.h: Add C++ protection. Add gets declarations and
20368 definitions.
20369 * debug/tst-chk1.c: Don't declare gets here.
20370 * stdio-common/tst-gets.c: Likewise.
20371
a037381f
JM
203722012-01-24 Joseph Myers <joseph@codesourcery.com>
20373
20374 * posix/glob: Remove directory.
20375
f1d4aa75
JM
203762012-01-24 Joseph Myers <joseph@codesourcery.com>
20377
20378 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20379
81c0c964
PT
203802012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20381
20382 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20383 of the non-standard EPFNOSUPPORT.
20384
0ea698ae
ST
203852011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20386
20387 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20388 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20389 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20390
d220b117
UD
203912012-01-21 Ulrich Drepper <drepper@gmail.com>
20392
20393 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20394
3e1aa84e
UD
203952012-01-20 Ulrich Drepper <drepper@gmail.com>
20396
20397 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20398 transient errors.
20399 * nscd/grpcache.c (cache_addgr): Likewise.
20400 * nscd/hstcache.c (cache_addhst): Likewise.
20401 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20402 * nscd/pwdcache.c (cache_addpw): Likewise.
20403 * nscd/servicescache.c (cache_addserv): Likewise.
20404
400aa020
UD
204052012-01-16 Ulrich Drepper <drepper@gmail.com>
20406
d77e7869
UD
20407 * malloc/malloc.c: Various cleanups.
20408 * malloc/hooks.c: Likewise.
20409
400aa020
UD
20410 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20411 * stdlib/bug-fmtmsg1.c: New file.
20412
20413 * stdlib/fmtmsg.c (init): Add missing unlock.
20414 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20415
e0a309cf
MP
204162012-01-12 Marek Polacek <polacek@redhat.com>
20417
20418 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20419 and _GNU_SOURCE.
20420
929d11c7
WS
204212012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20422
20423 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20424 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20425 macro to ensure uniqueness of label name.
20426 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20427 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20428
41d0e869
UD
204292012-01-11 Ulrich Drepper <drepper@gmail.com>
20430
0cc5ed3b
UD
20431 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20432
41d0e869
UD
20433 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20434 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20435 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20436 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20437
a47a831a
UD
204382012-01-10 Ulrich Drepper <drepper@gmail.com>
20439
daa891c0
UD
20440 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20441
20442 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20443 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20444 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20445
e58ef0f2
UD
20446 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20447
a47a831a 20448 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20449 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20450 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20451 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20452
20453 * math/bits/math-finite.h: Add ldexp support.
20454
a0bfc9c7
MP
204552012-01-10 Marek Polacek <polacek@redhat.com>
20456
20457 * locale/programs/localedef.h (show_archive_content): Add noreturn
20458 attribute.
20459
d6e97a1d
UD
204602012-01-09 Ulrich Drepper <drepper@gmail.com>
20461
20462 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20463
d5835c26
UD
204642012-01-08 Ulrich Drepper <drepper@gmail.com>
20465
e5f484c6
UD
20466 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20467
d5835c26
UD
20468 * io/Makefile (headers): Add bits/poll2.h.
20469
d1f741e9
WS
204702011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20471
20472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20473 typo #include statement.
20474
ec09c1c4
UD
204752012-01-08 Ulrich Drepper <drepper@gmail.com>
20476
20477 * include/sys/cdefs.h: Define __attribute_alloc_size.
20478 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20479 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20480 * elf/pldd.c: Likewise.
20481 * iconv/iconv_charmap.c: Likewise.
20482 * iconv/iconvconfig.c: Likewise.
20483 * iconv/strtab.c: Likewise.
20484 * locale/programs/locale.c: Likewise.
20485 * locale/programs/localedef.h: Likewise.
20486 * locale/programs/simple-hash.c: Likewise.
20487 * nscd/nscd.h: Likewise.
20488 * nss/makedb.c: Likewise.
20489 * sysdeps/generic/ldconfig.h: Likewise.
20490 * locale/programs/localedef.c: Remove xmalloc prototype.
20491 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20492
20b38e03
PP
204932012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20494
20495 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20496 appropriate.
20497
a0da5fe1
UD
204982012-01-08 Ulrich Drepper <drepper@gmail.com>
20499
1d5a644a 20500 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20501 * math/tst-CMPLX.c: New file.
1d5a644a 20502
8784a6db
UD
20503 * math/complex.h (CMPLXL): Fix typo.
20504
d9a216c0
UD
20505 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20506 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20507 GLIBC_2.16.
20508 * debug/tst-chk1.c: Add poll and ppoll tests.
20509 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20510 * include/sys/poll.h: Add hidden proto for ppoll.
20511 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20512 * sysdeps/mach/hurd/ppoll.c: Likewise.
20513 * io/ppoll.c: Likewise.
20514 * debug/poll_chk.c: New file.
20515 * debug/ppoll_chk.c: New file.
20516 * include/bits/poll2.h: New file.
20517 * io/bits/poll2.h: New file.
20518
ac097f5c
UD
20519 [BZ #1350]
20520 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20521
2119dcfa
UD
20522 * configure.in: static is always set to yes. Remove.
20523 * config.make.in: Don't set build-static.
20524 * Makeconfig: Remove use of build-static.
20525 * dlfcn/Makefile: Likewise.
20526 * elf/Makefile: Likewise.
20527 * math/Makefile: Likewise.
20528 * misc/Makefile: Likewise.
20529 * nptl/Makefile: Likewise.
20530 * sysdeps/mach/hurd/Makefile: Likewise.
20531
121766a9
UD
20532 * configure.in: PWD_P is not used anymore.
20533 * config.make.in: Remove PWD_P entry.
20534
51a1d39c 20535 * configure.in: Remove last remnants of RANLIB.
8720d066 20536 No need to check for signed size_t anymore.
215f4bdc
UD
20537 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20538 and IA-64.
3857022a 20539 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20540 * aclocal.m4: Likewise.
20541
d3ed7225
UD
20542 * wcsmbs/mbrtoc16.c: Implement using towc function.
20543 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20544 * wcsmbs/wcsmbsload.c: Likewise.
20545 * iconv/gconv_simple.c: Likewise.
20546 * iconv/gconv_int.h: Likewise.
20547 * iconv/gconv_builtin.h: Likewise.
20548 * iconv/iconv_prog.c: Remove CHAR16 handling.
20549
20550 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20551
20552 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20553
a0da5fe1
UD
20554 * configure.in: Remove --with-elf and --enable-bounded options.
20555 Dont set base_machine for ia64. More non-ELF conditions removed.
20556 Remove testing and setting of leading underscore information.
20557 * config.make.in (build-bounded): Set to no.
20558 * config.h.in: Remove NO_UNDERSCORES entry.
20559 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20560 them.
20561 * csu/start.c: Remove !NO_UNDERSCORE code.
20562 * locale/localeinfo.h: Likewise.
20563 * sysdeps/generic/machine-gmon.h: Likewise.
20564 * sysdeps/generic/sysdep.h: Likewise.
20565 * sysdeps/i386/sysdep.h: Likewise.
20566 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20567 * sysdeps/mach/sysdep.h: Likewise.
20568 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20569 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20570 * sysdeps/sh/sysdep.h: Likewise.
20571 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20572 * sysdeps/unix/i386/sysdep.S: Likewise.
20573 * sysdeps/unix/sparc/start.c: Likewise.
20574 * sysdeps/unix/sparc/sysdep.S: Likewise.
20575 * sysdeps/unix/sparc/sysdep.h: Likewise.
20576 * sysdeps/unix/start.c: Likewise.
20577 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20578 * sysdeps/x86_64/sysdep.h: Likewise.
20579
df78418a
UD
205802012-01-07 Ulrich Drepper <drepper@gmail.com>
20581
a784e502
UD
20582 [BZ #13553]
20583 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20584 for non-gcc.
20585 * argp/argp-fmtstream.h: Use const instead __const.
20586 * argp/argp.h: Likewise.
20587 * assert/assert.h: Likewise.
20588 * bits/fenv.h: Likewise.
20589 * bits/sched.h: Likewise.
20590 * bits/sigset.h: Likewise.
20591 * bits/sigthread.h: Likewise.
20592 * catgets/nl_types.h: Likewise.
20593 * conform/data/pthread.h-data: Likewise.
20594 * crypt/crypt-private.h: Likewise.
20595 * crypt/crypt.h: Likewise.
20596 * crypt/crypt_util.c: Likewise.
20597 * ctype/ctype.h: Likewise.
20598 * debug/execinfo.h: Likewise.
20599 * debug/mbsnrtowcs_chk.c: Likewise.
20600 * debug/mbsrtowcs_chk.c: Likewise.
20601 * debug/wcsnrtombs_chk.c: Likewise.
20602 * debug/wcsrtombs_chk.c: Likewise.
20603 * debug/wcstombs_chk.c: Likewise.
20604 * dirent/dirent.h: Likewise.
20605 * dlfcn/dlfcn.h: Likewise.
20606 * elf/neededtest4.c: Likewise.
20607 * grp/grp.h: Likewise.
20608 * gshadow/gshadow.h: Likewise.
20609 * iconv/gconv.h: Likewise.
20610 * iconv/gconv_int.h: Likewise.
20611 * iconv/gconv_simple.c: Likewise.
20612 * iconv/iconv.h: Likewise.
20613 * iconv/loop.c: Likewise.
20614 * iconv/skeleton.c: Likewise.
20615 * include/aio.h: Likewise.
20616 * include/aliases.h: Likewise.
20617 * include/argz.h: Likewise.
20618 * include/arpa/inet.h: Likewise.
20619 * include/assert.h: Likewise.
20620 * include/dirent.h: Likewise.
20621 * include/dlfcn.h: Likewise.
20622 * include/execinfo.h: Likewise.
20623 * include/fcntl.h: Likewise.
20624 * include/fenv.h: Likewise.
20625 * include/glob.h: Likewise.
20626 * include/grp.h: Likewise.
20627 * include/libintl.h: Likewise.
20628 * include/mntent.h: Likewise.
20629 * include/netdb.h: Likewise.
20630 * include/pwd.h: Likewise.
20631 * include/rpc/netdb.h: Likewise.
20632 * include/sched.h: Likewise.
20633 * include/search.h: Likewise.
20634 * include/shadow.h: Likewise.
20635 * include/signal.h: Likewise.
20636 * include/stdio.h: Likewise.
20637 * include/stdlib.h: Likewise.
20638 * include/string.h: Likewise.
20639 * include/sys/socket.h: Likewise.
20640 * include/sys/stat.h: Likewise.
20641 * include/sys/statfs.h: Likewise.
20642 * include/sys/statvfs.h: Likewise.
20643 * include/sys/syslog.h: Likewise.
20644 * include/sys/time.h: Likewise.
20645 * include/sys/uio.h: Likewise.
20646 * include/time.h: Likewise.
20647 * include/unistd.h: Likewise.
20648 * include/utmp.h: Likewise.
20649 * include/wchar.h: Likewise.
20650 * include/wctype.h: Likewise.
20651 * inet/aliases.h: Likewise.
20652 * inet/arpa/inet.h: Likewise.
20653 * inet/netinet/ether.h: Likewise.
20654 * inet/netinet/in.h: Likewise.
20655 * intl/libintl.h: Likewise.
20656 * io/bits/fcntl2.h: Likewise.
20657 * io/fcntl.h: Likewise.
20658 * io/ftw.h: Likewise.
20659 * io/sys/poll.h: Likewise.
20660 * io/sys/stat.h: Likewise.
20661 * io/sys/statfs.h: Likewise.
20662 * io/sys/statvfs.h: Likewise.
20663 * io/utime.h: Likewise.
20664 * libio/bits/stdio.h: Likewise.
20665 * libio/bits/stdio2.h: Likewise.
20666 * libio/libio.h: Likewise.
20667 * libio/libioP.h: Likewise.
20668 * libio/stdio.h: Likewise.
20669 * locale/lc-ctype.c: Likewise.
20670 * locale/locale.h: Likewise.
20671 * login/utmp.h: Likewise.
20672 * malloc/arena.c: Likewise.
20673 * malloc/malloc.c: Likewise.
20674 * malloc/malloc.h: Likewise.
20675 * malloc/mcheck.c: Likewise.
20676 * malloc/mtrace.c: Likewise.
20677 * math/bits/mathcalls.h: Likewise.
20678 * math/fenv.h: Likewise.
20679 * math/math_private.h: Likewise.
20680 * misc/bits/error.h: Likewise.
20681 * misc/bits/syslog.h: Likewise.
20682 * misc/err.h: Likewise.
20683 * misc/error.h: Likewise.
20684 * misc/fstab.h: Likewise.
20685 * misc/mntent.h: Likewise.
20686 * misc/regexp.h: Likewise.
20687 * misc/search.h: Likewise.
20688 * misc/sgtty.h: Likewise.
20689 * misc/sys/mman.h: Likewise.
20690 * misc/sys/syslog.h: Likewise.
20691 * misc/sys/uio.h: Likewise.
20692 * misc/sys/xattr.h: Likewise.
20693 * misc/ttyent.h: Likewise.
20694 * nis/rpcsvc/ypclnt.h: Likewise.
20695 * nss/nss.h: Likewise.
20696 * posix/bits/unistd.h: Likewise.
20697 * posix/fnmatch.h: Likewise.
20698 * posix/glob.h: Likewise.
20699 * posix/sched.h: Likewise.
20700 * posix/spawn.h: Likewise.
20701 * posix/sys/wait.h: Likewise.
20702 * posix/unistd.h: Likewise.
20703 * posix/wordexp.h: Likewise.
20704 * pwd/pwd.h: Likewise.
20705 * resolv/netdb.h: Likewise.
20706 * resource/sys/resource.h: Likewise.
20707 * rt/aio.h: Likewise.
20708 * rt/bits/mqueue2.h: Likewise.
20709 * rt/mqueue.h: Likewise.
20710 * shadow/shadow.h: Likewise.
20711 * signal/signal.h: Likewise.
20712 * socket/send.c: Likewise.
20713 * socket/sendto.c: Likewise.
20714 * socket/sys/socket.h: Likewise.
20715 * stdio-common/printf.h: Likewise.
20716 * stdlib/bits/stdlib.h: Likewise.
20717 * stdlib/fmtmsg.h: Likewise.
20718 * stdlib/monetary.h: Likewise.
20719 * stdlib/stdlib.h: Likewise.
20720 * stdlib/ucontext.h: Likewise.
20721 * streams/stropts.h: Likewise.
20722 * string/argz.h: Likewise.
20723 * string/bits/string2.h: Likewise.
20724 * string/string.h: Likewise.
20725 * string/strings.h: Likewise.
20726 * sunrpc/rpc/auth.h: Likewise.
20727 * sunrpc/rpc/auth_des.h: Likewise.
20728 * sunrpc/rpc/clnt.h: Likewise.
20729 * sunrpc/rpc/netdb.h: Likewise.
20730 * sunrpc/rpc/pmap_clnt.h: Likewise.
20731 * sunrpc/rpc/xdr.h: Likewise.
20732 * sysdeps/generic/inttypes.h: Likewise.
20733 * sysdeps/generic/net/if.h: Likewise.
20734 * sysdeps/generic/sys/swap.h: Likewise.
20735 * sysdeps/gnu/net/if.h: Likewise.
20736 * sysdeps/gnu/utmpx.h: Likewise.
20737 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20738 * sysdeps/i386/i486/bits/string.h: Likewise.
20739 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20740 * sysdeps/s390/bits/string.h: Likewise.
20741 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20742 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20743 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20744 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20745 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20746 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20747 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20748 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20749 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20750 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20751 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20752 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20753 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20754 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20755 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20756 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20757 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20758 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20759 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20760 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20761 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20762 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20763 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20764 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20765 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20766 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20767 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20768 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20769 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20770 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20771 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20772 * sysvipc/sys/ipc.h: Likewise.
20773 * sysvipc/sys/msg.h: Likewise.
20774 * sysvipc/sys/sem.h: Likewise.
20775 * sysvipc/sys/shm.h: Likewise.
20776 * termios/termios.h: Likewise.
20777 * time/sys/time.h: Likewise.
20778 * time/time.h: Likewise.
20779 * wcsmbs/bits/wchar2.h: Likewise.
20780 * wcsmbs/uchar.h: Likewise.
20781 * wcsmbs/wchar.h: Likewise.
20782 * wctype/wctype.h: Likewise.
20783
0269750c
UD
20784 [BZ #13551]
20785 * Makeconfig: Remove all but ELF support including AIX support.
20786 * Makerules: Likewise.
20787 * config.h.in: Likewise.
20788 * config.make.in: Likewise.
20789 * configure: Likewise.
20790 * configure.in: Likewise.
20791 * csu/Makefile: Likewise.
20792 * csu/version.c: Likewise.
20793 * debug/Makefile: Likewise.
20794 * dlfcn/Makefile: Likewise.
20795 * elf/Makefile: Likewise.
20796 * extra-lib.mk: Likewise.
20797 * iconv/Makefile: Likewise.
20798 * include/libc-symbols.h: Likewise.
20799 * include/shlib-compat.h: Likewise.
20800 * resolv/Makefile: Likewise.
20801 * resolv/res_libc.c: Likewise.
20802 * rt/Makefile: Likewise.
20803 * sysdeps/i386/asm-syntax.h: Likewise.
20804 * sysdeps/i386/sysdep.h: Likewise.
20805 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20806 * sysdeps/mach/sysdep.h: Likewise.
20807 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20808 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20809 * sysdeps/s390/asm-syntax.h: Likewise.
20810 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20811 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20812 * sysdeps/sh/sysdep.h: Likewise.
20813 * sysdeps/unix/sparc/sysdep.h: Likewise.
20814 * sysdeps/wordsize-32/divdi3.c: Likewise.
20815 * sysdeps/x86_64/sysdep.h: Likewise.
20816
00bbd29b
UD
20817 * argp/Versions: Remove _argp_unlock_xxx.
20818
20819 [BZ #13559]
20820 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20821 * abilist/libBrokenLocale.abilist: Likewise.
20822 * abilist/libanl.abilist: Likewise.
20823 * abilist/libc.abilist: Likewise.
20824 * abilist/libcrypt.abilist: Likewise.
20825 * abilist/libdl.abilist: Likewise.
20826 * abilist/libm.abilist: Likewise.
20827 * abilist/libnsl.abilist: Likewise.
20828 * abilist/libpthread.abilist: Likewise.
20829 * abilist/libresolv.abilist: Likewise.
20830 * abilist/librt.abilist: Likewise.
20831 * abilist/libthread_db.abilist: Likewise.
20832 * abilist/libutil.abilist: Likewise.
20833 * abilist/libnss_db.abilist: New file.
20834
20835 * scripts/abilist.awk: Add support for indirect functions.
20836
a2693a0e
UD
20837 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20838
3f05895f
UD
20839 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20840
ecb6fb48
UD
20841 * shlib-versions: Remove entries for ports architectures.
20842
664f8cb9
UD
20843 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20844 files in ports.
20845 * elf/stackguard-macros.h: Remove support for IA-64.
20846 * elf/tst-auditmod1.c: Likewise.
20847 * sysdeps/generic/ldsodefs.h: Likewise.
20848
7ae81d88
UD
20849 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20850 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20851 configure files.
20852
bdeba135
UD
20853 [BZ #13552]
20854 * configure.in: Remove --enable-omitfp support.
20855 * FAQ.in: Adjust.
20856 * config.make.in: Likewise.
20857 * Makeconfig: Likewise.
20858 * manual/install.texi: Likewise.
20859
d75a0a62
UD
20860 In case anyone cares, the IA-64 architecture could move to ports.
20861 * sysdeps/ia64/*: Removed.
20862 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20863 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20864
dcc9756b
UD
20865 [BZ #13555]
20866 * configure.in: Remove entries for unsupported architectures.
20867
d3761ebc 20868 [BZ #13533]
9954432e
UD
20869 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20870 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20871 routines.
20872 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20873 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20874 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20875 fall back to using wcrtomb.
20876 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20877 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20878 renaming.
20879 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20880 * wcsmbs/tst-c16c32-1.c: New file.
20881
20882 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20883 local variable.
20884
c3a87236
UD
20885 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20886
28926a1b
UD
20887 * elf/tst-unique3.cc: Add explicit declaration of gets.
20888 * elf/tst-unique3lib.cc: Likewise.
20889 * elf/tst-unique3lib2.cc: Likewise.
20890 * elf/tst-unique4.cc: Likewise.
20891
df78418a
UD
20892 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20893
8ecd6b2a
JM
208942012-01-06 Joseph Myers <joseph@codesourcery.com>
20895
20896 [BZ #13566]
20897 * assert/assert.h (static_assert): Don't define for C++.
20898 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20899 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20900
9f115170
UD
209012012-01-03 Ulrich Drepper <drepper@gmail.com>
20902
5e0d0300
UD
20903 * iconv/loop.c (single loop): Fix assertion in storing of
20904 remaining bytes.
20905
9f115170
UD
20906 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20907
81fb02b0
UD
209082012-01-01 Ulrich Drepper <drepper@gmail.com>
20909
20910 * posix/getconf.c: Update copyright year.
20911 * nss/getent.c: Likewise.
a316c1f6 20912 * nss/makedb.c: Likewise.
81fb02b0
UD
20913 * iconv/iconvconfig.c: Likewise.
20914 * iconv/iconv_prog.c: Likewise.
20915 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20916 * elf/pldd.c: Likewise.
20917 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20918 * catgets/gencat.c: Likewise.
20919 * csu/version.c: Likewise.
20920 * elf/ldd.bash.in: Likewise.
20921 * elf/sprof.c (print_version): Likewise.
20922 * locale/programs/locale.c: Likewise.
20923 * locale/programs/localedef.c: Likewise.
a316c1f6 20924 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20925 * nscd/nscd.c (print_version): Likewise.
20926 * debug/xtrace.sh: Likewise.
20927 * malloc/memusage.sh: Likewise.
20928 * malloc/mtrace.pl: Likewise.
20929 * debug/catchsegv.sh: Likewise.
20930
2ba92745
JJ
209312011-12-30 Jakub Jelinek <jakub@redhat.com>
20932
20933 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20934 pure attribute.
20935
dadebdae
UD
209362011-12-24 Ulrich Drepper <drepper@gmail.com>
20937
d3761ebc 20938 [BZ #13533]
db6af3eb
UD
20939 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20940 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20941 transformations.
20942 * iconv/gconv_int.h: Likewise.
20943 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20944 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20945 from libc for GLIBC_2.16.
20946 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20947 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20948 * wcsmbs/uchar.h: Really define mbstate_t.
20949 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20950 * wcsmbs/c16rtomb.c: New file.
20951 * wcsmbs/mbrtoc16.c: New file.
20952 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20953 for C/POSIX locale.
20954 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20955 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20956
dadebdae
UD
20957 * wcsmbs/wchar.h: Add missing __restrict.
20958
67371b56
UD
209592011-12-23 Ulrich Drepper <drepper@gmail.com>
20960
74033a25
UD
20961 [BZ #13532]
20962 * time/Makefile (routines): Add timespec_get.
20963 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20964 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20965 timespec for ISO C11.
20966 * time/timespec_get.c: New file.
20967 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20968 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20969
380d7e87
UD
20970 [BZ #13531]
20971 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20972 * stdlib/stdlib.h: Declare aligned_alloc.
20973 * Versions.def: Add GLIBC_2.16 for libc.
20974 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20975
4e9e7a35
UD
20976 [BZ 13527]
20977 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20978 ISO C11.
20979
380d7e87 20980 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20981 code.
20982
03a71829
UD
20983 [BZ #13528]
20984 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20985
839e283e
UD
20986 [BZ #13529]
20987 * assert/assert.h (static_assert): Define.
20988
ce5294e2 20989 * version.h: Update for 2.16 development version.
90fa7312 20990
8d44e150 20991 [BZ #13526]
d7809905
UD
20992 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20993 _ISOC11_SOURCE.
20994
c0da14cd
UD
20995 * version.h (RELEASE): Bump for 2.15 release.
20996 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20997
530a3249
MP
20998 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20999 Patch by Marek Polacek <mpolacek@redhat.com>.
21000
67371b56
UD
21001 * bits/byteswap.h: Protect long long constants with __extension__.
21002 * sysdeps/i386/bits/byteswap.h: Likewise.
21003 * sysdeps/ia64/bits/byteswap.h: Likewise.
21004 * sysdeps/s390/bits/byteswap.h: Likewise.
21005 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21006
15db4de1
LD
210072011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21008
21009 [BZ #13540]
bbe315ea
LD
21010 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21011 destination buffer.
15db4de1
LD
21012 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21013
2b2596b1
MP
210142011-12-23 Marek Polacek <polacek@redhat.com>
21015
21016 * elf/dl-addr.c (determine_info): Add inline keyword.
21017 * elf/tst-auditmod4b.c (check_avx): Likewise.
21018 * elf/tst-auditmod6b.c (check_avx): Likewise.
21019 * elf/tst-auditmod6c.c (check_avx): Likewise.
21020 * elf/tst-auditmod7b.c (check_avx): Likewise.
21021
70c6c246
UD
210222011-12-23 Ulrich Drepper <drepper@gmail.com>
21023
21024 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21025 !__SSE_MATH__.
21026
c044cf14
LD
210272011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21028
15db4de1 21029 [BZ #13540]
c044cf14
LD
21030 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21031 processing for last bytes.
21032
6b13d9d9
BH
210332011-08-06 Bruno Haible <bruno@clisp.org>
21034
d455f537
BH
21035 [BZ #13061]
21036 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21037 U+0385, not to U+1FEE.
21038
6b13d9d9
BH
21039 [BZ #13062]
21040 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21041 entry for U+00A5 U+0301.
21042
db910efd
UD
210432011-12-22 Ulrich Drepper <drepper@gmail.com>
21044
27deeafc
UD
21045 [BZ #13166]
21046 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21047 buffer for the output is too small.
21048
aed9d171
UD
21049 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21050 optimization.
21051
db910efd
UD
21052 [BZ #13185]
21053 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21054 SSE flags if possible.
21055
2bd779ae
LD
210562011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21057
e7f9dac3 21058 [BZ #13540]
2bd779ae
LD
21059 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21060 processing for last bytes.
21061
154bfc16
JM
210622011-12-22 Joseph Myers <joseph@codesourcery.com>
21063
21064 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21065 (syscall-list-default-options, syscall-list-default-condition)
21066 (syscall-list-includes): Define.
21067 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21068 list of ABIs and options and #if conditions for each ABI. Do not
21069 handle common syscalls between ABIs specially.
21070 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21071 Remove.
21072 (syscall-list-variants, syscall-list-32bit-options)
21073 (syscall-list-32bit-condition, syscall-list-64bit-options)
21074 (syscall-list-64bit-condition): Define.
21075 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21076 (syscall-list-variants, syscall-list-32bit-options)
21077 (syscall-list-32bit-condition, syscall-list-64bit-options)
21078 (syscall-list-64bit-condition): Define.
21079 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21080 Remove.
21081 (syscall-list-variants, syscall-list-32bit-options)
21082 (syscall-list-32bit-condition, syscall-list-64bit-options)
21083 (syscall-list-64bit-condition): Define.
21084 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21085 Remove.
21086 (syscall-list-variants, syscall-list-32bit-options)
21087 (syscall-list-32bit-condition, syscall-list-64bit-options)
21088 (syscall-list-64bit-condition): Define.
21089
21eaf3a5
UD
210902011-12-22 Ulrich Drepper <drepper@gmail.com>
21091
16c6f992
UD
21092 * locale/iso-639.def: Add brx entry.
21093
41043168
UD
21094 [BZ #13328]
21095 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21096 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21097
21eaf3a5
UD
21098 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21099 __feraiseexcept_renamed.
21100
e3a851a2
UD
211012011-12-21 Ulrich Drepper <drepper@gmail.com>
21102
4920765e
UD
21103 [BZ #13538]
21104 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21105 EPOLLET with unsigned values.
21106 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21107 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21108
e3a851a2
UD
21109 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21110 to large cancellation.
21111 * math/s_cacoshf.c: Likewise.
21112 * math/s_cacoshl.c: Likewise.
21113
b27e24b8
RK
211142011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21115
21116 [BZ #13305]
aebefeee 21117 [BZ #12786]
b27e24b8
RK
21118 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21119 * math/s_cacoshf.c: Likewise.
21120 * math/s_cacoshl.c: Likewise.
21121
ee190f67
UD
211222011-12-21 Ulrich Drepper <drepper@gmail.com>
21123
21124 [BZ #13439]
21125 * iconv/gconv.h: Define __GCONV_SWAP.
21126 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21127 * iconvdata/utf-16.c: Likewise.
21128 * iconvdata/utf-32.c: Likewise.
21129
707f25df
AS
211302011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21131
21132 [BZ #13524]
21133 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21134 numerator after shifting it by one limb.
21135
d2daaa1e
RÁE
211362011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21137
21138 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21139 under [__USE_EXTERN_INLINES].
21140
a4647e72
UD
211412011-12-17 Ulrich Drepper <drepper@gmail.com>
21142
21143 [BZ #13446]
21144 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21145
f0b264f1
AZ
211462011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21147
21148 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21149 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21150 optimized code.
21151 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21152 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21153 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21154 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21155 for strncasecmp/strncasecmp_l compilation.
21156 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21157 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21158
8ef4f244
MP
211592011-12-08 Marek Polacek <mpolacek@redhat.com>
21160
21161 [BZ #13484]
21162 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21163 of __asm__.
21164
97ac2654
UD
211652011-12-17 Ulrich Drepper <drepper@gmail.com>
21166
21167 [BZ #13506]
21168 * time/tzfile.c (__tzfile_read): Check values from file header.
21169
91d2a845
WS
211702011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21171
21172 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21173 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21174 * powerpc/powerpc32/dl-start.S: Likewise.
21175 * powerpc/powerpc32/elf/start.S: Likewise.
21176 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21177 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21178 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21179 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21180 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21181 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21182 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21183 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21184 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21185 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21186 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21187 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21188 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21189 * powerpc/powerpc32/memset.S: Likewise.
21190 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21191 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21192 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21193 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21194 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21195 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21196 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21197 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21198 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21199 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21200 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21201 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21202 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21203
a1267ba1
AZ
212042011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21205
21206 * math/libm-test.inc: Added more nearbyint tests.
21207 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21208 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21209 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21210 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21211
ad8ac1bd
RL
212122011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21213
21214 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21215 FD_CLOEXEC.
21216
1d3e4b61
UD
212172011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21218
21219 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21220 Add wcscpy-ssse3 wcscpy-c.
21221 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21222 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21223 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21224 * sysdeps/x86_64/wcschr.S: New file.
21225 * sysdeps/x86_64/wcsrchr.S: New file.
21226 * string/test-strcmp.c: Remove checking of wcscmp function for
21227 wrong alignments.
21228 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21229 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21230 wcsrchr-sse2 wcsrchr-c.
21231 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21232 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21233 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21234 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21235 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21236 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21237 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21238 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21239 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21240 * wcsmbc/wcschr.c (WCSCHR): New macro.
21241
5b330a2d
UD
212422011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21243
21244 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21245 * wcsmbs/test-wcsrchr.c: New file.
21246 * string/test-strrchr.c: Add wcsrchr support.
21247 (WIDE): New macro.
21248 * wcsmbs/test-wcscpy.c: New file.
21249 * string/test-strcpy.c: Add wcscpy support.
21250 (WIDE): New macro.
26428b7c 21251
f039c043
UD
212522011-12-10 Ulrich Drepper <drepper@gmail.com>
21253
21254 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21255 the inner loop.
21256
850fb039
AS
212572011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21258
21259 [BZ #13472]
21260 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21261
4efbd5cb
UD
212622011-12-04 Ulrich Drepper <drepper@gmail.com>
21263
52ff5dd0 21264 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21265 Minor optimizations.
52ff5dd0 21266
4efbd5cb
UD
21267 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21268 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21269 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21270
8a426e12
UD
212712011-12-03 Ulrich Drepper <drepper@gmail.com>
21272
aff2453d
UD
21273 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21274 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21275 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21276 for gcc to avoid warnings.
21277 * inet/Makefile (tests): Add tst-checks.
21278 * inet/tst-checks.c: New file.
21279
21280 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21281 warning.
21282
21283 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21284 __wmemcmp_sse2.
21285
21286 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21287 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21288
8a426e12
UD
21289 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21290
9bea3473
UD
212912011-12-02 Ulrich Drepper <drepper@gmail.com>
21292
3a965496
UD
21293 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21294 problem.
21295
9bea3473
UD
21296 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21297
f101631b
UD
212982011-11-29 Joseph Myers <joseph@codesourcery.com>
21299
21300 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21301 conditional on GCC version.
21302 (__arch_compare_and_exchange_val_8_acq)
21303 (__arch_compare_and_exchange_val_16_acq)
21304 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21305 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21306 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21307
a98275aa
UD
213082011-12-02 Joseph Myers <joseph@codesourcery.com>
21309
21310 * sysdeps/sh/backtrace.c: New file.
21311
d4cc29a2
AS
213122011-12-02 Andreas Schwab <schwab@redhat.com>
21313
21314 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21315 parenthesis.
21316
6257af2d
AS
213172011-12-01 Andreas Schwab <schwab@redhat.com>
21318
21319 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21320 falling back to utime.
21321
b5f44c1a
AS
213222011-11-30 Andreas Schwab <schwab@redhat.com>
21323
21324 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21325 expectations for float.
21326
f3a6cc0a
AS
213272011-11-29 Andreas Schwab <schwab@redhat.com>
21328
21329 * locale/weight.h (findidx): Add parameter len.
21330 * locale/weightwc.h (findidx): Likewise.
21331 * posix/fnmatch_loop.c (FCT): Adjust caller.
21332 * posix/regcomp.c (build_equiv_class): Likewise.
21333 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21334 * posix/regexec.c (check_node_accept_bytes): Likewise.
21335 * string/strcoll_l.c (STRCOLL): Likewise.
21336 * string/strxfrm_l.c (STRXFRM): Likewise.
21337
9d65ea3a
UD
213382011-11-17 Ulrich Drepper <drepper@gmail.com>
21339
21340 * Makefile.in: Remove CVSOPT handling.
21341 * configure.in: Remove use of AC_REVISION.
21342 * iconvdata/Makefile (distribute): No need to filter out CVS.
21343 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21344 handling.
21345
5583a086
AS
213462011-11-16 Andreas Schwab <schwab@redhat.com>
21347
21348 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21349 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21350 [USE_AS_STRNCASECMP_L]: Likewise.
21351 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21352 NO_TLS_DIRECT_SEG_REFS.
21353 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21354 Fix argument offsets for non-PIC.
21355 [USE_AS_STRNCASECMP_L]: Likewise.
21356 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21357 NO_TLS_DIRECT_SEG_REFS.
21358
d62a8200
UD
213592011-11-15 Ulrich Drepper <drepper@gmail.com>
21360
9d65ea3a 21361 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21362 O_CLOEXEC.
21363 * locale/loadlocale.c (_nl_load_locale): Likewise.
21364
09f93bd3
AS
213652011-11-15 Andreas Schwab <schwab@redhat.com>
21366
446514f9
AS
21367 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21368 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21369 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21370 (SYSCALL_GETTIME): Set errno on error.
21371
09f93bd3
AS
21372 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21373 count references to noai6ai_cached.
21374
312be3f9
UD
213752011-11-15 Ulrich Drepper <drepper@gmail.com>
21376
21377 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21378
21379 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21380 FD_CLOEXEC for /proc/self/maps.
21381
21382 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21383 FD_CLOEXEC for /proc/meminfo.
21384
21385 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21386 gai.conf.
21387
21388 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21389 FD_CLOEXEC for given file.
21390
21391 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21392
21393 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21394 FD_CLOEXEC for /etc/hosts.
21395 (_gethtent): Likewise.
21396
21397 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21398
21399 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21400 cancellation and set FD_CLOEXEC for /etc/netgroup.
21401
21402 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21403 reading /etc/publickey.
21404
21405 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21406 allow cancellation when reading /etc/group.
21407
21408 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21409 cancellation.
21410 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21411
21412 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21413 when using data file.
21414
21415 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21416
21417 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21418 (write_nis_obj): Use "c" and "e" in fopen.
21419
21420 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21421
21422 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21423
21424 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21425
21426 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21427
21428 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21429 locale.alias.
21430
21431 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21432
21433 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21434
21435 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21436
21437 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21438 file parsing and set FD_CLOEXEC.
21439
82af0fa8
UD
214402011-11-14 Ulrich Drepper <drepper@gmail.com>
21441
21442 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21443
a5fb313c
AS
214442011-11-14 Andreas Schwab <schwab@redhat.com>
21445
21446 * malloc/arena.c (arena_get2): Don't call reused_arena when
21447 _int_new_arena failed.
21448
6abf3465
UD
214492011-11-14 Ulrich Drepper <drepper@gmail.com>
21450
21451 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21452 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21453 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21454 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21455 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21456 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21457 to compile strcasecmp and strncasecmp.
21458 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21459 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21460
21461 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21462
76e3966e
UD
214632011-11-13 Ulrich Drepper <drepper@gmail.com>
21464
21465 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21466 locale-defines.sym to gen-as-const-headers.
21467 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21468 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21469 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21470 to compile strcasecmp and strncasecmp.
21471 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21472 strcasecmp_l and strncasecmp_l.
21473 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21474 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21475 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21476 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21477 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21478 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21479 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21480 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21481 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21482 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21483 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21484
ab26144e
UD
214852011-11-12 Ulrich Drepper <drepper@gmail.com>
21486
7edb22ef
UD
21487 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21488 result of SYSDEP_GETTIME_CPU to retval.
21489 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21490 parameter list to macro. Remove trailing semicolon. Adjust users.
21491
9694fc44
UD
21492 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21493 variable.
21494
8ad89ef8
UD
21495 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21496 mantissa words.
21497 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21498
0c822ef9
UD
21499 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21500 from unused variable.
21501
874e0564
UD
21502 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21503 DWARF definitions.
21504 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21505 for assembling.
21506
3a2edc79
UD
21507 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21508 over namespaces.
21509
f3c2577f
UD
21510 * sunrpc/rpc_prot.c (rejected): Fix case value.
21511
294ce126
UD
21512 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21513 unsigned long long int to avoid warnings in shift.
21514
5e2b63c6
UD
21515 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21516 of use of trans.
21517 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21518 variable tmp.
21519
e7f4b08e
UD
21520 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21521 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21522 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21523
ab26144e
UD
21524 * nis/nis_table.c (nis_list): Use variable of correct type for
21525 result of __follow_path call.
21526
8a6d5255
AZ
215272011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21528
21529 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21530 of math functions ceil, trunc, floor, round, and sqrt, when
21531 avaliable on the platform.
21532 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21533 name clash.
21534 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21535 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21536 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21537
aaddc98c
MP
215382011-10-30 Marek Polacek <mpolacek@redhat.com>
21539
21540 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21541 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21542
95b7042b
RM
215432011-11-11 Roland McGrath <roland@hack.frob.com>
21544
21545 * include/unistd.h: Fix __readlink return type.
21546 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21547
57769839
UD
215482011-11-11 Ulrich Drepper <drepper@gmail.com>
21549
21550 * stdlib/ucontext.h: Undo last change for makecontext.
21551
edc5984d
AS
215522011-11-11 Andreas Schwab <schwab@redhat.com>
21553
98591e58
AS
21554 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21555
edc5984d
AS
21556 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21557 * setjmp/setjmp.h: Mark functions as non-leaf.
21558 * setjmp/bits/setjmp2.h: Likewise.
21559 * stdlib/ucontext.h: Likewise.
21560
77cdc054
AS
215612011-11-10 Andreas Schwab <schwab@redhat.com>
21562
21563 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21564 (reused_arena): Don't check arena limit.
21565 (arena_get2): Atomically check arena limit.
21566
fe72eebd
UD
215672011-11-08 Ulrich Drepper <drepper@gmail.com>
21568
5f078c32
UD
21569 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21570 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21571
fe72eebd
UD
21572 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21573 instructions.
21574
ae1bc2fa
AS
215752011-11-07 Andreas Schwab <schwab@redhat.com>
21576
7583a88d
AS
21577 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21578 handler when locking.
21579
ae1bc2fa
AS
21580 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21581 Fix size of allocated buffer.
21582
10fb0bfa
AS
215832011-11-04 Andreas Schwab <schwab@redhat.com>
21584
998832a4
AS
21585 [BZ #10103]
21586 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21587 declarations for long double functions.
21588 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21589
10fb0bfa
AS
21590 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21591
3d7ba52b
AS
215922011-11-03 Andreas Schwab <schwab@redhat.com>
21593
a9ae54a1
AS
21594 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21595 installed.
21596
3d7ba52b
AS
21597 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21598 is disabled.
21599
bc8db248
ST
216002011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21601
21602 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21603
45b96dd6
AS
216042011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21605
647776f6
AS
21606 * include/alloca.h (stackinfo_alloca_round): Define.
21607 (extend_alloca): Use it.
21608 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21609 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21610 here.
21611
d91a8b93
AS
21612 * scripts/check-local-headers.sh: Ignore libaudit.h.
21613
45b96dd6
AS
21614 * nscd/Makefile (extra-objs): Make recursively expanded.
21615
432d41ce
UD
216162011-11-01 Ulrich Drepper <drepper@gmail.com>
21617
34372fc6
UD
21618 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21619 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21620
fadb59f8
UD
21621 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21622 * posix/tst-rfc3484-2.c: Likewise.
21623 * posix/tst-rfc3484-3.c: Likewise.
21624
78239589
UD
21625 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21626 process_vm_writev.
21627 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21628 process_vm_writev.
21629 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21630 process_vm_writev from libc using GLIBC_2.15 version.
21631
432d41ce
UD
21632 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21633
02f9c6cf
PP
216342011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21635
21636 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21637 stack usage.
21638
3a2c0242
UD
216392011-10-31 Ulrich Drepper <drepper@gmail.com>
21640
f4ec4833
UD
21641 [BZ #13367]
21642 * nss/getent.c (initgroups_keys): Show error message in case no group
21643 names are given.
21644
3a2c0242
UD
21645 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21646 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21647 __bump_nl_timestamp.
21648 * nscd/connections (nscd_init): When host database is served open
21649 netlink socket and request notification about configuration changes.
21650 (main_loop_poll): Track netlink file descriptor and bump timestamp
21651 in case data becomes available.
21652 (main_loop_epoll): Likewise.
21653 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21654 (database_pers_head): Add extra_data fileds.
21655 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21656 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21657 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21658 Adjust caller.
21659 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21660 in6ai data, call __free_in6ai.
21661 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21662 Add -DHAVE_NETLINK.
21663 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21664 interface information. Reuse previous data if netlink timestamp
21665 is not changed.
21666 (__bump_nl_timestamp): New function.
21667 (__free_in6ai): New function.
21668
636064eb
UD
216692011-10-30 Ulrich Drepper <drepper@gmail.com>
21670
21671 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21672 close_not_cancel_no_status here.
21673 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21674
9beb2334
UD
216752011-10-29 Ulrich Drepper <drepper@gmail.com>
21676
6ef76f3b
UD
21677 [BZ #13276]
21678 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21679 return value.
21680
0ffc4f3e 21681 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21682 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21683 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21684
cb95113e
UD
216852011-07-03 Andreas Jaeger <aj@suse.de>
21686
21687 [BZ #10709]
21688 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21689 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21690 * math/libm-test.inc (sin_test): Add test case.
21691
a1b560ff
UD
216922011-10-29 Ulrich Drepper <drepper@gmail.com>
21693
c9aaface
UD
21694 [BZ #13337]
21695 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21696 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21697
d272e7f1
UD
21698 * elf/chroot_canon.c (chroot_canon): Cleanups.
21699
1bc33071
UD
21700 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21701
1760874d
TJ
21702 [BZ #13335]
21703 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21704 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21705
51d91b18
UD
21706 * string/test-strchr.c: Make usable for strchrnul testing.
21707 * string/test-strchrnul.c: New file.
21708 * string/Makefile (strop-tests): Add strchrnul.
21709
a1b560ff 21710 * po/it.po: Update from translation team.
b611fb81 21711 * po/es.po: Likewise.
a1b560ff 21712
a5b81e1f
UD
217132011-10-28 Ulrich Drepper <drepper@gmail.com>
21714
fd52bc6d
UD
21715 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21716 the three constants needed as parameters. Drop the others.
21717 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21718 __m128i_strloadu_tolower.
52e4b9eb
UD
21719 Create and initialize variable zero and use it in all the places
21720 where _mm_setzero_si128 was used.
fd52bc6d 21721
a5b81e1f
UD
21722 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21723 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21724 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21725 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21726 anymore.
21727 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21728 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21729 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21730 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21731 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21732 __mpranred, __mptan.
21733 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21734 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21735 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21736 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21737 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21738 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21739 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21740 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21741 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21742
b4343346
AS
217432011-10-28 Andreas Schwab <schwab@redhat.com>
21744
0c92d8a8
AS
21745 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21746 redefine if SHARED.
21747 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21748
b4343346
AS
21749 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21750 wide char related routines to wcsmbs subdir.
21751
3871f58f
AS
217522011-10-27 Andreas Schwab <schwab@redhat.com>
21753
21754 [BZ #13344]
21755 * misc/sys/cdefs.h (__THROWNL): Define.
21756 * posix/unistd.h: Use __THREADNL instead of __THREAD
21757 for memory synchronization functions.
21758
94d44d9f
RM
217592011-10-26 Roland McGrath <roland@hack.frob.com>
21760
21b64b15 21761 [BZ #13349]
94d44d9f
RM
21762 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21763 doesn't exist.
21764 * manual/stdio.texi (Obstack Streams): Node removed.
21765
f6ce9294
AS
217662011-10-26 Andreas Schwab <schwab@redhat.com>
21767
80479147
AS
21768 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21769 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21770 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21771
f6ce9294
AS
21772 * math/math_private.h (math_force_eval): Allow non-addressable
21773 arguments.
21774 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21775
618280a1
UD
217762011-10-25 Ulrich Drepper <drepper@gmail.com>
21777
e0016b11
UD
21778 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21779 file is not needed.
21780
21781 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21782 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21783 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21784 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21785 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21786 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21787 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21788 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21789 Add AVX variants.
21790 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21791 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21792 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21793 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21794 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21795 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21796 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21797 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21798 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21799 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21800 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21801 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21802 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21803 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21804 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21805 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21806 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21807 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21808 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21809
21810 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21811 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21812
618280a1
UD
21813 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21814 place. Use VEX encoding when compiling for AVX.
21815
37822576
AS
218162011-10-25 Andreas Schwab <schwab@redhat.com>
21817
1f1e1947
AS
21818 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21819 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21820
37822576
AS
21821 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21822
31ea014d
UD
218232011-10-25 Ulrich Drepper <drepper@gmail.com>
21824
d7826aa1 21825 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21826 useless if() expression.
d7826aa1
UD
21827 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21828 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21829 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21830 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21831 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21832 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21833 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21834 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21835 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21836 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21837 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21838 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21839 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21840 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21841 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21842 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21843 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21844 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21845 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21846
31ea014d
UD
21847 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21848
16437fec
AS
218492011-10-25 Andreas Schwab <schwab@redhat.com>
21850
21851 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21852 condition.
21853 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21854
31d3cc00
UD
218552011-10-25 Ulrich Drepper <drepper@gmail.com>
21856
21857 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21858 .text section. Avoid duplicate constants.
21859 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21860 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21861 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21862 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21863 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21864 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21865 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21866 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21867 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21868 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21869 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21870 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21871 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21872 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21873 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21874 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21875 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21876 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21877 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21878 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21879 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21880 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21881 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21882 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21883 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21884 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21885 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21886 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21887 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21888 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21889 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21890 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21891 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21892 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21893 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21894 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21895 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21896 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21897 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21898 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21899 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21900 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21901 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21902 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21903 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21904
58985aa9
UD
219052011-10-24 Ulrich Drepper <drepper@gmail.com>
21906
202c9deb
UD
21907 * sysdeps/x86_64/dla.h: Move to ...
21908 * sysdeps/x86_64/fpu/dla.h: ...here.
21909 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21910 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21911
af968f62
UD
21912 * config.make.in: Add have-mfma4 entry.
21913 * configure.in: Substitute libc_cv_cc_fma4.
21914 * math/Makefile (dbl-only-routines): Add sincostab.
21915 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21916 Use __sincostab not sincos.
21917 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21918 name is a macro.
21919 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21920 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21921 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21922 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21923 using __copysign.
21924 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21925 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21926 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21927 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21928 and __inv.
21929 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21930 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21931 __copysign.
21932 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21933 define aliases when function name is a macro.
21934 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21935 sysdeps/ieee754/dbl-64/sincos.tbl.
21936 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21937 fma4-enabled routines.
21938 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21939 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21940 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21941 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21942 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21943 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21944 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21945 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21946 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21947 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21948 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21949 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21950 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21951 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21952 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21953 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21954 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21955 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21956 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21957 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21958 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21959 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21960 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21961 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21962 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21963 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21964 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21965 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21966 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21967 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21968
58985aa9
UD
21969 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21970 rename.
21971 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21972 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21973 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21974 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21975 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21976 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21977 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21978 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21979
a201fbcf
AS
219802011-10-24 Andreas Schwab <schwab@redhat.com>
21981
21982 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21983
fc2ee42a
LD
219842011-10-23 Ulrich Drepper <drepper@gmail.com>
21985
bb3129bd
UD
21986 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21987
0275fff8
UD
21988 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21989 prediction.
21990 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21991
2fa2ae85
UD
21992 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21993 Remove unused variable magic_bits.
21994 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21995
fc2ee42a
LD
21996 * string/strnlen.c: Define and use STRNLEN macro.
21997 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21998 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21999 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22000 * wcsmbs/wcslen.c: Define and use WCSLEN.
22001 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22002 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22003 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22004 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22005 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22006 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22007 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22008
ce7dd29f
LD
220092011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22010
22011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22012 strnlen-sse2-no-bsf.
22013 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22014 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22015 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22016 Add strnlen support.
22017 (USE_AS_STRNLEN): New macro.
22018 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22019 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22020 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22021 * sysdeps/x86_64/wcslen.S: New file.
22022
979c70a3
MZ
220232011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22024
22025 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22026 XMM-moves are used for copying on small sizes.
22027
2d09f82f
LD
220282011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22029
22030 * wcsmbs/Makefile (strop-tests): Add wcschr.
22031 * wcsmbs/test-wcschr.c: New file.
22032 * string/test-strchr.c: Update.
22033 Add wcschr support.
22034 (WIDE): New macro.
22035
619fccca
LD
220362011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22037
2d09f82f 22038 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22039 * wcsmbs/test-wcslen.c: New file.
22040 * string/test-strlen.c: Update.
22041 Add wcslen support.
22042 (WIDE): New macro.
22043
09f699ea
UD
220442011-10-23 Ulrich Drepper <drepper@gmail.com>
22045
22046 * po/it.po: Update from translation team.
22047
95584d3b
LD
220482011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22049
22050 * sysdeps/x86_64/wcscmp.S: Update.
22051 Fix wrong comparison semantics.
22052 wcscmp shall use signed comparison not unsigned.
22053 Don't use substraction to avoid overflow bug.
22054 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22055 * wcsmbc/wcscmp.c: Likewise.
22056 * string/test-strcmp.c: Likewise.
22057 Add new tests to check cases with negative values.
22058
c8b3296b
UD
220592011-10-23 Ulrich Drepper <drepper@gmail.com>
22060
22061 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22062 * sysdeps/x86_64/dla.h: ...here. New file.
22063 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22064 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22065 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22066 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22067 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22068 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22069 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22070 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22071 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22072
246ad57a
AS
220732011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22074
22075 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22076 __ynl_finite aliases.
22077
a1a87169
UD
220782011-10-22 Ulrich Drepper <drepper@gmail.com>
22079
0d355eb7
UD
22080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22081
a1a87169
UD
22082 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22083 define DLA_FMA.
22084 [DLA_FMA] (EMULV): Use DLA_FMA.
22085 [DLA_FMA] (MUL12): Use EMULV.
22086 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22087 that are not needed.
22088 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22089 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22091 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22092 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22093 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22094 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22095
ee2aafe0
AS
220962011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22097
22098 * math/s_nan.c: Undef __nan.
22099 * math/s_nanf.c: Undef __nanf.
22100 * math/s_nanl.c: Undef __nanl.
22101 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22102 "math_private.h".
22103
bc62c2fb
UD
221042011-10-22 Ulrich Drepper <drepper@gmail.com>
22105
77425c63
UD
22106 * math/s_catan.c: Add branch predictions.
22107 * math/s_catanf.c: Likewise.
22108 * math/s_catanh.c: Likewise.
22109 * math/s_catanhf.c: Likewise.
22110 * math/s_catanhl.c: Likewise.
22111 * math/s_catanl.c: Likewise.
22112 * math/s_cexp.c: Likewise.
22113 * math/s_cexpf.c: Likewise.
22114 * math/s_cexpl.c: Likewise.
22115 * math/s_clog.c: Likewise.
22116 * math/s_clog10.c: Likewise.
22117 * math/s_clog10f.c: Likewise.
22118 * math/s_clog10l.c: Likewise.
22119 * math/s_clogf.c: Likewise.
22120 * math/s_clogl.c: Likewise.
22121 * math/s_csqrt.c: Likewise.
22122 * math/s_csqrtf.c: Likewise.
22123 * math/s_csqrtl.c: Likewise.
22124 * math/s_ctanf.c: Likewise.
22125 * math/s_ctanh.c: Likewise.
22126 * math/s_ctanhf.c: Likewise.
22127 * math/s_ctanhl.c: Likewise.
22128 * math/s_ctanl.c: Likewise.
22129
bc62c2fb
UD
22130 * math/math_private.h: Define __nan, __nanf, __nanl.
22131 * math/s_cacosh.c: Include <math_private.h>.
22132 * math/s_cacoshl.c: Likewise.
22133 * math/s_casinh.c: Likewise.
22134 * math/s_casinhf.c: Likewise.
22135 * math/s_casinhl.c: Likewise.
22136 * math/s_ccos.c: Rely entire on ccosh.
22137 * math/s_ccosf.c: Rely entire on ccoshf.
22138 * math/s_ccosl.c: Rely entirely on ccoshl.
22139 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22140 Remove tests for FE_INVALID.
22141 * math/s_ccoshf.c: Likewise.
22142 * math/s_ccoshl.c: Likewise.
22143 * math/s_csin.c: Likewise.
22144 * math/s_csinf.c: Likewise.
22145 * math/s_csinh.c Likewise.
22146 * math/s_csinhf.c: Likewise.
22147 * math/s_csinhl.c: Likewise.
22148 * math/s_csinl.c: Likewise.
22149 * math/s_ctan.c: Likewise.
22150 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22151 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22152 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22153
8ec250a4
UD
221542011-10-21 Ulrich Drepper <drepper@gmail.com>
22155
c196fed8
UD
22156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22157 compilation problems.
22158
8ec250a4
UD
22159 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22160 __builtin_expect.
22161
8d4f46c6
UD
221622011-10-20 Ulrich Drepper <drepper@gmail.com>
22163
ed72b654
UD
22164 * sysdeps/i386/configure.in: Test for -mfma4 option.
22165 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22166 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22167 COMMON_CPUID_INDEX_80000001.
22168 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22169 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22170 use it if FMA3 is not supported.
22171 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22172
8d4f46c6
UD
22173 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22174 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22175
d45c60c2
AS
221762011-10-20 Andreas Schwab <schwab@redhat.com>
22177
22178 [BZ #12892]
22179 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22180 it would create a cycle with a link time dependency.
22181
d9a4d2ab
UD
221822011-10-19 Ulrich Drepper <drepper@gmail.com>
22183
855d1560
UD
22184 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22185 instruction.
22186 * string/Makefile (strop-tests): Add rawmemchr.
22187 * string/test-rawmemchr.c: New file.
22188
d9a4d2ab
UD
22189 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22190 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22191 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22192 when compiling str{,n}casecmp and when AVX is available. Hook up
22193 new optimized code in initializers.
22194
8f3b1ffe
AS
221952011-10-19 Andreas Schwab <schwab@redhat.com>
22196
22197 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22198 __feraiseexcept instead of feraiseexcept.
22199
d38f1dba
UD
222002011-10-18 Ulrich Drepper <drepper@gmail.com>
22201
d9a8d0ab
UD
22202 * math/math_private.h: Define defaults for libc_fetestexcept and
22203 libc_feupdateenv.
22204 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22205 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22206 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22207 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22208 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22209 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22210 libc_fetestexcept and libc_feupdateenv.
22211
4855e3dd
UD
22212 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22213 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22214 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22215 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22216 libc_feholdexcept_setround.
22217
581d30e3
UD
22218 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22219 Add s_nearbyint-c and s_nearbyintf-c.
22220 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22221 nearbyintf inlines.
22222 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22223 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22224 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22225 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22226
d38f1dba
UD
22227 * math/math_private.h: Define defaults for libc_fegetround,
22228 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22229 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22230 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22231 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22232 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22233 standard functions.
22234 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22235 Remove comments and hacks for old compiler versions.
22236 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22237 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22238 libc_feholdexceptl.
22239
caa6c9d8
AS
222402011-10-18 Andreas Schwab <schwab@redhat.com>
22241
22242 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22243 (__feraiseexcept_renamed): Add __NTH.
22244 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22245 namespace violations.
22246
97c066e6
UD
222472011-10-17 Ulrich Drepper <drepper@gmail.com>
22248
99ce7b04
UD
22249 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22250
1004d182
UD
22251 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22252
228a984d
UD
22253 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22254 recently added interfaces.
22255 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22256
c8553a6a
UD
22257 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22258 about macro parameter expansion.
22259
ed22dcf6
UD
22260 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22261 __NO_MATH_INLINES is defined. Cleanups.
22262
22263 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22264 and __floorf is target has SSE4.1.
22265 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22266 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22267 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22268 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22269
b171c137
UD
22270 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22271 name.
22272 (floorf): Likewise.
22273
97c066e6
UD
22274 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22275
629f62ef
AS
222762011-10-17 Andreas Schwab <schwab@redhat.com>
22277
49a43d80
AS
22278 * misc/sys/cdefs.h: Fix last change.
22279
629f62ef
AS
22280 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22281 database lookup.
22282
e453f6cd
UD
222832011-10-16 Ulrich Drepper <drepper@gmail.com>
22284
aa78043a
UD
22285 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22286
ad0f5cad
UD
22287 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22288 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22289 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22290 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22291 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22292 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22293 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22294 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22295 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22296 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22297 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22298 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22299 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22300 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22301 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22302 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22303 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22304 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22305 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22306 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22307 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22308 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22309
22310 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22311 ceil, ceilf, floor, floorf.
22312
22313 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22314 Perform IRELATIVE relocations last.
22315
e453f6cd
UD
22316 * elf/do-rel.h: Add another parameter nrelative, replacing the
22317 local variable with the same name. Change name of the function
22318 to end in Rel or Rela (uppercase).
22319 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22320 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22321 elf_dynamic_do_##reloc function.
22322
fd5bdc09
UD
223232011-10-15 Ulrich Drepper <drepper@gmail.com>
22324
79b195b5
UD
22325 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22326 is sufficient, at least on modern CPUs.
22327
d4a28569
UD
22328 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22329
b61099b5
UD
22330 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22331 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22332
bcf01e6d
UD
22333 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22334 __expl_finite.
22335 * math/bits/math-finite.h: Add entries for exp.
22336 * math/e_expl.c: Add __*_finite alias.
22337 * sysdeps/i386/fpu/e_exp.S: Likewise.
22338 * sysdeps/i386/fpu/e_expf.S: Likewise.
22339 * sysdeps/i386/fpu/e_expl.c: Likewise.
22340 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22341 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22342 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22343 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22344 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22345 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22346 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22347
ba1a0d59
UD
22348 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22349 is sufficient, at least on modern CPUs.
22350
fd5bdc09
UD
22351 * ctype/ctype-info.c (__ctype_init): Define.
22352 * include/ctype.h (__ctype_init): Declare.
22353 (__ctype_b_loc): The variable is always initialized.
22354 (__ctype_toupper_loc): Likewise.
22355 (__ctype_tolower_loc): Likewise.
22356 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22357 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22358
7872cfb0
AS
223592011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22360
b468825a
AS
22361 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22362
7872cfb0
AS
22363 * configure.in: Also look in $cxxmachine/include for C++ system
22364 headers.
22365
be13f7bf
LD
223662011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22367
22368 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22369 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22370 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22371 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22372 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22373 (USE_AS_WMEMCMP): New macro.
22374 Fixing indents.
22375 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22376 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22377 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22378 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22379 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22380 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22381 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22382 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22383 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22384 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22385 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22386 (USE_AS_WMEMCMP): New macro.
22387 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22388 * sysdeps/string/test-memcmp.c: Update.
22389 Fix simple_wmemcmp.
22390 Add new tests.
22391 * wcsmbs/wmemcmp.c: Update.
22392 (WMEMCMP): New macro.
22393 Fix overflow bug.
22394
556a2007
AJ
223952011-10-12 Andreas Jaeger <aj@suse.de>
22396
22397 [BZ #13268]
22398 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22399
538faaa7
UD
224002011-10-15 Ulrich Drepper <drepper@gmail.com>
22401
ab6737ff
UD
22402 * libio/iofwide.c (do_length): Avoid warning.
22403
538faaa7
UD
22404 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22405
396a21b1
UD
224062011-10-14 Ulrich Drepper <drepper@gmail.com>
22407
cdf2901f
UD
22408 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22409
38ad40ce
UD
22410 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22411 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22412 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22413 * sysdeps/i386/i686/fpu/e_log.S: New file.
22414 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22415 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22416
396a21b1
UD
22417 * ctype/ctype.h: Add support for inlined isXXX functions when
22418 compiling C++ code.
22419
6b1f68c9
AS
224202011-10-14 Andreas Schwab <schwab@redhat.com>
22421
349290c0
AS
22422 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22423
6b1f68c9
AS
22424 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22425
f2282d42
RM
224262011-10-13 Roland McGrath <roland@hack.frob.com>
22427
22428 [BZ #13291]
22429 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22430
5298ffa8
AS
224312011-10-13 Andreas Schwab <schwab@redhat.com>
22432
714fad23
AS
22433 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22434 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22435 feraiseexcept.
22436
81dcc7fb
AS
22437 * sysdeps/x86_64/memrchr.S: Check for zero size.
22438
5298ffa8
AS
22439 * string/stratcliff.c: Add memrchr tests.
22440
951fbcec
LD
224412011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22442
22443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22444 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22445 rawmemchr-sse2 rawmemchr-sse2-bsf.
22446 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22447 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22448 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22449 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22450 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22451 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22452 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22453 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22454 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22455 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22456 * string/memrchr.c (MEMRCHR): New macro.
22457
0ac5ae23
UD
224582011-10-12 Ulrich Drepper <drepper@gmail.com>
22459
22460 Add integration with gcc's -ffinite-math-only and optimize wrapper
22461 functions in libm.
22462 * Versions.def: Define GLIBC_2.15 version for libm.
22463 * math/Makefile (headers): Add bits/math-finite.h.
22464 * math/bits/math-finite.h: New file.
22465 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22466 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22467 * math/e_acoshl.c: Add __*_finite alias.
22468 * math/e_acosl.c: Likewise.
22469 * math/e_asinl.c: Likewise.
22470 * math/e_atan2l.c: Likewise.
22471 * math/e_atanhl.c: Likewise.
22472 * math/e_coshl.c: Likewise.
22473 * math/e_exp10.c: Likewise.
22474 * math/e_exp10f.c: Likewise.
22475 * math/e_exp10l.c: Likewise.
22476 * math/e_exp2l.c: Likewise.
22477 * math/e_fmodl.c: Likewise.
22478 * math/e_gammal_r.c: Likewise.
22479 * math/e_hypotl.c: Likewise.
22480 * math/e_j0l.c: Likewise.
22481 * math/e_j1l.c: Likewise.
22482 * math/e_jnl.c: Likewise.
22483 * math/e_lgammal_r.c: Likewise.
22484 * math/e_log10l.c: Likewise.
22485 * math/e_log2l.c: Likewise.
22486 * math/e_logl.c: Likewise.
22487 * math/e_powl.c: Likewise.
22488 * math/e_sinhl.c: Likewise.
22489 * math/e_sqrtl.c: Likewise.
22490 * math/e_scalb.c: Completely rewritten and optimized.
22491 * math/e_scalbf.c: Likewise.
22492 * math/e_scalbl.c: Likewise.
22493 * math/w_acos.c: Likewise.
22494 * math/w_acosf.c: Likewise.
22495 * math/w_acosl.c: Likewise.
22496 * math/w_acosh.c: Likewise.
22497 * math/w_acoshf.c: Likewise.
22498 * math/w_acoshl.c: Likewise.
22499 * math/w_asin.c: Likewise.
22500 * math/w_asinf.c: Likewise.
22501 * math/w_asinl.c: Likewise.
22502 * math/w_atan2.c: Likewise.
22503 * math/w_atan2f.c: Likewise.
22504 * math/w_atan2l.c: Likewise.
22505 * math/w_atanh.c: Likewise.
22506 * math/w_atanhf.c: Likewise.
22507 * math/w_atanhl.c: Likewise.
22508 * math/w_exp10.c: Likewise.
22509 * math/w_exp10f.c: Likewise.
22510 * math/w_exp10l.c: Likewise.
22511 * math/w_fmod.c: Likewise.
22512 * math/w_fmodf.c: Likewise.
22513 * math/w_fmodl.c: Likewise.
22514 * math/w_j0.c: Likewise.
22515 * math/w_j0f.c: Likewise.
22516 * math/w_j0l.c: Likewise.
22517 * math/w_j1.c: Likewise.
22518 * math/w_j1f.c: Likewise.
22519 * math/w_j1l.c: Likewise.
22520 * math/w_jn.c: Likewise.
22521 * math/w_jnf.c: Likewise.
22522 * math/w_log.c: Likewise.
22523 * math/w_logf.c: Likewise.
22524 * math/w_logl.c: Likewise.
22525 * math/w_log10.c: Likewise.
22526 * math/w_log10f.c: Likewise.
22527 * math/w_log10l.c: Likewise.
22528 * math/w_log2.c: Likewise.
22529 * math/w_log2f.c: Likewise.
22530 * math/w_log2l.c: Likewise.
22531 * math/w_pow.c: Likewise.
22532 * math/w_powf.c: Likewise.
22533 * math/w_powl.c: Likewise.
22534 * math/w_remainder.c: Likewise.
22535 * math/w_remainderf.c: Likewise.
22536 * math/w_remainderl.c: Likewise.
22537 * math/w_scalb.c: Likewise.
22538 * math/w_scalbf.c: Likewise.
22539 * math/w_scalbl.c: Likewise.
22540 * math/w_sqrt.c: Likewise.
22541 * math/w_sqrtf.c: Likewise.
22542 * math/w_sqrtl.c: Likewise.
22543 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22544 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22545 used.
22546 * math/math_private.h: Declare __kernel_standard_f.
22547 * math/w_cosh.c: Remove cruft and optimize a bit.
22548 * math/w_coshf.c: Likewise.
22549 * math/w_coshl.c: Likewise.
22550 * math/w_exp2.c: Likewise.
22551 * math/w_exp2f.c: Likewise.
22552 * math/w_exp2l.c: Likewise.
22553 * math/w_hypot.c: Likewise.
22554 * math/w_hypotf.c: Likewise.
22555 * math/w_hypotl.c: Likewise.
22556 * math/w_lgamma.c: Likewise.
22557 * math/w_lgamma_r.c: Likewise.
22558 * math/w_lgammaf.c: Likewise.
22559 * math/w_lgammaf_r.c: Likewise.
22560 * math/w_lgammal.c: Likewise.
22561 * math/w_lgammal_r.c: Likewise.
22562 * math/w_sinh.c: Likewise.
22563 * math/w_sinhf.c: Likewise.
22564 * math/w_sinhl.c: Likewise.
22565 * math/w_tgamma.c: Likewise.
22566 * math/w_tgammaf.c: Likewise.
22567 * math/w_tgammal.c: Likewise.
22568 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22569 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22570 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22571 Minor optimizations. Pretty printing. Remove cruft.
22572 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22573 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22574 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22575 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22576 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22577 * sysdeps/i386/fpu/e_asin.S: Likewise.
22578 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22579 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22580 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22581 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22582 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22583 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22584 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22585 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22586 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22587 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22588 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22589 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22590 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22591 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22592 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22593 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22594 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22595 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22596 * sysdeps/i386/fpu/e_log.S: Likewise.
22597 * sysdeps/i386/fpu/e_log10.S: Likewise.
22598 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22599 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22600 * sysdeps/i386/fpu/e_log2.S: Likewise.
22601 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22602 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22603 * sysdeps/i386/fpu/e_logf.S: Likewise.
22604 * sysdeps/i386/fpu/e_logl.S: Likewise.
22605 * sysdeps/i386/fpu/e_pow.S: Likewise.
22606 * sysdeps/i386/fpu/e_powf.S: Likewise.
22607 * sysdeps/i386/fpu/e_powl.S: Likewise.
22608 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22609 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22610 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22611 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22612 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22613 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22614 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22615 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22616 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22617 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22618 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22619 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22620 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22621 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22622 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22628 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22630 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22631 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22632 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22633 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22634 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22635 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22636 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22637 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22638 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22639 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22640 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22641 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22642 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22643 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22644 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22645 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22646 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22647 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22648 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22649 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22650 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22651 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22652 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22653 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22654 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22655 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22656 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22657 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22658 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22659 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22660 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22661 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22662 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22663 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22664 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22665 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22666 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22667 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22668 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22669 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22670 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22671 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22672 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22673 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22674 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22675 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22676 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22677 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22678 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22679 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22680 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22681 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22682 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22683 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22684 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22685 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22686 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22687 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22688 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22689 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22690 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22691 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22692 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22693 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22694 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22695 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22696 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22697 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22698 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22699 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22700 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22701 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22702 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22703 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22704 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22705 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22706 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22707 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22708 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22709 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22710 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22711 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22712 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22713 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22714 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22715 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22716 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22717 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22718 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22719 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22720 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22721 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22722 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22723 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22724 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22725 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22726 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22727 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22728 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22729 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22730 (__isnanf): Likewise.
22731 (__isinf_ns): Likewise.
22732 (__isinf_nsf): Likewise.
22733 (__finite): Likewise.
22734 (__finitef): Likewise.
22735 (__ieee754_sqrt): Define as macro.
22736 (__ieee754_sqrtf): Define as macro.
22737 (__ieee754_sqrtl): Define as macro.
22738 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22739 inlined copy.
22740 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22741 __FINITE_MATH_ONLY__ consistent.
22742 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22743
12cc2fcd
AS
227442011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22745
a843a204
AS
22746 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22747 of rawmemchr.
22748
12cc2fcd
AS
22749 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22750
c853acd5
UD
227512011-10-09 Ulrich Drepper <drepper@gmail.com>
22752
22753 * po/ja.po: Update from translation team.
22754
c658d255
RM
227552011-10-08 Roland McGrath <roland@hack.frob.com>
22756
110946e4
RM
22757 * locale/programs/locarchive.c (prepare_address_space): New function.
22758 (create_archive, enlarge_archive, open_archive): Use it.
22759
50604220
RM
22760 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22761 inside [SHARED], where it is used.
22762
c658d255
RM
22763 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22764
22765 * nss/getent.c (netgroup_keys): Remove unused variable.
22766 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22767
6a621eb7
UD
227682011-10-08 Ulrich Drepper <drepper@gmail.com>
22769
7edb55ce
UD
22770 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22771 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22772 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22773 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22774 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22775 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22776 * math/Makefile (libm-calls): Add s_isinf_ns.
22777 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22778 * math/multc3.c: Likewise.
22779 * math/s_casin.c: Likewise.
22780 * math/s_casinf.c: Likewise.
22781 * math/s_casinl.c: Likewise.
22782 * math/s_ccos.c: Likewise.
22783 * math/s_ccosf.c: Likewise.
22784 * math/s_ccosl.c: Likewise.
22785 * math/s_ctan.c: Likewise.
22786 * math/s_ctanf.c: Likewise.
22787 * math/s_ctanh.c: Likewise.
22788 * math/s_ctanhf.c: Likewise.
22789 * math/s_ctanhl.c: Likewise.
22790 * math/s_ctanl.c: Likewise.
22791 * math/w_fmod.c: Likewise.
22792 * math/w_fmodf.c: Likewise.
22793 * math/w_fmodl.c: Likewise.
22794 * math/w_remainder.c: Likewise.
22795 * math/w_remainderf.c: Likewise.
22796 * math/w_remainderl.c: Likewise.
22797 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22798 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22799 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22800 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22801 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22802 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22803 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22804 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22805
187da0ae
UD
22806 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22807 of the number.
22808 * stdio-common/printf_fphex.c: Likewise.
22809 * stdio-common/printf_size.c: Likewise.
22810
9277c064
UD
22811 * math/e_exp10.c: Include math_private.h using <...> not "...".
22812 * math/e_exp10f.c: Likewise.
22813 * math/e_exp10l.c: Likewise.
22814 * math/e_exp2l.c: Likewise.
22815 * math/e_j0l.c: Likewise.
22816 * math/e_j1l.c: Likewise.
22817 * math/e_jnl.c: Likewise.
22818 * math/e_lgammal_r.c: Likewise.
22819 * math/e_rem_pio2l.c: Likewise.
22820 * math/e_scalb.c: Likewise.
22821 * math/e_scalbf.c: Likewise.
22822 * math/e_scalbl.c: Likewise.
22823 * math/k_cosl.c: Likewise.
22824 * math/k_sinl.c: Likewise.
22825 * math/k_tanl.c: Likewise.
22826 * math/s_cacoshf.c: Likewise.
22827 * math/s_catan.c: Likewise.
22828 * math/s_catanf.c: Likewise.
22829 * math/s_catanh.c: Likewise.
22830 * math/s_catanhf.c: Likewise.
22831 * math/s_catanhl.c: Likewise.
22832 * math/s_catanl.c: Likewise.
22833 * math/s_ccosh.c: Likewise.
22834 * math/s_ccoshf.c: Likewise.
22835 * math/s_ccoshl.c: Likewise.
22836 * math/s_cexp.c: Likewise.
22837 * math/s_cexpf.c: Likewise.
22838 * math/s_cexpl.c: Likewise.
22839 * math/s_clog.c: Likewise.
22840 * math/s_clog10.c: Likewise.
22841 * math/s_clog10f.c: Likewise.
22842 * math/s_clog10l.c: Likewise.
22843 * math/s_clogf.c: Likewise.
22844 * math/s_clogl.c: Likewise.
22845 * math/s_csin.c: Likewise.
22846 * math/s_csinf.c: Likewise.
22847 * math/s_csinh.c: Likewise.
22848 * math/s_csinhf.c: Likewise.
22849 * math/s_csinhl.c: Likewise.
22850 * math/s_csinl.c: Likewise.
22851 * math/s_csqrt.c: Likewise.
22852 * math/s_csqrtf.c: Likewise.
22853 * math/s_csqrtl.c: Likewise.
22854 * math/s_ctan.c: Likewise.
22855 * math/s_ctanf.c: Likewise.
22856 * math/s_ctanh.c: Likewise.
22857 * math/s_ctanhf.c: Likewise.
22858 * math/s_ctanhl.c: Likewise.
22859 * math/s_ctanl.c: Likewise.
22860 * math/s_ldexp.c: Likewise.
22861 * math/s_ldexpf.c: Likewise.
22862 * math/s_ldexpl.c: Likewise.
22863 * math/s_significand.c: Likewise.
22864 * math/s_significandf.c: Likewise.
22865 * math/s_significandl.c: Likewise.
22866 * math/w_acos.c: Likewise.
22867 * math/w_acosf.c: Likewise.
22868 * math/w_acosh.c: Likewise.
22869 * math/w_acoshf.c: Likewise.
22870 * math/w_acoshl.c: Likewise.
22871 * math/w_acosl.c: Likewise.
22872 * math/w_asin.c: Likewise.
22873 * math/w_asinf.c: Likewise.
22874 * math/w_asinl.c: Likewise.
22875 * math/w_atan2.c: Likewise.
22876 * math/w_atan2f.c: Likewise.
22877 * math/w_atan2l.c: Likewise.
22878 * math/w_atanh.c: Likewise.
22879 * math/w_atanhf.c: Likewise.
22880 * math/w_atanhl.c: Likewise.
22881 * math/w_cosh.c: Likewise.
22882 * math/w_coshf.c: Likewise.
22883 * math/w_coshl.c: Likewise.
22884 * math/w_dremf.c: Likewise.
22885 * math/w_exp10.c: Likewise.
22886 * math/w_exp10f.c: Likewise.
22887 * math/w_exp10l.c: Likewise.
22888 * math/w_exp2.c: Likewise.
22889 * math/w_exp2f.c: Likewise.
22890 * math/w_fmod.c: Likewise.
22891 * math/w_fmodf.c: Likewise.
22892 * math/w_fmodl.c: Likewise.
22893 * math/w_hypot.c: Likewise.
22894 * math/w_hypotf.c: Likewise.
22895 * math/w_hypotl.c: Likewise.
22896 * math/w_j0.c: Likewise.
22897 * math/w_j0f.c: Likewise.
22898 * math/w_j0l.c: Likewise.
22899 * math/w_j1.c: Likewise.
22900 * math/w_j1f.c: Likewise.
22901 * math/w_j1l.c: Likewise.
22902 * math/w_jn.c: Likewise.
22903 * math/w_jnf.c: Likewise.
22904 * math/w_jnl.c: Likewise.
22905 * math/w_lgamma.c: Likewise.
22906 * math/w_lgamma_r.c: Likewise.
22907 * math/w_lgammaf.c: Likewise.
22908 * math/w_lgammaf_r.c: Likewise.
22909 * math/w_lgammal.c: Likewise.
22910 * math/w_lgammal_r.c: Likewise.
22911 * math/w_log.c: Likewise.
22912 * math/w_log10.c: Likewise.
22913 * math/w_log10f.c: Likewise.
22914 * math/w_log10l.c: Likewise.
22915 * math/w_log2.c: Likewise.
22916 * math/w_log2f.c: Likewise.
22917 * math/w_log2l.c: Likewise.
22918 * math/w_logf.c: Likewise.
22919 * math/w_logl.c: Likewise.
22920 * math/w_pow.c: Likewise.
22921 * math/w_powf.c: Likewise.
22922 * math/w_powl.c: Likewise.
22923 * math/w_remainder.c: Likewise.
22924 * math/w_remainderf.c: Likewise.
22925 * math/w_remainderl.c: Likewise.
22926 * math/w_scalb.c: Likewise.
22927 * math/w_scalbf.c: Likewise.
22928 * math/w_scalbl.c: Likewise.
22929 * math/w_sinh.c: Likewise.
22930 * math/w_sinhf.c: Likewise.
22931 * math/w_sinhl.c: Likewise.
22932 * math/w_sqrt.c: Likewise.
22933 * math/w_sqrtf.c: Likewise.
22934 * math/w_sqrtl.c: Likewise.
22935 * math/w_tgamma.c: Likewise.
22936 * math/w_tgammaf.c: Likewise.
22937 * math/w_tgammal.c: Likewise.
22938
6a621eb7
UD
22939 * po/ja.po: Update from translation team.
22940
bf582445
AJ
229412011-09-29 Andreas Jaeger <aj@suse.de>
22942
f9efbf3a
AJ
22943 [BZ #13179]
22944 * sunrpc/netname.c (netname2host): Fix logic.
22945
bf582445
AJ
22946 [BZ #6779]
22947 [BZ #6783]
22948 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22949 correctly.
22950 * math/w_remainder.c (__remainder): Likewise.
22951 * math/w_remainderf.c (__remainderf): Likewise.
22952 * math/libm-test.inc (remainder_test): Add test cases.
22953
48693bea
AK
229542011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22955
22956 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22957 sdiv_qrnnd.
22958
42622229
LD
229592011-10-07 Ulrich Drepper <drepper@gmail.com>
22960
22961 * string/test-memcmp.c: Avoid unncessary #defines.
22962 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22963
093ecf92
LD
229642011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22965
22966 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22967 Use new sse2 version for core i3 - i7 as it's faster
22968 than sse42 version.
22969 (bit_Prefer_PMINUB_for_stringop): New.
22970 * sysdeps/x86_64/rawmemchr.S: Update.
22971 Replace with faster SSE2 version.
22972 * sysdeps/x86_64/memrchr.S: New file.
22973 * sysdeps/x86_64/memchr.S: Update.
22974 Replace with faster SSE2 version.
22975
fde56e5c
MP
229762011-09-12 Marek Polacek <mpolacek@redhat.com>
22977
22978 * elf/dl-load.c (lose): Add cast to avoid warning.
22979
21fd49a9
UD
229802011-10-07 Ulrich Drepper <drepper@gmail.com>
22981
5a06e643
UD
22982 * po/ca.po: Update from translation team.
22983
684ae515
UD
22984 * inet/getnetgrent_r.c: Hook up nscd.
22985 * nscd/Makefile (routines): Add nscd_netgroup.
22986 (nscd-modules): Add netgroupcache.
22987 (CFLAGS-netgroupcache.c): Define.
22988 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22989 (cache_search): Add const to second parameter.
22990 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22991 INNETGR.
22992 (dbs): Add netgrdb entry.
22993 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22994 (verify_persistent_db): Handle netgrdb.
22995 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22996 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22997 GETFDNETGR.
22998 (netgroup_response_header): Define.
22999 (innetgroup_response_header): Define.
23000 (datahead): Add netgroup_response_header and innetgroup_response_header
23001 elements.
23002 * nscd/nscd.conf: Add entries for netgroup cache.
23003 * nscd/nscd.h (dbtype): Add netgrdb.
23004 (_PATH_NSCD_NETGROUP_DB): Define.
23005 (netgroup_iov_disabled): Declare.
23006 (xmalloc, xcalloc, xrealloc): Move declarations here.
23007 (cache_search): Adjust prototype.
23008 Add netgroup-related prototypes.
23009 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23010 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23011 (__nscd_innetgr): Declare.
23012 * nscd/selinux.c (perms): Use access_vector_t as element type and
23013 add netgroup-related initializers.
23014 * nscd/netgroupcache.c: New file.
23015 * nscd/nscd_netgroup.c: New file.
23016 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23017 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23018 For four parameters use innetgr.
23019 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23020 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23021 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23022 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23023
21fd49a9
UD
23024 * nscd/connections.c (register_traced_file): Don't register file
23025 for disabled databases.
23026
054c0457
UD
230272011-10-06 Ulrich Drepper <drepper@gmail.com>
23028
32b63198
UD
23029 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23030
054c0457
UD
23031 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23032 from tree and freeing node.
23033
64031225
JO
230342011-09-25 Jiri Olsa <jolsa@redhat.com>
23035
23036 * nss/nsswitch.c (__nss_database_lookup): Handle
23037 nss_parse_service_list out of memory case.
23038
0490345c
JO
230392011-09-15 Jiri Olsa <jolsa@redhat.com>
23040
23041 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23042 out of memory case.
23043
3a62d00d
AS
230442011-10-04 Andreas Schwab <schwab@redhat.com>
23045
23046 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23047 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23048 pass it down.
23049 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23050 elf_machine_rela, elf_machine_lazy_rel.
23051 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23052 (ELF_DYNAMIC_DO_REL): Likewise.
23053 (ELF_DYNAMIC_DO_RELA): Likewise.
23054 (ELF_DYNAMIC_RELOCATE): Likewise.
23055 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23056 to ELF_DYNAMIC_DO_REL.
23057 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23058 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23059 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23060 elf_machine_rela.
23061 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23062 skip_ifunc, don't call ifunc function if non-zero.
23063 (elf_machine_rela): Likewise.
23064 (elf_machine_lazy_rel): Likewise.
23065 (elf_machine_lazy_rela): Likewise.
23066 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23067 (elf_machine_lazy_rel): Likewise.
23068 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23069 Likewise.
23070 (elf_machine_lazy_rel): Likewise.
23071 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23072 Likewise.
23073 (elf_machine_lazy_rel): Likewise.
23074 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23075 (elf_machine_lazy_rel): Likewise.
23076 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23077 (elf_machine_lazy_rel): Likewise.
23078 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23079 (elf_machine_lazy_rel): Likewise.
23080 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23081 (elf_machine_lazy_rel): Likewise.
23082 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23083 (elf_machine_lazy_rel): Likewise.
23084 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23085 (elf_machine_lazy_rel): Likewise.
23086
68577918
UD
230872011-09-28 Ulrich Drepper <drepper@gmail.com>
23088
23089 * nss/nss_files/files-init.c (_nss_files_init): Use static
23090 initialization for all the *_traced_file variables.
23091
68822d74
AS
230922011-09-28 Andreas Schwab <schwab@redhat.com>
23093
23094 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23095
2056100b
RM
230962011-09-27 Roland McGrath <roland@hack.frob.com>
23097
23098 [BZ #13226]
23099 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23100
32c76b63
AS
231012011-09-27 Andreas Schwab <schwab@redhat.com>
23102
23103 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23104 Reread the line before reparsing it.
23105
bf972c9d
AS
231062011-09-26 Andreas Schwab <schwab@redhat.com>
23107
23108 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23109
e057a1b5
JM
231102011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23111 Maxim Kuvyrkov <maxim@codesourcery.com>
23112 Joseph Myers <joseph@codesourcery.com>
23113
23114 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23115 if needed for __stack_chk_guard.
23116
bc7e1c36
RM
231172011-09-19 Roland McGrath <roland@hack.frob.com>
23118
ecb1482f
RM
23119 * sysdeps/posix/spawni.c (script_execute): Always define it.
23120 It will be optimized away if unused.
23121 (maybe_script_execute): New function.
23122 (__spawni): Call it.
23123
bc7e1c36
RM
23124 * Makerules: Don't include tls.make.
23125 (config-tls): Always set to thread.
23126 * tls.make.c: File removed.
23127
1c3b002b
MF
231282011-09-19 Mike Frysinger <vapier@gentoo.org>
23129
23130 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23131 * config.make.in (CPPFLAGS-config): New substituted variable.
23132
2840865d
UD
231332011-09-15 Ulrich Drepper <drepper@gmail.com>
23134
88738eb6
UD
23135 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23136
cbf645a6 23137 [BZ #13192]
2840865d
UD
23138 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23139 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23140
b402e91a
RM
231412011-09-15 Roland McGrath <roland@hack.frob.com>
23142
23143 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23144 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23145 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23146 (CALL_FAIL): Likewise.
23147 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23148 (CALL_FAIL): Macro removed.
23149 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23150
4c1a1f71
UD
231512011-09-15 Ulrich Drepper <drepper@gmail.com>
23152
23153 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23154 for __FINITE_MATH_ONLY__ == 1.
23155
edc121be
AS
231562011-09-15 Andreas Schwab <schwab@redhat.com>
23157
23158 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23159 __ieee754_sqrt instead of sqrt.
23160 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23161 __ieee754_sqrtf instead of sqrtf.
23162 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23163 __floorf instead of floorf.
23164 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23165 __floorf, __truncf instead of floorf, truncf.
23166
cd205654
UD
231672011-09-14 Ulrich Drepper <drepper@gmail.com>
23168
ee4d0315
UD
23169 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23170
cd205654
UD
23171 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23172 __extern_always_inline.
23173 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23174 32-bit.
23175
48b67d71
AS
231762011-09-14 Andreas Schwab <schwab@redhat.com>
23177
23178 * elf/rtld.c (dl_main): Also relocate in dependency order when
23179 doing symbol dependency testing.
23180
1ae12c75
AS
231812011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23182
23183 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23184 Always define `refsym'.
23185
995a80df
AS
231862011-09-13 Andreas Schwab <schwab@redhat.com>
23187
e529793b
AS
23188 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23189 (__FD_ELT): Renamed from __FDELT.
23190 * misc/bits/select2.h (__FD_ELT): Likewise.
23191 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23192 __FD_MASK instead of __FDELT, __FDMASK.
23193 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23194 Likewise.
23195 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23196 Likewise.
23197
52d4fef8
AS
23198 * elf/Makefile (gen-ldd): Fix pattern.
23199
995a80df
AS
23200 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23201 (init_tls): Likewise.
23202
8682f8b0
UD
232032011-09-12 Ulrich Drepper <drepper@gmail.com>
23204
23205 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23206
de82006d
AS
232072011-09-12 Andreas Schwab <schwab@redhat.com>
23208
a7c8e6a1
AS
23209 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23210 `struct cmsghdr *' instead of `void *'.
23211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23212 Likewise.
23213
0f31fe77
AS
232142011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23215
23216 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23217 if non-absolute.
23218 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23219 ldd_rewrite_script.
0f31fe77 23220
32b4c839
UD
232212011-09-11 Ulrich Drepper <drepper@gmail.com>
23222
83cd1420
UD
23223 * configure.in: Remove --with-tls option.
23224 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23225 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23226 out in case it is missing.
23227 * sysdeps/ia64/elf/configure.in: Likewise.
23228 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23229 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23230 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23231 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23232 * sysdeps/sh/elf/configure.in: Likewise.
23233 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23234 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23235 * sysdeps/x86_64/elf/configure.in: Likewise.
23236 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23237 * sysdeps/mach/hurd/tls.h: Likewise.
23238
633f745d
UD
23239 [BZ #13067]
23240 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23241
f318beb8
UD
23242 [BZ #13090]
23243 * configure.in: Fix use of AC_INIT.
23244
32b4c839
UD
23245 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23246
3ce1f295
UD
232472011-09-10 Ulrich Drepper <drepper@gmail.com>
23248
bb016596
UD
23249 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23250 __set_errno.
8e58439c
UD
23251 * malloc/hooks.c: Likewise.
23252
aebae053 23253 [BZ #11929]
02d46fc4
UD
23254 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23255 variables statically.
23256 (narenas): Initialize.
23257 (list_lock): Initialize.
bb016596
UD
23258 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23259 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23260 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23261 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23262 Add initializers to main_arena and mp_.
23263 (malloc_state): Remove pagesize member. Change all users to use
23264 GLRO(dl_pagesize).
23265
23266 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23267 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23268 is always initialized.
23269
22a89187
UD
23270 * malloc/malloc.c: Removed unused configurations and dead code.
23271 * malloc/arena.c: Likewise.
23272 * malloc/hooks.c: Likewise.
02d46fc4 23273 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23274
d063d164
UD
23275 * include/tls.h: Removed. USE___THREAD must always be defined.
23276 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23277 * elf/dl-libc.c: Likewise.
23278 * elf/dl-tsd.c: Likewise.
23279 * include/errno.h: Likewise.
23280 * include/netdb.h: Likewise.
23281 * include/resolv.h: Likewise.
23282 * inet/herrno-loc.c: Likewise.
23283 * inet/herrno.c: Likewise.
23284 * malloc/arena.c: Likewise.
23285 * malloc/hooks.c: Likewise.
23286 * malloc/malloc.c: Likewise.
23287 * resolv/res-state.c: Likewise.
23288 * resolv/res_libc.c: Likewise.
23289 * sysdeps/i386/dl-machine.h: Likewise.
23290 * sysdeps/ia64/dl-machine.h: Likewise.
23291 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23292 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23293 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23294 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23295 * sysdeps/sh/dl-machine.h: Likewise.
23296 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23297 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23298 * sysdeps/unix/i386/sysdep.S: Likewise.
23299 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23300 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23301 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23302 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23303 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23304 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23305 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23306 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23307 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23309 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23310 * sysdeps/x86_64/dl-machine.h: Likewise.
23311 * tls.make.c: Likewise.
23312
3ce1f295
UD
23313 * configure.in: Remove --with-__thread option. Make tests for
23314 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23315 tls_model attribute fail if no support is available. Remove
23316 USE_IN_LIBIO.
23317 * Makeconfig: Adjust for dropped configure option. All features are
23318 now mandatory.
23319 * Makerules: Likewise.
23320 * Versions.def: Likewise.
23321 * argp/argp-fmtstream.c: Likewise.
23322 * argp/argp-fmtstream.h: Likewise.
23323 * argp/argp-help.c: Likewise.
23324 * assert/assert.c: Likewise.
23325 * config.h.in: Likewise.
23326 * config.make.in: Likewise.
23327 * configure: Likewise.
23328 * configure.in: Likewise.
23329 * csu/Versions: Likewise.
23330 * csu/init.c: Likewise.
23331 * elf/tst-audit2.c: Likewise.
23332 * elf/tst-tls10.c: Likewise.
23333 * elf/tst-tls10.h: Likewise.
23334 * elf/tst-tls11.c: Likewise.
23335 * elf/tst-tls12.c: Likewise.
23336 * elf/tst-tls14.c: Likewise.
23337 * elf/tst-tlsmod11.c: Likewise.
23338 * elf/tst-tlsmod12.c: Likewise.
23339 * elf/tst-tlsmod13.c: Likewise.
23340 * elf/tst-tlsmod13a.c: Likewise.
23341 * elf/tst-tlsmod14a.c: Likewise.
23342 * elf/tst-tlsmod15b.c: Likewise.
23343 * elf/tst-tlsmod16a.c: Likewise.
23344 * elf/tst-tlsmod16b.c: Likewise.
23345 * elf/tst-tlsmod7.c: Likewise.
23346 * elf/tst-tlsmod8.c: Likewise.
23347 * elf/tst-tlsmod9.c: Likewise.
23348 * gmon/gmon.c: Likewise.
23349 * grp/fgetgrent_r.c: Likewise.
23350 * grp/putgrent.c: Likewise.
23351 * hurd/fopenport.c: Likewise.
23352 * include/libc-symbols.h: Likewise.
23353 * include/tls.h: Likewise.
23354 * intl/gettextP.h: Likewise.
23355 * intl/loadinfo.h: Likewise.
23356 * locale/global-locale.c: Likewise.
23357 * locale/localeinfo.h: Likewise.
23358 * mach/devstream.c: Likewise.
23359 * malloc/arena.c: Likewise.
23360 * malloc/set-freeres.c: Likewise.
23361 * misc/err.c: Likewise.
23362 * misc/getttyent.c: Likewise.
23363 * misc/mntent_r.c: Likewise.
23364 * posix/getopt.c: Likewise.
23365 * posix/wordexp.c: Likewise.
23366 * pwd/fgetpwent_r.c: Likewise.
23367 * resolv/Versions: Likewise.
23368 * resolv/res_hconf.c: Likewise.
23369 * shadow/fgetspent_r.c: Likewise.
23370 * shadow/putspent.c: Likewise.
23371 * stdio-common/printf_fphex.c: Likewise.
23372 * stdio-common/tmpfile.c: Likewise.
23373 * stdlib/abort.c: Likewise.
23374 * stdlib/fmtmsg.c: Likewise.
23375 * sunrpc/auth_unix.c: Likewise.
23376 * sunrpc/clnt_perr.c: Likewise.
23377 * sunrpc/clnt_tcp.c: Likewise.
23378 * sunrpc/clnt_udp.c: Likewise.
23379 * sunrpc/clnt_unix.c: Likewise.
23380 * sunrpc/openchild.c: Likewise.
23381 * sunrpc/svc_simple.c: Likewise.
23382 * sunrpc/svc_tcp.c: Likewise.
23383 * sunrpc/svc_udp.c: Likewise.
23384 * sunrpc/svc_unix.c: Likewise.
23385 * sunrpc/xdr.c: Likewise.
23386 * sunrpc/xdr_array.c: Likewise.
23387 * sunrpc/xdr_rec.c: Likewise.
23388 * sunrpc/xdr_ref.c: Likewise.
23389 * sunrpc/xdr_stdio.c: Likewise.
23390
1248c1c4
PB
233912011-09-09 Ulrich Drepper <drepper@gmail.com>
23392
23393 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23394
233952011-07-03 Andreas Jaeger <aj@suse.de>
23396
23397 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23398 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23399 regenerate with gen-libm-tests.pl.
23400
234012010-05-12 Petr Baudis <pasky@suse.cz>
23402
23403 [BZ #11589]
23404 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23405 around j0() zero points by switching to j1().
23406 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23407 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23408 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23409 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23410
f22e1074
UD
234112011-09-09 Ulrich Drepper <drepper@gmail.com>
23412
f19009c1
UD
23413 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23414 instead of 0.
23415 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23416 instead of 0.
f19009c1
UD
23417 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23418 Patch in part by Pavel Roskin <proski@gnu.org>.
23419
3f8cc204
UD
23420 [BZ #13138]
23421 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23422 realloc.
23423 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23424 Free memory block if necessary.
23425
f22e1074
UD
23426 [BZ #12847]
23427 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23428 be NULL. Don't lock in this case.
23429
0a2349f9
RM
234302011-09-09 Roland McGrath <roland@hack.frob.com>
23431
23432 * elf/elf.h (ELFOSABI_GNU): New macro.
23433 (ELFOSABI_LINUX): Define to that.
23434
f3cdd467
DZ
234352011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23436
23437 * string/strncat.c (strncat): Undef the symbol in case it has been
23438 defined in bits/string.h.
23439
74718d13
UD
234402011-09-09 Ulrich Drepper <drepper@gmail.com>
23441
633e9e0f
UD
23442 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23443
0a2349f9 23444 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23445 link map.
23446
f9924780
AJ
234472011-08-17 Andreas Jaeger <aj@suse.de>
23448
23449 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23450
7f5517aa
PP
234512011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23452 Ian Lance Taylor <iant@google.com>
23453
23454 * math/libm-test.inc (lround_test): New testcase.
23455 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23456
762011fe
UD
234572011-09-08 Ulrich Drepper <drepper@gmail.com>
23458
92963737
UD
23459 * Makefile: Remove support for automatic cvs check-ins.
23460 * Makerules: Likewise.
23461 * config.make.in: Likewise.
23462 * configure.in: Likewise.
23463 * intl/Makefile: Likewise.
23464 * locale/Makefile: Likewise.
23465 * po/Makefile: Likewise.
23466 * posix/Makefile: Likewise.
23467 * sysdeps/gnu/Makefile: Likewise.
23468 * sysdeps/mach/hurd/Makefile: Likewise.
23469 * sysdeps/sparc/sparc32/Makefile: Likewise.
23470
b0727fd8
JS
23471 [BZ #13118]
23472 * posix/Makefile (bug-regex32-ENV): Define.
23473 Patch by John Stanley <jpsinthemix@verizon.net>.
23474
a0f33f99
UD
23475 * misc/Makefile (headers): Add bits/select2.h.
23476 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23477 * misc/bits/select2.h: New file.
23478 * include/bits/select2.h: New file.
23479 * debug/Makefile (routines): Add fdelt_chk.
23480 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23481 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23482 FD_ISSET.
23483 * debug/fdelt_chk.c: New file.
23484
762011fe
UD
23485 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23486 * wcsmbs/test-wmemcmp.c: Likewise.
23487 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23488 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23489
234902011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23491
23492 * string/Makefile (strop-tests): Add memcmp.
23493 * string/test-wmemcmp.c: New file.
23494 * string/test-memcmp.c: Add wmemcmp support.
23495
7f513ec8
RM
234962011-09-08 Roland McGrath <roland@hack.frob.com>
23497
0442afb4
RM
23498 [BZ #13153]
23499 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23500 2011-07-19 change.
23501
7f513ec8
RM
23502 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23503 garbage value in a __mach_port_mod_refs call in the cases of the
23504 task-self and thread-self ports.
23505
a12b2239
ST
235062011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23507
23508 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23509
610f9ab4
AS
235102011-09-08 Andreas Schwab <schwab@redhat.com>
23511
7f513ec8 23512 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23513
48882a1a
LD
235142011-09-07 Ulrich Drepper <drepper@gmail.com>
23515
b49865be
UD
23516 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23517
fdc86bc9
UD
23518 * elf/dl-libc.c (dlerror_run): Pass back error code from
23519 dl_catch_error.
23520
c966526a
UD
23521 [BZ #13123]
23522 * elf/dl-load.c (lose): Free l_origin if it is valid.
23523
48882a1a
LD
23524 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23525 names.
23526 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23527 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23528 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23529 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23530 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23531 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23532
77a2a8b4
AZ
235332011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23534
23535 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23536 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23537 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23538 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23539 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23540 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23541 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23542 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23543 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23544 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23545
24f579d8
AM
235462011-08-15 Alan Modra <amodra@gmail.com>
23547
23548 [BZ #13092]
23549 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23550 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23551 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23552 ppc_mcount to static-only-routines.
23553 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23554 __mcount_internal.
23555 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23556 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23557
3d4837df
UD
235582011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23559
23560 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23561 for finite and infinity parameters.
23562
22700377
WS
235632011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23564
23565 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23566 and add nop instructions for throughput optimization.
23567 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23568
5025581e
WS
235692011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23570
23571 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23572 aligned copy for power7 with vector-scalar instructions.
23573 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23574
08a300c9
L
235752011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23576
23577 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23578 AVX check.
23579
59178ef9
AS
235802011-09-07 Andreas Schwab <schwab@redhat.com>
23581
23582 [BZ #13144]
23583 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23584 last change.
23585
e38ba7ab
UD
235862011-09-07 Ulrich Drepper <drepper@gmail.com>
23587
23588 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23589 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23590 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23591 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23592 clock_gettime.
23593
d53a73ac
UD
235942011-09-06 Ulrich Drepper <drepper@gmail.com>
23595
fc8bffcc
UD
23596 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23597 Forgot to demangle the pointer.
23598
ceaa0c5d
UD
23599 * sysdeps/i386/sysdep.h: Define atom_text_section.
23600 * sysdeps/x86_64/sysdep.h: Likewise.
23601 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23602 section with atom_text_section.
23603 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23604 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23605 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23606 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23607 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23608
a77d3c17
UD
23609 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23610 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23611 already be defined. Change to take two parameters and don't assign
23612 result to variable. Adjust all users.
23613 Define INTERNAL_GETTIME if not already defined.
23614 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23615 call.
23616 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23617 HAVE_CLOCK_GETTIME_VSYSCALL.
23618 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23619
d53a73ac
UD
23620 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23621 gettimeofday vsyscall, just use time.
23622
a8f84144
AS
236232011-09-06 Andreas Schwab <schwab@redhat.com>
23624
23625 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23626 <errno.h>.
23627
ef606249
UD
236282011-09-06 Ulrich Drepper <drepper@gmail.com>
23629
23630 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23631 syscall on x86-64.
23632 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23633 syscall.
23634 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23635 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23636 syscall if possible.
23637
6585cb60
UD
236382011-09-05 Ulrich Drepper <drepper@gmail.com>
23639
23640 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23641 e_ident. Don't pass to find_mapsXX.
23642 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23643
a5f524e4
LD
236442011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23645
23646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23647 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23648 * sysdeps/x86_64/multiarch/strchr.S: Update.
23649 Check bit_slow_BSF bit.
23650 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23651 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23652 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23653
554881ef
UD
236542011-09-05 Ulrich Drepper <drepper@gmail.com>
23655
d96de963
UD
23656 [BZ #13134]
23657 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23658 before glibc 2.15.
23659 (tryshell): Define.
23660 (__spawni): Change last parameter to be flag. Test
23661 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23662 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23663 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23664 * posix/spawni.c: Likewise.
23665 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23666 * posix/spawnp.c: Likewise. Change normal version to use
23667 SPAWN_XFLAGS_USE_PATH.
23668 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23669 SPAWN_XFLAGS_TRY_SHELL.
23670
d48e5868
UD
23671 [BZ #13150]
23672 * posix/glob.h: Remove gcc 1.x support.
23673
554881ef
UD
23674 [BZ #13068]
23675 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23676
693fb948
LD
236772011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23678
23679 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23680 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23681 strrchr-sse2-bsf
23682 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23683 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23684 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23685 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23686 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23687 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23688
1b48c537
UD
236892011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23690
49d42c37
UD
23691 * sysdeps/x86_64/wcscmp.S: New file.
23692
1b48c537
UD
23693 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23694 wcscmp-c wcscmp-sse2
23695 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23696 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23697 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23698 * wcsmbs/wcscmp.c: Allow renaming.
23699
15c95c5d
DM
237002011-09-05 David S. Miller <davem@davemloft.net>
23701
23702 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23703 stack slot, rather than the struct return pointer slot.
23704 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23705 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23707 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23708
2f0ad8f3
UD
237092011-09-05 Ulrich Drepper <drepper@gmail.com>
23710
d88ae418
UD
23711 * po/ja.po: Update from translation team.
23712
2f0ad8f3
UD
23713 [BZ #13144]
23714 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23715 kernel in 64-bit binaries.
23716
5f4318d1
DM
237172011-09-01 David S. Miller <davem@davemloft.net>
23718
23719 * elf/elf.h (HWCAP_SPARC_*): Move to..
23720 * sysdeps/sparc/sysdep.h: this new file and add new values.
23721 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23722 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23723 _DL_HWCAP_COUNT to 24.
23724 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23725 entries.
23726 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23727 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23728 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23729 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23730 instead of magic constants.
23731 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23732
3ba57516
DM
237332011-08-31 David S. Miller <davem@davemloft.net>
23734
23735 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23736 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23737 Reimplement to do errno handling inline.
23738 (SYSCALL_ERROR_HANDLER): New macro.
23739 (__SYSCALL_STRING): Do not do errno handling in asm.
23740 (__CLONE_SYSCALL_STRING): Delete.
23741 (__INTERNAL_SYSCALL_STRING): Delete.
23742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23743 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23744 (PSEUDO): Reimplement to do errno handling inline.
23745 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23746 (SYSCALL_ERROR_HANDLER): New macro.
23747 (__SYSCALL_STRING): Do not do errno handling in asm.
23748 (__CLONE_SYSCALL_STRING): Delete.
23749 (__INTERNAL_SYSCALL_STRING): Delete.
23750 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23751 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23752 i386.
23753 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23754 (inline_syscall*): Add 'err' argument.
23755 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23756 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23757 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23758 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23759
23760 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23761 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23762
2bc17433
AS
237632011-08-30 Andreas Schwab <schwab@redhat.com>
23764
23765 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23766
fbeb5f4d
JO
237672011-08-29 Jiri Olsa <jolsa@redhat.com>
23768
23769 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23770 directive.
23771
ad69cc26
DM
237722011-08-24 David S. Miller <davem@davemloft.net>
23773
23774 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23775
39dd69df
AS
237762011-08-24 Andreas Schwab <schwab@redhat.com>
23777
23778 * elf/Makefile: Add rules to build and run unload8 test.
23779 * elf/unload8.c: New file.
23780 * elf/unload8mod1.c: New file.
23781 * elf/unload8mod1x.c: New file.
23782 * elf/unload8mod2.c: New file.
23783 * elf/unload8mod3.c: New file.
23784
23785 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23786 it wasn't used.
23787
2c0b250a
DM
237882011-08-23 David S. Miller <davem@davemloft.net>
23789
23790 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23791 subtract stack bias.
23792 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23793 %sp not %fp in calculations.
23794 (_JMPBUF_UNWINDS_ADJ): Likewise.
23795
22044b48
DM
23796 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23797 (aio_suspend): Call it to force an exception region around the
23798 AIO_MISC_WAIT() invocation.
23799
2cae4995
AS
238002011-08-23 Andreas Schwab <schwab@redhat.com>
23801
23802 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23803 backslash.
23804
873a772e
AJ
238052011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23806
23807 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23808 protection macro.
23809 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23810 and <dl-machine.h>.
23811 (Elf64_FuncDesc): Remove.
23812
25ad0df1
DM
238132011-08-22 David S. Miller <davem@davemloft.net>
23814
23815 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23816 sigaltstack check, add missing cfi directives.
23817 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23818 missing cfi directives, and sigaltstack handling.
23819
e888bcbe
AS
238202011-08-16 Andreas Schwab <schwab@redhat.com>
23821
23822 [BZ #11724]
23823 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23824 object is seen twice.
23825 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23826
23827 * elf/Makefile (distribute): Add tst-initorder2.c.
23828 (tests): Add tst-initorder2.
23829 (modules-names): Add tst-initorder2a tst-initorder2b
23830 tst-initorder2c tst-initorder2d. Add rules to build them.
23831 ($(objpfx)tst-initorder2.out): New rule.
23832 * elf/tst-initorder2.c: New file.
23833 * elf/tst-initorder2.exp: New file.
23834
87162f46
AS
238352011-08-22 Andreas Schwab <schwab@redhat.com>
23836
70538b7f
AS
23837 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23838
f55ffe58
AS
23839 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23840 dependencies back to end of function.
23841
87162f46
AS
23842 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23843 $(elfobjdir)/ld.so.
23844
91b392a4
UD
238452011-08-21 Ulrich Drepper <drepper@gmail.com>
23846
23847 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23848 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23849 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23850 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23851 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23852 of __vdso_gettimeofday.
23853 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23854 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23855 attribute_hidden.
23856 (_libc_vdso_platform_setup): Remove initialization of
23857 __vdso_gettimeofday and __vdso_time.
23858
5c43483f
UD
238592011-08-20 Ulrich Drepper <drepper@gmail.com>
23860
775a77e7
UD
23861 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23862 and fgetc_unlocked.
23863 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23864 getc_unlocked.
89f447ed 23865
49c74ba9
UD
23866 * elf/dl-open.c (add_to_global): Report additions to the global scope
23867 for LD_DEBUG=scopes.
23868 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23869 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23870
5c43483f
UD
23871 [BZ #13114]
23872 * stdio-common/Makefile (tests): Add bug24.
23873 * stdio-common/bug24.c: New file.
23874
a101b025
AJ
238752011-08-19 Andreas Jaeger <aj@suse.de>
23876
23877 [BZ #13114]
23878 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23879 non-existant file when using close-on-exec mode.
23880
c88f1766
UD
238812011-08-20 Ulrich Drepper <drepper@gmail.com>
23882
0276a718
UD
23883 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23884 the very first instruction.
23885
c88f1766
UD
23886 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23887 the CFI state in the end.
23888 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23889 inclusion of dl-trampoline.h.
23890 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23891
51ccffa0
AS
238922011-08-19 Andreas Schwab <schwab@redhat.com>
23893
94d7165f
AS
23894 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23895 expectations for long double.
23896
51ccffa0
AS
23897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23898 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23899
fd708658 239002011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23901
23902 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23903 artificual limit depends upon the system page size.
23904
44f0a71e
UD
239052011-08-17 Ulrich Drepper <drepper@gmail.com>
23906
23907 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23908 * resolv/Makefile: Define CFLAGS-libresolv.
23909
8de79a24
AS
239102011-08-17 Andreas Schwab <schwab@redhat.com>
23911
23912 * nss/makedb.c (compute_tables): Make variables used in nested
23913 function static.
23914
27724598
UD
239152011-08-17 Ulrich Drepper <drepper@gmail.com>
23916
c5305d88
UD
23917 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23918 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23919 if buffer was too small.
23920
27724598
UD
23921 * elf/pldd.c (main): Attach to all threads in the process.
23922 Rewrite /proc handling to use *at functions.
23923
076fe015
UD
239242011-08-16 Ulrich Drepper <drepper@gmail.com>
23925
174baab3
UD
23926 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23927 specifies first scope to show.
23928 (dl_open_worker): Update callers. Move printing scope of new
23929 object to before the relocation.
44f0a71e 23930 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23931 * sysdeps/generic/ldsodefs.h: Update declaration.
23932
076fe015
UD
23933 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23934 string for the scope number.
23935
a60df2c3
UD
239362011-08-14 Ulrich Drepper <drepper@gmail.com>
23937
23938 * nscd/servicescache.c (cache_addserv): Make sure written is always
23939 initialized.
23940
5e4287d1
RM
239412011-08-14 Roland McGrath <roland@hack.frob.com>
23942
85ae0589
RM
23943 * sysdeps/i386/i486/bits/atomic.h
23944 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23945 statement expression, so as to suppress "set but not used" warning.
23946 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23947
69f63097
RM
23948 * string/strncat.c (STRNCAT): Use prototype definition.
23949
675456ef
RM
23950 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23951 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23952 -Iprograms here.
23953 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23954 (localedef-modules): Add localedef.
23955 (locale-modules): Add locale.
23956
5e4287d1
RM
23957 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23958 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23959 to avoid a warning.
23960
9c96ff23
DM
239612011-08-14 David S. Miller <davem@davemloft.net>
23962
23963 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23964 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23965
f9ddf089
UD
239662011-08-13 Ulrich Drepper <drepper@gmail.com>
23967
44f0a71e 23968 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23969 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23970 * elf/rtld.c (dl_main): Set l_name of vDSO.
23971 Call _dl_show_scope when DL_DEBUG_SCOPES.
23972 (process_dl_debug): Recognize scopes flag and also set it for all.
23973 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23974 Declare _dl_show_scope.
23975
1dc27704
UD
23976 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23977 (do_dlopen): Pass caller_dlopen to dl_open.
23978 (__libc_dlopen_mode): Initialize caller_dlopen.
23979
f9ddf089
UD
23980 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23981 of libc. Make tolower call locale-independent. Optimize a bit by
23982 using isdigit instead of isalnum.
23983 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23984
9ac533d3
UD
239852011-08-12 Ulrich Drepper <drepper@gmail.com>
23986
23987 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23988 was a dependency or dynamically loaded.
23989
89edf2e9
UD
239902011-08-11 Ulrich Drepper <drepper@gmail.com>
23991
8e999d29
UD
23992 * intl/l10nflist.c: Allow architecture-specific pop function.
23993 * sysdeps/x86_64/l10nflist.c: New file.
23994
89edf2e9
UD
23995 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23996 classification.
23997
14d96785
AS
239982011-08-10 Andreas Schwab <schwab@redhat.com>
23999
24000 * include/dirent.h: Add libc_hidden_proto for scandirat and
24001 scandirat64. Don't declare __scandirat64.
24002 * dirent/scandirat.c: Add libc_hidden_def.
24003 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24004 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24005
6761ac04
DM
240062011-08-10 David S. Miller <davem@davemloft.net>
24007
24008 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24009 enum.
24010 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24011 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24012 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24013
c55fbd1e
UD
240142011-08-09 Ulrich Drepper <drepper@gmail.com>
24015
24016 * Versions.def [libc]: Add GLIBC_2.15.
24017 * dirent/Makefile (routines): Add scandirat and scandirat64.
24018 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24019 GLIBC_2.15.
24020 * dirent/dirent.h: Declare scandirat and scandirat64.
24021 * dirent/scandirat.c: New file.
24022 * dirent/scandirat64.c: New file.
24023 * sysdeps/wordsize-64/scandirat.c: New file.
24024 * sysdeps/wordsize-64/scandirat64.c: New file.
24025 * dirent/opendir.c: Define opendirat.
24026 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24027 using scandirat.
24028 * dirent/scandir64.c: Adjust for scandir.c change.
24029 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24030 __scandirat64, and __scandir_cancel_handler.
24031 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24032 additional parameter and use openat instead of open (outside of ld.so).
24033 Add new __opendir as wrapper around __opendirat.
24034 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24035 here without requiring old scandirat implementation.
24036
879165f2
UD
240372011-08-08 Ulrich Drepper <drepper@gmail.com>
24038
24039 * dirent/scandir.c (cancel_handler): Renamed to
24040 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24041 defined. Adjust users.
24042 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24043 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24044
cb7e923b
UD
240452011-08-04 Ulrich Drepper <drepper@gmail.com>
24046
16292edd
UD
24047 * string/test-string.h (IMPL): Use __STRING to expand name and then
24048 stringify it.
24049
cb7e923b
UD
24050 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24051 of cleanups.
24052
cff82933
LD
240532011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24054
24055 * string/Makefile: Update.
24056 (strop-tests): Append strncat.
24057 * string/test-wcscmp.c: New file.
24058 New comprehensive test for wcscmp.
24059 * string/test-strcmp.c: Update.
24060 (WIDE): New define.
24061
9be9bfcc
AS
240622011-07-22 Andreas Schwab <schwab@redhat.com>
24063
24064 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24065 line.
24066
2e96f1c7
AS
240672011-07-26 Andreas Schwab <schwab@redhat.com>
24068
24069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24070 encoding to ACE if AI_IDN.
24071
85188888
JJ
240722011-08-01 Jakub Jelinek <jakub@redhat.com>
24073
24074 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24075 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24076
5fa16e9b
LD
240772011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24078
24079 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24080 Fix overflow bug in strncat.
24081 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24082
24083 * string/test-strncat.c: Update.
24084 Add new tests for checking overflow bugs.
24085
240862011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24087
24088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24089 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24090 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24091 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24092 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24093 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24094 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24095 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24096 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24097
24098 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24099 (USE_AS_STRCAT): Define.
24100 Add strcat and strncat support.
24101 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24102
8c1a459f
AS
241032011-07-25 Andreas Schwab <schwab@redhat.com>
24104
24105 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24106 __n bigger than INT_MAX+1.
24107 (__strncmp_g): Likewise.
24108
bba33c28
UD
241092011-07-23 Ulrich Drepper <drepper@gmail.com>
24110
798be72d
UD
24111 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24112 * libio/stido.h: Likewise.
24113
8accd4dc
UD
24114 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24115 (AF_NFC): Define.
24116 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24117 (AF_NFC): Define.
24118
cbff0d96
UD
24119 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24120 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24121 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24122 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24123 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24124
9191c04a
UD
24125 [BZ #13021]
24126 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24127 installed.
24128
bba33c28
UD
24129 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24130 typo.
24131 (_dl_x86_64_save_sse): Likewise.
24132
90f139dd
UD
241332011-07-22 Ulrich Drepper <drepper@gmail.com>
24134
1aae088a
UD
24135 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24136 OSXSAVE.
24137 (_dl_x86_64_save_sse): Likewise.
24138
8e2045f5
UD
24139 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24140
90f139dd
UD
24141 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24142
1d002f25
AS
241432011-07-21 Andreas Schwab <schwab@redhat.com>
24144
24145 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24146 change.
24147 (_dl_x86_64_save_sse): Use correct AVX check.
24148
21137f89
UD
241492011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24150
24151 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24152 bug in strncpy/strncat.
24153 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24154
a65c0b7a
UD
241552011-07-21 Ulrich Drepper <drepper@gmail.com>
24156
24157 * string/tester.c (test_strcat): Add tests for different alignments
24158 of source and destination.
24159 (test_strncat): Likewise.
24160
6986b98a
UD
241612011-07-20 Ulrich Drepper <drepper@gmail.com>
24162
90bb2039
UD
24163 [BZ #12852]
24164 * posix/glob.c (glob): Check passed in values before using them in
24165 expressions to avoid some overflows.
24166 (glob_in_dir): Likewise.
24167
5644ef54
UD
24168 [BZ #13007]
24169 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24170 check for AVX enablement so that we don't crash with old kernels and
24171 new hardware.
24172 * elf/tst-audit4.c: Add same checks here.
24173 * elf/tst-audit6.c: Likewise.
24174
24175 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24176
bfc9dc9b
AS
241772011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24178
24179 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24180
702e64bb
UD
241812011-07-20 Ulrich Drepper <drepper@gmail.com>
24182
24183 * po/cs.po: Update from translation team.
24184 * po/bg.po: Likewise.
24185
295e904f
MP
241862011-07-12 Marek Polacek <mpolacek@redhat.com>
24187
24188 * misc/sys/cdefs.h: Add support for const attribute.
24189 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24190 to gnu_dev_{major,minor,makedev} functions.
24191
3ff94596
MP
241922011-07-20 Marek Polacek <mpolacek@redhat.com>
24193
24194 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24195
28b59fca
AS
241962011-07-20 Andreas Schwab <schwab@redhat.com>
24197
24198 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24199 strlen results.
24200
19df733e
AK
242012011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24202
24203 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24204 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24205 register in order to avoid conflicts with the soft frame pointer
24206 being held in r11 when necessary.
24207 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24208 (INTERNAL_VSYSCALL_NCS): Likewise.
24209
c8835729
MP
242102011-07-14 Marek Polacek <mpolacek@redhat.com>
24211
24212 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24213 * elf/dl-fini.c (_dl_fini): Adjust caller.
24214 * elf/dl-close.c (_dl_close_worker): Likewise.
24215 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24216
b902330c
MP
242172011-07-15 Marek Polacek <mpolacek@redhat.com>
24218
8991e135
MP
24219 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24220 "aux_cache->nlibs < 0".
24221
b902330c
MP
24222 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24223 in the reload-count case.
24224
99710781
LD
242252011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24226
24227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24228 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24229 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24230 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24231 * sysdeps/x86_64/multiarch/strcat.S: New file.
24232 * sysdeps/x86_64/multiarch/strncat.S: New file.
24233 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24234 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24235 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24236 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24237 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24238 (USE_AS_STRCAT): Define.
24239 Add strcat and strncat support.
24240 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24241 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24242 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24243 * string/strncat.c: Update.
24244 (USE_AS_STRNCAT): Define.
24245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24246 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24247 and i7.
24248 * sysdeps/x86_64/multiarch/init-arch.h
24249 (bit_Prefer_PMINUB_for_stringop): New.
24250 (index_Prefer_PMINUB_for_stringop): Likewise.
24251 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24252 bit_Prefer_PMINUB_for_stringop.
24253
7dc6bd90
UD
242542011-07-19 Ulrich Drepper <drepper@gmail.com>
24255
24256 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24257 buffer64.
24258 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24259 of casting of buffer.
24260 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24261 buffer32 and buffer64.
24262 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24263 writes instead of casting of buffer.
24264 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24265 buffer32.
24266 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24267 casting of buffer.
24268
e0e72284
AS
242692011-07-19 Andreas Schwab <schwab@redhat.com>
24270
24271 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24272
feb1eb0b
UD
242732011-07-19 Ulrich Drepper <drepper@gmail.com>
24274
24275 * nscd/nscd.c (termination_handler): Don't do anything for a database
24276 if it has not yet been initialized.
24277
298711ff
UD
242782011-07-18 Ulrich Drepper <drepper@gmail.com>
24279
24280 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24281
242822011-07-15 Marek Polacek <mpolacek@redhat.com>
24283
24284 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24285
f9d68389
UD
242862011-07-18 Ulrich Drepper <drepper@gmail.com>
24287
24288 * po/nl.po: Update from translation team.
24289 * po/sv.po: Likewise.
24290
db290cf5
RM
242912011-07-16 Roland McGrath <roland@hack.frob.com>
24292
24293 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24294 now disallowed by GCC.
5c550700 24295
fd5e21c7
RM
24296 * configure.in (use-default-link): Default to yes if a test -shared
24297 link meets our qualifications.
24298 * configure: Regenerated.
24299
5c550700
RM
24300 * config.make.in (output-format): New variable.
24301 * configure.in: Check for ld --print-output-format support.
24302 * configure: Regenerated.
24303 * Makerules ($(common-objpfx)format.lds)
24304 [$(output-format) != unknown]: Just use $(output-format),
24305 instead of the linker-script munging.
24306
9fa2c032
RM
243072011-07-14 Roland McGrath <roland@hack.frob.com>
24308
a6928d51
RM
24309 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24310 of $(common-objpfx)shlib.lds.
24311 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24312
661607b3
RM
24313 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24314 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24315
9fa2c032
RM
24316 * configure.in (-z relro check): Adjust test code to add a large
24317 writable data section after it.
24318 * configure: Regenerated.
24319
defe9061
RM
243202011-07-11 Roland McGrath <roland@hack.frob.com>
24321
24322 * configure.in (-z relro check): Fix test code to make the variable
24323 truly const.
24324 * configure: Regenerated.
24325
319b9ad4
UD
243262011-07-11 Ulrich Drepper <drepper@gmail.com>
24327
24328 * nscd/nscd.h (struct traced_file): Define.
24329 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24330 elements. Add traced_files.
24331 (inotify_fd): Declare.
24332 (register_traced_file): Declare.
24333 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24334 (inotify_fd): Export.
24335 (resolv_conf_descr): Remove.
24336 (nscd_init): Move inotify descriptor creation to main.
24337 Don't register files for notification here.
24338 (register_traced_file): New function.
24339 (invalidate_cache): Don't use reset_res to determine whether to call
24340 res_init, go through the list of registered files.
24341 (main_loop_poll): The inotify descriptors are now stored in the
24342 structures for the traced files.
24343 (main_loop_epoll): Likewise
24344 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24345 to __nss_disable_nscd.
24346 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24347 for a database anymore. Check the records for all the registered
24348 files instead.
24349 * nss/Makefile (libnss_files-routines): Add files-init.
24350 (libnss_db-routines): Add db-init.
24351 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24352 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24353 * nss/nss_db/db-init.c: New file.
24354 * nss/nss_files/files-init.c: New file.
24355 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24356 __nss_lookup_function.
24357 (__nss_lookup_function): Call nss_load_library.
24358 (nss_load_all_libraries): New function.
24359 (__nss_disable_nscd): Take parameter with callback function for files
24360 to register. Set is_nscd. Load all the DSOs for the NSS modules
24361 used for the cached services.
24362 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24363 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24364 options for features to all the files in nscd.
24365
24366 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24367
23bee3e8
RM
243682011-07-10 Roland McGrath <roland@hack.frob.com>
24369
24370 * csu/elf-init.c (__libc_csu_init): Comment typo.
24371
46a5b7f0
UD
243722011-07-09 Ulrich Drepper <drepper@gmail.com>
24373
24374 * po/pl.po: Update from translation team.
24375 * po/ja.po: Likewise.
24376 * po/ru.po: Likewise.
24377 * po/ko.po: Likewise.
24378 * po/fr.po: Likewise.
24379
d30cf5bb
RM
243802011-07-09 Roland McGrath <roland@hack.frob.com>
24381
113ddea4
RM
24382 * configure.in (.ctors/.dtors header and trailer check):
24383 Use an empirical test on a built program.
24384 * configure: Regenerated.
24385
574920b4
RM
24386 * configure.in (-z relro check): Use an empirical test on a built DSO.
24387 Detect, but do not require, on ia64.
24388 * configure: Regenerated.
24389
d30cf5bb
RM
24390 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24391 Update tests that use readelf to use $READELF instead.
24392 * configure: Regenerated.
24393
8538fdb3
UD
243942011-07-08 Ulrich Drepper <drepper@gmail.com>
24395
24396 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24397 if the result is not used.
24398
04d08991
AJ
243992011-07-05 Andreas Jaeger <aj@suse.de>
24400
24401 [BZ#9696]
24402 * stdlib/tst-strtod.c: Add testcase.
24403
de283087
AD
244042011-07-07 Ulrich Drepper <drepper@gmail.com>
24405
4e5f31c8 24406 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24407 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24408 The latter has a higher limit. Take additional parameter to pass to
24409 the new function.
24410 (__pathconf): Pass file to __statfs_link_max.
24411 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24412 __statfs_link_max.
24413 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24414 __statfs_link_max.
24415
de283087
AD
24416 [BZ #12868]
24417 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24418 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24419 Handle Lustre.
24420 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24421 (__statfs_filesize_max): Likewise.
24422 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24423
c75fa153
AJ
244242011-07-05 Andreas Jaeger <aj@suse.de>
24425
24426 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24427
1a544854
UD
244282011-07-06 Marek Polacek <mpolacek@redhat.com>
24429
24430 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24431 `status' variable.
24432 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24433 Likewise.
24434
6f0eec67
UD
244352011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24436
24437 * Makefile (strop-tests): Add strncat.
24438 * string/test-strncat.c: New file.
24439
aae30307
UD
244402011-06-30 Marek Polacek <mpolacek@redhat.com>
24441
24442 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24443
c0cfb5eb
UD
244442011-06-21 Andreas Jaeger <aj@suse.de>
24445
24446 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24447 Copy rule from iconvdata/Makefile.
24448
01636b21
UD
244492011-07-06 Ulrich Drepper <drepper@gmail.com>
24450
24451 [BZ #12922]
24452 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24453 but no long options are defined, just return 'W'.
24454
9895c8bc
UD
244552011-06-22 Marek Polacek <mpolacek@redhat.com>
24456
24457 [BZ #9696]
24458 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24459
5d4cf042
UD
244602011-07-06 Ulrich Drepper <drepper@gmail.com>
24461
24462 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24463 netgroups to read.
960e5535 24464 (innetgr): Likewise.
5d4cf042 24465
751eb97e
RM
244662011-07-05 Roland McGrath <roland@hack.frob.com>
24467
24468 * config.make.in (install_root): Default to $(DESTDIR).
24469
f15f1e45
UD
244702011-07-05 Ulrich Drepper <drepper@gmail.com>
24471
24472 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24473
4e34ac6a
RM
244742011-07-02 Roland McGrath <roland@hack.frob.com>
24475
5e9b6af4
RM
24476 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24477
84f9ea0f
RM
24478 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24479 containing directory rather than embedding absolute directory names.
24480
ea5ee9f7
RM
24481 * scripts/check-local-headers.sh: Rewritten using awk.
24482 Match by word, not by line. Print error messages for matches.
24483 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24484
1b74661a
RM
24485 * Makerules [shlib-lds-flags empty]:
24486 ($(common-objpfx)libc_pic.opts): New target.
24487 ($(common-objpfx)libc_pic.os.clean): New target.
24488 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24489
24490 * config.make.in (OBJCOPY): New variable.
24491 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24492 * configure: Regenerated.
24493
f781ef40
RM
24494 * config.make.in (use-default-link): New variable.
24495 * configure.in (use_default_link): Grok --with-default-link to set it.
24496 * configure: Regenerated.
24497 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24498 (shlib-lds, shlib-lds-flags): Define to empty.
24499
2d4fa81e
RM
24500 * Makerules (shlib-lds): New variable.
24501 (shlib-lds-flags): New variable.
24502 (build-shlib, build-moduile, build-module-asneeded): Use it.
24503 ($(common-objpfx)libc.so): Use $(shlib-lds).
24504 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24505 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24506
31fffa6b
RM
24507 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24508 DT_FLAGS/DT_FLAGS_1 with zero flags.
24509
4e34ac6a
RM
24510 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24511 linker script munging.
24512
fcfc776b
UD
245132011-07-02 Ulrich Drepper <drepper@gmail.com>
24514
24515 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24516 as 128-bit value.
24517 * crypt/sha512.c (sha512_process_block): Perform total addition using
24518 128-bit if possible.
24519 (__sha512_finish_ctx): Likewise.
24520 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24521 as 64-bit value.
24522 * crypt/sha256.c (SWAP64): Define.
24523 (sha256_process_block): Perform total addition using 64-bit if
24524 possible.
24525 (__sha256_finish_ctx): Likewise.
24526
99231d9a
UD
245272011-07-01 Ulrich Drepper <drepper@gmail.com>
24528
24529 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24530 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24531 * nscd/hstcache.c (cache_addhst): Likewise.
24532 * nscd/grpcache.c (cache_addgr): Likewise.
24533 * nscd/aicache.c (addhstaiX): Likewise
24534 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24535
445b4a53
TK
245362011-07-01 Thorsten Kukuk <kukuk@suse.de>
24537
24538 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24539 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24540 * nscd/hstcache.c (cache_addhst): Likewise.
24541 * nscd/grpcache.c (cache_addgr): Likewise.
24542 * nscd/aicache.c (addhstaiX): Likewise
24543
6d4d8e8e
AS
245442011-07-01 Andreas Schwab <schwab@redhat.com>
24545
24546 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24547 domain only when needed.
24548
89f654c5
AS
245492011-06-30 Andreas Schwab <schwab@redhat.com>
24550
24551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24552 is always restored.
24553
cf3b23ff
UD
245542011-06-29 Ulrich Drepper <drepper@gmail.com>
24555
24556 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24557 are re-adding the entry.
24558 * nscd/servicescache.c (cache_addserv): Likewise.
24559
751626f9
AJ
245602011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24561
24562 * sysdeps/generic/dl-irel.h: fix protection against multiple
24563 inclusions.
24564 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24565
9113ea1f
UD
245662011-06-28 Ulrich Drepper <drepper@gmail.com>
24567
5c0b8d90
UD
24568 [BZ #12935]
24569 * malloc/memusage.sh: Fix quoting in message.
24570 * debug/xtrace.sh: Likewise.
24571
9113ea1f
UD
24572 * configure.in: Remove support for --experimental-malloc option, make
24573 it the default.
24574 * config.make.in: Likewise.
24575 * malloc/Makefile: Likewise.
24576
a4172181
AS
245772011-06-27 Andreas Schwab <schwab@redhat.com>
24578
24579 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24580 two-byte characters.
24581
78a7eee7
RM
245822011-06-27 Roland McGrath <roland@hack.frob.com>
24583
62bede13
RM
24584 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24585 AC_CACHE_CHECK invocation.
24586 * configure: Regenerated.
24587
78a7eee7
RM
24588 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24589
5ce33a62
UD
245902011-06-27 Ulrich Drepper <drepper@gmail.com>
24591
034807a9
UD
24592 [BZ #12350]
24593 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24594 bit from old_res_options.
24595
4902da17
UD
24596 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24597
5ce33a62
UD
24598 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24599 value type for setfct.
24600
c2344f56
L
246012011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24602
24603 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24604 __gettimeofday instead of gettimeofday.
24605
68468076
UD
246062011-06-26 Ulrich Drepper <drepper@gmail.com>
24607
24608 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24609
acb0d739
L
246102011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24611
24612 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24613
24614 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24615 info.
24616
8912479f
L
246172011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24618
24619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24620 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24621 strcpy-sse2-unaligned strncpy-sse2-unaligned
24622 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24623 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24624 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24625 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24626 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24627 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24628 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24629 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24630 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24631 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24632 (STRCPY): Support SSE2 and SSSE3 versions.
24633
d5495a11
UD
246342011-06-24 Ulrich Drepper <drepper@gmail.com>
24635
24636 [BZ #12874]
24637 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24638 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24639 kernels which artificially limit size of requests.
24640
0b1cbaae
L
246412011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24642
24643 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24644 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24645 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24646 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24647 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24648 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24649 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24650 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24651 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24652 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24653 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24654 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24655 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24656 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24657 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24659 Enable unaligned load optimization for Intel Core i3, i5 and i7
24660 processors.
24661 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24662 Define.
24663 (index_Fast_Unaligned_Load): Define.
24664 (HAS_FAST_UNALIGNED_LOAD): Define.
24665
07f494a0
MP
246662011-06-23 Marek Polacek <mpolacek@redhat.com>
24667
24668 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24669
fa3fc0fe
UD
246702011-06-22 Ulrich Drepper <drepper@gmail.com>
24671
24672 [BZ #12907]
24673 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24674 until it is clear that the information is realy needed.
24675 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24676
e12df166
AS
246772011-06-22 Andreas Schwab <schwab@redhat.com>
24678
24679 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24680
852eb34d
UD
246812011-06-22 Ulrich Drepper <drepper@gmail.com>
24682
84e2a551
UD
24683 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24684 /sys/devices/system/cpu/online if it is usable.
24685
852eb34d
UD
24686 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24687 reading the information from the /proc filesystem to once a second.
24688
6e502e19
UD
246892011-06-21 Andreas Jaeger <aj@suse.de>
24690
24691 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24692 NULL after inclusion of kernel headers.
24693
75d39ff2
UD
246942011-06-21 Ulrich Drepper <drepper@gmail.com>
24695
51f9aa6a
UD
24696 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24697 calls to internal_setent.
24698
c0244a9d
UD
24699 [BZ #12885]
24700 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24701 addresses using gethostbyname4_r ignore IPv4 addresses.
24702
c5e3c2ae
UD
24703 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24704 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24705
75d39ff2
UD
24706 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24707
42675c6f
DM
247082011-06-20 David S. Miller <davem@davemloft.net>
24709
24710 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24711 inclusions.
24712 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24713
24714 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24715 (elf_irel): Use it.
24716 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24717 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24718 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24719 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24720 * sysdeps/x86_64/dl-irel.h: Likewise.
24721
24722 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24723 * elf/dl-sym.c: Likewise.
24724
57912a71
UD
247252011-06-15 Ulrich Drepper <drepper@gmail.com>
24726
24727 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24728 need to dereference resplen2.
24729
ee22793d
AS
247302011-06-14 Andreas Schwab <schwab@redhat.com>
24731
24732 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24733
a9e836b0
UD
247342011-06-15 Ulrich Drepper <drepper@gmail.com>
24735
77fb9117
UD
24736 * Makeconfig: Define vardbdir and inst_vardbdir.
24737 * nss/Makefile: Add rules to install db-Makefile.
24738
40c1b22c
UD
24739 * nss/nss_db/db-XXX.c: Cleanup.
24740
9f2da732
UD
24741 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24742 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24743 GLIBC_PRIVATE.
24744 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24745 * nss/makedb.c: Implement -g option to specify that value strings
24746 are generated and should not be added to table iterated over for
24747 get*ent calls.
24748 * nss/nss_db/db-initgroups.c: New file.
24749
82e9a1f7
UD
24750 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24751 interface.
24752
c41af17e
UD
24753 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24754 (internal_getgrouplist): Adjust to name change.
24755 Update use_initgroups_entry if this is not the first call.
24756 * nss/databases.def: Add initgroups entry.
24757
a9e836b0
UD
24758 * nss/makedb.c (compute_tables): Check result of multiple hash table
24759 sizes to minimize maximum chain length.
24760
2666d441
UD
247612011-06-14 Ulrich Drepper <drepper@gmail.com>
24762
24763 * Versions.def: Add entry for libnss_db.
24764 * shlib-versions: Likewise.
24765 * nss/Makefile: Add rules to build libnss_db.
24766 * nss/Versions: Add libnss_db information. Organize libnss_files
24767 entries better.
24768 * nss/db-Makefile: Add gshadow support. Change rules for the new
24769 makedb progra. Some minor improvements to generate smaller files.
24770 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24771 here from...
24772 * nss/makedb.c: ...here.
24773 Improve database format to be smaller and require less memory at
24774 runtime.
24775 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24776 db anymore.
24777 * nss/nss_db/db-netgrp.c: Likewise.
24778 * nss/nss_db/db-open.c: Likewise.
24779 * nss/nss_files/flies-XXX.x: Adjust comments.
24780 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24781 * nss/nss_files/files-grp.c: Likewise.
24782 * nss/nss_files/files-hosts.c: Likewise.
24783 * nss/nss_files/files-network.c: Likewise.
24784 * nss/nss_files/files-proto.c: Likewise.
24785 * nss/nss_files/files-pwd.c: Likewise.
24786 * nss/nss_files/files-rpc.c: Likewise.
24787 * nss/nss_files/files-service.c: Likewise.
24788 * nss/nss_files/files-sgrp.c: Likewise.
24789 * nss/nss_files/files-spwd.c: Likewise.
24790 * nss/nss_db/db-alias.c: Removed.
24791 * nss/nss_db/dummy-db.h: Removed.
24792
9ee76b5a
UD
247932011-06-02 Ulrich Drepper <drepper@gmail.com>
24794
24795 * nss/makedb.c: Rewritten to not use database library.
24796 * nss/Makefile: Update to build new makedb program.
24797
c71ca1f8
AJ
247982011-06-14 Andreas Jaeger <aj@suse.de>
24799
24800 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24801 memset declaration.
24802
3154bfb8
UD
248032011-06-10 Andreas Schwab <schwab@redhat.com>
24804
24805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24806 tmpbuf.
24807
b350afab
RM
248082011-06-10 Roland McGrath <roland@hack.frob.com>
24809
decd4e50
RM
24810 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24811 * elf/Makefile ($(objpfx)ld.so): Likewise.
24812
5615eaf2
RM
24813 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24814 Don't list ld.so twice in dependencies.
24815
24816 * posix/bug-regex31.c: Include <stdlib.h>.
24817
24818 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24819
24820 * nis/nss_compat/compat-spwd.c
24821 (getspent_next_nss_netgr): Remove unused variable.
24822 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24823
24824 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24825 nonmembers" output to use the right array.
24826
24827 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24828
24829 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24830
24831 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24832 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24833 * catgets/gencat.c (read_input_file): Likewise.
24834 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24835
24836 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24837 variable definition inside #if's controlling its use.
24838
24839 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24840
24841 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24842
24843 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24844
24845 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24846 unreachable code.
24847
24848 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24849
b68e08db
RM
24850 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24851 * configure: Regenerated.
24852
b350afab
RM
24853 * Makerules: Revert last change.
24854 * elf/Makefile: Likewise.
24855
28368601
RM
248562011-06-09 Roland McGrath <roland@hack.frob.com>
24857
24858 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24859 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24860 (reloc-link): Likewise.
24861
11988f8f
UD
248622011-06-09 Ulrich Drepper <drepper@gmail.com>
24863
24864 * elf/Makefile: Add rules to build pldd.
24865 * elf/pldd.c: New file.
24866 * elf/pldd-xx.c: New file.
24867
e80fab37
UD
248682011-06-07 Ulrich Drepper <drepper@gmail.com>
24869
24870 * version.h: Update for 2.15 development version.
24871
9b849836
DM
248722011-06-07 David S. Miller <davem@davemloft.net>
24873
24874 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24875 ifuncs.
24876 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24877 elf_machine_lazy_rel): Likewise.
24878 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24880 elf_machine_lazy_rel): Likewise.
24881 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24882 dl_hwcap via passed in argument.
24883 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24884 Likewise.
24885
5a31b283
AK
248862011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24887
24888 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24889
069e52f8
RM
248902011-06-06 Roland McGrath <roland@hack.frob.com>
24891
24892 [BZ #12849]
24893 * manual/fdl-1.1.texi: New file, verbatim from:
24894 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24895 * manual/lgpl-2.1.texi: New file, verbatim from:
24896 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24897 * manual/Makefile (licenses): New variable, list those new file names.
24898 (texis): Use it.
24899 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24900
24901 * manual/fdl.texi: File removed.
24902 * manual/lesser.texi: File removed.
24903 * manual/libc.texinfo (Copying, Documentation License):
24904 Use new @include file names, put @appendix directive before @include.
24905
f16846a5
JJ
249062011-06-04 Jakub Jelinek <jakub@redhat.com>
24907
24908 [BZ #12841]
24909 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24910 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24911 (mq_open): Add __NTH.
24912
3d29045b
L
249132011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24914
24915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24916 Assume Intel Core i3/i5/i7 processor if AVX is available.
24917
8c297311
UD
249182011-05-31 Ulrich Drepper <drepper@gmail.com>
24919
24920 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24921 typo.
24922
c8fc0c91
UD
249232011-05-31 Andreas Schwab <schwab@redhat.com>
24924
24925 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24926 memory. Use alloca_account. Fix memory leak when retrying.
24927
5b27a807
UD
249282011-05-31 Ulrich Drepper <drepper@gmail.com>
24929
356f8bc6
UD
24930 * version.h (RELEASE): Bump for 2.14 release.
24931 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24932
5b27a807
UD
24933 * config.make.in (RANLIB): Remove entry.
24934
01f16ab0
UD
249352011-05-30 Ulrich Drepper <drepper@gmail.com>
24936
41fce8bd
UD
24937 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24938 (libc.pot): Work around missing support for .ksh extension in xgettext.
24939
4769ae77
UD
24940 [BZ #12684]
24941 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24942 if both request failed.
24943 (send_dg): In case of server errors clear resplen or *resplen2.
24944
6b1e7d19
UD
24945 [BZ #12454]
24946 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24947 when there are multiple maps.
24948 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24949 (_dl_fini): Remove test here.
24950
01f16ab0
UD
24951 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24952
b1ebd700
UD
249532011-05-29 Ulrich Drepper <drepper@gmail.com>
24954
7ae22829
UD
24955 [BZ #12350]
24956 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24957 bit from old_res_options.
24958 (gaih_inet): Likewise.
24959
553149f6 24960 [BZ #11099]
18a84741 24961 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24962 as signed.
24963
652ffab1
UD
24964 * resolv/res_init.c (res_setoptions): Make the code more compact.
24965
16985fd0
UD
24966 [BZ #11558]
24967 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24968 set RES_USEVC.
24969
0464f746
UD
24970 [BZ #11634]
24971 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24972
7d17596c
UD
24973 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24974
cf6bbbd7
UD
24975 [BZ #11781]
24976 * malloc/malloc.h: Declare malloc hook variables as volatile.
24977
13f1ab36
UD
24978 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24979 in last patch.
24980
b1ebd700
UD
24981 [BZ #11799]
24982 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24983 raise in the comment.
80e2212d
UD
24984 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24985 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24986 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24987
ce67228d
UD
249882011-05-28 Ulrich Drepper <drepper@gmail.com>
24989
8887a920
UD
24990 [BZ #12811]
24991 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24992 grow the buffers more if it already has to be sufficient.
24993 (build_wcs_upper_buffer): Likewise.
24994 * posix/regexec.c (check_matching): Likewise.
24995 (clean_state_log_if_needed): Likewise.
24996 (extend_buffers): Don't enlarge buffers beyond size of the input
24997 buffer.
24998 Patches mostly by Emil Wojak <emil@wojak.eu>.
24999 * posix/bug-regex32.c: New file.
25000 * posix/Makefile (tests): Add bug-regex32.
25001
4f031072
UD
25002 * locale/findlocale.c (_nl_find_locale): Return right away if
25003 _nl_explode_name failed.
25004 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25005
d0478f0c
UD
25006 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25007
de81b246
UD
25008 * debug/xtrace.sh: Unify messages.
25009 * malloc/memusage.sh: Likewise.
25010
c738465a
UD
25011 [BZ #12813]
25012 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25013 time symbol from vDSO. Substitute with vsyscall if not available.
25014 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25015 __vdso_time.
25016
f1f929d7
UD
25017 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25018 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25019 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25020 Add sendmmsg and internal_sendmmsg.
25021 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25022 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25023 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25024
ce67228d
UD
25025 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25026 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25027 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25028
e57420c6
UD
250292011-05-27 Ulrich Drepper <drepper@gmail.com>
25030
a8509ca5
UD
25031 [BZ #12813]
25032 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25033 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25034 available.
25035 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25036 __vdso_getcpu.
25037
e57420c6
UD
25038 [BZ #12814]
25039 * iconvdata/Makefile (tests): Add bug-iconv9.
25040 * iconvdata/bug-iconv9.c: New file.
25041
4d07db15
AS
250422011-05-27 Andreas Schwab <schwab@redhat.com>
25043
25044 [BZ #12814]
25045 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25046
ea486f69
JJ
250472011-05-25 Jakub Jelinek <jakub@redhat.com>
25048
25049 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25050 (struct user_regs_struct): Change intcs field back to cs.
25051
6f038433
UD
250522011-05-25 Ulrich Drepper <drepper@gmail.com>
25053
25054 * po/ja.po: Update from translation team.
25055
67f86a25
UD
250562011-05-23 Ulrich Drepper <drepper@gmail.com>
25057
25058 [BZ #12795]
25059 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25060 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25061
def7fbd6
AS
250622011-05-20 Andreas Schwab <schwab@redhat.com>
25063
25064 * stdlib/longlong.h: Update from GCC.
25065
f50ef8f1
AS
250662011-05-23 Andreas Schwab <schwab@redhat.com>
25067
25068 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25069 parameter name.
25070 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25071 Add parameter name.
25072 (__sysconf): Pass it down.
25073
de7ce8f1
UD
250742011-05-22 Ulrich Drepper <drepper@gmail.com>
25075
f2962a71
UD
25076 [BZ #12671]
25077 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25078 some situations.
25079 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25080 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25081 add in in __libc_use_alloca calls. Adjust callers.
25082 (glob): Use malloc in some situations.
25083
de7ce8f1
UD
25084 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25085 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25086 pltexit.
25087
aec84f53
UD
250882011-05-21 Ulrich Drepper <drepper@gmail.com>
25089
05bb4a68
UD
25090 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25091 and CLOCK_BOOTTIME_ALARM.
25092
7ea72f99
UD
25093 [BZ #12782]
25094 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25095 is returned.
25096
7e4afad5
UD
25097 * string/_strerror.c (__strerror_r): Print negative errors as signed
25098 numbers.
25099
8e211fec
UD
25100 [BZ #12777]
25101 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25102 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25103 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25104
f7d82dc9
UD
25105 * configure.in: Fix typo in redirection and correct removal of test
25106 files in two cases.
25107
cc9e536d
UD
25108 [BZ #12788]
25109 * locale/setlocale.c (new_composite_name): Fix test to check for
25110 identical name of all categories.
25111
aec84f53
UD
25112 [BZ #12792]
25113 * libio/filedoalloc.c (local_isatty): New function.
25114 (_IO_file_doallocate): Use local_isatty.
25115 * stdio-common/perror.c (perror): In case a new stream is used
25116 forward the stream error.
25117 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25118 error flag.
25119
78e64fdc
RT
251202011-05-20 Ulrich Drepper <drepper@gmail.com>
25121
34a9094f
UD
25122 [BZ #11869]
25123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25124 alloca.
25125 * include/alloca.h (extend_alloca_account): Define.
25126
78e64fdc
RT
25127 [BZ #11857]
25128 * posix/regex.h: Fix comments with documentation of user-accessible
25129 fields after compilation and describe correct free'ing of pattern
25130 after re_compile_pattern.
25131 Patch by Reuben Thomas <rrt@sc3d.org>.
25132
457bddfc
RA
251332011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25134
25135 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25136 and -mno-altivec to prevent the compiler from using Altivec and/or
25137 VSX instructions when the corresponding registers are not available.
25138
a4527b51
AS
251392011-05-19 Andreas Schwab <schwab@redhat.com>
25140
25141 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25142
ed690b2f
UD
251432011-05-19 Ulrich Drepper <drepper@gmail.com>
25144
25145 * libio/freopen.c (freopen): Use __dup2, not dup2.
25146 * libio/freopen64.c (freopen64): Likewise.
25147
8db73634
L
251482011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25149
25150 [BZ #12775]
25151 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25152 * math/Makefile (tests): Add test-powl.
25153 (CFLAGS-test-powl.c): Define.
25154 * math/test-powl.c: New file.
25155
0a197a9d
L
251562011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25157
25158 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25159
ee30c380
UD
251602011-05-17 Ulrich Drepper <drepper@gmail.com>
25161
25162 [BZ #11837]
25163 * iconvdata/gb18030.c: Update to GB18020-2005.
25164
6ce75379
UD
251652011-05-16 Ulrich Drepper <drepper@gmail.com>
25166
a4b89fd8
AR
25167 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25168 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25169 Patch by Aharon Robbins <arnold@skeeve.com>.
25170
ea389b12
UD
25171 [BZ #11892]
25172 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25173 on the stack.
25174
68a3f91f
UD
25175 [BZ #11895]
25176 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25177 through underflows.
25178
15cc7dd1
UD
25179 [BZ #12766]
25180 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25181 point to strings before performing equality test for error_one_per_line
25182 mode.
25183
f3799213
UD
25184 [BZ #11697]
25185 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25186
d79a9c94
UD
25187 [BZ #11820]
25188 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25189 (struct user_fpregs_struct): Avoid __uint*_t types.
25190
56e5eb46
UD
25191 [BZ #6420]
25192 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25193 symbol info. Use it instead of calling _dl_addr locally.
25194 (lock_and_info): New function.
25195 (tr_freehook): Call lock_and_info and pass symbol info as additional
25196 parameter to tr_where.
25197 (tr_mallochook): Likewise.
25198 (tr_reallochook): Likewise.
25199 (tr_memalignhook): Likewise.
25200
6ce75379
UD
25201 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25202 used and couldn't be at all thread-safe.
25203
f8a3b5bf
UD
252042011-05-15 Ulrich Drepper <drepper@gmail.com>
25205
94b7cc37
UD
25206 * libio/freopen.c (freopen): Don't close old file descriptor
25207 before the new one is opened. Instead dup the new file descriptor
25208 to the old one after the new stream is created.
25209 * libio/freopen64.c (freopen64): Likewise.
25210 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25211 * libio/fileops.c (_IO_new_file_close_it): Handle new
25212 _IO_FLAGS2_NOCLOSE flag.
25213 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25214 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25215 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25216 _IO_FLAGS2_NOCLOSE flag.
25217 * include/unistd.h: Add hidden_proto for dup3.
25218 Define __have_dup3.
25219 * io/dup3.c: Define hidden symbol.
25220 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25221
bd25564e
UD
25222 [BZ #7101]
25223 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25224 when an incomplete long option is used.
25225 * posix/tst-getopt_long1.c: New file.
25226 * posix/Makefile (tests): Add tst-getopt_long1.
25227
c84cfef4
UD
25228 [BZ #10138]
25229 * scripts/config.guess: Update from autoconf-2.68.
25230 * scripts/config.sub: Likewise.
25231
3b85df27
UD
25232 [BZ #10157]
25233 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25234 tests into ...
25235 (has_cpuclock): ...this. New function.
25236 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25237 macro here based on has_cpuclock code.
25238
15a856b1
UD
25239 [BZ #10149]
25240 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25241 First byte (not low byte) is now always NUL.
25242 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25243
05f399e6
UD
25244 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25245 Use non-cancelable interfaces.
25246
10a52685 25247 [BZ #9809]
94ecc67d
UD
25248 * locale/iso-639.def: Add entry for Sorani.
25249
f8a3b5bf
UD
25250 [BZ #11901]
25251 * include/stdlib.h: Move include protection to the right place.
25252 Define abort_msg_s. Declare __abort_msg with it.
25253 * stdlib/abort.c (__abort_msg): Adjust type.
25254 * assert/assert.c (__assert_fail_base): New function. Majority
25255 of code from __assert_fail. Allocate memory for __abort_msg with
25256 mmap.
25257 (__assert_fail): Now call __assert_fail_base.
25258 * assert/assert-perr.c: Remove bulk of implementation. Use
25259 __assert_fail_base.
25260 * include/assert.hL Declare __assert_fail_base.
25261 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25262 mmap.
25263 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25264
1af4e298
UD
252652011-05-14 Ulrich Drepper <drepper@gmail.com>
25266
f8a3b5bf 25267 [BZ #11952]
d26dfc60
MG
25268 [BZ #12453]
25269 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25270 until all modules are registered in the DTV.
25271 * elf/Makefile: Add rules to build and run tst-tls19.
25272 * elf/tst-tls19.c: New file.
25273 * elf/tst-tls19mod1.c: New file.
25274 * elf/tst-tls19mod2.c: New file.
25275 * elf/tst-tls19mod3.c: New file.
25276 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25277
2fc54d6f
UD
25278 [BZ #12083]
25279 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25280 correctly.
25281
98d76b46
UD
25282 [BZ #12601]
25283 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25284 two-byte sequence errors.
25285 * iconvdata/Makefile (tests): Add bug-iconv8.
25286 * iconvdata/bug-iconv8.c: New file.
25287
da3c19ef
UD
25288 [BZ #12626]
25289 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25290 buf2 definition.
25291
ca408c15
UD
25292 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25293
d6f67f7d
UD
25294 [BZ #12432]
25295 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25296 (dummy_getcfa): New function.
25297 (init): Get _Unwind_GetCFA address, use dummy if not found.
25298 (backtrace_helper): In recursion check, also check whether CFA changes.
25299 (__backtrace): Completely initialize arg.
25300
1af4e298 25301 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25302 storing incomplete byte sequence in state object. Avoid testing for
25303 guaranteed too small input if we know there is enough data available.
1af4e298 25304
da62f81b
AS
253052011-05-11 Andreas Schwab <schwab@redhat.com>
25306
25307 * Makeconfig (+link-pie): Indent.
25308 * Rules (binaries-pie): Define if $(have-fpie) and
25309 $(build-shared).
25310 (binaries-shared): Also filter out $(binaries-pie).
25311 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25312 * nscd/Makefile (others-pie): Add nscd.
25313 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25314 ($(objpfx)nscd): Remove command override.
25315 * login/Makefile (others-pie): Add pt_chown.
25316 ($(objpfx)pt_chown): Remove command override.
25317 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25318 remove command overrides.
25319
fcabc0f8
UD
253202011-05-13 Ulrich Drepper <drepper@gmail.com>
25321
20030ae6
UD
25322 * libio/tst_putwc.c: Fix error messages.
25323
fcabc0f8
UD
25324 [BZ #12724]
25325 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25326 currently writing and seek to current position when not.
25327 * libio/Makefile (tests): Add bug-fclose1.
25328 * libio/bug-fclose1.c: New file.
25329
320a5dc0
PB
253302011-05-12 Ulrich Drepper <drepper@gmail.com>
25331
25332 [BZ #12511]
25333 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25334 don't set DF_1_NODELETE here.
25335 (do_lookup_x): When entering new entry test for copy relocation
25336 and if necessary set DF_1_NODELETE flag.
25337 * elf/tst-unique4.cc: New file.
25338 * elf/tst-unique4.h: New file.
25339 * elf/tst-unique4lib.cc: New file.
25340 * elf/Makefile: Add rules to build and run tst-unique4.
25341 Patch by Piotr Bury <pbury@goahead.com>.
25342
22836f52
UD
253432011-05-11 Ulrich Drepper <drepper@gmail.com>
25344
f574184a
UD
25345 [BZ #12052]
25346 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25347
e1fb097f
UD
25348 [BZ #12625]
25349 * misc/mntent_r.c (addmntent): Flush the stream after the output
25350
22836f52
UD
25351 [BZ #12393]
25352 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25353 (is_trusted_path_normalize): Skip initial colon. Append slash
25354 to empty buffer. Duplicate is_trusted_path code but allow
25355 constructed patch to be prefix.
25356 (is_dst): Allow $ORIGIN followed by /.
25357 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25358 Correct testing of result of is_trusted_path_normalize
25359 (decompose_rpath): Fix warning.
25360
7b3b0b2a
UD
253612011-05-10 Ulrich Drepper <drepper@gmail.com>
25362
25363 [BZ #11257]
25364 * grp/initgroups.c (internal_getgrouplist): When we found the service
25365 list through the initgroups entry in nsswitch.conf do not always
25366 continue on a successful lookup. Don't always use the
eac80ce2 25367 __nss_group_database value if it is set.
7b3b0b2a
UD
25368 * nss/nsswitch.conf (initgroups): Change action for successful db
25369 lookup to continue for compatibility.
25370
2a81eaa5
UD
253712011-05-09 Ulrich Drepper <drepper@gmail.com>
25372
be97a69e
UD
25373 [BZ #11532]
25374 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25375 and CP774 modules.
25376 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25377 and CP774 modules.
25378 * iconvdata/tst-tables.sh: Likewise.
25379 * iconvdata/cp770.c: New file.
25380 * iconvdata/cp771.c: New file.
25381 * iconvdata/cp772.c: New file.
25382 * iconvdata/cp773.c: New file.
25383 * iconvdata/cp774.c: New file.
25384 * iconvdata/testdata/CP770: New file.
25385 * iconvdata/testdata/CP770..UTF8: New file.
25386 * iconvdata/testdata/CP771: New file.
25387 * iconvdata/testdata/CP771..UTF8: New file.
25388 * iconvdata/testdata/CP772: New file.
25389 * iconvdata/testdata/CP772..UTF8: New file.
25390 * iconvdata/testdata/CP773: New file.
25391 * iconvdata/testdata/CP773..UTF8: New file.
25392 * iconvdata/testdata/CP774: New file.
25393 * iconvdata/testdata/CP774..UTF8: New file.
25394
25395 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25396 END CHARMAP line.
25397 * iconvdata/gen-8bit-gap.sh: Likewise.
25398 * iconvdata/gen-8bit.sh: Likewise.
25399
c1e9e399
UD
25400 * locale/iso-639.def: Add ary entry.
25401
24c55fb3 25402 [BZ #11258]
96b4b1b0
UD
25403 * locale/C-translit.h.in: Add U20A1 transliteration.
25404
bdc2f971
KB
25405 [BZ #12178]
25406 * locale/iso-639.def: Add wae entry.
25407 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25408
2952b117
UD
25409 [BZ #12545]
25410 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25411 for n.
25412
2a81eaa5
UD
25413 [BZ #12711]
25414 * locale/C-translit.h.in: Add entry for U20B9.
25415 Patch by pravin.d.s@gmail.com.
25416
28377d1b
UD
254172011-05-08 Ulrich Drepper <drepper@gmail.com>
25418
7fb90fb8
UD
25419 [BZ #12713]
25420 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25421 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25422 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25423 in rtld. Use *stat64.
7fb90fb8 25424 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25425 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25426 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25427 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25428 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25429 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25430 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25431 __fstatat64 macros.
7fb90fb8
UD
25432 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25433 * dirent/rewinddir.c: Add libc_hidden_def.
25434 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25435 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25436
28377d1b
UD
25437 * include/dirent.h (__alloc_dir): Add flags parameter.
25438 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25439 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25440 __alloc_dir.
25441 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25442 from fdopendir if O_CLOEXEC is already set.
25443
66bdbaa4
AM
254442011-03-15 Alan Modra <amodra@gmail.com>
25445
25446 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25447 l_tls_firstbyte_offset non-zero. Save padding offset in
25448 l_tls_firstbyte_offset for later use.
25449 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25450 freeing static tls block.
25451
95721191
JN
254522011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25453
25454 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25455 where #ifdef was intended. The intent is to prevent ARG_MAX from
25456 being defined by the kernel headers.
25457
f87dfb1f
UD
254582011-05-07 Ulrich Drepper <drepper@gmail.com>
25459
25460 [BZ #12734]
25461 * resolv/resolv.h: Define RES_NOTLDQUERY.
25462 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25463 no-tld-query and set RES_NOTLDQUERY.
25464 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25465 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25466 modern BIND to search name as TLD unless forbidden.
25467
47c3cd7a
UD
254682011-05-07 Petr Baudis <pasky@suse.cz>
25469 Ulrich Drepper <drepper@gmail.com>
25470
25471 [BZ #12393]
25472 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25473 (is_trusted_path): ...to here.
c1e9ea35 25474 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25475 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25476 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25477
8a35c912
PP
254782011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25479
25480 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25481 __BEGIN/__END_DECLS.
25482
acd41f47
UD
254832011-05-06 Ulrich Drepper <drepper@gmail.com>
25484
25485 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25486 NSS_STATUS_NOTFOUND if no record was found.
25487
597df647
AS
254882011-05-05 Andreas Schwab <schwab@redhat.com>
25489
25490 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25491 (headers-not-in-tirpc): Remove rpc/netdb.h
25492 * resolv/netdb.h: Revert last change.
25493
b9af1301
PP
254942011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25495
25496 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25497 circular dependency between libgcc.a and libc.a.
25498
4e34d5f5
AS
254992011-05-05 Andreas Schwab <schwab@redhat.com>
25500
25501 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25502 * nis/Makefile: Don't install rpcsvc/*.
25503 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25504 instead of <rpc/types.h>.
25505 (MAXHOSTNAMELEN): Define.
25506
00ee369c
AS
255072011-05-03 Andreas Schwab <schwab@redhat.com>
25508
25509 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25510
0b592a30
MB
255112011-04-28 Maciej Babinski <mbabinski@google.com>
25512
25513 [BZ #12714]
25514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25515 gethostbyname4_r when IPv6 results are possible.
25516
6e04cbbe
UD
255172011-05-02 Ulrich Drepper <drepper@gmail.com>
25518
25519 [BZ #12723]
25520 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25521 _PC_PIPE_BUF handling.
25522
e4ecafe0
BH
255232011-04-30 Bruno Haible <bruno@clisp.org>
25524
25525 [BZ #12717]
25526 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25527 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25528 to 'int'.
25529 * inet/getnameinfo.c (getnameinfo): Likewise.
25530
125ee683
UD
255312011-04-29 Ulrich Drepper <drepper@gmail.com>
25532
25533 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25534 to groups setting in database lookup.
25535 * nss/nsswitch.conf: Add initgroups entry.
25536
b722481a
EB
255372011-04-22 Ulrich Drepper <drepper@gmail.com>
25538
25539 [BZ #12685]
25540 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25541 mode string.
25542 Patch by Eric Blake <eblake@redhat.com>.
25543
4df46dbd
L
255442011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25545
25546 * sunrpc/Makefile (need-export-routines): Add svc_run.
25547 (routines): Remove svc_run.
25548 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25549 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25550 * sunrpc/svc_run.c (svc_run): Likewise.
25551 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25552
e84142d2
UD
255532011-04-21 Ulrich Drepper <drepper@gmail.com>
25554
25555 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25556 problem in reallocation in last patch.
25557
877175d8
UD
255582011-04-20 Ulrich Drepper <drepper@gmail.com>
25559
25560 * sunrpc/Makefile: Move inclusion of Rules.
25561
ab8eed78
UD
255622011-04-19 Ulrich Drepper <drepper@gmail.com>
25563
25564 * nss/nss_files/files-initgroups.c: New file.
25565 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25566 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25567 _nss_files_initgroups_dyn.
25568
e3d8f584
RS
255692011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25570
25571 * elf/elf.h (R_ARM_IRELATIVE): Define.
25572
af190f45
UD
255732011-04-19 Ulrich Drepper <drepper@gmail.com>
25574
25575 * po/ru.po: Update from translation team.
25576
53cf59ef
UD
255772011-04-17 Ulrich Drepper <drepper@gmail.com>
25578
25579 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25580 dependencies.
25581
4c559bcd
MF
255822011-02-06 Mike Frysinger <vapier@gentoo.org>
25583
25584 [BZ #12653]
25585 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25586 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25587 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25588 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25589 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25590
4420675c
AS
255912011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25592
25593 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25594 differing bytes.
25595 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25596 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25597 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25598
75ea32ab
UD
255992011-04-17 Ulrich Drepper <drepper@gmail.com>
25600
25601 [BZ #12420]
25602 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25603 storing it.
25604 * stdlib/bug-getcontext.c: New file.
25605 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25606
27390476
AK
256072011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25608
25609 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25610 instructions into .machine "z9-109".
25611 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25612 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25613
10442705
AK
256142011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25615
25616 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25617 between environment variables and auxiliary vector.
25618
7b57bfe5
UD
256192011-04-16 Ulrich Drepper <drepper@gmail.com>
25620
25621 * Makefile: Add rules to build linkobj/libc.so.
25622 * include/libc-symbols.h: Define libc_hidden_nolink.
25623 * include/rpc/auth.h: Mark functions which are to be hidden.
25624 * include/rpc/auth_des.h: Likewise.
25625 * include/rpc/auth_unix.h: Likewise.
25626 * include/rpc/clnt.h: Likewise.
25627 * include/rpc/des_crypt.h: Likewise.
25628 * include/rpc/key_prot.h: Likewise.
25629 * include/rpc/pmap_clnt.h: Likewise.
25630 * include/rpc/pmap_prot.h: Likewise.
25631 * include/rpc/pmap_rmt.h: Likewise.
25632 * include/rpc/rpc_msg.h: Likewise.
25633 * include/rpc/svc.h: Likewise.
25634 * include/rpc/svc_auth.h: Likewise.
25635 * include/rpc/xdr.h: Likewise.
25636 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25637 * nss/Makefile: Likewise.
25638 * sunrpc/Makefile: Don't install headers. Build library with normal
25639 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25640 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25641 for the compat linking library. Remove use of INTDEF/INTUSE.
25642 * sunrpc/auth_none.c: Likewise.
25643 * sunrpc/auth_unix.c: Likewise.
25644 * sunrpc/authdes_prot.c: Likewise.
25645 * sunrpc/authuxprot.c: Likewise.
25646 * sunrpc/clnt_gen.c: Likewise.
25647 * sunrpc/clnt_perr.c: Likewise.
25648 * sunrpc/clnt_raw.c: Likewise.
25649 * sunrpc/clnt_simp.c: Likewise.
25650 * sunrpc/clnt_tcp.c: Likewise.
25651 * sunrpc/clnt_udp.c: Likewise.
25652 * sunrpc/clnt_unix.c: Likewise.
25653 * sunrpc/des_crypt.c: Likewise.
25654 * sunrpc/des_soft.c: Likewise.
25655 * sunrpc/get_myaddr.c: Likewise.
25656 * sunrpc/key_call.c: Likewise.
25657 * sunrpc/key_prot.c: Likewise.
25658 * sunrpc/netname.c: Likewise.
25659 * sunrpc/pm_getmaps.c: Likewise.
25660 * sunrpc/pm_getport.c: Likewise.
25661 * sunrpc/pmap_clnt.c: Likewise.
25662 * sunrpc/pmap_prot.c: Likewise.
25663 * sunrpc/pmap_prot2.c: Likewise.
25664 * sunrpc/pmap_rmt.c: Likewise.
25665 * sunrpc/publickey.c: Likewise.
25666 * sunrpc/rpc_cmsg.c: Likewise.
25667 * sunrpc/rpc_common.c: Likewise.
25668 * sunrpc/rpc_dtable.c: Likewise.
25669 * sunrpc/rpc_prot.c: Likewise.
25670 * sunrpc/rpc_thread.c: Likewise.
25671 * sunrpc/rtime.c: Likewise.
25672 * sunrpc/svc.c: Likewise.
25673 * sunrpc/svc_auth.c: Likewise.
25674 * sunrpc/svc_authux.c: Likewise.
25675 * sunrpc/svc_raw.c: Likewise.
25676 * sunrpc/svc_run.c: Likewise.
25677 * sunrpc/svc_simple.c: Likewise.
25678 * sunrpc/svc_tcp.c: Likewise.
25679 * sunrpc/svc_udp.c: Likewise.
25680 * sunrpc/svc_unix.c: Likewise.
25681 * sunrpc/svcauth_des.c: Likewise.
25682 * sunrpc/xcrypt.c: Likewise.
25683 * sunrpc/xdr.c: Likewise.
25684 * sunrpc/xdr_array.c: Likewise.
25685 * sunrpc/xdr_float.c: Likewise.
25686 * sunrpc/xdr_intXX_t.c: Likewise.
25687 * sunrpc/xdr_mem.c: Likewise.
25688 * sunrpc/xdr_rec.c: Likewise.
25689 * sunrpc/xdr_ref.c: Likewise.
25690 * sunrpc/xdr_sizeof.c: Likewise.
25691 * sunrpc/xdr_stdio.c: Likewise.
25692
e6c61494
UD
256932011-04-10 Ulrich Drepper <drepper@gmail.com>
25694
25695 [BZ #12650]
25696 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25697 * sysdeps/ia64/dl-tls.h: Likewise.
25698 * sysdeps/powerpc/dl-tls.h: Likewise.
25699 * sysdeps/s390/dl-tls.h: Likewise.
25700 * sysdeps/sh/dl-tls.h: Likewise.
25701 * sysdeps/sparc/dl-tls.h: Likewise.
25702 * sysdeps/x86_64/dl-tls.h: Likewise.
25703 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25704
34fe483e
AS
257052011-03-14 Andreas Schwab <schwab@redhat.com>
25706
25707 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25708 rpath element also skip the following colon.
25709 (expand_dynamic_string_token): Add is_path parameter and pass
25710 down to DL_DST_REQUIRED and _dl_dst_substitute.
25711 (decompose_rpath): Call expand_dynamic_string_token with
25712 non-zero is_path. Ignore empty rpaths.
25713 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25714 with zero is_path.
25715
f12a32e6
AS
257162011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25717
25718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25719 Make cancelable.
25720
38a7d692
UD
257212011-04-09 Ulrich Drepper <drepper@gmail.com>
25722
25723 [BZ #12655]
25724 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25725 Patch by Filipe David Manana <fdmanana@apache.org>.
25726
e451d22b
AS
257272011-04-07 Andreas Schwab <schwab@redhat.com>
25728
25729 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25730 Maintain aligned stack.
25731 (CHECK_RSP): Remove unused macro.
25732
dedc7c7b
UD
257332011-04-03 Ulrich Drepper <drepper@gmail.com>
25734
25735 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25736 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25737
94521213
UD
257382011-04-02 Ulrich Drepper <drepper@gmail.com>
25739
25740 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25741
8cb700c0 25742 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25743
0354e355
L
257442011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25745
25746 [BZ #12518]
25747 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25748 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25749 * sysdeps/x86_64/memmove.c: New file.
25750 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25751 (memcpy): Renamed to ...
25752 (__new_memcpy): This.
25753 (memcpy): Provide GLIBC_2_14 memcpy.
25754 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25755 (memcpy): Provide GLIBC_2_2_5 memcpy.
25756
8593482f
UD
257572011-04-01 Ulrich Drepper <drepper@gmail.com>
25758
25759 [BZ #12631]
25760 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25761
81a5726b
AS
257622011-03-30 Andreas Schwab <schwab@redhat.com>
25763
25764 * misc/syncfs.c: New file.
25765 * misc/Makefile (routines): Add syncfs.
25766 * posix/unistd.h: Declare syncfs.
25767 * sysdeps/unix/syscalls.list: Add syncfs.
25768
00e5419f
AS
257692011-04-01 Andreas Schwab <schwab@redhat.com>
25770
25771 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25772 open_by_handle_at.
25773 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25774 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25775 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25776 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25777 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25778 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25780
748876bf
UD
257812011-04-01 Ulrich Drepper <drepper@gmail.com>
25782
658e451d
UD
25783 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25784 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25785 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25786 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25787 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25788 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25789 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25790
748876bf
UD
25791 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25792 sync_file_range.c with -fexceptions.
25793 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25794 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25795 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25796 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25797 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25798 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25799 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25800 sync_file_range as cancellation point
25801 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25802 now a wrapper around __call_sync_file_range with cancellation handling.
25803 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25804 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25805 function name to __call_sync_file_range.
25806 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25807 Add call_sync_file_range.
748876bf 25808
6e63d5e1
AS
258092011-04-01 Andreas Schwab <schwab@redhat.com>
25810
25811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25812 bits/timex.h.
6e63d5e1 25813
46998f74
UD
258142011-04-01 Ulrich Drepper <drepper@gmail.com>
25815
4c1423ed
UD
25816 * iconv/iconv.h: Fix typo in comment.
25817 * io/fcntl.h: Likewise.
25818 * libio/stdio.h: Likewise.
25819 * posix/spawn.h: Likewise.
25820 * posix/unistd.h: Likewise.
25821 * stdlib/stdlib.h: Likewise.
25822 * time/time.h: Likewise.
25823 * wcsmbs/wchar.h: Likewise.
25824
158648c0
UD
25825 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25826 open_by_handle): Add.
25827 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25828 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25829 Augment a few comments.
25830 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25831 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25832 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25833 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25834 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25835 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25836 open_by_handle.
25837
46998f74
UD
25838 * io/fcntl.h (AT_EMPTY_PATH): Define.
25839
83fe108b
UD
258402011-03-30 Ulrich Drepper <drepper@gmail.com>
25841
25842 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25843 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25844 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25845 to...
25846 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25847 * Versions.def: Add GLIBC_2.14.
25848 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25849 Export.
83fe108b 25850
bb242059
UD
258512011-03-22 Ulrich Drepper <drepper@gmail.com>
25852
25853 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25854 round counter.
25855 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25856
c97a1282
L
258572011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25858
25859 [BZ #12597]
25860 * string/test-strncmp.c (do_page_test): New function.
25861 (check2): Likewise.
25862 (test_main): Call check2.
25863 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25864
2a115601
UD
258652011-03-20 Ulrich Drepper <drepper@gmail.com>
25866
25867 [BZ #12587]
25868 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25869 Handle cache information in CPU leaf 4.
25870 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25871
8126d904
UD
258722011-03-18 Ulrich Drepper <drepper@gmail.com>
25873
042c49c6 25874 [BZ #12583]
8126d904
UD
25875 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25876 character representation.
25877 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25878
ccfe366e
RA
258792011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25880
25881 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25882 END(__isnan) to END(__isnanf) to match function entry point/label
25883 EALIGN(__isnanf,...).
25884
c6e13027
JJ
258852011-03-10 Jakub Jelinek <jakub@redhat.com>
25886
25887 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25888
33f85a3f
UD
258892011-03-10 Ulrich Drepper <drepper@gmail.com>
25890
028478fa
UD
25891 [BZ #12510]
25892 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25893 copy from the symbol referenced in the relocation to initialize the
25894 used variable.
25895 Patch by Piotr Bury <pbury@goahead.com>.
25896 * elf/Makefile: Add rules to build and tst-unique3.
25897 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25898 * elf/tst-unique3.cc: New file.
25899 * elf/tst-unique3.h: New file.
25900 * elf/tst-unique3lib.cc: New file.
25901 * elf/tst-unique3lib2.cc: New file.
25902
33f85a3f
UD
25903 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25904
03592fc7
MF
259052011-03-10 Mike Frysinger <vapier@gentoo.org>
25906
25907 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25908 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25909 to _start.
03592fc7 25910
6a5ee102
UD
259112011-03-06 Ulrich Drepper <drepper@gmail.com>
25912
25913 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25914 to-be-loaded object along a path to loader is ld.so.
25915
7e4ba49c
HJ
259162011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25917 Ulrich Drepper <drepper@gmail.com>
25918
25919 * sysdeps/x86_64/memset.S: After aligning destination, code
25920 branches to different locations depending on the value of
25921 misalignment, when multiarch is enabled. Fix this.
25922
259232011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25924
25925 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25926 Set _x86_64_preferred_memory_instruction for AMD processsors.
25927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25928 Set bit_Prefer_SSE_for_memop for AMD processors.
25929
13a804de
UD
259302011-03-04 Ulrich Drepper <drepper@gmail.com>
25931
25932 * libio/fmemopen.c (fmemopen): Optimize a bit.
25933
9d25c392
AS
259342011-03-03 Andreas Schwab <schwab@redhat.com>
25935
25936 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25937
a5543c6a
RM
259382011-03-03 Roland McGrath <roland@redhat.com>
25939
25940 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25941
012d35f7
DM
259422011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25943
7e4ba49c 25944 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25945 __bzero_ultra1 instead of __memset_ultra1.
25946
4bff6e01
AS
259472011-02-23 Andreas Schwab <schwab@redhat.com>
25948 Ulrich Drepper <drepper@gmail.com>
25949
25950 [BZ #12509]
25951 * include/link.h (struct link_map): Add l_orig_initfini.
25952 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25953 returning unsuccessfully.
25954 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25955 close of a file loaded at startup, restore the original l_initfini
25956 list.
25957 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25958 list, store the pointer.
25959 * elf/Makefile ($(objpfx)noload-mem): New rule.
25960 (noload-ENV): Define.
25961 (tests): Add $(objpfx)noload-mem.
25962 * elf/noload.c: Include <memcheck.h>.
25963 (main): Call mtrace. Close all opened handles.
25964
f2092faf
AS
259652011-02-17 Andreas Schwab <schwab@redhat.com>
25966
25967 [BZ #12454]
25968 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25969 dependencies are missing.
25970
6c8a2e88
ST
259712011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25972
f2092faf 25973 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25974 Hurd needs munmap.
25975 * sysdeps/mach/hurd/ifreq.h: New file.
25976
84a42118
PB
259772011-01-27 Petr Baudis <pasky@suse.cz>
25978 Ulrich Drepper <drepper@gmail.com>
25979
071f805e 25980 [BZ 12445]#
84a42118
PB
25981 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25982 to extend_alloca().
25983 * stdio-common/bug23.c: New file.
25984 * stdio-common/Makefile (tests): Add bug23.
25985
e23fe25b
AS
259862010-09-28 Andreas Schwab <schwab@redhat.com>
25987 Ulrich Drepper <drepper@gmail.com>
25988
25989 [BZ #12489]
25990 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25991 before performing relro protection. At old place add assertion
25992 to make sure nothing changed.
25993
d3f02e10
NS
259942011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25995 Glauber de Oliveira Costa <glommer@gmail.com>
25996
25997 * elf/elf.h: Add new ARM TLS relocs.
25998
d55fd7a5
RA
259992011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26000
26001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26002 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26003 cast from r3.
26004 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26005 'tests' variable.
26006 * sysdeps/wordsize-64/tst-writev.c: New file.
26007
2206397e
RA
260082011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26009
26010 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26011 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26012 insns in _dl_start to prevent a TOC reference before relocs are
26013 resolved.
26014
e9433893
UD
260152011-02-15 Ulrich Drepper <drepper@gmail.com>
26016
26017 [BZ #12469]
26018 * Makeconfig: Remove RANLIB definition.
26019 * Makerules: Don't use RANLIB.
26020 * aclocal.m4: Remove ranlib test.
26021 * configure.in: No need to check for ranlib.
26022 * elf/rtld-Rules: Don't use RANLIB.
26023
f75286c6
ST
260242011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26025
8e31c82d
ST
26026 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26027 protection macro.
26028 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26029 inclusion protection macro.
26030
f75286c6
ST
26031 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26032 SIGRTMIN and SIGRTMAX and print information in that case only when
26033 SIGRTMIN is defined.
26034
c1d0e639
JJ
260352011-02-11 Jakub Jelinek <jakub@redhat.com>
26036
26037 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26038 arginfo fn returning -1.
26039
26040 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26041 and thousands string is zero terminated.
26042
edf9294e
AS
260432011-02-03 Andreas Schwab <schwab@redhat.com>
26044
26045 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26046 sysdeps/unix/sysv/linux/bits/socket.h.
26047
2b7e92df
ST
260482011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26049
edf9294e
AS
26050 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26051 (__CPU_COUNT): Remove old macros.
26052 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26053 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26054 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26055 (__sched_cpualloc, __sched_cpufree): Add declarations.
26056
a4c7ea7b
UD
260572011-02-05 Ulrich Drepper <drepper@gmail.com>
26058
26059 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26060 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26061 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26062 (readdhstai): Return value of addhstaiX call.
26063 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26064 (addgrbyX): Return value returned by cache_addgr.
26065 (readdgrbyname): Return value returned by addgrbyX.
26066 (readdgrbygid): Likewise.
26067 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26068 (addpwbyX): Return value returned by cache_addpw.
26069 (readdpwbyname): Return value returned by addhstbyX.
26070 (readdpwbyuid): Likewise.
26071 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26072 (addservbyX): Return value returned by cache_addserv.
26073 (readdservbyname): Return value returned by addservbyX:
26074 (readdservbyport): Likewise.
26075 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26076 (addhstbyX): Return value returned by cache_addhst.
26077 (readdhstbyname): Return value returned by addhstbyX.
26078 (readdhstbyaddr): Likewise.
26079 (readdhstbynamev6): Likewise.
26080 (readdhstbyaddrv6): Likewise.
26081 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26082 (readdinitgroups): Return value returned by addinitgroupsX.
26083 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26084 (prune_cache): Keep track of timeout value of re-added entries.
26085 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26086 * nscd/nscd.h: Adjust prototypes of readd* functions.
26087
a0bf67cc
RM
260882011-02-04 Roland McGrath <roland@redhat.com>
26089
26090 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26091 (nis_stats): Likewise.
26092 * nis/nis_modify.c (nis_modify): Likewise.
26093 * nis/nis_remove.c (nis_remove): Likewise.
26094 * nis/nis_add.c (nis_add): Likewise.
26095
26096 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26097
26098 * posix/fnmatch_loop.c: Add some consts.
26099
26100 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26101
435b95eb
L
261022011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26103
26104 [BZ #12460]
26105 * config.make.in (config-cflags-novzeroupper): Define.
26106 * configure.in: Substitute libc_cv_cc_novzeroupper.
26107 * elf/Makefile (AVX-CFLAGS): Define.
26108 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26109 (CFLAGS-tst-auditmod4a.c): Likewise.
26110 (CFLAGS-tst-auditmod4b.c): Likewise.
26111 (CFLAGS-tst-auditmod6b.c): Likewise.
26112 (CFLAGS-tst-auditmod6c.c): Likewise.
26113 (CFLAGS-tst-auditmod7b.c): Likewise.
26114 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26115
8517b15e
UD
261162011-02-02 Ulrich Drepper <drepper@gmail.com>
26117
26118 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26119 function to the callback.
26120 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26121
10a656fe
AS
261222011-02-02 Andreas Schwab <schwab@redhat.com>
26123
26124 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26125 of errno.
26126
968dad0a
UD
261272011-01-19 Ulrich Drepper <drepper@gmail.com>
26128
9f94d2ea 26129 [BZ #11724]
968dad0a
UD
26130 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26131 of constructors.
26132 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26133 of destructors.
26134 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26135
26136 [BZ #11724]
26137 * elf/Makefile: Add rules to build and run new test.
26138 * elf/tst-initorder.c: New file.
26139 * elf/tst-initorder.exp: New file.
26140 * elf/tst-initordera1.c: New file.
26141 * elf/tst-initordera2.c: New file.
26142 * elf/tst-initordera3.c: New file.
26143 * elf/tst-initordera4.c: New file.
26144 * elf/tst-initorderb1.c: New file.
26145 * elf/tst-initorderb2.c: New file.
26146 * elf/tst-order-a1.c: New file.
26147 * elf/tst-order-a2.c: New file.
26148 * elf/tst-order-a3.c: New file.
26149 * elf/tst-order-a4.c: New file.
26150 * elf/tst-order-b1.c: New file.
26151 * elf/tst-order-b2.c: New file.
26152 * elf/tst-order-main.c: New file.
26153 New test case by George Gensure <werkt0@gmail.com>.
26154
86e92359
UD
261552010-10-01 Andreas Schwab <schwab@redhat.com>
26156
26157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26158 decoding ACE if AI_CANONIDN.
26159
5d5732b0
UD
261602011-01-18 Ulrich Drepper <drepper@gmail.com>
26161
26162 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26163
a77e8cbc
UD
261642011-01-17 Ulrich Drepper <drepper@gmail.com>
26165
6392473f
UD
26166 * version.h (RELEASE): Bump for 2.13 release.
26167 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26168
620a0529
UD
26169 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26170
18ba70a5
UD
26171 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26172 MADV_NOHUGEPAGE.
32465c3e
UD
26173 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26174 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26175 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26176 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26177 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26178 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26179
c0dafcf1
UD
26180 * posix/getconf.c: Update copyright year.
26181 * catgets/gencat.c: Likewise.
26182 * csu/version.c: Likewise.
26183 * debug/catchsegv.sh: Likewise.
26184 * debug/xtrace.sh: Likewise.
26185 * elf/ldconfig.c: Likewise.
26186 * elf/ldd.bash.in: Likewise.
26187 * elf/sprof.c (print_version): Likewise.
26188 * iconv/iconv_prog.c: Likewise.
26189 * iconv/iconvconfig.c: Likewise.
26190 * locale/programs/locale.c: Likewise.
26191 * locale/programs/localedef.c: Likewise.
26192 * malloc/memusage.sh: Likewise.
26193 * malloc/mtrace.pl: Likewise.
26194 * nscd/nscd.c (print_version): Likewise.
26195 * nss/getent.c: Likewise.
26196
a77e8cbc
UD
26197 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26198 PF_CAIF, and PF_ALG.
26199 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26200
77e8bddf
AS
262012011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26202
1f20b93a
AS
26203 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26204 (modules-names): Use them.
26205 (ifunc-test-modules, ifunc-pie-tests): Define.
26206 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26207 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26208 (test-extras): Likewise.
26209 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26210 $(compile-command.c).
26211 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26212 (all-built-dso): Define.
26213 (check-textrel.out, check-execstack.out): Depend on it.
26214
77e8bddf
AS
26215 * configure.in: Don't override --enable-multi-arch.
26216
bc425b33
UD
262172011-01-15 Ulrich Drepper <drepper@gmail.com>
26218
26219 [BZ #6812]
26220 * nscd/hstcache.c (tryagain): Define.
26221 (cache_addhst): Return tryagain not notfound for temporary errors.
26222 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26223 failed.
26224
794c3ad3
UD
262252011-01-14 Ulrich Drepper <drepper@gmail.com>
26226
70181fdd
UD
26227 [BZ #10563]
26228 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26229 to make the syscall.
26230 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26231
794c3ad3
UD
26232 [BZ #12378]
26233 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26234 and fall back to matching as normal character if the string ends before
26235 the matching ']' is found. This is what POSIX requires.
26236 * posix/testfnm.c: Adjust test result.
26237 * posix/globtest.sh: Adjust test result. Add new test.
26238 * posix/tst-fnmatch.input: Likewise.
26239 * posix/tst-fnmatch2.c: Add new test.
26240
68dc9497
AS
262412010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26242
26243 * elf/Makefile (check-execstack): Revert last change. Depend on
26244 check-execstack.h.
26245 (check-execstack.h): New target.
26246 (generated): Add check-execstack.h.
26247 * elf/check-execstack.c: Include "check-execstack.h".
26248 (main): Revert last change.
26249 (handle_file): Return zero if GNU_STACK is absent and
26250 DEFAULT_STACK_PERMS doesn't include PF_X.
26251
451f001b
UD
262522011-01-13 Ulrich Drepper <drepper@gmail.com>
26253
cfa28e56
UD
26254 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26255 in child fails because the descriptor is already closed.
8cf8ce17
UD
26256 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26257 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26258 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26259
1086d70d
UD
26260 [BZ #12397]
26261 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26262 syscall.
26263
451f001b
UD
26264 [BZ #10484]
26265 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26266 temporary buffer used to handle multi lookups locally.
a85b5cb4 26267 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26268
08769175
UD
262692011-01-12 Ulrich Drepper <drepper@gmail.com>
26270
26271 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26272 loader is ld.so.
26273
5e49c52e
UD
262742011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26275
26276 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26277 alignment for SSE2.
26278
60522a5f
UD
262792011-01-12 Ulrich Drepper <drepper@gmail.com>
26280
26281 [BZ #12394]
26282 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26283 characters. When rounding increased number of integer digits recompute
26284 number of groups.
26285 * stdio-common/tst-grouping.c: New file.
26286 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26287
f257bbd7
UD
262882011-01-09 Ulrich Drepper <drepper@gmail.com>
26289
26290 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26291 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26292
26293 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26294 void.
26295 * bits/select.h: Likewise.
26296
fa9c15cb
UD
262972011-01-08 Ulrich Drepper <drepper@gmail.com>
26298
26299 * po/ja.po: Update from translation team.
26300
16c2895f
DM
263012011-01-04 David S. Miller <davem@sunset.davemloft.net>
26302
26303 [BZ #11155]
26304 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26305 implementation just like for lxstat, fxstatat, et al.
26306
2543fef2
JM
263072010-12-27 Jim Meyering <meyering@redhat.com>
26308
26309 [BZ #12348]
26310 * posix/regexec.c (build_trtable): Return failure indication upon
26311 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26312
98727dbe
UD
263132010-12-25 Ulrich Drepper <drepper@gmail.com>
26314
5bd6dc5c
UD
26315 [BZ #12201]
26316 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26317 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26318 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26319 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26320
97983464
UD
26321 [BZ #12207]
26322 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26323
98727dbe
UD
26324 [BZ #12204]
26325 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26326 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26327
4a531bb0
L
263282010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26329
26330 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26331 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26332 script has SORT_BY_INIT_PRIORITY.
26333 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26334 NO_CTORS_DTORS_SECTIONS is defined.
26335 * elf/soinit.c: Likewise.
26336 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26337 NO_CTORS_DTORS_SECTIONS is defined.
26338 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26339 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26340 * sysdeps/sh/init-first.c: Likewise.
26341 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26342
07eb4b71
UD
263432010-12-24 Ulrich Drepper <drepper@gmail.com>
26344
26345 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26346 always use the slow path.
26347
30950a5f
RA
263482010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26349
26350 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26351 similar rule which adds the sysdep directories to the header search in
26352 order to pick up the correct platform stackinfo.h.
26353 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26354 perform test if it is, otherwise return successfully without testing.
26355 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26356 DEFAULT_STACK_PERMS define in stackinfo.h.
26357 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26358 defined in stackinfo.h.
26359 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26360 DEFAULT_STACK_PERMS defined in stackinfo.h.
26361 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26362 * sysdeps/ia64/stackinfo.h: Likewise.
26363 * sysdeps/s390/stackinfo.h: Likewise.
26364 * sysdeps/sh/stackinfo.h: Likewise.
26365 * sysdeps/sparc/stackinfo.h: Likewise.
26366 * sysdeps/x86_64/stackinfo.h: Likewise.
26367 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26368 PF_X for powerpc64. Retain PF_X for powerpc32.
26369
db753e2c
UD
263702010-12-19 Ulrich Drepper <drepper@gmail.com>
26371
14b697f7
UD
26372 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26373 accurately.
db753e2c
UD
26374 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26375 GETDENTS_64BIT_ALIGNED.
26376
28300719
UD
263772010-12-14 Ulrich Drepper <dreper@gmail.com>
26378
14b697f7 26379 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26380
4f197237
AS
263812010-12-10 Andreas Schwab <schwab@redhat.com>
26382
dbb0472f
AS
26383 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26384 _GNU_SOURCE.
26385
4f197237
AS
26386 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26387 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26388 Remove __restrict.
26389 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26390 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26391
fb88ac72
UD
263922010-12-09 Ulrich Drepper <drepper@gmail.com>
26393
26394 [BZ #11655]
26395 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26396 are initialized.
26397
42acbb92
JJ
263982010-12-09 Jakub Jelinek <jakub@redhat.com>
26399
26400 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26401
c038d98d
UD
264022010-12-03 Ulrich Drepper <drepper@gmail.com>
26403
26404 * po/it.po: Update from translation team.
26405
3a4a2499
L
264062010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26407
26408 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26409 unused codes.
26410
1e24cf6e
UD
264112010-11-30 Ulrich Drepper <drepper@gmail.com>
26412
26413 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26414
a7690819
AS
264152010-11-24 Andreas Schwab <schwab@redhat.com>
26416
26417 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26418 specially.
26419 (gaih_getanswer_slice): Likewise.
26420
3bf8d1b1
JJ
264212010-10-20 Jakub Jelinek <jakub@redhat.com>
26422
26423 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26424
6db52fbb
PB
264252010-05-31 Petr Baudis <pasky@suse.cz>
26426
26427 [BZ #11149]
26428 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26429 silently even in the chroot mode.
26430
eaca7569
UD
264312010-11-22 Ulrich Drepper <drepper@gmail.com>
26432
26433 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26434 last patch a bit. Pretty printing
26435
3056dcdb
UD
264362010-05-31 Petr Baudis <pasky@suse.cz>
26437
26438 [BZ #10085]
26439 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26440 initialization of skip_initgroups_dyn.
26441
cf7c9078
UD
264422010-11-19 Ulrich Drepper <drepper@gmail.com>
26443
26444 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26445 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26446
a1fb5e3e
UD
264472010-11-16 Ulrich Drepper <drepper@gmail.com>
26448
26449 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26450
3540d66b
AS
264512010-11-11 Andreas Schwab <schwab@redhat.com>
26452
26453 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26454 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26455 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26456 ($(objpfx)tst-fnmatch-mem): New rule.
26457 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26458 * posix/tst-fnmatch.c (main): Call mtrace.
26459
13b69574
L
264602010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26461
26462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26463 Support Intel processor model 6 and model 0x2c.
26464
da93d214
LM
264652010-11-10 Luis Machado <luisgpm@br.ibm.com>
26466
26467 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26468 signed comparison.
26469
8ca52c6e
L
264702010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26471
26472 [BZ #12205]
26473 * string/test-strncasecmp.c (check_result): New function.
26474 (do_one_test): Use it.
26475 (check1): New function.
26476 (test_main): Use it.
26477 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26478 Support strcasecmp and strncasecmp.
26479
69da074d
UD
264802010-11-08 Ulrich Drepper <drepper@gmail.com>
26481
26482 [BZ #12194]
26483 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26484 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26485
ff02d528
L
264862010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26487
26488 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26489 IFUNC support.
26490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26491 memset-x86-64.
26492 * sysdeps/x86_64/multiarch/bzero.S: New file.
26493 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26494 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26495 * sysdeps/x86_64/multiarch/memset.S: New file.
26496 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26498 Set bit_Prefer_SSE_for_memop for Intel processors.
26499 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26500 Define.
26501 (index_Prefer_SSE_for_memop): Define.
26502 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26503
344d0b54
LM
265042010-11-04 Luis Machado <luisgpm@br.ibm.com>
26505
26506 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26507 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26508
c0dde15b
UD
265092010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26510
26511 [BZ #12191]
26512 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26513 (__x86_64_raw_data_cache_size_half): Likewise.
26514 (__x86_64_raw_shared_cache_size): Likewise.
26515 (__x86_64_raw_shared_cache_size_half): Likewise.
26516
26517 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26518 (__x86_64_raw_data_cache_size_half): Likewise.
26519 (__x86_64_raw_shared_cache_size): Likewise.
26520 (__x86_64_raw_shared_cache_size_half): Likewise.
26521 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26522 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26523 and __x86_64_raw_shared_cache_size_half. Round
26524 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26525 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26526 to multiple of 256 bytes.
26527
0e516e0e
MS
265282010-11-03 Ulrich Drepper <drepper@gmail.com>
26529
26530 [BZ #12167]
26531 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26532 of inacessible symlinks. Verify result of symlink before returning it.
26533 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26534 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26535
0e012e87
ER
265362010-10-28 Erich Ritz <erichritz@gmail.com>
26537
26538 * math/math.h (isinf): Fix typo in comment.
26539
de0ff7bc
UD
265402010-11-01 Ulrich Drepper <drepper@gmail.com>
26541
26542 * po/da.po: Update from translation team.
26543
fa41c84d
UD
265442010-10-26 Ulrich Drepper <drepper@gmail.com>
26545
26546 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26547 is added to the list.
26548
f0967738
AK
265492010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26550 Ulrich Drepper <drepper@gmail.com>
26551
26552 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26553 the global list here. Move code to...
26554 (_dl_add_to_namespace_list): ...here. New function.
26555 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26556 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26557 * elf/dl-load.c (lose): Don't remove the element from the list.
26558 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26559 (_dl_map_object): Likewise.
26560
265612010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26562
26563 [BZ #12159]
26564 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26565 into all bytes of SSE register.
26566 Patch by Richard Li <richardpku@gmail.com>.
26567
f0967738 265682010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26569
26570 [BZ #12140]
26571 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26572 perturbing.
26573
d0b9e94f
MB
265742010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26575
26576 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26577 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26578 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26579 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26581 submachine.
26582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26583
8e9f92e9
AS
265842010-10-22 Andreas Schwab <schwab@redhat.com>
26585
26586 * include/dlfcn.h (__RTLD_SECURE): Define.
26587 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26588 mode & __RTLD_SECURE instead.
26589 (open_path): Rename preloaded parameter to secure.
26590 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26591 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26592 * elf/dl-deps.c (openaux): Likewise.
26593 * elf/rtld.c (struct map_args): Remove is_preloaded.
26594 (map_doit): Don't use it.
26595 (dl_main): Likewise.
26596 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26597 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26598
bc96fbda
AS
265992010-09-09 Andreas Schwab <schwab@redhat.com>
26600
26601 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26602 (sysd-rules-targets): Remove duplicates.
26603 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26604 rtld-%.$o dependency.
26605
22cd1c9b
AS
266062010-10-18 Andreas Schwab <schwab@redhat.com>
26607
26608 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26609 _dl_map_object do it.
26610
18edac48
UD
266112010-10-19 Ulrich Drepper <drepper@gmail.com>
26612
26613 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26614 fast fma builtins, define the macros in the C99 standard.
26615 (FP_FAST_FMAF): Likewise.
26616 (FP_FAST_FMAL): Likewise.
26617 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26618
26619 * bits/mathdef.h: Update copyright year.
26620 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26621
d2050124
MM
266222010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26623
26624 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26625 builtins, define the macros in the C99 standard.
26626 (FP_FAST_FMAF): Likewise.
26627 (FP_FAST_FMAL): Likewise.
26628 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26629 multiply/add.
26630 (FP_FAST_FMAF): Likewise.
26631
475facd1
JJ
266322010-10-15 Jakub Jelinek <jakub@redhat.com>
26633
26634 [BZ #3268]
26635 * math/libm-test.inc (fma_test): Some new testcases.
26636 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26637 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26638 y and infinite z. Do multiplication by C already in long double.
26639 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26640 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26641 y and infinite z. Do bitwise or of inexact bit into u.d.
26642 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26643 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26644 * sysdeps/i386/fpu/s_fma.S: Removed.
26645 * sysdeps/i386/fpu/s_fmal.S: Removed.
26646
7c08a05c
JJ
266472010-10-16 Jakub Jelinek <jakub@redhat.com>
26648
26649 [BZ #3268]
26650 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26651 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26652 computation is not scheduled after fetestexcept. Fix value
26653 of minimum denormal long double.
26654
f3f7372d
JJ
266552010-10-14 Jakub Jelinek <jakub@redhat.com>
26656
26657 [BZ #3268]
26658 * math/libm-test.inc (fma_test): Add some more tests.
26659 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26660 correctly.
26661
14d43591
AS
266622010-10-15 Andreas Schwab <schwab@redhat.com>
26663
26664 * scripts/data/localplt-s390-linux-gnu.data: New file.
26665 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26666
5e908464
JJ
266672010-10-13 Jakub Jelinek <jakub@redhat.com>
26668
26669 [BZ #3268]
26670 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26671 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26672 instead of dbl-64.
26673 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26674 inlines.
26675 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26676 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26677 if one of x and y is very large and the other is subnormal.
26678 * sysdeps/s390/fpu/s_fmaf.c: New file.
26679 * sysdeps/s390/fpu/s_fma.c: New file.
26680 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26681 * sysdeps/powerpc/fpu/s_fma.S: New file.
26682 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26683 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26684 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26685
266862010-10-12 Jakub Jelinek <jakub@redhat.com>
26687
26688 [BZ #3268]
26689 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26690 fma tests.
26691 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26692 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26693 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26694 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26695 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26696 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26697 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26698
b833d51f
UD
266992010-10-12 Ulrich Drepper <drepper@redhat.com>
26700
26701 [BZ #12078]
26702 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26703 * posix/bug-regex31.input: Add test case.
26704
1751705d
UD
267052010-10-11 Ulrich Drepper <drepper@gmail.com>
26706
e9b9cbf5
UD
26707 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26708 * posix/bug-regex31.input: New file.
26709
26710 [BZ #12078]
26711 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26712 (parse_sub_exp): Fix last change, use postorder.
26713
ef06edbe
UD
26714 * posix/bug-regex31.c: New file.
26715 * posix/Makefile: Add rules to build and run bug-regex31.
26716
a129c80d
UD
26717 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26718
26719 [BZ #12078]
26720 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26721
b76b818e
UD
26722 [BZ #12108]
26723 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26724 to have entries in sys_siglist.
26725
1751705d
UD
26726 [BZ #12093]
26727 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26728 be NULL.
26729
9ff8d36f
JJ
267302010-10-07 Jakub Jelinek <jakub@redhat.com>
26731
26732 [BZ #3268]
26733 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26734 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26735 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26736 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26737 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26738 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26739 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26740 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26741 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26742 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26743 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26744 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26745 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26746 * math/ftestexcept.c (fetestexcept): Likewise.
26747 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26748 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26749 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26750 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26751 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26752 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26753 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26754
af325969
UD
267552010-10-11 Ulrich Drepper <drepper@gmail.com>
26756
c579b202 26757 [BZ #12107]
af325969
UD
26758 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26759 newline.
26760
67a67b95
UD
267612010-10-06 Ulrich Drepper <drepper@gmail.com>
26762
26763 * string/bug-strstr1.c: New file.
26764 * string/Makefile: Add rules to build and run bug-strstr1.
26765
5fb308bc
EB
267662010-10-05 Eric Blake <eblake@redhat.com>
26767
26768 [BZ #12092]
26769 * string/str-two-way.h (two_way_long_needle): Always clear memory
26770 when skipping input due to the shift table.
26771
45db99c7
UD
267722010-10-03 Ulrich Drepper <drepper@gmail.com>
26773
3b111893
UD
26774 [BZ #12005]
26775 * malloc/mcheck.c: Handle large requests.
26776
45db99c7
UD
26777 [BZ #12077]
26778 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26779 for strncmp and strncasecmp.
26780 * string/stratcliff.c: Add tests for strcmp and strncmp.
26781 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26782
cf7a1eb8
NI
267832010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26784
26785 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26786 __set_fpscr.
26787
6484ba5e
AJ
267882010-09-30 Andreas Jaeger <aj@suse.de>
26789
26790 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26791 (CGROUP_SUPER_MAGIC): Define.
26792 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26793 Handle btrfs and cgroup file systems.
26794 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26795 Likewise.
26796
91c42559
LM
267972010-09-27 Luis Machado <luisgpm@br.ibm.com>
26798
26799 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26800 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26801
87a97932
AK
268022010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26803
26804 [BZ #12067]
26805 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26806 trying to locate the ELF header.
26807
c21cc9bc
AS
268082010-09-27 Andreas Schwab <schwab@redhat.com>
26809
26810 [BZ #11611]
26811 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26812 Mask out sign-bit copies when constructing f_fsid.
26813
315970f6
PB
268142010-09-24 Petr Baudis <pasky@suse.cz>
26815
26816 * debug/stack_chk_fail_local.c: Add missing licence exception.
26817 * debug/warning-nop.c: Likewise.
26818
1ac7a2c7
JM
268192010-09-15 Joseph Myers <joseph@codesourcery.com>
26820
26821 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26822 implementing getdents64 using getdents syscall, set d_type if
26823 __ASSUME_GETDENTS32_D_TYPE.
26824
56801c50
AS
268252010-09-16 Andreas Schwab <schwab@redhat.com>
26826
26827 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26828 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26829
dda51327
UD
268302010-09-21 Ulrich Drepper <drepper@redhat.com>
26831
26832 [BZ #12037]
26833 * posix/unistd.h: Undo change of feature selection for ftruncate from
26834 2010-01-11.
26835
8ffcee4a
UD
268362010-09-20 Ulrich Drepper <drepper@redhat.com>
26837
a545ecd9 26838 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26839 detection.
26840
e24f0a8b
AS
268412010-09-20 Andreas Schwab <schwab@redhat.com>
26842
26843 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26844 fanotify_mark.
26845 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26846
7291c56f
AS
268472010-09-14 Andreas Schwab <schwab@redhat.com>
26848
26849 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26850 variables after CHECK_SP call.
26851 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26852
bc5fb037
AS
268532010-09-13 Andreas Schwab <schwab@redhat.com>
26854 Ulrich Drepper <drepper@redhat.com>
26855
26856 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26857 re-relocationg ld.so.
26858 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26859 _dl_init_paths call.
26860 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26861 here anymore.
26862
e66e7419
UD
268632010-09-14 Ulrich Drepper <drepper@redhat.com>
26864
26865 * resolv/res_init.c (__res_vinit): Count the default server we added.
26866
c044aa75
CLT
268672010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26868 Ulrich Drepper <drepper@redhat.com>
26869
26870 [BZ #11968]
26871 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26872 (____longjmp_chk): Use %ebx for saving value across system call.
26873 Add unwind info.
26874
32cf4069
AS
268752010-09-06 Andreas Schwab <schwab@redhat.com>
26876
26877 * manual/Makefile: Don't mix pattern rules with normal rules.
26878
817328ee
AS
268792010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26880
26881 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26882 operation.
26883 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26884 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26885 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26886 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26887 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26888 Likewise.
26889
29fddf61
UD
268902010-09-04 Ulrich Drepper <drepper@redhat.com>
26891
26892 [BZ #11979]
26893 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26894 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26895
0959ffc9
UD
268962010-09-02 Ulrich Drepper <drepper@redhat.com>
26897
26898 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26899 * sysdeps/x86_64/addmul_1.S: Likewise.
26900 * sysdeps/x86_64/lshift.S: Likewise.
26901 * sysdeps/x86_64/mul_1.S: Likewise.
26902 * sysdeps/x86_64/rshift.S: Likewise.
26903 * sysdeps/x86_64/sub_n.S: Likewise.
26904 * sysdeps/x86_64/submul_1.S: Likewise.
26905
ece29840
ST
269062010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26907
0959ffc9
UD
26908 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26909 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26910 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26911 * bits/sched.h [__need_schedparam]
ece29840 26912 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26913 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26914 (__defined_schedparam): Define to 1.
ece29840
ST
26915 (__sched_param): New structure, identical to sched_param.
26916 (__need_schedparam): Undefine.
26917
e53a31fe
MF
269182010-08-31 Mike Frysinger <vapier@gentoo.org>
26919
fdc0c10d
MF
26920 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26921 (epoll_create1): Declare.
26922
e53a31fe
MF
26923 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26924
a726d796
AS
269252010-08-31 Andreas Schwab <schwab@redhat.com>
26926
26927 [BZ #7066]
26928 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26929 shifting retval into place.
26930
2f3e3dc7
UD
269312010-09-01 Ulrich Drepper <drepper@redhat.com>
26932
f2933da9
UD
26933 * nis/rpcsvc/nis.h: Update copyright notice.
26934 * nis/rpcsvc/nis.x: Likewise.
26935 * nis/rpcsvc/nis_callback.h: Likewise.
26936 * nis/rpcsvc/nis_callback.x: Likewise.
26937 * nis/rpcsvc/nis_object.x: Likewise.
26938 * nis/rpcsvc/nis_tags.h: Likewise.
26939 * nis/rpcsvc/yp.h: Likewise.
26940 * nis/rpcsvc/yp.x: Likewise.
26941 * nis/rpcsvc/ypupd.h: Likewise.
26942 * nis/yp_xdr.c: Likewise.
26943 * nis/ypupdate_xdr.c: Likewise.
26944
2f3e3dc7
UD
26945 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26946 mainly the body of pmap_getport. Add parameters to specify timeouts.
26947 (pmap_getport): Use __libc_rpc_getport.
26948 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26949 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26950 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26951
f3dcc2f9
AS
269522010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26953
26954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26955 fanotify_mark.
26956
6d34eb5b
RM
269572010-08-27 Roland McGrath <roland@redhat.com>
26958
26959 * sysdeps/i386/i686/multiarch/Makefile
26960 (CFLAGS-varshift.c): New variable.
26961
9ea3de11
UD
269622010-08-27 Ulrich Drepper <drepper@redhat.com>
26963
c96d23fc
UD
26964 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26965 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26966
9ea3de11
UD
26967 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26968
26969 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26970
623aac7f
L
269712010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26972
26973 * sysdeps/x86_64/strlen.S: Unroll the loop.
26974 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26975 strlen-sse2 strlen-sse2-bsf.
26976 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26977 __strlen_no_bsf if bit_Slow_BSF is set.
26978 (__strlen_sse42): Removed.
26979 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26980 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26981
8b2b7715
RM
269822010-08-25 Roland McGrath <roland@redhat.com>
26983
26984 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26985 * sysdeps/x86_64/multiarch/varshift.c: New file.
26986 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26987 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26988 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26989 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26990
e73015f2
L
269912010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26992
26993 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26994 strlen-sse2 strlen-sse2-bsf.
26995 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26996 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26997 (__strlen_sse2): Removed.
26998 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26999 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27001 bit_Slow_BSF for Atom.
27002 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27003 (index_Slow_BSF): Define.
27004 (HAS_SLOW_BSF): Define.
27005
df24a73e
UD
270062010-08-25 Ulrich Drepper <drepper@redhat.com>
27007
27008 [BZ #10851]
27009 * resolv/res_init.c (__res_vinit): When no server address at all
27010 is given default to loopback.
27011
f2ac4868
RM
270122010-08-24 Roland McGrath <roland@redhat.com>
27013
09055553
RM
27014 * configure.in: Remove config-name.h generation.
27015 * configure: Regenerated.
27016 * config-name.in: File removed.
27017 * scripts/config-uname.sh: New file.
27018 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27019 ($(objdir)config-name.h): New target.
27020
f2ac4868
RM
27021 * sunrpc/rpc_parse.h: Avoid nested comment.
27022
73f27d5e
RH
270232010-08-24 Richard Henderson <rth@redhat.com>
27024 Ulrich Drepper <drepper@redhat.com>
27025 H.J. Lu <hongjiu.lu@intel.com>
27026
27027 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27029 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27030 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27031 _mm_alignr_epi8 with _mm_loadu_si128.
27032 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27033 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27034 (__m128i_shift_right): Removed.
27035 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27036 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27037 * sysdeps/x86_64/multiarch/varshift.h: New file.
27038 * sysdeps/x86_64/multiarch/varshift.S: New file.
27039
84b9230c
MF
270402010-08-21 Mike Frysinger <vapier@gentoo.org>
27041
27042 * configure.in: Move assembler checks to before sysdep dir checking.
27043
9bbd0ddc
PB
270442010-08-20 Petr Baudis <pasky@suse.cz>
27045
27046 * LICENSES: Sync the sunrpc license.
27047
9da4bb31
UD
270482010-08-19 Ulrich Drepper <drepper@redhat.com>
27049
a7ab6ec8
UD
27050 * sunrpc/auth_des.c: Update copyright notice once again.
27051 * sunrpc/auth_none.c: Likewise.
27052 * sunrpc/auth_unix.c: Likewise.
27053 * sunrpc/authdes_prot.c: Likewise.
27054 * sunrpc/authuxprot.c: Likewise.
27055 * sunrpc/bindrsvprt.c: Likewise.
27056 * sunrpc/clnt_gen.c: Likewise.
27057 * sunrpc/clnt_perr.c: Likewise.
27058 * sunrpc/clnt_raw.c: Likewise.
27059 * sunrpc/clnt_simp.c: Likewise.
27060 * sunrpc/clnt_tcp.c: Likewise.
27061 * sunrpc/clnt_udp.c: Likewise.
27062 * sunrpc/clnt_unix.c: Likewise.
27063 * sunrpc/des_crypt.c: Likewise.
27064 * sunrpc/des_soft.c: Likewise.
27065 * sunrpc/get_myaddr.c: Likewise.
27066 * sunrpc/getrpcport.c: Likewise.
27067 * sunrpc/key_call.c: Likewise.
27068 * sunrpc/key_prot.c: Likewise.
27069 * sunrpc/openchild.c: Likewise.
27070 * sunrpc/pm_getmaps.c: Likewise.
27071 * sunrpc/pm_getport.c: Likewise.
27072 * sunrpc/pmap_clnt.c: Likewise.
27073 * sunrpc/pmap_prot.c: Likewise.
27074 * sunrpc/pmap_prot2.c: Likewise.
27075 * sunrpc/pmap_rmt.c: Likewise.
27076 * sunrpc/rpc/auth.h: Likewise.
27077 * sunrpc/rpc/auth_unix.h: Likewise.
27078 * sunrpc/rpc/clnt.h: Likewise.
27079 * sunrpc/rpc/des_crypt.h: Likewise.
27080 * sunrpc/rpc/key_prot.h: Likewise.
27081 * sunrpc/rpc/netdb.h: Likewise.
27082 * sunrpc/rpc/pmap_clnt.h: Likewise.
27083 * sunrpc/rpc/pmap_prot.h: Likewise.
27084 * sunrpc/rpc/pmap_rmt.h: Likewise.
27085 * sunrpc/rpc/rpc.h: Likewise.
27086 * sunrpc/rpc/rpc_des.h: Likewise.
27087 * sunrpc/rpc/rpc_msg.h: Likewise.
27088 * sunrpc/rpc/svc.h: Likewise.
27089 * sunrpc/rpc/svc_auth.h: Likewise.
27090 * sunrpc/rpc/types.h: Likewise.
27091 * sunrpc/rpc/xdr.h: Likewise.
27092 * sunrpc/rpc_clntout.c: Likewise.
27093 * sunrpc/rpc_cmsg.c: Likewise.
27094 * sunrpc/rpc_common.c: Likewise.
27095 * sunrpc/rpc_cout.c: Likewise.
27096 * sunrpc/rpc_dtable.c: Likewise.
27097 * sunrpc/rpc_hout.c: Likewise.
27098 * sunrpc/rpc_main.c: Likewise.
27099 * sunrpc/rpc_parse.c: Likewise.
27100 * sunrpc/rpc_parse.h: Likewise.
27101 * sunrpc/rpc_prot.c: Likewise.
27102 * sunrpc/rpc_sample.c: Likewise.
27103 * sunrpc/rpc_scan.c: Likewise.
27104 * sunrpc/rpc_scan.h: Likewise.
27105 * sunrpc/rpc_svcout.c: Likewise.
27106 * sunrpc/rpc_tblout.c: Likewise.
27107 * sunrpc/rpc_util.c: Likewise.
27108 * sunrpc/rpc_util.h: Likewise.
27109 * sunrpc/rpcinfo.c: Likewise.
27110 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27111 * sunrpc/rpcsvc/key_prot.x: Likewise.
27112 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27113 * sunrpc/rpcsvc/mount.x: Likewise.
27114 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27115 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27116 * sunrpc/rpcsvc/rex.x: Likewise.
27117 * sunrpc/rpcsvc/rstat.x: Likewise.
27118 * sunrpc/rpcsvc/rusers.x: Likewise.
27119 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27120 * sunrpc/rpcsvc/spray.x: Likewise.
27121 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27122 * sunrpc/rtime.c: Likewise.
27123 * sunrpc/svc.c: Likewise.
27124 * sunrpc/svc_auth.c: Likewise.
27125 * sunrpc/svc_authux.c: Likewise.
27126 * sunrpc/svc_raw.c: Likewise.
27127 * sunrpc/svc_run.c: Likewise.
27128 * sunrpc/svc_simple.c: Likewise.
27129 * sunrpc/svc_tcp.c: Likewise.
27130 * sunrpc/svc_udp.c: Likewise.
27131 * sunrpc/svc_unix.c: Likewise.
27132 * sunrpc/svcauth_des.c: Likewise.
27133 * sunrpc/xcrypt.c: Likewise.
27134 * sunrpc/xdr.c: Likewise.
27135 * sunrpc/xdr_array.c: Likewise.
27136 * sunrpc/xdr_float.c: Likewise.
27137 * sunrpc/xdr_mem.c: Likewise.
27138 * sunrpc/xdr_rec.c: Likewise.
27139 * sunrpc/xdr_ref.c: Likewise.
27140 * sunrpc/xdr_sizeof.c: Likewise.
27141 * sunrpc/xdr_stdio.c: Likewise.
27142
9da4bb31
UD
27143 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27144 handling.
27145
bdaa77bc
AS
271462010-08-19 Andreas Schwab <schwab@redhat.com>
27147
27148 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27149
fe2f79db
LM
271502010-08-19 Luis Machado <luisgpm@br.ibm.com>
27151
27152 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27153 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27154 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27155 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27156 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27157 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27158 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27159 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27160 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27161 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27162 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27163 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27164 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27165 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27166
b9b42ee0
AB
271672010-07-26 Anton Blanchard <anton@samba.org>
27168
27169 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27170 * malloc/arena.c (heap_trim): Likewise.
27171
1c06ba31
UD
271722010-08-16 Ulrich Drepper <drepper@redhat.com>
27173
27174 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27175 here. Not...
27176 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27177 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27178
f8392f40
L
271792010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27180
27181 * sysdeps/i386/elf/Makefile: New file.
27182
3162f12e
AS
271832010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27184
27185 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27186 from fanotify_init.
27187 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27188 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27189
28c90b2c
UD
271902010-08-15 Ulrich Drepper <drepper@redhat.com>
27191
27192 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27193 of strncasecmp_l.
1feccb6c 27194 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27195
ca6bb004
UD
271962010-08-14 Ulrich Drepper <drepper@redhat.com>
27197
e9f82e0d
UD
27198 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27199 strncase_l-nonascii.
27200 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27201 Add strncase_l-ssse3.
27202 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27203 * sysdeps/x86_64/strcmp.S: Likewise.
27204 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27205 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27206 * sysdeps/x86_64/strncase.S: New file.
27207 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27208 * sysdeps/x86_64/strncase_l.S: New file.
27209 * string/Makefile (strop-tests): Add strncasecmp.
27210 * string/test-strncasecmp.c: New file.
27211
27212 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27213 warning.
27214
ca6bb004
UD
27215 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27216 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27217
052fa7b3
AS
272182010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27219
27220 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27221
962dba78
UD
272222010-08-12 Ulrich Drepper <drepper@redhat.com>
27223
27224 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27225 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27226 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27227
bebff237
AM
272282010-05-01 Alan Modra <amodra@gmail.com>
27229
27230 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27231 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27232 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27233 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27234 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27235 tidying. Don't tail-call __sigjmp_save for static lib.
27236 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27237 save location.
27238 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27239 (CALL_MCOUNT): Add eh info, and nop after bl.
27240 (TAIL_CALL_SYSCALL_ERROR): New macro.
27241 (PSEUDO_RET): Use it.
27242 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27243 Correct save location of integer regs and cr.
27244 (_dl_profile_resolve): Correct cr save location. Delete nops
27245 after bl when SHARED. Reduce cfi size a little by better
27246 placement of cfi directives.
27247 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27248 make a stack frame. Instead use parm save area as a temp.
27249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27250 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27252 Don't make a stack frame for parent, use parm save area.
27253 Increase child stack frame to 112 bytes. Don't save unused reg,
27254 and adjust reg usage. Set up cfi on error recovery and
27255 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27257 (__makecontext): Add dummy nop after jump to exit.
27258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27259 Use correct parm save area and cr save, reduce stack frame.
27260 Correct cfi for possible PSEUDO_RET frame setup.
27261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27262 Branch to local label emitted by PSEUDO_RET rather than
27263 __syscall_error.
27264
02637374
AS
272652010-08-12 Andreas Schwab <schwab@redhat.com>
27266
27267 [BZ #11904]
27268 * locale/programs/locale.c (print_assignment): New function.
27269 (show_locale_vars): Use it.
27270
c3e2f19b
UD
272712010-08-11 Ulrich Drepper <drepper@redhat.com>
27272
3cdaa6ad
UD
27273 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27274 field.
27275 (struct statfs64): Likewise.
27276 (_STATFS_F_FLAGS): Define.
27277 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27278 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27279 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27280 (ST_VALID): Define locally.
27281 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27282 __statvfs_getflags, use the provided value.
27283 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27284 __ASSUME_STATFS_F_FLAGS.
27285
754f7da3
UD
27286 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27287
10b3bedc
UD
27288 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27289 Add sys/fanotify.h.
27290 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27291 fanotify_mask for GLIBC_2.13.
27292 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27293 fanotify_init and fanotify_mark.
27294 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27295 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27296
c08fb0d7
UD
27297 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27298 Add prlimit.
27299 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27300 prlimit64 for GLIBC_2.13.
27301 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27302 prlimit64.
27303 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27304 syscall.
27305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27306 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27307 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27308 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27309 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27310 add prlimit alias.
27311 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27312
15bac72b
UD
27313 [BZ #11903]
27314 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27315 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27316
c3e2f19b
UD
27317 * nss/Makefile: Add rules to build and run tst-nss-test1.
27318 * shlib-versions: Add entry for libnss_test1.
27319 * nss/nss_test1.c: New file.
27320 * nss/tst-nss-test1.c: New file.
27321
27322 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27323 (__nss_configure_lookup): Set appropriate entry in
27324 __nss_configure_lookup to true.
27325 * nss/nsswitch.h: Define enum with indeces of databases in
27326 databases and __nss_database_custom arrays. Declare
27327 __nss_database_custom.
27328 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27329 to avoid using nscd when custom rules are installed.
27330 * nss/getXXbyYY_r.c: Likewise.
27331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27332
27333 * nss/nss_files/files-parse.c: Whitespace fixes.
27334
f15ce4d8
UD
273352010-08-09 Ulrich Drepper <drepper@redhat.com>
27336
27337 [BZ #11883]
27338 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27339 * posix/fnmatch_loop.c: Likewise.
27340
d22e4cc9
AK
273412010-07-17 Andi Kleen <ak@linux.intel.com>
27342
27343 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27344 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27345 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27346 * Versions.def [GLIBC_2.13]: Add.
27347
805bc17d
UD
273482010-08-06 Ulrich Drepper <drepper@redhat.com>
27349
27350 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27351 Also fail if tpwd after pwuid call is NULL.
27352
5a42321d
ST
273532010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27354
27355 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27356 when converting to ms.
27357
fd3ebeda
ST
273582010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27359
27360 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27361 EOPNOTSUPP errors with ENOTTY.
27362 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27363 EOPNOTSUPP errors with ENOTTY.
27364
73507d3a
UD
273652010-07-31 Ulrich Drepper <drepper@redhat.com>
27366
27367 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27368 Add strcasecmp_l-ssse3.
27369 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27370 strcasecmp.
27371 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27372 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27373 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27374
fe36dd02
UD
273752010-07-30 Ulrich Drepper <drepper@redhat.com>
27376
66f6765a
UD
27377 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27378
42e08a54
UD
27379 * string/Makefile (strop-tests): Add strcasecmp.
27380 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27381 strcasecmp_l-nonascii.
27382 (gen-as-const-headers): Add locale-defines.sym.
27383 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27384 * sysdeps/x86_64/strcasecmp.S: New file.
27385 * sysdeps/x86_64/strcasecmp_l.S: New file.
27386 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27387 * sysdeps/x86_64/locale-defines.sym: New file.
27388 * string/test-strcasecmp.c: New file.
27389
fe36dd02
UD
27390 * string/test-strcasestr.c: Test both ends of the range of characters.
27391 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27392
48cbc0d6
RM
273932010-07-29 Roland McGrath <roland@redhat.com>
27394
76e6d6bc 27395 [BZ #11856]
48cbc0d6
RM
27396 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27397
880113d9
UD
273982010-07-27 Ulrich Drepper <drepper@redhat.com>
27399
27400 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27401 for ld.so.
27402
deb9cabb
AS
274032010-07-27 Andreas Schwab <schwab@redhat.com>
27404
27405 * manual/memory.texi (Malloc Tunable Parameters): Document
27406 M_PERTURB.
27407
1c7570ff
RM
274082010-07-26 Roland McGrath <roland@redhat.com>
27409
27410 [BZ #11840]
27411 * configure.in (-fgnu89-inline check): Set and substitute
27412 gnu89_inline, not libc_cv_gnu89_inline.
27413 * configure: Regenerated.
27414 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27415
24fb0f88
UD
274162010-07-26 Ulrich Drepper <drepper@redhat.com>
27417
27418 * string/test-strnlen.c: New file.
27419 * string/Makefile (strop-tests): Add strnlen.
27420 * string/tester.c (test_strnlen): Add a few more test cases.
27421 * string/tst-strlen.c: Better error reporting.
27422
27423 * sysdeps/x86_64/strnlen.S: New file.
27424
8e96b93a
UD
274252010-07-24 Ulrich Drepper <drepper@redhat.com>
27426
27427 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27428 lower-latency instructions.
27429
dbc676d4
UD
274302010-07-23 Ulrich Drepper <drepper@redhat.com>
27431
27432 * string/test-strcasestr.c: New file.
27433 * string/test-strstr.c: New file.
27434 * string/Makefile (strop-tests): Add strstr and strcasestr.
27435 * string/str-two-way.h: Don't undefine MAX.
27436 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27437
f6a31e0e
AS
274382010-07-21 Andreas Schwab <schwab@redhat.com>
27439
27440 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27441 strcasestr-nonascii.
27442 (CFLAGS-strcasestr-nonascii.c): Define.
27443 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27444 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27445 Remove unused attribute.
27446
5dbc3b6c
RM
274472010-07-20 Roland McGrath <roland@redhat.com>
27448
27449 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27450 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27451 ld.so.cache was broken. With it, there is no way to disable dsocaps
27452 like LD_HWCAP_MASK can disable hwcaps.
27453
23d101d8
EPM
274542010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27455
27456 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27457
cc9f2e47
UD
274582010-07-16 Ulrich Drepper <drepper@redhat.com>
27459
27460 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27461 call in strcasestr.
27462 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27463 __strcasestr_sse42_nonascii.
27464 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27465 strcasestr-nonascii.c.
27466 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27467
77c1b069
LM
274682010-06-15 Luis Machado <luisgpm@br.ibm.com>
27469
27470 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27471 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27472 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27473 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27474
440566c3
UD
274752010-07-09 Ulrich Drepper <drepper@redhat.com>
27476
27477 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27478 fcntl.
27479
5be9d05d
AS
274802010-07-06 Andreas Schwab <schwab@redhat.com>
27481
c30b7ee2 27482 [BZ #11577]
5be9d05d
AS
27483 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27484 dl_signal_cerror.
27485
8a492a67
UD
274862010-07-06 Ulrich Drepper <drepper@redhat.com>
27487
27488 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27489 _PC_PIPE_BUF using F_GETPIPE_SZ.
27490
713df3d5
RM
274912010-07-05 Roland McGrath <roland@redhat.com>
27492
27493 * manual/arith.texi (Rounding Functions): Fix rint description
27494 implicit in round description.
27495
702e8f14
UD
274962010-07-02 Ulrich Drepper <drepper@redhat.com>
27497
27498 * elf/Makefile: Fix linking for a few tests to make recent linker
27499 happy.
27500
52ed8be9
AS
275012010-06-30 Andreas Schwab <schwab@redhat.com>
27502
27503 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27504 $(common-objpfx)libc_nonshared.a.
27505
f47c9a11
LM
275062010-06-21 Luis Machado <luisgpm@br.ibm.com>
27507
27508 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27509 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27510 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27511 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27512 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27513 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27514 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27515 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27530 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27531 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27532 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27533 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27534 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27535 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27536 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27537 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27538 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27539 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27540 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27541 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27556
6fb8cbcb
L
275572010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27558
27559 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27560 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27561 * string/memmove.c (memmove): Renamed to ...
27562 (MEMMOVE): ...this. Default to memmove.
27563 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27564 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27565 (END_CHK): Define.
27566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27567 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27568 mempcpy-ssse3-back memmove-ssse3-back.
27569 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27570 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27571 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27572 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27573 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27574 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27575 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27576 * sysdeps/x86_64/multiarch/memmove.c: New file.
27577 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27578 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27579 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27580 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27581 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27582 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27583 Define.
27584 (index_Fast_Copy_Backward): Define.
27585 (HAS_ARCH_FEATURE): Define.
27586 (HAS_FAST_REP_STRING): Define.
27587 (HAS_FAST_COPY_BACKWARD): Define.
27588
4e733bac 275892010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27590
27591 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27592 Restore proper fallback handling.
27593
63c4ed22
UD
275942010-06-19 Ulrich Drepper <drepper@redhat.com>
27595
ac2b484c
UD
27596 [BZ #11701]
27597 * posix/group_member.c (__group_member): Correct checking loop.
27598
63c4ed22
UD
27599 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27600 OOM in getpwuid_r correctly. Return error number when the caller
27601 should return, otherwise -1.
27602 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27603 call returning > 0 value.
27604 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27605
765ade4b
AS
276062010-06-07 Andreas Schwab <schwab@redhat.com>
27607
27608 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27609 libc_nonshared.a from targets in modules-names.
27610
80da2e09
KS
276112010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27612
27613 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27614 requires it.
27615
158db122
LM
276162010-06-10 Luis Machado <luisgpm@br.ibm.com>
27617
27618 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27619 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27620 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27621 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27622
caa78cf8
AS
276232010-06-02 Andreas Schwab <schwab@redhat.com>
27624
27625 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27626
b2ef2c01
UD
276272010-06-14 Ulrich Drepper <drepper@redhat.com>
27628
27629 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27630 and F_GETPIPE_SZ.
27631 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27632 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27634 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27635 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27636 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27637
fbd643b6
RM
276382010-06-14 Roland McGrath <roland@redhat.com>
27639
27640 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27641
f32f2869
JJ
276422010-06-07 Jakub Jelinek <jakub@redhat.com>
27643
27644 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27645 __REDIRECT followed by __THROW.
27646 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27647 * posix/getopt.h (getopt): Likewise.
27648
2a50c078
EPM
276492010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27650
27651 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27652 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27653 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27654 in AT_FLAGS.
27655 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27656 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27657
eb5ad2eb
LM
276582010-05-28 Luis Machado <luisgpm@br.ibm.com>
27659
27660 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27661
3c88fe1e
L
276622010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27663
27664 [BZ #11640]
27665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27666 Properly check family and model.
27667
d2f73151
TY
276682010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27669
27670 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27671
ebd2e13d
LM
276722010-05-24 Luis Machado <luisgpm@br.ibm.com>
27673
27674 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27675
b32b8b45
UD
276762010-05-21 Ulrich Drepper <drepper@redhat.com>
27677
27678 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27679 symbol reference.
27680
9acbe24d
AS
276812010-05-19 Andreas Schwab <schwab@redhat.com>
27682
27683 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27684 symbol reference.
27685
f0ccf6ea
AS
276862010-05-21 Andreas Schwab <schwab@redhat.com>
27687
3d04ff3a
AS
27688 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27689 and internal_recvmmsg.
27690 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27691 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27692 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27693 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27694
f0ccf6ea
AS
27695 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27696 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27697 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27698
5b08ac57
AS
276992010-05-20 Andreas Schwab <schwab@redhat.com>
27700
27701 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27702
4828935d
LM
277032010-05-17 Luis Machado <luisgpm@br.ibm.com>
27704
27705 POWER7 optimizations.
27706 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27707 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27708
373d545e
UD
277092010-05-19 Ulrich Drepper <drepper@redhat.com>
27710
27711 * version.h: Update for 2.13 development version.
27712
21a2b1ae
AS
277132010-05-12 Andrew Stubbs <ams@codesourcery.com>
27714
27715 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27716 exceptions. Return 0.
27717
3f7dcb2b
RM
277182010-05-07 Roland McGrath <roland@redhat.com>
27719
27720 * elf/ldconfig.c (main): Add a const.
27721
5f24d53a 277222010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27723
a160f8d8
UD
27724 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27725 (args_options): Add no-idn option.
27726 (ahosts_keys_int): Add idn_flags to ai_flags.
27727 (parse_option): Handle 'i' option to clear idn_flags.
27728
5f24d53a
UD
27729 * malloc/malloc.c (_int_free): Possible race in the most recently
27730 added check. Only act on the data if no current modification
27731 happened.
265bb1ce
UD
27732
27733See ChangeLog.17 for earlier changes.