]> sourceware.org Git - glibc.git/blame - ChangeLog
Accept leading and trailing spaces in getdate input string
[glibc.git] / ChangeLog
CommitLineData
abe7f530
SP
12013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2 Roland McGrath <roland@hack.frob.com>
3 Ondrej Bilka <neleai@seznam.cz>
4
5 [BZ #15346]
6 * time/getdate.c: Include ctype.h and alloca.h.
7 (__getdate_r): Trim leading and trailing spaces of input.
8 * time/tst-getdate.c (tests): Add tests with leading and
9 trailing spaces.
10
61c23e62
RM
112013-04-08 Roland McGrath <roland@hack.frob.com>
12
13 [BZ #14280]
14 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15 when computing value.
16
7208a313
CD
172013-04-06 Carlos O'Donell <carlos@redhat.com>
18
085b2d41
CD
19 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20 Use testrun.sh to run libm tests.
21
7208a313
CD
22 [BZ #15309]
23 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24
872c0acd
MM
252013-04-06 Marko Myllynen <myllynen@redhat.com>
26
27 [BZ #15264]
28 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29
26510bdd
CD
302013-04-06 Carlos O'Donell <carlos@redhat.com>
31
32 * Makefile.in (regen-ulps): New target.
33 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35 [ifneq (no,$(PERL)] (regen-ulps): New target.
36 [ifeq (no,$(PERL)] (regen-ulps): New target.
37 * math/libm-test.inc (ulps_file_name): Define.
38 (output_dir): New variable.
39 (options): Add "output-dir" option.
40 (parse_opt): Handle 'o' case.
41 (main): If output_dir is non-NULL use it as a prefix
42 otherwise use "".
43 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
44
a01f19c8
CD
452013-04-06 Carlos O'Donell <carlos@redhat.com>
46
47 [BZ #10060, #10062]
48 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
49 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
50 fail configure if __sync_val_compare_and_swap is not inlined.
51 * sysdeps/i386/configure: Regenerate.
52 * configure.in: Build for i686 when configured for i386.
53 * configure: Regenerate.
54 * README: Remove i386 reference.
55
b7a329a5
CD
562013-04-06 Carlos O'Donell <carlos@redhat.com>
57
58 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
59 * sysdeps/s390/s390-64/sysdep.h: Likewise.
60
bf0f50df
TS
612013-04-05 Thomas Schwinge <thomas@codesourcery.com>
62
ee091edf
TS
63 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
64 (lmsnanval): New variables.
65 (F): Add conversion tests.
66 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
67 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68
a8b792d6
TS
69 * stdio-common/tstdiomisc.c (F): Properly collect individual
70 tests' results.
71
a1cbf437
TS
72 [BZ #14686, #15336]
73 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
74 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
75 Instead, use input NaN values or generate a qNaN by arithmetic
76 operation. Also fix bugs to comply with the standard.
77 * math/libm-test.inc (remainder_test): Add more tests.
78
8b43a0c9
TS
79 [BZ #15335, #15342]
80 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
81 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
82 input NaN values or generate a qNaN by arithmetic operation.
83
d91da4ce
TS
84 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
85 unreachable code.
86
bf0f50df
TS
87 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
88 definitions.
89
05e166c8
JM
902013-04-03 Joseph Myers <joseph@codesourcery.com>
91
92 [BZ #14478]
93 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
94 underflowed result.
95 * math/s_cexpf.c (__cexpf): Likewise.
96 * math/s_cexpl.c (__cexpl): Likewise.
97 * math/libm-test.inc (cexp_test): Add more tests.
98
1cef1b19
AS
992013-04-03 Andreas Schwab <schwab@suse.de>
100
101 [BZ #15330]
102 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
103 order arrays from heap if bigger than alloca cutoff.
104
74d87055
TS
1052013-04-03 Thomas Schwinge <thomas@codesourcery.com>
106
107 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
108 (SNAN_TESTS_double): Refer to GCC PR56831.
109 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
110 GCC PR56828.
111
d755bba4
SP
1122013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
113
90d5d5bb
SP
114 * Rules (bench): Move bench.out after the run is complete.
115
73e0cd5d
SP
116 * Rules (bench): Echo currently running benchmark.
117
64aabd4b
SP
118 * benchtests/Makefile (bench): Add atan and slowatan.
119 * benchtests/atan-inputs: New file.
120 * benchtests/slowatan-inputs: New file.
121 * benchtests/slowatan.c: New file.
122
c871eccd
SP
123 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
124 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
125 its value.
126
d755bba4
SP
127 [BZ #15305]
128 * sysdeps/unix/sysv/linux/kernel-features.h
129 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
130 __ASSUME_XFS_RESTRICTED_CHOWN.
131 * sysdeps/unix/sysv/linux/pathconf.c
132 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
133 Save and restore errno.
134
52ce4860
JM
1352013-04-02 Joseph Myers <joseph@codesourcery.com>
136
137 [BZ #15327]
138 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
139 arguments using __kernel_casinh.
140 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
141 arguments using __kernel_casinhf.
142 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
143 arguments using __kernel_casinhl.
144 * math/libm-test.inc (cacosh_test): Add more tests.
145 * sysdeps/i386/fpu/libm-test-ulps: Update.
146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
147
81f311c2
SP
1482013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
149
e7906a47
SP
150 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
151 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
152
92e3664b
SP
153 * bench/Makefile (bench): Add sin and slowsin.
154 * benchtests/sin-inputs: New file.
155 * benchtests/slowsin-inputs: New file.
156 * benchtests/slowsin.c: New file.
157
81f311c2
SP
158 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
159 (bench): Add slowexp and slowpow.
160 (exp-ITER): Increase iterations.
161 (pow-ITER): Likewise.
162 * benchtests/exp-inputs: Change input.
163 * benchtests/pow-inputs: Likewise.
164 * benchtests/slowexp-inputs: New file.
165 * benchtests/slowexp.c: New file.
166 * benchtests/slowpow-inputs: New file.
167 * benchtests/slowpow.c: New file.
168
ab0f1aa9
AZ
1692013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
170
171 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
172 instructions.
173 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
174 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
175 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
176 * benchtests/Makefile: Add rint benchtest.
177 * benchtests/rint-inputs: Input for rint benchtest.
178
57267616
TS
1792013-04-02 Thomas Schwinge <thomas@codesourcery.com>
180
181 * Versions.def (libm): Add GLIBC_2.18.
182 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
183 hidden libm prototypes.
184 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
185 * math/Makefile (libm-calls): Add s_issignaling.
186 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
187 __issignalingf, __issignalingl. Adjust all libm.abilist files.
188 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
189 declaration.
190 * math/math.h [__USE_GNU] (issignaling): New macro.
191 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
192 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
193 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
194 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
195 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
196 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
197 * manual/arith.texi (issignaling): New section.
198 * manual/libm-err-tab.pl (@all_functions): Update comment.
199 * math/gen-libm-test.pl (parse_args): Apply special handling for
200 issignaling.
201 * math/libm-test.inc (print_float, issignaling_test): New
202 functions.
203 (check_float_internal): Add issignaling checks.
204 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
205 default definition.
206 * sysdeps/powerpc/math-tests.h: New file.
207 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
208 tests.
209 * math/test-snan.c (TEST_FUNC): Likewise.
210
6142896d
DM
2112013-03-30 David S. Miller <davem@davemloft.net>
212
213 * po/de.po: Update from translation team.
214
ccc8cadf
JM
2152013-03-30 Joseph Myers <joseph@codesourcery.com>
216
217 [BZ #10357]
218 * math/k_casinh.c (__kernel_casinh): Handle arguments with
219 imaginary part less than 1.0 and real part less than 0.5
220 specially.
221 * math/k_casinhf.c (__kernel_casinhf): Likewise.
222 * math/k_casinhl.c (__kernel_casinhl): Likewise.
223 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
224 (cacos_test): Add more tests.
225 (casin_test): Likewise.
226 (casinh_test): Likewise.
227 * sysdeps/i386/fpu/libm-test-ulps: Update.
228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
229
0f6a8d4b
SP
2302013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
231
0d1029de
SP
232 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
233 ONE with its value.
234
c2d94018
SP
235 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
236 (__pow_mp): Replace ONE and MONE with their values.
237 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
238 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
239 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
240 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
241 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
242 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
243
27ec37f1
SP
244 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
245
a64d7e0e
SP
246 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
247 (__pow_mp): Replace ZERO and MZERO with their values.
248 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
249 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
250 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
251 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
252 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
253 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
254 (__sqr): Likewise.
255
d26dd3eb
SP
256 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
257
0f6a8d4b
SP
258 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
259
e57b0c61
RM
2602013-03-28 Roland McGrath <roland@hack.frob.com>
261
262 * include/stdlib.h [!SHARED] (__call_tls_dtors):
263 Declare with __attribute__ ((weak)).
264 * stdlib/exit.c (__libc_atexit) [!SHARED]:
265 Call __call_tls_dtors only if it's not NULL.
266
356b3480
RM
2672013-03-28 Roland McGrath <roland@hack.frob.com>
268
288f7d79
RM
269 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
270 didn't do it already, then set _dl_phdr and _dl_phnum based on the
271 magic __ehdr_start linker symbol if it's defined.
272 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
273 them up here if it was already done.
274
dc0a0263
RM
275 * elf/dl-support.c (_dl_phdr): Make pointer to const.
276 (_dl_aux_init): Use const in cast when setting it.
277 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
278 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
279 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
280
3d3436ae
RM
281 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
282 Declare them here.
283 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
284 * csu/libc-tls.c: Nor here.
285 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
286
356b3480
RM
287 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
288 (__libc_message): Never call vsyslog.
289
b0f1246a
AM
2902013-03-28 Alan Modra <amodra@gmail.com>
291
292 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
293 Define as empty.
294 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
295 Likewise.
296
fbbe2b9a
AZ
2972013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
298
299 [BZ #15214]
300 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
301 underflow.
302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
303
1728ab37
SP
3042013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
305
7a86be6e
SP
306 [BZ #15304]
307 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
308 Don't add gid passed as argument.
309
1728ab37
SP
310 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
311
3a7182a1
JM
3122013-03-27 Joseph Myers <joseph@codesourcery.com>
313
314 [BZ #15307]
315 * math/k_casinh.c (__kernel_casinh): Handle arguments with
316 imaginary part between 1.0 and 1.5 and real part less than 0.5
317 specially.
318 * math/k_casinhf.c (__kernel_casinhf): Likewise.
319 * math/k_casinhl.c (__kernel_casinhl): Likewise.
320 * math/libm-test.inc (cacos_test): Add more tests.
321 (casin_test): Likewise.
322 (casinh_test): Likewise.
323 * sysdeps/i386/fpu/libm-test-ulps: Update.
324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
325
6f2e90e7
SP
3262013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
327
5739f705
SP
328 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
329 constants.
330 (norm): Likewise.
331 (denorm): Likewise.
332 (__dbl_mp): Likewise.
333 (add_magnitudes): Likewise.
334 (sub_magnitudes): Likewise.
335 (__add): Likewise.
336 (__sub): Likewise.
337 (__mul): Likewise.
338 (__sqr): Likewise.
339 (__inv): Likewise.
340 (__dvd): Likewise.
341
e375e83d
SP
342 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
343 commented code.
344 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
345 (__dubcos): Likewise.
346 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
347 (__ieee754_acos): Likewise.
348 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
349 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
350 (__exp1): Likewise.
351 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
352 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
353 (log1): Likewise.
354 (my_log2): Likewise.
355 (checkint): Likewise.
356 * sysdeps/ieee754/dbl-64/e_remainder.c
357 (__ieee754_remainder): Likewise.
358 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
359 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
360 (bsloww): Likewise.
361 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
362
6f2e90e7
SP
363 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
364 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
365 MANTISSA_STORE_T to store computations on mantissa. Use
366 macros for rounding and division.
367 (denorm): Likewise.
368 (__dbl_mp): Likewise.
369 (add_magnitudes): Likewise.
370 (sub_magnitudes): Likewise.
371 (__mul): Likewise.
372 (__sqr): Likewise.
373 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
374 powers of two in terms of TWOPOW macro.
375 (mp_no): Make type of mantissa as MANTISSA_T.
376 [!RADIXI]: Define RADIXI.
377 [!TWO52]: Define TWO52.
378 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
379
fce14d4e
AZ
3802013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
381
382 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
383 llroundl symbol when building for PPC32.
384
9ad027fb
MW
3852013-03-24 Mark H Weaver <mhw@netris.org>
386
387 * manual/arith.texi (Normalization Functions): Fix prototypes for
388 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
389
e42a38dd
AZ
3902013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
391
392 [BZ #13889]
393 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
394 high value to check if expl overflow.
395 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
396 to check for underflow and overflow.
397 * math/libm-test.inc: Add exp test.
398
2e0fb521
DL
3992013-03-21 Dmitry V. Levin <ldv@altlinux.org>
400
401 [BZ #11120]
402 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
403 with NOT_IN_libc.
404
b5784d95
AZ
4052013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
406
407 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
408 symbol.
409
5aa4a1a1
TS
4102013-03-21 Thomas Schwinge <thomas@codesourcery.com>
411
bdef0be7
TS
412 * math/gen-libm-test.pl (parse_args, special_functions): Properly
413 wrap blocks consisting of several statements.
414
5aa4a1a1
TS
415 * sysdeps/generic/math-tests.h: New file.
416 * sysdeps/i386/fpu/math-tests.h: Likewise.
417 * math/test-snan.c: Include it.
418 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
419
98c48fe5
JM
4202013-03-21 Joseph Myers <joseph@codesourcery.com>
421
422 [BZ #15285]
423 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
424 (__ieee754_j0l): Do not improve calculations using cos of twice
425 input for inputs above LDBL_MAX / 2.0L.
426 (__ieee754_y0l): Likewise.
427 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
428 (__ieee754_j1l): Do not improve calculations using cos of twice
429 input for inputs above LDBL_MAX / 2.0L.
430 (__ieee754_y1l): Likewise.
431 * math/libm-test.inc (j0_test): Add another test.
432 (j1_test): Likewise.
433 (y0_test): Likewise.
434 (y1_test): Likewise.
435 * sysdeps/i386/fpu/libm-test-ulps: Update.
436
3775a8bc
SP
4372013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
438
439 * Rules ($(objpfx)bench-%.c): Include code from a C source
440 file.
441
0a1b2ae6
JM
4422013-03-21 Joseph Myers <joseph@codesourcery.com>
443
444 [BZ #15287]
445 * math/k_casinh.c (__kernel_casinh): Handle arguments with
446 imaginary part 1.0 and real part less than 0.5 specially.
447 * math/k_casinhf.c (__kernel_casinhf): Likewise.
448 * math/k_casinhl.c (__kernel_casinhl): Likewise.
449 * math/libm-test.inc (cacos_test): Add more tests.
450 (casin_test): Likewise.
451 (casinh_test): Likewise.
452 * sysdeps/i386/fpu/libm-test-ulps: Update.
453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
454
b33d4ce4
SP
4552013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
456
457 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
458 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
459
bef0b507
JM
4602013-03-20 Joseph Myers <joseph@codesourcery.com>
461
462 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
463 * config.make.in (config-cflags-sse4): Remove variable.
464 (config-cflags-avx): Likewise.
465 (config-cflags-sse2avx): Likewise.
466 (config-cflags-novzeroupper): Likewise.
467 (config-asflags-i686): Likewise.
468 (have-mfma4): Likewise.
469 (have-as-vis3): Likewise.
470 (MIG): Likewise.
471 * configure.in (MIG): Do not AC_SUBST.
472 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
473 (libc_cv_cc_sse4): Do not AC_SUBST.
474 (libc_cv_cc_avx): Likewise.
475 (libc_cv_cc_sse2avx): Likewise.
476 (libc_cv_cc_novzeroupper): Likewise.
477 (libc_cv_cc_fma4): Likewise.
478 (libc_cv_as_i686): Likewise.
479 (libc_cv_sparc_as_vis3): Likewise.
480 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
481 LIBC_CONFIG_VAR.
482 (config-asflags-i686): Likewise.
483 (config-cflags-avx): Likewise.
484 (config-cflags-sse2avx): Likewise.
485 (have-mfma4): Likewise.
486 (config-cflags-novzeroupper): Likewise.
487 * sysdeps/mach/configure.in (MIG): Likewise.
488 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
489 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
490 LIBC_CONFIG_VAR.
491 (config-cflags-avx): Likewise.
492 (config-cflags-sse2avx): Likewise.
493 (have-mfma4): Likewise.
494 (config-cflags-novzeroupper): Likewise.
495 * configure: Regenerated.
496 * sysdeps/i386/configure: Likewise.
497 * sysdeps/mach/configure: Likewise.
498 * sysdeps/sparc/configure: Likewise.
499 * sysdeps/x86_64/configure: Likewise.
500
912cc4b3
RM
5012013-03-20 Roland McGrath <roland@hack.frob.com>
502
503 [BZ #14812]
504 * locale/programs/localedef.c (options): Put N_ translation marker
505 on argument names, not just descriptions.
506
04eed2b0
MS
5072013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
508
509 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
510
a065ceff
OB
5112013-03-20 Ondřej Bílka <neleai@seznam.cz>
512
9bb2a810 513 [BZ #14176]
a065ceff
OB
514 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
515
a600e5ce
RM
5162013-03-19 Roland McGrath <roland@hack.frob.com>
517
518 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
519 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
520 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
521 [!BEFORE_ABORT] (before_abort): New function.
522 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
523 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
524 (writev_for_fatal): New function.
525 (WRITEV_FOR_FATAL): New macro; call that.
526 (backtrace_and_maps): New function.
527 (BEFORE_ABORT): New macro; call that.
528 (struct str_list): Type removed.
529 (__libc_message, __libc_fatal): Functions removed.
530 Include <sysdeps/posix/libc_fatal.c> instead.
531
6b18bea6
JM
5322013-03-19 Joseph Myers <joseph@codesourcery.com>
533
534 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
535 constants.
536 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
537 double constants.
538
aaa8cb4b
AS
5392013-03-19 Andreas Schwab <schwab@suse.de>
540
44673770
AS
541 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
542 * sysdeps/gnu/configure: Regenerate.
543
aaa8cb4b
AS
544 * configure.in: Substitute libc_cv_rtlddir.
545 * configure: Regenerate.
546 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
547 * Makeconfig (rtlddir, inst_rtlddir): New variables.
548 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
549 * elf/Makefile (install-others, CFLAGS-interp.c)
550 (ldso_install, common-ldd-rewrite): Likewise.
551 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
552 $(inst_slibdir)/$(rtld-installed-name).
553 * scripts/rellns-sh: Add -p option.
554 * Makerules (make-shlib-link): Use rellns-sh to get relative name
555 for source.
556
d3cfc668
SP
5572013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
558
559 * manual/nptl.texi: Renamed to ...
560 * manual/threads.texi: ... this.
561 * manual/Makefile (chapters): Update.
562
0e2b9cdd
RM
5632013-03-18 Roland McGrath <roland@hack.frob.com>
564
565 [BZ #14812]
566 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
567 on argument names, not just descriptions.
0e2b9cdd
RM
568 * malloc/memusagestat.c (options): Likewise.
569 * nss/getent.c (options): Likewise.
63270c24
RM
570
5712013-03-18 Benno Schulenberg <bensberg@justemail.net>
572
573 [BZ #14812]
574 * iconv/iconv_prog.c (options): Put N_ translation marker
575 on argument names, not just descriptions.
576 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 577
b2e1393c
OB
5782013-03-18 Ondrej Bilka <neleai@seznam.cz>
579
580 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
581 implementation which is faster on all x86_64 architectures.
582 Tested on AMD, Intel Nehalem, SNB, IVB.
583 * sysdeps/x86_64/strnlen.S: Likewise.
584
585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
586 Remove all multiarch strlen and strnlen versions.
587 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
588 Remove strlen and strnlen related parts.
589
590 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
591 Inline strlen part.
592 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
593
594 * sysdeps/x86_64/multiarch/strlen.S: Remove.
595 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
596 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
597 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
598 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
599 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
600
ec4ff04d
CD
6012013-03-17 Carlos O'Donell <carlos@redhat.com>
602
603 * manual/memory.texi (Malloc Tunable Parameters):
604 Sort parameters alphabetically. Add comments for missing entries.
605
cd18e90a
DM
6062013-03-17 David S. Miller <davem@davemloft.net>
607
608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
609
2a185d32
JM
6102013-03-16 Joseph Myers <joseph@codesourcery.com>
611
d2f9799e
JM
612 [BZ #15283]
613 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
614 for arguments at most half maximum finite value.
615 * math/libm-test.inc (j0_test): Add more tests.
616 (j1_test): Likewise.
617 (y0_test): Likewise.
618 (y1_test): Likewise.
619 * sysdeps/i386/fpu/libm-test-ulps: Update.
620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
621
2a185d32
JM
622 [BZ #14155]
623 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
624 1 / x and functions P and Q for arguments above 0x1p256L.
625 (__ieee754_y0l): Likewise.
626 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
627 (__ieee754_y1l): Likewise.
628 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
629 (j1_test): Likewise.
630 (y0_test): Likewise.
631 (y1_test): Likewise.
632
6cbec759
TS
6332013-03-16 Thomas Schwinge <thomas@codesourcery.com>
634
635 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
636 variable.
637
bc16e260
RM
6382013-03-15 Roland McGrath <roland@hack.frob.com>
639
aefc9b8c
RM
640 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
641 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
642 zero since it's initialized to EXEC_PAGESIZE.
643
bc16e260
RM
644 * sysdeps/unix/sysv/linux/ldsodefs.h
645 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
646 * sysdeps/generic/ldsodefs.h: ... here.
647
a57da955
TS
6482013-03-15 Thomas Schwinge <thomas@codesourcery.com>
649
af00a34d
TS
650 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
651
495ded2c
TS
652 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
653 math/test-snan.c.
654 * math/test-snan.c: Renamed from
655 sysdeps/powerpc/fpu/test-powerpc-snan.c.
656 * math/Makefile (tests): Add test-snan.
657 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
658 test-powerpc-snan.
659
777b0332
TS
660 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
661 SUFFIX. Initialize qNaN_var with __builtin_nan family of
662 functions.
663 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
664 __builtin_nan family of functions.
665 * math/libm-test.inc (initialize): Initialize qnan_value with
666 __builtin_nan family of functions.
667 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
668 Remove variables.
669 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
670 Remove functions.
671 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
672 storage class. Initialize qNaN_var and sNaN_var with
673 __builtin_nan and __builtin_nans families of functions,
674 respectively.
675
64d063b8
TS
676 * math/libm-test.inc (acosh_test): Also test with qNaN input.
677 (sqrt_test): Remove duplicate test with qNaN input.
678 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
679 (round_test, signbit_test, significand_test): Note missing +/-Inf
680 as well as qNaN tests.
681
67e971f1
TS
682 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
683 qNaN_var. Fix a few strings, too.
684 * math/libm-test.inc (nan_value): Rename to qnan_value.
685 * math/gen-libm-test.pl (%beautify): Adjust to that.
686 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
687 * math/test-misc.c (main): Likewise.
688 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
689 to __qnan_bytes, and __qnan_union, respectively.
690 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
691 Likewise.
692 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
693 and lqnanval, respectively.
694 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
695 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
696 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
697 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
698
64487e12
TS
699 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
700 * math/test-misc.c (main) [__x86_64__]: Enable test for long
701 doubles.
702
e015e27b
TS
703 * math/test-misc.c (main): Fix copy'n'pastos.
704 * misc/tst-efgcvt.c (special): Likewise.
705
a57da955
TS
706 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
707 Remove declarations.
708
1e380345
SP
7092013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
710
711 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
712 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
713 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
714 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
715
ef26eece
AZ
7162013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
717
718 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
719 macro to return vdso values correctly in IFUNC implementations.
720 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
721 Optimization by using IFUNC.
722
8cfdb7e0
SP
7232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
724 Richard Henderson <rth@redhat.com>
725 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
726
727 * Makefile.in (bench): New target.
728 * NEWS: Mention the benchmark framework.
729 * Rules (bench): Likewise.
730 (binaries-bench): Generate binaries for functions to
731 benchmark.
732 * benchtests/Makefile: New makefile for benchmark tests.
733 * benchtests/bench-skeleton.c: New skeleton file for benchmark
734 programs.
735 * benchtests/exp-inputs: New input file for EXP function.
736 * benchtests/pow-inputs: New input file for POW function.
737 * scripts/bench.pl: New script to generate source files for
738 benchmark programs.
739
bcda9880
SP
7402013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
741
d22ca8cd
SP
742 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
743 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
744 computations on mantissa. Use macros for rounding and
745 division.
746 (denorm): Likewise.
747 (__dbl_mp): Likewise.
748 (add_magnitudes): Likewise.
749 (sub_magnitudes): Likewise.
750 (__mul): Likewise.
751 (__sqr): Likewise.
752 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
753 powers of two in terms of TWOPOW macro.
754 (mp_no): Make type of mantissa as MANTISSA_T.
755 [!RADIXI]: Define RADIXI.
756 [!TWO52]: Define TWO52.
757 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
758
bcda9880
SP
759 * manual/nptl.texi (cindex): Modify threads to pthreads.
760
06d5adfb
JM
7612013-03-15 Joseph Myers <joseph@codesourcery.com>
762
763 * sysdeps/x86_64/preconfigure: Regenerated.
764
41c7328e
JM
7652013-03-14 Joseph Myers <joseph@codesourcery.com>
766
767 [BZ #14155]
768 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
769 0x1p28 and above.
770 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
771 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
772 0x1p28 and above.
773 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
774 * math/libm-test.inc (j0_test): Do not allow one spurious
775 underflow exception.
776 (y1_test): Likewise.
777
e25cfa60
SP
7782013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
779
0409959c
SP
780 * manual/Makefile (chapters): Add nptl.
781 * manual/debug.texi (Debugging Support): Add link to Threads
782 chapter.
783 * manual/nptl.texi: New file.
784
e25cfa60
SP
785 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
786
58a1335e
PB
7872013-03-14 Petr Baudis <pasky@ucw.cz>
788
789 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
790 for non-NULL pointer before the memory validity test. Pointed
791 out by Holger Brunck <holger.brunck@keymile.com>.
792
9dc7c64f
AS
7932013-03-13 Andreas Schwab <schwab@suse.de>
794
795 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
796 instead of .os.
797
54206aa6
JM
7982013-03-13 Joseph Myers <joseph@codesourcery.com>
799
800 * timezone/zic.c: Update from tzcode 2013b.
801
e98cdb38
CD
8022013-03-12 Carlos O'Donell <carlos@redhat.com>
803
804 * manual/install.texi (Configuring and compiling):
805 Mention i686 and i586.
806 * INSTALL: Regenerate.
807
9967e003
RM
8082013-03-12 Roland McGrath <roland@hack.frob.com>
809
810 * sysdeps/init_array/elf-init.c: New file.
811 * csu/elf-init.c
812 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
813 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
814
815 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
816 __gmon_start__ as global, but as static with a .preinit_array pointer.
817 * sysdeps/init_array/gmon-start.c: New file. Use that.
818 * sysdeps/init_array/crti.S: New file, empty except for comments.
819 * sysdeps/init_array/crtn.S: Likewise.
820
e6b5a293 8212013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
822
823 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
824 definining bcopy.
80f844c9
OB
825 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
826 Remove Prefer_SSE_for_memop.
827 * sysdeps/x86_64/multiarch/init-arch.h: Remove
828 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
829 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
831 memset-x86-64.
80f844c9 832 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 833 Remove bzero, memset ifunc support.
80f844c9
OB
834 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
835 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
836 * sysdeps/x86_64/multiarch/memset.S: Likewise.
837 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
838
fb6b0fcb
AS
8392013-03-11 Andreas Schwab <schwab@suse.de>
840
841 [BZ #15234]
842 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
843 by SHLIB_COMPAT.
844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
845 (GLIBC_2.16): Remove pthread_atfork.
846
3e6bd4b1
PP
8472013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
848
849 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
850 (ptestcases.h): Likewise.
851
222d7f00
RM
8522013-03-08 Roland McGrath <roland@hack.frob.com>
853
854 * Makeconfig ($(common-objpfx)config.status): Depend on
855 sysdeps/*/preconfigure{,.in} too.
856
1ba4f030
JM
8572013-03-08 Joseph Myers <joseph@codesourcery.com>
858
a222d91a
JM
859 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
860 (__free_hook): Use void * instead of __malloc_ptr_t.
861 (__malloc_hook): Likewise.
862 (__realloc_hook): Likewise.
863 (__memalign_hook): Likewise.
864 (__after_morecore_hook): Likewise.
865 * malloc/arena.c (save_malloc_hook): Likewise.
866 (save_free_hook): Likewise.
867 * malloc/hooks.c (malloc_hook_ini): Likewise.
868 (realloc_hook_ini): Likewise.
869 (memalign_hook_ini): Likewise.
870 * malloc/malloc.c (malloc_hook_ini): Likewise.
871 (realloc_hook_ini): Likewise.
872 (memalign_hook_ini): Likewise.
873 (__free_hook): Likewise.
874 (__malloc_hook): Likewise.
875 (__realloc_hook): Likewise.
876 (__memalign_hook): Likewise.
877 (__libc_malloc): Likewise.
878 (__libc_free): Likewise.
879 (__libc_realloc): Likewise.
880 (__libc_memalign): Likewise.
881 (__libc_valloc): Likewise.
882 (__libc_pvalloc): Likewise.
883 (__libc_calloc): Likewise.
884 (__posix_memalign): Likewise.
885 * malloc/morecore.c (__sbrk): Likewise.
886 (__default_morecore): Likewise.
887
5cc45e10
JM
888 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
889
dd54b864
JM
890 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
891 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
892 __malloc_ptrdiff_t.
893
1ba4f030
JM
894 * malloc/malloc.h (__malloc_size_t): Remove macro.
895 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
896 __malloc_size_t.
897 (old_memalign_hook): Likewise.
898 (old_realloc_hook): Likewise.
899 (struct hdr): Likewise.
900 (flood): Likewise.
901 (mallochook): Likewise.
902 (memalignhook): Likewise.
903 (reallochook): Likewise.
904 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
905 (tr_old_realloc_hook): Likewise.
906 (tr_old_memalign_hook): Likewise.
907 (tr_mallochook): Likewise.
908 (tr_reallochook): Likewise.
909 (tr_memalignhook): Likewise.
910
edf66e57
AZ
9112013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
912
913 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
914 default_ldbl_pack and using as default implementation.
915 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
916 implementation.
917 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
918 redundant definition.
919 (ldbl_insert_mantissa): Likewise.
920 (ldbl_canonicalize): Likewise.
921 (ldbl_nearbyint): Likewise.
922 (ldbl_pack): Rename to ldbl_pack_ppc.
923 (ldbl_unpack): Rename to ldbl_unpack_ppc.
924 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
925 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
926
6d9145d8
SP
9272013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
928
929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
930 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
931 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
932 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
934 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
935 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
936 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
937
4dd4e157
AJ
9382013-03-07 Andreas Jaeger <aj@suse.de>
939
940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
941 bits/mman-linux.h.
942
adbb8027
SP
9432013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
944
ce544b5b
SP
945 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
946 Include mpa.h and declare __MPEXP.
947 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
948 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
949 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
950 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
951 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
952 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
953 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
954
4cc149fd
SP
955 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
956 (__slowpow): Use long double EXPL and LOGL functions to
957 compute POW.
958 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
959 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
960 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
961 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
962 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
963 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
964
e6ebd4a7
SP
965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
966 intermediate variable to calculate exponent.
967 (__sqr): Likewise.
968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
969 Likewise.
970 (__sqr): Likewise.
971
82a9811d
SP
972 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
973 [!NO__SQR]: Define __sqr.
974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
975 and NO__SQR. Remove all code except __mul and __sqr. Include
976 sysdeps/ieee754/dbl-64/mpa.c.
977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
978
adbb8027
SP
979 [BZ #12723]
980 * posix/Makefile (tests): Add tst-pathconf.
981 * posix/tst-pathconf.c: New test case.
982 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
983 _PC_PIPE_BUF.
984 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
985
39120df9
PF
9862013-03-06 Patsy Franklin <pfrankli@redhat.com>
987
988 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
989
67525cb8
AJ
9902013-03-06 Andreas Jaeger <aj@suse.de>
991
664a9ce4
AJ
992 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
993 definition via __MAP_ANONYMOUS.
994
8e39047d
AJ
995 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
996 it's not part of Linux headers.
997
67525cb8
AJ
998 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
999 (MAP_HUGE_MASK): Define.
1000
1001 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1002 Define.
1003 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1004 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1005 Define.
1006 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1007 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1008 Define.
1009 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1010 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1011 Define.
1012 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1013
1014 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1015 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1016 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1017 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1018 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1019 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1020
1021 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1022 Handle f2fs.
1023
1024 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1025 Handle f2fs and efivarfs.
1026
1027 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1028 f2fs.
1029
1030 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1031 (EFIVARFS_MAGIC): Add.
1032 (F2FS_LINK_MAX): Add.
1033
e1b42695
PP
10342013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1035
1036 * stdio-common/vfprintf.c: Replace __builtin_expect with
1037 __glibc_unlikely.
1038
2d67d91a
JM
10392013-03-06 Joseph Myers <joseph@codesourcery.com>
1040
1041 [BZ #13550]
1042 * sysdeps/generic/bp-sym.h: Remove file.
1043 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1044 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1045 <bp-sym.h> and <bp-asm.h>.
1046 (__longjmp): Don't use BP_SYM.
1047 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1048 and <bp-asm.h>.
1049 (memcpy): Don't use BP_SYM.
1050 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1051 <bp-sym.h> and <bp-asm.h>.
1052 (memcpy): Don't use BP_SYM.
1053 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1054 <bp-asm.h>.
1055 (memcpy): Don't use BP_SYM.
1056 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1057 <bp-asm.h>.
1058 (memset): Don't use BP_SYM.
1059 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1060 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1061 (__bzero): Don't use BP_SYM.
1062 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1063 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1064 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1065 <bp-sym.h> and <bp-asm.h>.
1066 (memcmp): Don't use BP_SYM. Remove comment about bounded
1067 pointers.
1068 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1069 <bp-sym.h> and <bp-asm.h>.
1070 (memcpy): Don't use BP_SYM.
1071 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1072 <bp-sym.h> and <bp-asm.h>.
1073 (memset): Don't use BP_SYM.
1074 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1075 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1076 (__bzero): Don't use BP_SYM.
1077 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1078 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1079 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1080 <bp-sym.h> and <bp-asm.h>.
1081 (strncmp): Don't use BP_SYM. Remove comment about bounded
1082 pointers.
1083 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1084 <bp-sym.h> and <bp-asm.h>.
1085 (memcpy): Don't use BP_SYM.
1086 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1087 <bp-sym.h> and <bp-asm.h>.
1088 (memset): Don't use BP_SYM.
1089 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1090 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1091 (__bzero): Don't use BP_SYM.
1092 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1093 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1094 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1095 <bp-sym.h> and <bp-asm.h>.
1096 (__memchr): Don't use BP_SYM.
1097 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1098 <bp-sym.h> and <bp-asm.h>.
1099 (memcmp): Don't use BP_SYM. Remove comment about bounded
1100 pointers.
1101 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1102 <bp-sym.h> and <bp-asm.h>.
1103 (memcpy): Don't use BP_SYM.
1104 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1105 <bp-sym.h> and <bp-asm.h>.
1106 (__mempcpy): Don't use BP_SYM.
1107 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1108 <bp-sym.h> and <bp-asm.h>.
1109 (__memrchr): Don't use BP_SYM.
1110 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1111 <bp-sym.h> and <bp-asm.h>.
1112 (memset): Don't use BP_SYM.
1113 (__bzero): Likewise.
1114 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1115 <bp-sym.h> and <bp-asm.h>.
1116 (__rawmemchr): Don't use BP_SYM.
1117 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1118 <bp-sym.h> and <bp-asm.h>.
1119 (__STRCMP): Don't use BP_SYM.
1120 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1121 <bp-sym.h> and <bp-asm.h>.
1122 (strchr): Don't use BP_SYM.
1123 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1124 <bp-sym.h> and <bp-asm.h>.
1125 (__strchrnul): Don't use BP_SYM.
1126 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1127 <bp-sym.h> and <bp-asm.h>.
1128 (strlen): Don't use BP_SYM.
1129 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1130 <bp-sym.h> and <bp-asm.h>.
1131 (strncmp): Don't use BP_SYM. Remove comment about bounded
1132 pointers.
1133 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1134 <bp-sym.h> and <bp-asm.h>.
1135 (__strnlen): Don't use BP_SYM.
1136 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1137 <bp-sym.h> and <bp-asm.h>.
1138 (__GI__setjmp): Don't use BP_SYM.
1139 (_setjmp): Likewise.
1140 (__sigsetjmp): Likewise.
1141 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1142 (L(start_addresses)): Don't use BP_SYM.
1143 (_start): Likewise.
1144 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1145 <bp-asm.h>.
1146 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1147 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1148 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1149 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1150 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1151 <bp-asm.h>.
1152 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1153 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1154 about bounded pointers.
1155 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1156 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1157 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1158 <bp-asm.h>.
1159 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1160 about bounded pointers. Remove GKM FIXME comments.
1161 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1162 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1163 <bp-asm.h>.
1164 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1165 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1166 Remove GKM FIXME comments.
1167 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1168 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1169 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1170 <bp-asm.h>.
1171 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1172 about bounded pointers. Remove GKM FIXME comment.
1173 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1174 and <bp-asm.h>.
1175 (strncmp): Don't use BP_SYM. Remove comment about bounded
1176 pointers.
1177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1178 <bp-sym.h> and <bp-asm.h>.
1179 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1181 <bp-sym.h> and <bp-asm.h>.
1182 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1183 comment.
1184
cdcf361f
PP
11852013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1186
1187 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1188 call free(NULL).
1189
3c4a2b15
DM
11902013-03-05 David S. Miller <davem@davemloft.net>
1191
1192 * po/es.po: Update from translation team.
1193
cdcf361f 11942013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1195
1196 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1197 <bits/mman-linux.h>.
1198 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1199 is fine.
1200 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1201 <bits/mman-linux.h> to end of file.
1202 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1203 is fine.
1204 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1205 <bits/mman-linux.h> to end of file.
1206 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1207 is fine.
1208 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1209 <bits/mman-linux.h> to end of file.
1210
1211 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1212 (MCL_CURRENT, MCL_FUTURE): Define here.
1213
5f67c04f
AK
12142013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1215
8a4473cc 1216 [BZ #15232]
5f67c04f
AK
1217 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1218 attribute_hidden.
1219 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1220
c3e94a95
AK
12212013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1222
1223 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1224 fourth parameter needed for rt_sigprocmask syscall.
1225 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1226 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1227 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1228 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1229 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1230 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1231
cfb6382a
JM
12322013-03-04 Joseph Myers <joseph@codesourcery.com>
1233
1234 [BZ #13550]
1235 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1236 comment about bounded pointers.
1237 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1238 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1239
539d8e01
AJ
12402013-03-04 Andreas Jaeger <aj@suse.de>
1241
1242 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1243 common definitions.
1244
1245 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1246 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1247 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1248 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1249 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1250 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1251
2e167a70 12522013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1253
1254 [BZ #15055]
1255 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1256 __ieee754_sqrl instead of __sqrl.
1257
68508633
JM
12582013-03-01 Joseph Myers <joseph@codesourcery.com>
1259
1260 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1261 * sysdeps/powerpc/fpu_control.h: ... here.
1262 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1263 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1264 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1265 * sysdeps/powerpc/bits/mathinline.h: ... here.
1266
7775448e
RM
12672013-03-01 Roland McGrath <roland@hack.frob.com>
1268
1269 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1270 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1271 to just [NEED_DL_SYSINFO_DSO].
1272 * elf/dl-support.c: Likewise.
1273 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1274 * elf/rtld.c (dl_main): Likewise.
1275 * elf/setup-vdso.h (setup_vdso): Likewise.
1276 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1277 * sysdeps/unix/sysv/linux/dl-sysdep.c
1278 (_dl_discover_osversion): Likewise.
1279
4e9b5995
CD
12802013-03-01 Carlos O'Donell <carlos@redhat.com>
1281
1282 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1283 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1284
e23872c8
SP
12852013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1286
e5c74c63
SP
1287 * NEWS: Mention libm performance improvements and non-x86 PI
1288 futex support.
1289
e23872c8
SP
1290 * csu/libc-start.c (__pthread_initialize_minimal): Change
1291 function arguments.
1292 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1293
b5510883
JM
12942013-02-28 Joseph Myers <joseph@codesourcery.com>
1295
1296 [BZ #13550]
1297 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1298 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1299 <bp-sym.h> and <bp-asm.h>.
1300 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1301 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1302 and <bp-asm.h>.
1303 (memcpy): Don't use BP_SYM.
1304 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1305 <bp-asm.h>.
1306 (__mpn_add_n): Don't use BP_SYM.
1307 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1308 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1309 and <bp-asm.h>.
1310 (__mpn_addmul_1): Don't use BP_SYM.
1311 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1312 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1313 <bp-sym.h>.
1314 (_setjmp): Don't use BP_SYM.
1315 (__novmx_setjmp): Likewise.
1316 (__GI__setjmp): Likewise.
1317 (__vmx_setjmp): Likewise.
1318 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1319 <bp-sym.h>.
1320 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1321 (__bzero): Don't use BP_SYM.
1322 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1323 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1324 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1325 <bp-sym.h> and <bp-asm.h>.
1326 (memcpy): Don't use BP_SYM.
1327 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1328 <bp-sym.h> and <bp-asm.h>.
1329 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1330 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1331 <bp-sym.h> and <bp-asm.h>.
1332 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1333 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1334 <bp-asm.h>.
1335 (__mpn_lshift): Don't use BP_SYM.
1336 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1337 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1338 <bp-asm.h>.
1339 (memset): Don't use BP_SYM.
1340 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1341 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1342 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1343 <bp-asm.h>.
1344 (__mpn_mul_1): Don't use BP_SYM.
1345 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1346 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1347 <bp-sym.h> and <bp-asm.h>.
1348 (memcmp): Don't use BP_SYM.
1349 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1350 <bp-sym.h> and <bp-asm.h>.
1351 (memcpy): Don't use BP_SYM.
1352 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1353 <bp-sym.h> and <bp-asm.h>.
1354 (memset): Don't use BP_SYM.
1355 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1356 <bp-sym.h> and <bp-asm.h>.
1357 (strncmp): Don't use BP_SYM.
1358 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1359 <bp-sym.h> and <bp-asm.h>.
1360 (memcpy): Don't use BP_SYM.
1361 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1362 <bp-sym.h> and <bp-asm.h>.
1363 (memset): Don't use BP_SYM.
1364 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1365 <bp-sym.h> and <bp-asm.h>.
1366 (__memchr): Don't use BP_SYM.
1367 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1368 <bp-sym.h> and <bp-asm.h>.
1369 (memcmp): Don't use BP_SYM.
1370 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1371 <bp-sym.h> and <bp-asm.h>.
1372 (memcpy): Don't use BP_SYM.
1373 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1374 <bp-sym.h> and <bp-asm.h>.
1375 (__mempcpy): Don't use BP_SYM.
1376 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1377 <bp-sym.h> and <bp-asm.h>.
1378 (__memrchr): Don't use BP_SYM.
1379 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1380 <bp-sym.h> and <bp-asm.h>.
1381 (memset): Don't use BP_SYM.
1382 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1383 <bp-sym.h> and <bp-asm.h>.
1384 (__rawmemchr): Don't use BP_SYM.
1385 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1386 <bp-sym.h> and <bp-asm.h>.
1387 (__STRCMP): Don't use BP_SYM.
1388 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1389 <bp-sym.h> and <bp-asm.h>.
1390 (strchr): Don't use BP_SYM.
1391 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1392 <bp-sym.h> and <bp-asm.h>.
1393 (__strchrnul): Don't use BP_SYM.
1394 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1395 <bp-sym.h> and <bp-asm.h>.
1396 (strlen): Don't use BP_SYM.
1397 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1398 <bp-sym.h> and <bp-asm.h>.
1399 (strncmp): Don't use BP_SYM.
1400 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1401 <bp-sym.h> and <bp-asm.h>.
1402 (__strnlen): Don't use BP_SYM.
1403 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1404 <bp-asm.h>.
1405 (__mpn_rshift): Don't use BP_SYM.
1406 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1407 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1408 <bp-sym.h> and <bp-asm.h>.
1409 (__sigsetjmp): Don't use BP_SYM.
1410 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1411 (L(start_addresses)): Don't use BP_SYM.
1412 (_start): Likewise.
1413 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1414 <bp-asm.h>.
1415 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1416 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1417 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1418 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1419 <bp-asm.h>.
1420 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1421 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1422 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1423 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1424 <bp-asm.h>.
1425 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1426 comments.
1427 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1428 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1429 <bp-asm.h>.
1430 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1431 FIXME comments.
1432 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1433 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1434 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1435 <bp-asm.h>.
1436 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1437 comment.
1438 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1439 and <bp-asm.h>.
1440 (strncmp): Don't use BP_SYM,
1441 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1442 <bp-asm.h>.
1443 (__mpn_sub_n): Don't use BP_SYM.
1444 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1445 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1446 and <bp-asm.h>.
1447 (__mpn_submul_1): Don't use BP_SYM.
1448 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1450 <bp-sym.h> and <bp-asm.h>.
1451 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1453 <bp-sym.h> and <bp-asm.h>.
1454 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1455 comment.
1456
8d19fe64
SP
14572013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1458
1459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1460 Use ZK to minimize writes to Z.
1461 (sub_magnitudes): Simplify code a bit.
1462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1463 Use ZK to minimize writes to Z.
1464 (sub_magnitudes): Simplify code a bit.
1465
85bd816a
RM
14662013-02-27 Roland McGrath <roland@hack.frob.com>
1467
1468 * csu/gmon-start.c: Add special exception to license text.
1469
b5977bf2
RH
14702013-02-27 Richard Henderson <rth@redhat.com>
1471
1472 * scripts/config.guess: Update from config.git.
1473 * scripts/config.sub: Likewise.
1474
11d6e2f2
SP
14752013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1476
09c14ed2
SP
1477 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1478
a688864e
SP
1479 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1480
6295157a
SP
1481 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1482
b8de2202
SP
1483 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1484
11d6e2f2
SP
1485 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1486
7e80ddb8
RM
14872013-02-26 Roland McGrath <roland@hack.frob.com>
1488
1489 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1490 [$(build-shared = yes].
7e80ddb8 1491
7da6d9ed
SP
14922013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1493
45f05884
SP
1494 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1495 (__mul): Reduce iterations for calculating mantissa.
1496
2236d359
SP
1497 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1498 MPTWO.
1499 (__mpranred): Likewise.
1500
7da6d9ed
SP
1501 [BZ #15160]
1502 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1503 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1504
b7688c42
PE
15052013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1506
1507 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1508 Define __attribute__.
1509
53a5c423
SP
15102013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1511
1512 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1513 unused.
1514 * posix/regex_internal.h (__attribute): Remove.
1515 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1516 (re_string_context_at): Likewise.
1517 (bitset_not): Use __attribute__ and mark function as possibly
1518 unused.
1519 (bitset_merge): Likewise.
1520 (bitset_mask): Likewise.
1521 (re_string_char_size_at): Likewise.
1522 (re_string_wchar_at): Likewise.
1523 (re_string_elem_size_at): Likewise.
1524
60f5a8b5
SP
15252013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1526
2a983a2e
SP
1527 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1528 code.
1529 (cc32): Likewise.
1530
e69804d1
SP
1531 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1532 (__acr): Likewise.
1533 (__cpy): Likewise.
1534 (norm): Likewise.
1535 (denorm): Likewise.
1536 (__dbl_mp): Likewise.
1537 (add_magnitudes): Likewise.
1538 (sub_magnitudes): Likewise.
1539 (__mul): Likewise.
1540 (__inv): Likewise.
1541
2f22a1e8
SP
1542 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1543 style.
1544
8930ddc7
SP
1545 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1546 style.
1547
dc60cb11
SP
1548 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1549 code.
1550
60f5a8b5
SP
1551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1552 up changes with default code.
1553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1554 Likewise.
1555
b4d1fd33
AM
15562013-02-24 Allan McRae <allan@archlinux.org>
1557
faf6f8bc
AM
1558 * manual/socket.texi (The Internet Namespace): Order menu items
1559 to match that in the file.
1560
b4d1fd33
AM
1561 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1562 node listing of the info page menu.
1563
2366713d
JM
15642013-02-21 Joseph Myers <joseph@codesourcery.com>
1565
1566 [BZ #13550]
1567 * sysdeps/i386/bp-asm.h: Remove file.
1568 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1569 (PARMS): Do not use macros from bp-asm.h.
1570 (S1): Likewise.
1571 (S2): Likewise.
1572 (SIZE): Likewise.
1573 (__mpn_add_n): Do not use BP_SYM
1574 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1575 "bp-asm.h".
1576 (PARMS): Do not use macros from bp-asm.h.
1577 (S1): Likewise.
1578 (SIZE): Likewise.
1579 (__mpn_addmul_1): Do not use BP_SYM
1580 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1581 "bp-asm.h".
1582 (PARMS): Do not use macros from bp-asm.h.
1583 (SIGMSK): Likewise.
1584 (_setjmp): Likewise. Do not use BP_SYM.
1585 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1586 "bp-asm.h".
1587 (PARMS): Do not use macros from bp-asm.h.
1588 (SIGMSK): Likewise.
1589 (setjmp): Likewise. Do not use BP_SYM.
1590 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1591 "bp-asm.h".
1592 (PARMS): Do not use macros from bp-asm.h.
1593 (__frexp): Do not use BP_SYM.
1594 (frexp): Likewise.
1595 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1596 "bp-asm.h".
1597 (PARMS): Do not use macros from bp-asm.h.
1598 (__frexpf): Do not use BP_SYM.
1599 (frexpf): Likewise.
1600 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1601 "bp-asm.h".
1602 (PARMS): Do not use macros from bp-asm.h.
1603 (__frexpl): Do not use BP_SYM.
1604 (frexpl): Likewise.
1605 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1606 "bp-asm.h".
1607 (PARMS): Do not use macros from bp-asm.h.
1608 (__remquo): Do not use BP_SYM.
1609 (remquo): Likewise.
1610 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1611 "bp-asm.h".
1612 (PARMS): Do not use macros from bp-asm.h.
1613 (__remquof): Do not use BP_SYM.
1614 (remquof): Likewise.
1615 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1616 "bp-asm.h".
1617 (PARMS): Do not use macros from bp-asm.h.
1618 (__remquol): Do not use BP_SYM.
1619 (remquol): Likewise.
1620 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1621 "bp-asm.h".
1622 (PARMS): Do not use macros from bp-asm.h.
1623 (DEST): Likewise.
1624 (SRC): Likewise.
1625 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1626 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1627 "bp-asm.h".
1628 (PARMS): Do not use macros from bp-asm.h.
1629 (strlen): Do not use BP_SYM.
1630 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1631 "bp-asm.h".
1632 (PARMS): Do not use macros from bp-asm.h.
1633 (S1): Likewise.
1634 (S2): Likewise.
1635 (SIZE): Likewise.
1636 (__mpn_add_n): Do not use BP_SYM.
1637 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1638 "bp-asm.h".
1639 (PARMS): Do not use macros from bp-asm.h.
1640 (S1): Likewise.
1641 (SIZE): Likewise.
1642 (__mpn_addmul_1): Do not use BP_SYM.
1643 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1644 weak_alias.
1645 (bzero): Likewise.
1646 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1647 "bp-asm.h".
1648 (PARMS): Do not use macros from bp-asm.h.
1649 (S): Likewise.
1650 (SIZE): Likewise.
1651 (__mpn_lshift): Do not use BP_SYM.
1652 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1653 "bp-asm.h".
1654 (PARMS): Do not use macros from bp-asm.h.
1655 (DEST): Likewise.
1656 (SRC): Likewise.
1657 (LEN): Likewise.
1658 (memcpy): Likewise. Do not use BP_SYM.
1659 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1660 libc_hidden_def and weak_alias.
1661 (mempcpy): Do not use BP_SYM in weak_alias.
1662 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1663 "bp-asm.h".
1664 (PARMS): Do not use macros from bp-asm.h.
1665 (DEST): Likewise.
1666 (LEN): Likewise.
1667 [!BZERO_P] (CHR): Likewise.
1668 (memset): Likewise. Do not use BP_SYM.
1669 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1670 "bp-asm.h".
1671 (PARMS): Do not use macros from bp-asm.h.
1672 (S1): Likewise.
1673 (SIZE): Likewise.
1674 (__mpn_mul_1): Do not use BP_SYM.
1675 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1676 "bp-asm.h".
1677 (PARMS): Do not use macros from bp-asm.h.
1678 (S): Likewise.
1679 (SIZE): Likewise.
1680 (__mpn_rshift): Do not use BP_SYM.
1681 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1682 "bp-asm.h".
1683 (PARMS): Do not use macros from bp-asm.h.
1684 (STR): Likewise.
1685 (CHR): Likewise.
1686 (strchr): Likewise. Do not use BP_SYM.
1687 (index): Do not use BP_SYM in weak_alias.
1688 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1689 "bp-asm.h".
1690 (PARMS): Do not use macros from bp-asm.h.
1691 (DEST): Likewise.
1692 (SRC): Likewise.
1693 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1694 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1695 "bp-asm.h".
1696 (PARMS): Do not use macros from bp-asm.h.
1697 (strlen): Do not use BP_SYM.
1698 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1699 "bp-asm.h".
1700 (PARMS): Do not use macros from bp-asm.h.
1701 (S1): Likewise.
1702 (S2): Likewise.
1703 (SIZE): Likewise.
1704 (__mpn_sub_n): Do not use BP_SYM.
1705 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1706 "bp-asm.h".
1707 (PARMS): Do not use macros from bp-asm.h.
1708 (S1): Likewise.
1709 (SIZE): Likewise.
1710 (__mpn_submul_1): Do not use BP_SYM.
1711 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1712 "bp-asm.h".
1713 (PARMS): Do not use macros from bp-asm.h.
1714 (S1): Likewise.
1715 (S2): Likewise.
1716 (SIZE): Likewise.
1717 (__mpn_add_n): Do not use BP_SYM.
1718 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1719 weak_alias.
1720 (bzero): Likewise.
1721 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1722 "bp-asm.h".
1723 (PARMS): Do not use macros from bp-asm.h.
1724 (BLK2): Likewise.
1725 (LEN): Likewise.
1726 (memcmp): Do not use BP_SYM.
1727 (bcmp): Do not use BP_SYM in weak_alias.
1728 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1729 "bp-asm.h".
1730 (PARMS): Do not use macros from bp-asm.h.
1731 (DEST): Likewise.
1732 (SRC): Likewise.
1733 (LEN): Likewise.
1734 (memcpy): Likewise. Do not use BP_SYM.
1735 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1736 "bp-asm.h".
1737 (PARMS): Do not use macros from bp-asm.h.
1738 (DEST): Likewise.
1739 (SRC): Likewise.
1740 (LEN): Likewise.
1741 (memmove): Likewise. Do not use BP_SYM.
1742 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1743 "bp-asm.h".
1744 (PARMS): Do not use macros from bp-asm.h.
1745 (DEST): Likewise.
1746 (SRC): Likewise.
1747 (LEN): Likewise.
1748 (__mempcpy): Likewise. Do not use BP_SYM.
1749 (mempcpy): Do not use BP_SYM in weak_alias.
1750 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1751 "bp-asm.h".
1752 (PARMS): Do not use macros from bp-asm.h.
1753 (DEST): Likewise.
1754 (LEN): Likewise.
1755 [!BZERO_P] (CHR): Likewise.
1756 (memset): Likewise. Do not use BP_SYM.
1757 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1758 "bp-asm.h".
1759 (PARMS): Do not use macros from bp-asm.h.
1760 (STR2): Likewise.
1761 (strcmp): Do not use BP_SYM.
1762 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1763 "bp-asm.h".
1764 (PARMS): Do not use macros from bp-asm.h.
1765 (STR): Likewise.
1766 (DELIM): Likewise.
1767 [USE_AS_STRTOK_R] (SAVE): Likewise.
1768 (FUNCTION): Likewise. Do not use BP_SYM.
1769 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1770 aliases.
1771 (strtok_r): Likewise.
1772 (__GI___strtok_r): Likewise.
1773 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1774 (PARMS): Do not use macros from bp-asm.h.
1775 (S): Likewise.
1776 (SIZE): Likewise.
1777 (__mpn_lshift): Do not use BP_SYM.
1778 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1779 (PARMS): Do not use macros from bp-asm.h.
1780 (STR): Likewise.
1781 (CHR): Likewise.
1782 (__memchr): Do not use BP_SYM.
1783 (memchr): Do not use BP_SYM in weak_alias.
1784 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1785 (PARMS): Do not use macros from bp-asm.h.
1786 (BLK2): Likewise.
1787 (LEN): Likewise.
1788 (memcmp): Do not use BP_SYM.
1789 (bcmp): Do not use BP_SYM in weak_alias.
1790 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1791 (PARMS): Do not use macros from bp-asm.h.
1792 (S1): Likewise.
1793 (SIZE): Likewise.
1794 (__mpn_mul_1): Do not use BP_SYM.
1795 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1796 "bp-asm.h".
1797 (PARMS): Do not use macros from bp-asm.h.
1798 (STR): Likewise.
1799 (CHR): Likewise.
1800 (__rawmemchr): Do not use BP_SYM.
1801 (rawmemchr): Do not use BP_SYM in weak_alias.
1802 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1803 (PARMS): Do not use macros from bp-asm.h.
1804 (S): Likewise.
1805 (SIZE): Likewise.
1806 (__mpn_rshift): Do not use BP_SYM.
1807 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1808 (PARMS): Do not use macros from bp-asm.h.
1809 (SIGMSK): Likewise.
1810 (__sigsetjmp): Likewise. Do not use BP_SYM.
1811 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1812 (_start): Do not use BP_SYM.
1813 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1814 (PARMS): Do not use macros from bp-asm.h.
1815 (DEST): Likewise.
1816 (SRC): Likewise.
1817 (__stpcpy): Likewise. Do not use BP_SYM.
1818 (stpcpy): Do not use BP_SYM in weak_alias.
1819 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1820 "bp-asm.h".
1821 (PARMS): Do not use macros from bp-asm.h.
1822 (DEST): Likewise.
1823 (SRC): Likewise.
1824 (LEN): Likewise.
1825 (__stpncpy): Likewise. Do not use BP_SYM.
1826 (stpncpy): Do not use BP_SYM in weak_alias.
1827 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1828 (PARMS): Do not use macros from bp-asm.h.
1829 (STR): Likewise.
1830 (CHR): Likewise.
1831 (strchr): Likewise. Do not use BP_SYM.
1832 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1833 "bp-asm.h".
1834 (PARMS): Do not use macros from bp-asm.h.
1835 (STR): Likewise.
1836 (CHR): Likewise.
1837 (__strchrnul): Likewise. Do not use BP_SYM.
1838 (strchrnul): Do not use BP_SYM in weak_alias.
1839 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1840 "bp-asm.h".
1841 (PARMS): Do not use macros from bp-asm.h.
1842 (STOP): Likewise.
1843 (strcspn): Do not use BP_SYM.
1844 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1845 "bp-asm.h".
1846 (PARMS): Do not use macros from bp-asm.h.
1847 (STR): Likewise.
1848 (STOP): Likewise.
1849 (strpbrk): Likewise. Do not use BP_SYM.
1850 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1851 "bp-asm.h".
1852 (PARMS): Do not use macros from bp-asm.h.
1853 (STR): Likewise.
1854 (CHR): Likewise.
1855 (strrchr): Likewise. Do not use BP_SYM.
1856 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1857 (PARMS): Do not use macros from bp-asm.h.
1858 (SKIP): Likewise.
1859 (strspn): Do not use BP_SYM.
1860 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1861 (PARMS): Do not use macros from bp-asm.h.
1862 (STR): Likewise.
1863 (DELIM): Likewise.
1864 (SAVE): Likewise.
1865 (FUNCTION): Likewise. Do not use BP_SYM.
1866 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1867 aliases.
1868 (strtok_r): Likewise.
1869 (__GI___strtok_r): Likewise.
1870 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1871 (PARMS): Do not use macros from bp-asm.h.
1872 (S1): Likewise.
1873 (S2): Likewise.
1874 (SIZE): Likewise.
1875 (__mpn_sub_n): Do not use BP_SYM.
1876 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1877 "bp-asm.h".
1878 (PARMS): Do not use macros from bp-asm.h.
1879 (S1): Likewise.
1880 (SIZE): Likewise.
1881 (__mpn_submul_1): Do not use BP_SYM.
1882 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1883 <bp-sym.h>.
1884 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1885 and <bp-asm.h>.
1886 (PARMS): Do not use macros from bp-asm.h.
1887 (FLAGS): Likewise.
1888 (PTID): Likewise.
1889 (TLS): Likewise.
1890 (CTID): Likewise.
1891 (__clone): Do not use BP_SYM.
1892 (clone): Do not use BP_SYM in weak_alias.
1893 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1894 and <bp-asm.h>.
1895 (PARMS): Do not use macros from bp-asm.h.
1896 (LEN): Likewise.
1897 (__mmap64): Do not use BP_SYM.
1898 (mmap64): Do not use BP_SYM in weak_alias.
1899 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1900 <bp-sym.h> and <bp-asm.h>.
1901 (PARMS): Do not use macros from bp-asm.h.
1902 (__posix_fadvise64_l64): Do not use BP_SYM.
1903 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1904 (PARMS): Do not use macros from bp-asm.h.
1905 (NSOPS): Likewise.
1906 (semtimedop): Do not use BP_SYM.
1907 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1908 and <bp-asm.h>.
1909
582a3cff
AM
19102013-02-21 Allan McRae <allan@archlinux.org>
1911
1912 * manual/message.texi (Charset conversion in gettext):
1913 Move @end statement to beginning of line.
1914
bab8a695
SP
19152013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1916
80945231
SP
1917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1918 static.
1919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1920 Likewise.
1921
bab8a695
SP
1922 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1923 (denorm): Likewise.
1924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1926
e21d7aa7
AK
19272013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1928
1929 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1930 tail-call to the resolved function if pltexit isn't needed.
1931
4c7a4263
SP
19322013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1933
1934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1935 or Y being zero as being unlikely.
1936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1937 Likewise.
1938
41f49342
CD
19392013-02-20 Carlos O'Donell <carlos@redhat.com>
1940
1941 * manual/nss.texi (System Databases and Name Service Switch):
1942 Remove frobnicate @pxref.
1943
50022a93
TS
19442013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1945
1946 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1947 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1948
08cbd996
PM
19492013-02-20 Petr Machata <pmachata@redhat.com>
1950
1951 * elf/elf.h (R_ARM_TARGET1): New macro.
1952 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1953 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1954 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1955 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1956 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1957 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1958 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1959 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1960 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1961 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1962 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1963 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1964 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1965 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1966 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1967 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1968 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1969 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1970 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1971 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1972 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1973 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1974 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1975 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1976 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1977 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1978 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1979 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1980 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1981 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1982 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1983 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1984 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1985 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1986 (R_ARM_THM_GOT_BREL12): Likewise.
1987 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1988 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1989 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1990 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1991 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1992 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1993 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1994 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1995 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1996
c7b275d6
TS
19972013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1998
1999 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2000 __attribute_used__ to __attribute__ ((unused)).
2001
20cd7fb3
SP
20022013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2003
2004 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2005 powerpc mpa.c.
2006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2007 comment formatting.
2008 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2009
92945b52
JM
20102013-02-19 Joseph Myers <joseph@codesourcery.com>
2011
2012 [BZ #13550]
2013 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2014 Remove macro.
2015 (ENTER): Remove both macro definitions.
2016 (LEAVE): Likewise.
2017 (CHECK_BOUNDS_LOW): Likewise.
2018 (CHECK_BOUNDS_HIGH): Likewise.
2019 (CHECK_BOUNDS_BOTH): Likewise.
2020 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2021 (RETURN_BOUNDED_POINTER): Likewise.
2022 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2023 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2024 (POP_ERRNO_LOCATION_RETURN): Likewise.
2025 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2026 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2027 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2028 macros.
2029 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2030 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2031 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2032 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2033 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2034 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2035 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2036 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2037 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2038 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2039 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2040 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2041 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2042 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2043 removed macros.
2044 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2045 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2046 macros.
2047 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2048 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2049 * sysdeps/i386/i586/memset.S (memset): Likewise.
2050 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2051 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2052 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2053 macros.
2054 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2055 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2056 Change uses of L(2) to L(out).
2057 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2058 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2059 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2060 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2061 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2062 removed macros.
2063 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2064 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2065 macros.
2066 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2067 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2068 (RETURN): Do not use macro LEAVE.
2069 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2070 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2071 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2072 * sysdeps/i386/i686/memset.S (memset): Likewise.
2073 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2074 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2075 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2076 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2077 Likewise.
2078 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2079 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2080 L(1_2) and L(1_3) into L(1).
2081 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2082 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2083 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2084 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2085 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2086 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2087 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2088 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2089 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2090 macros.
2091 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2092 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2093 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2094 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2095 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2096 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2097 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2098 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2099 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2100 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2101 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2102 * sysdeps/i386/strspn.S (strspn): Likewise.
2103 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2104 conditional code.
2105 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2106 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2107 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2108 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2109 L(1_3) into L(1_1).
2110 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2111 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2112 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2113 macros.
2114 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2115
2389741a
JJ
21162013-02-19 Jakub Jelinek <jakub@redhat.com>
2117
2118 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2119 macro.
2120
2016b3cd
SP
21212013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2122
e4f22324
SP
2123 * math/atest-exp.c (exp_mpn): Remove ROUND.
2124 * math/atest-exp2.c (exp_mpn): Likewise.
2125 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2126
2016b3cd
SP
2127 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2128 * stdlib/tst-tls-atexit-lib.c: Likewise.
2129 * stdlib/tst-tls-atexit.c: Likewise.
2130
4be9b544
MF
21312013-02-18 Mike Frysinger <vapier@gentoo.org>
2132
2133 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2134 and __attribute_alloc_size__.
2135
2f62b9ee
MF
21362013-02-18 Mike Frysinger <vapier@gentoo.org>
2137
2138 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2139 __attribute_alloc_size__.
2140 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2141 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2142
6ff444c4
MF
21432013-02-18 Mike Frysinger <vapier@gentoo.org>
2144
2145 * include/programs/xmalloc.h: New file.
2146 * catgets/gencat.c: Include it.
2147 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2148 * elf/pldd.c: Likewise.
2149 * iconv/iconv_charmap.c: Likewise.
2150 * iconv/iconvconfig.c: Likewise.
2151 * iconv/strtab.c: Likewise.
2152 * locale/programs/locale.c: Likewise.
2153 * locale/programs/localedef.h: Likewise.
2154 * locale/programs/simple-hash.c: Likewise.
2155 * nscd/nscd.h: Likewise.
2156 * nss/makedb.c: Likewise.
2157 * sysdeps/generic/ldconfig.h: Likewise.
2158
be179c8a
SP
21592013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2160
ba384f6e
SP
2161 * Versions.def: Add GLIBC_2.18.
2162 * include/link.h (struct link_map): New member l_tls_dtor_count.
2163 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2164 (__call_tls_dtors): Likewise.
2165 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2166 __cxa_thread_atexit_impl.
2167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2168 Likewise.
2169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2170 Likewise.
2171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2172 Likewise.
2173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2174 Likewise.
2175 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2177 Likewise.
2178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2179 Likewise.
2180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2182 Likewise.
2183 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2184 (tests): Add test case tst-tls-atexit.
2185 (modules-names): Add shared library for tst-tls-atexit.
2186 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2187 (GLIBC_PRIVATE): Add __call_tls_dtors.
2188 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2189 for libstdc++.
2190 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2191 * stdlib/tst-tls-atexit.c: New test case.
2192 * stdlib/tst-tls-atexit-lib.c: New test case.
2193
ffaa74cf 2194 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2195
be179c8a
SP
2196 * elf/Versions (ld): Add _dl_find_dso_for_object.
2197 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2198 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2199 (dl_open_worker): Use _dl_find_dso_for_object.
2200 * elf/dl-sym.c (do_sym): Likewise.
2201 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2202
f78b5caa
AK
22032013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2204
2205 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2206 Syntactic changes only.
2207 (_dl_runtime_profile): Do a tail-call to the resolved function.
2208
29691210
JM
22092013-02-17 Joseph Myers <joseph@codesourcery.com>
2210
2211 [BZ #13550]
2212 * sysdeps/x86_64/bp-asm.h: Remove file.
2213 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2214 <bp-sym.h> and <bp-asm.h>.
2215 (__clone): Do not use BP_SYM.
2216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2217 <bp-sym.h> and <bp-asm.h>.
2218 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2219 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2220 "bp-asm.h".
2221 (_setjmp): Do not use BP_SYM.
2222 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2223 "bp-asm.h".
2224 (setjmp): Do not use BP_SYM.
2225 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2226 libc_hidden_def.
2227 (mempcpy): Do not use BP_SYM in weak_alias.
2228 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2229 "bp-asm.h".
2230 (strchr): Do not use BP_SYM.
2231 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2232 "bp-asm.h".
2233 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2234 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2235 (_start): Do not use BP_SYM.
2236 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2237 "bp-asm.h".
2238 (strcat): Do not use BP_SYM.
2239 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2240 "bp-asm.h".
2241 (STRCMP): Do not use BP_SYM.
2242 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2243 "bp-asm.h".
2244 (STRCPY): Do not use BP_SYM.
2245 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2246 "bp-asm.h".
2247 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2248 "bp-asm.h".
2249 (FUNCTION): Do not use BP_SYM.
2250 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2251 weak_alias.
2252 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2253
f238fd19
AJ
22542013-02-17 Andreas Jaeger <aj@suse.de>
2255
2256 * time/Versions: Sort entries.
2257 * string/Versions: Likewise.
2258 * resolv/Versions: Likewise.
2259 * posix/Versions: Likewise.
2260 * iconv/Versions: Likewise.
2261 * elf/Versions: Likewise.
2262 * wcsmbs/Versions: Likewise.
2263
bd07f23c 22642013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2265
22af19f9
SP
2266 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2267 loop termination condition.
2268
4709fe76
SP
2269 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2270 variable to calculate EZ.
2271 (__sqr): Likewise.
2d0e0f29
SP
2272
2273 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2274 the lower precision input.
2275
daaa7713
JM
22762013-02-15 Joseph Myers <joseph@codesourcery.com>
2277
2278 [BZ #13550]
2279 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2280 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2281 (run-via-rtld-prefix): Do not handle %-bp tests.
2282 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2283 (all-object-suffixes): Remove .ob.
2284 (bppfx): Remove variable.
2285 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2286 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2287 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2288 [$(build-bounded) = yes] (libtype.ob): Likewise.
2289 * Makerules (elide-routines.ob): Remove variable.
2290 (do-tests-clean): Do not handle *-bp.out.
2291 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2292 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2293 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2294 (tests): Do not include $(tests-bp.out).
2295 (xtests): Do not include $(xtests-bp.out).
2296 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2297 [$(build-bounded) = yes] ($(addprefix
2298 $(objpfx),$(binaries-bounded))): Remove rule.
2299 ($(objpfx)%-bp.out): Remove rule.
2300 * config.make.in (build-bounded): Remove variable.
2301 * crypt/Makefile [$(build-bounded) = yes]
2302 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2303 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2304 append to variable.
2305 [$(build-bounded) = yes] (install-lib): Likewise.
2306 [$(build-bounded) = yes] (generated): Likewise.
2307 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2308 Remove rule.
2309 * intl/Makefile [$(build-bounded) = yes]
2310 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2311 * math/Makefile [$(build-bounded) = yes]
2312 ($(tests:%=$(objpfx)%-bp): Likewise.
2313 * misc/Makefile [$(build-bounded) = yes]
2314 ($(objpfx)tst-tsearch-bp): Likewise.
2315 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2316 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2317 Remove dependency.
2318 * string/Makefile (o-objects.ob): Remove variable.
2319 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2320 (CFLAGS-.ob): Remove variable.
2321 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2322 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2323 both definitions of variable.
2324 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2325 (ASFLAGS-.ob): Remove variable.
2326
e97ed6dd
JM
23272013-02-14 Joseph Myers <joseph@codesourcery.com>
2328
2bdd4ca6
JM
2329 [BZ #13550]
2330 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2331 Remove __BOUNDED_POINTERS__ from condition.
2332 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2333 * string/bits/string2.h [!__NO_STRING_INLINES &&
2334 !__BOUNDED_POINTERS__]: Likewise.
2335 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2336 Likewise.
2337 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2338 Remove conditional code.
2339 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2340 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2341 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2342 condition.
2343
e97ed6dd
JM
2344 [BZ #13550]
2345 * csu/libc-start.c: Do not include <bp-sym.h>.
2346 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2347 * elf/dl-open.c: Do not include <bp-sym.h>.
2348 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2349 * math/fegetenv.c: Do not include <bp-sym.h>.
2350 (fegetenv): Do not use BP_SYM in versioned symbols.
2351 * nptl/sysdeps/pthread/bits/libc-lockP.h
2352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2353 <bp-sym.h>.
2354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2355 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2357 (__pthread_mutex_destroy): Likewise.
2358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2359 (__pthread_mutex_lock): Likewise.
2360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2361 (__pthread_mutex_trylock): Likewise.
2362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2363 (__pthread_mutex_unlock): Likewise.
2364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2365 (__pthread_mutexattr_init): Likewise.
2366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2367 (__pthread_mutexattr_destroy): Likewise.
2368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2369 (__pthread_mutexattr_settype): Likewise.
2370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2371 (__pthread_rwlock_init): Likewise.
2372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2373 (__pthread_rwlock_destroy): Likewise.
2374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2375 (__pthread_rwlock_rdlock): Likewise.
2376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2377 (__pthread_rwlock_tryrdlock): Likewise.
2378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2379 (__pthread_rwlock_wrlock): Likewise.
2380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2381 (__pthread_rwlock_trywrlock): Likewise.
2382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2383 (__pthread_rwlock_unlock): Likewise.
2384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2385 (__pthread_key_create): Likewise.
2386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2387 (__pthread_setspecific): Likewise.
2388 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2389 (__pthread_getspecific): Likewise.
2390 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2391 Likewise.
2392 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2393 (_pthread_cleanup_push_defer): Likewise.
2394 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2395 (_pthread_cleanup_pop_restore): Likewise.
2396 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2397 (pthread_setcancelstate): Likewise.
2398 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2399 <bp-sym.h>.
2400 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2401 (memchr): Do not use BP_SYM in weak_alias.
2402 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2403 (fegetenv): Do not use BP_SYM in versioned symbols.
2404 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2405 (fesetenv): Do not use BP_SYM in versioned symbols.
2406 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2407 (feupdateenv): Do not use BP_SYM in versioned symbols.
2408 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2409 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2410 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2411 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2412 (open64): Do not use BP_SYM in weak_alias.
2413 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2414 (fegetenv): Do not use BP_SYM in versioned symbols.
2415 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2416 (fesetenv): Do not use BP_SYM in versioned symbols.
2417 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2418 (feupdateenv): Do not use BP_SYM in versioned symbols.
2419 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2420 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2421 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2422 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2423 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2424 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2425 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2426 <bp-sym.h>.
2427 (__libc_start_main): Do not use BP_SYM.
2428
d6752ccd
SP
24292013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2430
cb57ce60
SP
2431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2432 redundant return line.
2433 (norm): Likewise.
2434 (denorm): Likewise.
2435 (dbl_mp): Likewise.
2436 (sub_magnitudes): Likewise.
2437 (__add): Likewise.
2438 (__sub): Likewise.
2439 (__mul): Likewise.
2440 (__inv): Likewise.
2441 (__dvd): Likewise.
2442 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2443 (norm): Likewise.
2444 (denorm): Likewise.
2445 (dbl_mp): Likewise.
2446 (sub_magnitudes): Likewise.
2447 (__add): Likewise.
2448 (__sub): Likewise.
2449 (__mul): Likewise.
2450 (__inv): Likewise.
2451 (__dvd): Likewise.
2452
f414520d
SP
2453 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2454 instead of __mul.
2455 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2456 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2457 (cc32): Likewise.
2458
d6752ccd
SP
2459 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2460 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2461 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2462 of __mul for squares.
2463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2464 function
2465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2466 Likewise.
2467 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2468 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2469
70d9946a
JM
24702013-02-13 Joseph Myers <joseph@codesourcery.com>
2471
2472 [BZ #13550]
2473 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2474 code.
2475 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2476 prototype or function definition. Rename ubp_* variables and
2477 parameters. Remove argv definitions conditional on
2478 [__BOUNDED_POINTERS__].
2479 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2480 * elf/dl-runtime.c (_dl_fixup): Likewise.
2481 * include/set-hooks.h (RUN_HOOK): Likewise.
2482 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2483 definition.
2484 * string/strcpy.c (strcpy): Do not use __unbounded.
2485 * sysdeps/generic/frame.h (struct layout): Likewise.
2486 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2487 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2488 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2489 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2490 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2491 (__backtrace): Likewise.
2492 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2493 use __ptrvalue.
2494 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2495 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2496 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2497 Likewise.
2498 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2499 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2500 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2501 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2502 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2503 Do not use __unbounded.
2504 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2505 Rename __unboundedrlimits parameter to rlimits in prototype.
2506 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2507 Do not use __unbounded.
2508 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2509 not use __ptrvalue.
2510 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2511 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2512 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2513 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2514 __ptrvalue or __unbounded.
2515 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2516 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2517 use __unbounded.
2518 (__new_msgctl): Do not use __ptrvalue.
2519 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2520 __unbounded.
2521 (__libc_msgrcv): Do not use __ptrvalue.
2522 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2523 startup_info): Do not use __unbounded.
2524 (__libc_start_main): Likewise. Rename ubp_* variables and
2525 parameters. Remove argv definitions conditional on
2526 [__BOUNDED_POINTERS__].
2527 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2528 __ptrvalue.
2529 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2530 use __unbounded.
2531 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2532 or __ptrvalue.
2533 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2534 use __unbounded.
2535 (__new_shmctl): Do not use __ptrvalue.
2536 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2537 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2538 Likewise.
2539 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2540 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2541 (__libc_sigaction): Likewise.
2542 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2543 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2544 Likewise.
2545 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2546
cc7834d6
OB
25472013-02-13 Ondřej Bílka <neleai@seznam.cz>
2548
ffb1ec7b 2549 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2550
2551 * string/mempcpy.c: Implement by calling memcpy.
2552
bdf02814
SP
25532013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2554
c2af38aa
SP
2555 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2556
4e92d59e
SP
2557 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2558 evaluation.
2559
909279a5
SP
2560 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2561 values in the mantissa.
2562
bdf02814
SP
2563 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2564 minimize writes to Z.
2565 (sub_magnitudes): Simplify code a bit.
2566
cd525923
RM
25672013-02-12 Roland McGrath <roland@hack.frob.com>
2568
2569 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2570 from the message. The linker prefixes all warnings with that already.
2571
7e2f0d2d
AS
25722013-02-12 Andreas Schwab <schwab@suse.de>
2573
a445af0b
AS
2574 [BZ #15078]
2575 * posix/regexec.c (extend_buffers): Add parameter min_len.
2576 (check_matching): Pass minimum needed length.
2577 (clean_state_log_if_needed): Likewise.
2578 (get_subexp): Likewise.
2579 * posix/Makefile (tests): Add bug-regex34.
2580 (bug-regex34-ENV): Define.
2581 * posix/bug-regex34.c: New file.
2582
7e2f0d2d
AS
2583 [BZ #11561]
2584 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2585 elements compare against the byte sequence of it, not its name.
2586 * posix/Makefile (tests): Add bug-regex35.
2587 (bug-regex35-ENV): Define.
2588 * posix/bug-regex35.c: New file.
2589
a175b684
TV
25902013-02-11 Tom de Vries <tom@codesourcery.com>
2591
2592 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2593 comment.
2594 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2595 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2596 (CHECK_EOL): Add undef.
2597
310998fe 25982013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2599
2600 * bits/stdlib-bsearch.h: New file.
2601 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2602 * stdlib/stdlib.h: Likewise.
41eda41d 2603
8ded91fb
RM
26042013-02-11 Roland McGrath <roland@hack.frob.com>
2605
2606 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2607 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2608 declaration.
2609 * manual/search.texi (Array Search Function): Add missing const in
2610 lfind prototype.
2611 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2612 declaration to use rlim_t.
2613 (Basic Scheduling Functions): Remove erroneous const from
2614 sched_getparam prototype. Remove erroneous * from
2615 sched_get_priority_max and sched_get_priority_min prototypes.
2616 (Resource Usage): Fix summary @comment on vtimes to refer to
2617 sys/vtimes.h rather than vtimes.h.
2618 Add missing *s in vtimes prototype.
2619 (Limits on Resources): Fix ulimit prototype to return long int.
2620 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2621 prototypes to use long int rather than double.
2622 (BSD Random): Fix initstate and setstate to use char *, not void *.
2623 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2624 prototype to make second argument 'struct aiocb64 *const[]'.
2625 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2626 (Status of AIO Operations): Remove erroneous const in aio_return and
2627 aio_return64 prototypes.
2628 (Synchronizing I/O): Fix sync prototype to return void.
2629 * manual/startup.texi (Suboptions): Remove an erroneous const in
2630 getsubopt prototype.
2631 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2632 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2633 use size_t rather than int.
2634 (Scanning All Users): Likewise for getpwent_r.
2635 (Setting Groups): Add missing const to setgroups prototype.
2636 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2637 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2638 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2639 'const void *' rather than 'const char *'.
2640 (Host Address Functions): Likewise for inet_ntop.
2641 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2642 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2643 ssize_t for return value.
2644 (Sending Data): Likewise for send, sendto, sendmsg.
2645 (Socket Option Functions): Add a missing const in setsockopt prototype.
2646 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2647 use wchar_t for the argument.
2648 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2649 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2650 take no arguments.
2651 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2652 double/float/long double for second argument.
2653 Fix return types of significand, significandf, significandl.
2654 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2655 argument in fchmod prototype.
2656 (File Owner): Use uid_t and gid_t in fchown prototype.
2657 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2658 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2659 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2660 use 'const struct dirent **' as argument types to CMP function pointer
2661 argument.
2662 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2663 (File Times): Fix summary magic @comment for struct utimbuf and utime
2664 to refer to utime.h, not time.h.
2665 * manual/string.texi (Argz Functions): Add missing const in
2666 argz_extract and argz_next prototypes.
2667 (Finding Tokens in a String): Likewise for basename.
2668 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2669 (Copying and Concatenation): Fix typo in wmemmove prototype.
2670 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2671 (Signal Stack): Remove erroneous const in sigstack prototype.
2672 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2673 prototype.
2674 (Simple Calendar Time): Likewise for stime.
2675 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2676 prototype.
2677 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2678 say sys/sysctl.h instead.
2679 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2680 and vsyslog prototypes.
2681
fe77fe6d
TV
26822013-02-11 Tom de Vries <tom@codesourcery.com>
2683
2684 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2685 Remove.
2686
3a09b620
RM
26872013-02-11 Roland McGrath <roland@hack.frob.com>
2688
2689 * misc/sys/mman.h: Fix typo in mremap comment.
2690
550a0b89
RM
26912013-02-08 Roland McGrath <roland@hack.frob.com>
2692
2693 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2694 the '\0' terminator.
2695
a2da1673
JM
26962013-02-08 Joseph Myers <joseph@codesourcery.com>
2697
2698 [BZ #13550]
2699 * debug/segfault.c: Don't include <bp-checks.h>.
2700 * sysdeps/generic/bp-checks.h: Remove file.
2701 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2702 (__GETDENTS): Don't use CHECK_N.
2703 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2704 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2705 (__getgroups): Don't use CHECK_N.
2706 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2707 (setgroups): Don't use CHECK_N.
2708 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2709 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2710 (__libc_msgrcv): Don't use CHECK_N.
2711 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2712 (__libc_msgsnd): Don't use CHECK_N.
2713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2714 <bp-checks.h>.
2715 (__libc_pread): Don't use CHECK_N.
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2717 include <bp-checks.h>.
2718 (__libc_pread64): Don't use CHECK_N.
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2720 include <bp-checks.h>.
2721 (__libc_pwrite): Don't use CHECK_N.
2722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2723 include <bp-checks.h>.
2724 (__libc_pwrite64): Don't use CHECK_N.
2725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2726 <bp-checks.h>.
2727 (__libc_pread): Don't use CHECK_N.
2728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2729 include <bp-checks.h>.
2730 (__libc_pread64): Don't use CHECK_N.
2731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2732 include <bp-checks.h>.
2733 (__libc_pwrite): Don't use CHECK_N.
2734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2735 include <bp-checks.h>.
2736 (__libc_pwrite64): Don't use CHECK_N.
2737 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2738 (do_pread): Don't use CHECK_N.
2739 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2740 (do_pread64): Don't use CHECK_N.
2741 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2742 (do_pwrite): Don't use CHECK_N.
2743 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2744 (do_pwrite64): Don't use CHECK_N.
2745 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2746 (__libc_readv): Don't use CHECK_N.
2747 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2748 (semop): Don't use CHECK_N.
2749 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2750 <bp-checks.h>.
2751 (semtimedop): Don't use CHECK_N.
2752 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2753 (__libc_pread): Don't use CHECK_N.
2754 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2755 <bp-checks.h>.
2756 (__libc_pread64): Don't use CHECK_N.
2757 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2758 <bp-checks.h>.
2759 (__libc_pwrite): Don't use CHECK_N.
2760 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2761 <bp-checks.h>.
2762 (__libc_pwrite64): Don't use CHECK_N.
2763 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2764 <bp-checks.h>.
2765 (__libc_msgrcv): Don't use CHECK_N.
2766 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2767 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2768 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2769 (__libc_writev): Don't use CHECK_N.
2770
b84660a8
RM
27712013-02-08 Roland McGrath <roland@hack.frob.com>
2772
7f3e75f8
RM
2773 * string/strcpy.c: Removed unused variable.
2774
b84660a8
RM
2775 * Makeconfig (+sysdep-includes): Define with := rather than =.
2776 Use an existing include/ subdir of each sysdeps dir before it.
2777
471514d3
CD
27782013-02-08 Carlos O'Donell <carlos@redhat.com>
2779
2780 * nscd/connection.c (register_traced_file): Comment function.
2781 [HAVE_INOTIFY] (union __inev): Define.
2782 [HAVE_INOTIFY] (inotify_check_files): New function.
2783 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2784 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2785 clear_db_cache.
2786 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2787
b2d3c3be
CD
27882013-02-08 Carlos O'Donell <carlos@redhat.com>
2789
2790 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2791 loaded if not already and that a failure is permanent.
2792
b39949d2
CD
27932013-02-08 Carlos O'Donell <carlos@redhat.com>
2794
ddacd1db 2795 [BZ #15006]
b39949d2
CD
2796 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2797 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2798
b2c9eff4
JM
27992013-02-08 Joseph Myers <joseph@codesourcery.com>
2800
f3aae3f3
JM
2801 [BZ #13550]
2802 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2803 (CHECK_1_NULL_OK): Likewise.
2804 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2805 (__fxstat): Do not use CHECK_1.
2806 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2807 <bp-checks.h>.
2808 (___fxstat64): Do not use CHECK_1.
2809 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2810 <bp-checks.h>.
2811 (__fxstatat): Do not use CHECK_1.
2812 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2813 <bp-checks.h>.
2814 (__fxstatat64): Do not use CHECK_1.
2815 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2816 <bp-checks.h>.
2817 (__fxstat): Do not use CHECK_1.
2818 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2819 <bp-checks.h>.
2820 (__fxstatat): Do not use CHECK_1.
2821 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2822 <bp-checks.h>.
2823 (__getresgid): Do not use CHECK_1.
2824 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2825 <bp-checks.h>.
2826 (__getresuid): Do not use CHECK_1.
2827 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2828 <bp-checks.h>.
2829 (__lxstat): Do not use CHECK_1.
2830 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2831 <bp-checks.h>.
2832 (__old_msgctl): Do not use CHECK_1.
2833 (__new_msgctl): Likewise.
2834 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2835 <bp-checks.h>.
2836 (__new_setrlimit): Do not use CHECK_1.
2837 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2838 <bp-checks.h>.
2839 (__old_shmctl): Do not use CHECK_1.
2840 (__new_shmctl): Likewise.
2841 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2842 <bp-checks.h>.
2843 (__xstat): Do not use CHECK_1.
2844 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2845 (__lxstat): Do not use CHECK_1.
2846 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2847 <bp-checks.h>.
2848 (___lxstat64): Do not use CHECK_1.
2849 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2850 (__old_msgctl): Do not use CHECK_1.
2851 (__new_msgctl): Likewise.
2852 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2853 <bp-checks.h>.
2854 (__gettimeofday): Do not use CHECK_1.
2855 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2856 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2857 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2858 <bp-checks.h>.
2859 (__gettimeofday): Do not use CHECK_1.
2860 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2861 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2862 (__new_shmctl): Do not use CHECK_1.
2863 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2864 <bp-checks.h>.
2865 (do_sigtimedwait): Do not use CHECK_1.
2866 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2867 <bp-checks.h>.
2868 (do_sigwaitinfo): Do not use CHECK_1.
2869 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2870 <bp-checks.h>.
2871 (msgctl): Do not use CHECK_1.
2872 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2873 <bp-checks.h>.
2874 (shmctl): Do not use CHECK_1.
2875 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2876 (ustat): Do not use CHECK_1.
2877 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2878 <bp-checks.h>.
2879 (__fxstat): Do not use CHECK_1.
2880 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2881 <bp-checks.h>.
2882 (__fxstatat): Do not use CHECK_1.
2883 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2884 <bp-checks.h>.
2885 (__lxstat): Do not use CHECK_1.
2886 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2887 <bp-checks.h>.
2888 (__xstat): Do not use CHECK_1.
2889 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2890 (__xstat): Do not use CHECK_1.
2891 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2892 (___xstat64): Do not use CHECK_1.
2893
b2c9eff4
JM
2894 [BZ #13550]
2895 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2896 definitions.
2897 (CHECK_BOUNDS_HIGH): Likewise.
2898 * string/strcpy.c: Do not include <bp-checks.h>.
2899 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2900
f1d70dad
RM
29012013-02-07 Roland McGrath <roland@hack.frob.com>
2902
2903 * nscd/nscd-client.h (__nscd_drop_map_ref):
2904 Add __attribute__ ((unused)).
2905 * nis/nss-nisplus.h (niserr2nss): Likewise.
2906
2907 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2908 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2909
2910 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2911 Remove inline keyword.
2912 * include/rounding-mode.h (round_away): Likewise.
2913 * libio/wfileops.c (adjust_wide_data): Likewise.
2914 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2915 (__m128i_strloadu_tolower): Likewise.
2916 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2917 (__m128i_strloadu_tolower): Likewise.
2918 * time/mktime.c (ydhms_diff): Likewise.
2919 * locale/elem-hash.h (elem_hash): Likewise.
2920 * locale/setlocale.c (setdata): Likewise.
2921 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2922 (re_string_wchar_at): Likewise.
2923 (bitset_not, bitset_merge, bitset_mask): Likewise.
2924 [!(__GNUC__ > 3)] (inline): Remove macro.
2925 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2926 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2927 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2928 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2929 * string/memcmp.c (memcmp_bytes): Likewise.
2930 * locale/programs/locarchive.c (compute_hashval): Likewise.
2931 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2932 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2933 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2934 * nss/getent.c (print_rpc, print_protocols): Likewise.
2935 (print_passwd, print_group, print_aliases): Likewise.
2936 * nis/nss-nisplus.h (niserr2nss): Likewise.
2937 * nscd/connections.c (restart_p): Likewise.
2938 Change return type to bool.
2939
eab55bfb
RM
29402013-02-05 Roland McGrath <roland@hack.frob.com>
2941
7bd642f5
RM
2942 * Makeconfig (all-Depend-files): Add existing
2943 $(sorted-subdirs:=/Depend) files.
2944 (all-subdirs): Remove nss.
2945 * sysdeps/unix/inet/Subdirs: Add it here instead.
2946 * hesiod/Depend: New file.
2947
573c29b2
RM
2948 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2949 instead of calling alloca.
2950
b2e25af0
RM
2951 * io/lseek.c (__lseek): Rename to __libc_lseek.
2952 Define __lseek as an alias.
2953
eab55bfb
RM
2954 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2955
9a0d1941
CD
29562013-02-04 Carlos O'Donell <carlos@redhat.com>
2957
2958 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2959 else clause and remove check for non-standard endianness.
2960
b83bbec4
DM
29612013-02-04 David S. Miller <davem@davemloft.net>
2962
2963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2964
6277fdab
JM
29652013-02-04 Joseph Myers <joseph@codesourcery.com>
2966
2967 [BZ #13550]
2968 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2969 (__ubp_memchr): Remove prototype.
2970 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2971 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2972 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2973 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2974 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2975 Remove alias.
2976 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2977 (__ubp_memchr): Likewise.
2978 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2979 (__ubp_memchr): Likewise.
2980 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2981 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2982 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2983 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2984 CHECK_STRING.
2985 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2986 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2987 (__getcwd): Do not use CHECK_STRING.
2988 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2989 <bp-checks.h>.
2990 (__real_chown): Do not use CHECK_STRING.
2991 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2992 <bp-checks.h>.
2993 (fchownat): Do not use CHECK_STRING.
2994 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2995 CHECK_STRING.
2996 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2997 <bp-checks.h>.
2998 (__lchown): Do not use CHECK_STRING.
2999 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3000 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3001 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3002 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3004 include <bp-checks.h>.
3005 (truncate64): Do not use CHECK_STRING.
3006 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3007 <bp-checks.h>.
3008 (__real_chown): Do not use CHECK_STRING.
3009 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3010 <bp-checks.h>.
3011 (__lchown): Do not use CHECK_STRING.
3012 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3013 <bp-checks.h>.
3014 (__chown): Do not use CHECK_STRING.
3015 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3016 <bp-checks.h>.
3017 (truncate64): Do not use CHECK_STRING.
3018 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3019 Likewise.
3020 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3021 (__xmknod): Do not use CHECK_STRING.
3022 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3023 <bp-checks.h>.
3024 (__xmknodat): Do not use CHECK_STRING.
3025 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3026 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3027
903ae060
AS
30282013-02-04 Andreas Schwab <schwab@suse.de>
3029
3030 [BZ #14142]
3031 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3032 * include/netdb.h: Likewise for h_errno.
3033 * elf/tst-stackguard1.c: Include <tls.h>.
3034
542f9466
JK
30352013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3036
3037 * elf/link.h (struct link_map): Extend the l_addr comment.
3038 * include/link.h (struct link_map): Likewise.
3039
e782a927
JM
30402013-02-01 Joseph Myers <joseph@codesourcery.com>
3041
3042 [BZ #13550]
3043 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3044 (BOUNDED_1): Remove macro.
3045 * debug/backtrace.c: Don't include <bp-checks.h>.
3046 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3047 (__backtrace): Likewise.
3048 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3049 <bp-checks.h>.
3050 (__backtrace): Don't use BOUNDED_1.
3051 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3052 <bp-checks.h>.
3053 (__backtrace): Don't use BOUNDED_1.
3054 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3055 (__backtrace): Don't use BOUNDED_1.
3056 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3057 (shmat): Don't use BOUNDED_N.
3058
8cf28c5e
JM
30592013-01-31 Joseph Myers <joseph@codesourcery.com>
3060
3a7ac8a0
JM
3061 [BZ #13550]
3062 * sysdeps/generic/bp-start.h: Remove file.
3063 * csu/libc-start.c: Don't include <bp-start.h>.
3064 (LIBC_START_MAIN): Set up __environ directly instead of using
3065 INIT_ARGV_and_ENVIRON.
3066 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3067 <bp-start.h>.
3068
f3499f95
JM
3069 [BZ #13550]
3070 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3071 definitions.
3072 (CHECK_FCNTL): Likewise.
3073 (CHECK_N_PAGES): Likewise.
3074
32a45bea
JM
3075 [BZ #13550]
3076 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3077 definitions.
3078 (CHECK_SIGSET_NULL_OK): Likewise.
3079 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3080 <bp-checks.h>.
3081 (sigpending): Don't use CHECK_SIGSET.
3082 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3083 <bp-checks.h>.
3084 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3085 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3086 <bp-checks.h>.
3087 (do_sigsuspend): Don't use CHECK_SIGSET.
3088 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3089 use CHECK_SIGSET.
3090 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3091 (do_sigwait): Don't use CHECK_SIGSET.
3092 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3093 use CHECK_SIGSET.
3094 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3095 include <bp-checks.h>.
3096 (sigpending): Don't use CHECK_SIGSET.
3097 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3098 include <bp-checks.h>.
3099 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3100 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3101 <bp-checks.h>.
3102 (sigpending): Don't use CHECK_SIGSET.
3103 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3104 <bp-checks.h>.
3105 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3106
2e8a5c8c
JM
3107 [BZ #13550]
3108 * sysdeps/generic/bp-semctl.h: Remove file.
3109 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3110 <bp-checks.h> and <bp-semctl.h>.
3111 (__old_semctl): Don't use CHECK_SEMCTL.
3112 (__new_semctl): Likewise.
3113 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3114 and <bp-semctl.h>.
3115 (__old_semctl): Don't use CHECK_SEMCTL.
3116 (__new_semctl): Likewise.
3117 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3118 <bp-checks.h> and <bp-semctl.h>.
3119 (__old_semctl): Don't use CHECK_SEMCTL.
3120 (__new_semctl): Likewise.
3121 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3122 <bp-checks.h> and <bp-semctl.h>.
3123 (semctl): Don't use CHECK_SEMCTL.
3124
c2d54929
JM
3125 [BZ #13550]
3126 * Makerules (elide-bp-thunks): Remove variable.
3127 (elide-routines.oS): Don't use $(elide-bp-thunks).
3128 (elide-routines.os): Likewise.
3129 (elide-routines.o): Likewise.
3130 (elide-routines.op): Likewise.
3131 (elide-routines.og): Likewise.
3132 (objects): Don't use $(bp-thunks).
3133 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3134 include.
3135 (common-generated): Do not add s-proto-bp.d.
3136 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3137 (int): Likewise.
3138 (typ): Likewise.
3139 Do not generate makefile rules for bounded-pointer thunks.
3140 * sysdeps/generic/bp-thunks.h: Remove file.
3141 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3142 * sysdeps/unix/s-proto-bp.S: Likewise.
3143
8cf28c5e
JM
3144 [BZ #15062]
3145 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3146 parts of result separately when argument is not close to line from
3147 -i to i and one part of argument is small.
3148 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3149 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3150 * math/libm-test.inc (cacos_test): Add more tests.
3151 (casin_test): Likewise.
3152 (casinh_test): Likewise.
3153 * sysdeps/i386/fpu/libm-test-ulps: Update.
3154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3155
c4e33b8d
DM
31562013-01-31 David S. Miller <davem@davemloft.net>
3157
3158 * po/de.po: Update from translation team.
3159
3b60b421
MK
31602013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3161
3162 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3163
bb931195
TS
31642013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3165
b5a5da23
TS
3166 * configure.in (_AC_PROG_CC_C89): New definition.
3167 * configure: Regenerate.
3168
bb931195
TS
3169 * configure.in (AC_PROG_CPP): New definition.
3170 * configure: Regenerate.
3171
8c53a12c
JM
31722013-01-23 Joseph Myers <joseph@codesourcery.com>
3173
3174 * debug/tst-backtrace.h: New file.
3175 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3176 (ret): Remove variable.
3177 (x): Likewise.
3178 (FAIL): Remove macro.
3179 (NO_INLINE): Likewise.
3180 (fn1): Use match function instead of strstr.
3181 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3182 (ret): Remove variable.
3183 (x): Likewise.
3184 (FAIL): Remove macro.
3185 (NO_INLINE): Likewise.
3186 (fn): Use match function instead of strstr.
3187 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3188 (ret): Remove variable.
3189 (x): Likewise.
3190 (FAIL): Remove macro.
3191 (NO_INLINE): Likewise.
3192 (handle_signal): Use match function instead of strstr.
3193 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3194 (ret): Remove variable.
3195 (x): Likewise.
3196 (FAIL): Remove macro.
3197 (NO_INLINE): Likewise.
3198 (handle_signal): Use match function instead of strstr.
3199
4858fa2a
RM
32002013-01-23 Roland McGrath <roland@hack.frob.com>
3201
3202 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3203
bae8e7f5
DM
32042013-01-23 David S. Miller <davem@davemloft.net>
3205
3206 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3207 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3208 argument of CAS if possible.
3209 * sysdeps/sparc/sparc64/bits/atomic.h
3210 (__arch_compare_and_exchange_val_32_acq): Likewise.
3211 (__arch_compare_and_exchange_val_64_acq): Likewise.
3212
9cbbc4ae
PT
32132013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3214
3215 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3216 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3217 Include <limits.h>.
67b3f58c 3218 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3219
5655a0b5
AC
32202013-01-23 Adam Conrad <adconrad@0c3.net>
3221
3222 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3223 (LDFLAGS-tst-array5): Likewise.
3224
052aff95
JM
32252013-01-23 Joseph Myers <joseph@codesourcery.com>
3226
3227 [BZ #15036]
3228 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3229 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3230 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3231 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3232
7c1e01aa
DM
32332013-01-21 David S. Miller <davem@davemloft.net>
3234
3235 * sysdeps/sparc/backtrace.c: New file.
3236 * sysdeps/sparc/sparc32/backtrace.h: New file.
3237 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3238 * sysdeps/sparc/sparc64/backtrace.h: New file.
3239 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3240 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3241 -funwind-tables.
3242
ab087e0a
AS
32432013-01-21 Andreas Schwab <schwab@suse.de>
3244
3245 [BZ #15020]
3246 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3247 closed its stdout.
3248
ed689c2f
AS
32492013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3250
3251 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3252 "mpa2.h".
3253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3254
31d470ac
JM
32552013-01-18 Joseph Myers <joseph@codesourcery.com>
3256 Mark Mitchell <mark@codesourcery.com>
3257 Tom de Vries <tom@codesourcery.com>
3258 Paul Pluzhnikov <ppluzhnikov@google.com>
3259
3260 * debug/tst-backtrace2.c: New file.
3261 * debug/tst-backtrace3.c: Likewise.
3262 * debug/tst-backtrace4.c: Likewise.
3263 * debug/tst-backtrace5.c: Likewise.
3264 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3265 (CFLAGS-tst-backtrace3.c): Likewise.
3266 (CFLAGS-tst-backtrace4.c): Likewise.
3267 (CFLAGS-tst-backtrace5.c): Likewise.
3268 (LDFLAGS-tst-backtrace2): Likewise.
3269 (LDFLAGS-tst-backtrace3): Likewise.
3270 (LDFLAGS-tst-backtrace4): Likewise.
3271 (LDFLAGS-tst-backtrace5): Likewise.
3272 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3273 tst-backtrace4 and tst-backtrace5.
3274
90567f30 32752013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3276 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3277
3278 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3279 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3280 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3281 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3283 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3284 "+r" and remove output regs list as redundant. Add explicit inline
3285 asm to specify register of return val to work around compiler codegen
3286 bug. Remove (int) cast on return value. Add return type parameter to
3287 use in macro so that this macro does not truncate return value for
3288 64-bit values.
3289 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3290 pass to INTERNAL_VSYSCALL_NCS.
3291 (INLINE_VSYSCALL): Add 'long int' as return type to
3292 INTERNAL_VSYSCALL_NCS macro invocation.
3293 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3294 INTERNAL_VSYSCALL_NCS macro invocation.
3295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3296
d3b9ea61
SP
32972013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3298
0b57daeb
SP
3299 [BZ #14496]
3300 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3301 Fix application of SIMD FP exception mask.
3302
caa99d06
SP
3303 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3304 mp_no from a power of two.
3305 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3306 __mpexp_twomm1. Use __pow_mp.
3307
d3b9ea61
SP
3308 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3309 multiplication.
3310
1dbaee3c
DM
33112013-01-17 David S. Miller <davem@davemloft.net>
3312
3313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3314
728d7b43
JM
33152013-01-17 Joseph Myers <joseph@codesourcery.com>
3316
3317 [BZ #15023]
3318 * include/complex.h: Condition contents on [!_COMPLEX_H].
3319 (__kernel_casinhf): New prototype.
3320 (__kernel_casinh): Likewise.
3321 (__kernel_casinhl): Likewise.
3322 * math/Makefile (libm_calls): Add k_casinh.
3323 * math/k_casinh.c: New file.
3324 * math/k_casinhf.c: Likewise.
3325 * math/k_casinhl.c: Likewise.
3326 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3327 finite nonzero arguments.
3328 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3329 finite nonzero arguments.
3330 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3331 finite nonzero arguments.
3332 * math/s_casinh.c: Do not include <float.h>.
3333 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3334 * math/s_casinhf.c: Do not include <float.h>.
3335 (__casinhf): Move code for finite nonzero arguments to
3336 k_casinhf.c.
3337 * math/s_casinhl.c: Do not include <float.h>.
3338 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3339 redefine.
3340 (__casinhl): Move code for finite nonzero arguments to
3341 k_casinhl.c.
3342 * math/libm-test.inc (cacos_test): Add more tests.
3343 * sysdeps/i386/fpu/libm-test-ulps: Update.
3344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3345
2a26ef3a
PT
33462013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3347
3348 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3349 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3350 [!HAVE_MREMAP]: Remove [defined linux] case.
3351 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3352
a897655d
SP
33532013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3354
3355 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3356
881ebe89 33572013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3358
3359 * elf/elf.h (R_386_SIZE32): New relocation.
3360 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3361 R_386_SIZE32.
3362 (elf_machine_rela): Likewise.
3363 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3364 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3365
59981e9b
JM
33662013-01-17 Joseph Myers <joseph@codesourcery.com>
3367
3368 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3369 (FP_FAST_FMA): Do not define.
3370 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3371 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3372 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3373 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3374 !_SOFT_FLOAT]: Likewise.
3375 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3376 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3377 value.
3378 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3379 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3380 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3381 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3382 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3383 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3384 file.
3385
cfa8054f
AS
33862013-01-16 Andreas Schwab <schwab@suse.de>
3387
3388 [BZ #14327]
3389 * include/stdlib.h (__mktemp): Add declaration.
3390 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3391 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3392
dd930cc5
SP
33932013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3394
881ebe89
SP
3395 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3396 definitions.
3397 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3398 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3399 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3400 definitions here.
3401 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3402 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3403 definitions.
3404 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3405 and ONE.
3406 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3407 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3408 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3409 definitions.
3410 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3411 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3412 definitions.
3413 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3414
dd930cc5
SP
3415 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3416
c19a9f89
DM
34172013-01-15 David S. Miller <davem@davemloft.net>
3418
1aa61767
DM
3419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3420 trunc{,f} to libm-sysdep_routes.
3421 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3423 file.
3424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3426 file.
3427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3428 file.
3429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3431 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3432 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3433 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3434 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3435 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3436 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3437
c42d5e98
DM
3438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3439 nearbyint{,f} to libm-sysdep_routes.
3440 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3442 New file.
3443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3444 file.
3445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3446 New file.
3447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3448 file.
3449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3451 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3452 file.
3453 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3454 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3455 file.
3456 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3457 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3458 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3459
c19a9f89
DM
3460 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3461 libc_feholdexcept and libc_fesetenv.
3462
357679d2
MF
34632013-01-15 Mike Frysinger <vapier@gentoo.org>
3464
3465 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3466
65a82e3d
DM
34672013-01-14 David S. Miller <davem@davemloft.net>
3468
8b954ab9
DM
3469 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3470 (SPARC_ASM_VIS2_IFUNC): Likewise.
3471 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3473 use of 'siam' instruction.
3474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3475 Likewise.
3476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3477 Likewise.
3478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3479 Likewise.
3480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3481 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3485 file.
3486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3487 file.
3488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3489 file.
3490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3491 file.
3492 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3493 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3494 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3495 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3497 new VIS2 routines.
3498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3501 Likewise.
3502 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3503 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3507 routines to libm-sysdep_routines.
3508 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3509
65a82e3d
DM
3510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3511 fdim/fdimf to libm-sysdep_routines.
3512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3513 file.
3514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3516 file.
3517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3520 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3521 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3522 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3523 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3524
e34ab705
SP
35252013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3526
2a91b573
SP
3527 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3528 to optimize copies.
3529
1066a534
SP
3530 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3533
e34ab705
SP
3534 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3535 local variable MPTWO.
3536 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3537 Likewise.
3538
aba5e596
MF
35392013-01-13 Mike Frysinger <vapier@gentoo.org>
3540
3541 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3542 GLOB_NOESCAPE.
3543
e557e9e5
MF
35442013-01-13 Mike Frysinger <vapier@gentoo.org>
3545
3546 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3547
0428cec9
MF
35482013-01-13 Mike Frysinger <vapier@gentoo.org>
3549
3550 * manual/pattern.texi (glob_t): Document gl_flags.
3551 (glob64_t): Likewise.
3552
8794a964
DM
35532013-01-11 David S. Miller <davem@davemloft.net>
3554
66438c3f
RM
3555 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3556 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3557 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3558 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3559 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3560 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3561 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3562 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3563 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3564 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3565 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3566 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3567 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3568
4ae4244d
DM
3569 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3570 sparc V9 rather than using V8 code.
3571 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3572 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3573
8794a964
DM
3574 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3575 Move to...
3576 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3577 Here.
3578
6270516e
RM
35792013-01-11 Roland McGrath <roland@hack.frob.com>
3580
3581 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3582 not in the main loop.
3583 * configure: Regenerated.
3584
6a57d931
JM
35852013-01-11 Joseph Myers <joseph@codesourcery.com>
3586
3587 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3588 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3589 to just #else.
3590 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3591 [!__GLIBC_HAVE_LONG_LONG] case.
3592 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3593 condition to just #else.
3594 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3595 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3596 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3597 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3598 unconditional.
3599 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3600 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3601 #elif condition to just #else.
3602 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3603 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3604 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3605 #elif condition to just #else.
3606
0e8529e9
SE
36072013-01-11 Steve Ellcey <sellcey@mips.com>
3608
3609 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3610 (EF_MIPS_ARCH_64): Fix value.
3611 (EF_MIPS_ARCH_32R2): New.
3612 (EF_MIPS_ARCH_64R2): New.
3613
740b3dbe
L
36142013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3615
3616 * Makeconfig (+link-pie-before-libc): New.
3617 (+link-pie-after-libc): Likewise.
3618 (+link-pie-tests): Likewise.
3619 (+link-pie): Rewritten.
3620 (link-before-libc): Remove $(config-LDFLAGS).
3621 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3622 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3623 (config-LDFLAGS): Renamed to ...
3624 (rtld-LDFLAGS): This.
3625 (rtld-tests-LDFLAGS): New macro.
3626 (link-libc-rpath-link): Likewise.
3627 (link-libc-tests-rpath-link): Likewise.
3628 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3629 (link-libc): Prepand $(link-libc-rpath-link).
3630 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3631 (test-program-prefix): New macro.
3632 (test-via-rtld-prefix): Likewise.
3633 (test-program-cmd): Likewise.
3634 (host-test-program-cmd): Likewise.
3635 * Makefile ($(common-objpfx)testrun.sh): Replace
3636 $(run-program-prefix) with $(test-program-prefix).
3637 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3638 $(rtld-LDFLAGS).
3639 ($(common-objpfx)shlib.lds): Likewise.
3640 (build-module-helper): Likewise.
3641 ($(common-objpfx)format.lds): Likewise.
3642 * Rules (binaries-pie-tests): New.
3643 (binaries-pie-notests): Likewise.
3644 (binaries-pie): Rewritten.
3645 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3646 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3647 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3648 (make-test-out): Replace $(host-built-program-cmd) with
3649 $(host-test-program-cmd).
3650 * config.make.in (build-hardcoded-path-in-tests): New variable.
3651 * configure.in (--enable-hardcoded-path-in-tests): New configure
3652 option.
3653 (hardcoded_path_in_tests): New AC_SUBST.
3654 * configure: Regenerated.
3655 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3656 $(built-program-cmd) with $(test-program-cmd).
3657 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3658 (test_program_cmd): This.
3659 * elf/Makefile ($(objpfx)order.out): Run test with
3660 $(test-program-prefix).
3661 ($(objpfx)order2.out): Likewise.
3662 ($(objpfx)tst-initorder.out): Likewise.
3663 ($(objpfx)tst-initorder2.out): Likewise.
3664 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3665 $(test-program-cmd).
3666 ($(objpfx)tst-array1-static.out): Likewise.
3667 ($(objpfx)tst-array2.out): Likewise.
3668 ($(objpfx)tst-array3.out): Likewise.
3669 ($(objpfx)tst-array4.out): Likewise.
3670 ($(objpfx)tst-array5.out): Likewise.
3671 ($(objpfx)tst-array5-static.out): Likewise.
3672 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3673 $(test-program-cmd).
3674 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3675 $(run-program-prefix) with $(test-program-prefix).
3676 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3677 (test_program_prefix): This.
3678 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3679 $(run-program-prefix) with $(test-program-prefix).
3680 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3681 (test_program_prefix): This.
3682 * iconvdata/tst-tables.sh: Likewise.
3683 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3684 $(run-program-prefix) with $(test-program-prefix).
3685 ($(objpfx)tst-translit.out): Likewise.
3686 ($(objpfx)tst-gettext2.out): Likewise.
3687 ($(objpfx)tst-gettext4.out): Likewise.
3688 ($(objpfx)tst-gettext6.out): Likewise.
3689 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3690 (test_program_prefix): This.
3691 * intl/tst-gettext2.sh: Likewise.
3692 * intl/tst-gettext4.sh Likewise.
3693 * intl/tst-gettext6.sh: Likewise.
3694 * intl/tst-translit.sh: Likewise.
3695 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3696 with $(test-program-cmd).
3697 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3698 $(run-program-prefix) with $(test-program-prefix).
3699 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3700 (test_program_prefix): This.
3701 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3702 $(run-program-prefix) with $(test-program-prefix).
3703 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3704 (test_program_prefix): This.
3705 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3706 * posix/Makefile ($(objpfx)globtest.out): Replace
3707 $(run-via-rtld-prefix) and $(test-wrapper) with
3708 $(test-program-prefix) and $(test-via-rtld-prefix).
3709 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3710 $(test-program-prefix).
3711 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3712 $(host-test-program-cmd).
3713 (tst-spawn-ARGS): Likewise.
3714 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3715 $(test-program-prefix).
3716 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3717 (test_via_rtld_prefix): This.
3718 (test_wrapper): Renamed to ...
3719 (test_program_prefix): This.
3720 (run_program_prefix): Replaced by test_program_prefix.
3721 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3722 (test_program_prefix): This.
3723 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3724 with $(host-test-program-cmd).
3725 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3726 $(run-program-prefix) with $(test-program-prefix).
3727 ($(objpfx)tst-printf.out): Likewise.
3728 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3729 $(test-program-cmd).
3730 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3731 (test_program_prefix): This.
3732 * stdio-common/tst-unbputc.sh: Likewise.
3733 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3734 $(run-program-prefix) with $(test-program-prefix).
3735 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3736 (test_program_prefix): This.
3737 * string/Makefile ($(objpfx)tst-svc.out): Replace
3738 $(built-program-cmd) with $(test-program-cmd).
3739
c6fe55cf
AJ
37402013-01-11 Andreas Jaeger <aj@suse.de>
3741
3742 [BZ #15003]
3743 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3744 value. Sync with Linux 3.7.
3745
9e6919c8
DM
37462013-01-10 David S. Miller <davem@davemloft.net>
3747
3748 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3749 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3750 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3751
1c9f1a02
RM
37522013-01-10 Roland McGrath <roland@hack.frob.com>
3753
3754 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3755 never set.
3756 * configure: Regenerated.
3757
b9de2dde
DM
37582013-01-10 David S. Miller <davem@davemloft.net>
3759
3760 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3761 sparc V9 rather than using V8 code.
3762 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3763 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3764
e7f68ef4
RM
37652013-01-10 Roland McGrath <roland@hack.frob.com>
3766
3767 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3768 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3769 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3770 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3771 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3772 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3773 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3774 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3775 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3776 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3777 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3778 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3779 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3780 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3781 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3782 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3783 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3784 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3785 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3786 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3787 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3788 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3789 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3790 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3791 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3792 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3793 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3794
5a47cc9c
DM
37952013-01-10 David S. Miller <davem@davemloft.net>
3796
3797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3798
4cf8f209
L
37992013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3800
3801 * posix/Makefile (tests-static): New variable.
3802 (tests): Add $(tests-static).
3803 (tst-exec-static-ARGS): New variable.
3804 (tst-spawn-static-ARGS): Likewise.
3805 * posix/tst-exec-static.c: New file.
3806 * posix/tst-spawn-static.c: Likewise.
3807 * posix/tst-exec.c: Support run directly.
3808 * posix/tst-spawn.c: Likewise.
3809
fed0faa1
JM
38102013-01-10 Joseph Myers <joseph@codesourcery.com>
3811
828beb13
JM
3812 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3813 long.
3814 * math/bits/mathcalls.h (llrint): Likewise.
3815 (llround): Likewise.
3816 * stdlib/stdlib.h (struct drand48_data): Likewise.
3817 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3818 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3819 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3820 Likewise.
3821 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3822 Likewise.
3823 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3824 (elf_greg_t): Likewise.
3825 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3826 (__jmp_buf): Likewise.
3827 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3828 definitions.
3829 (llrint): Likewise, for all definitions.
3830 (llrintl): Likewise.
3831
fed0faa1
JM
3832 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3833 Remove [__GNUC__] condition.
3834 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3835 condition to just [__USE_ISOC99].
3836 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3837
1a20cb20
L
38382013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3839
3840 [BZ #14200]
3841 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3842 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3843 defined.
3844 (_POSIX_V6_ILP32_OFF32): Likewise.
3845 (_XBS5_ILP32_OFF32): Likewise.
3846 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3847 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3848
751b85f7
SP
38492013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3850
7490eb81
SP
3851 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3852
751b85f7
SP
3853 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3854 doubles __mpexp_twomm1. Adjust usage.
3855 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3856 Remove.
3857
988197f0
AS
38582013-01-10 Andreas Schwab <schwab@suse.de>
3859
3860 [BZ #14964]
3861 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3862 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3863
e83d7298
DM
38642013-01-09 David S. Miller <davem@davemloft.net>
3865
034ed64b 3866 [BZ #15003]
e83d7298
DM
3867 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3868 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3869 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3870 TCP_FASTOPEN): Define.
3871 (tcp_repair_opt): New structure.
3872 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3873 enum values.
3874 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3875 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3876 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3877 (tcp_cookie_transactions): New structure.
3878
d5e0b9bd
AB
38792013-01-09 Anton Blanchard <anton@samba.org>
3880
3881 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3882 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3883 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3884 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3885
0c07e3ea
JM
38862013-01-09 Joseph Myers <joseph@codesourcery.com>
3887
3888 * include/features.h (__USE_ANSI): Remove.
3889
232f7002
RM
38902013-01-09 Roland McGrath <roland@hack.frob.com>
3891
ad98e30c
RM
3892 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3893
232f7002
RM
3894 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3895
950c99ca
SP
38962013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3897
b5792741
SP
3898 * sysdeps/s390/fpu/libm-test-ulps: Update.
3899
47cf2278
SP
3900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3901
950c99ca
SP
3902 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3903 (__acr): Likewise.
3904 (__cpy): Likewise.
3905 (norm): Likewise.
3906 (denorm): Likewise.
3907 (__mp_dbl): Likewise.
3908 (__dbl_mp): Likewise.
3909 (add_magnitudes): Likewise.
3910 (sub_magnitudes): Likewise.
3911 (__add): Likewise.
3912 (__sub): Likewise.
3913 (__mul): Likewise.
3914 (__inv): Likewise.
3915 (__dvd): Likewise.
3916 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3917 (__acr): Likewise.
3918 (__cpy): Likewise.
3919 (norm): Likewise.
3920 (denorm): Likewise.
3921 (__mp_dbl): Likewise.
3922 (__dbl_mp): Likewise.
3923 (add_magnitudes): Likewise.
3924 (sub_magnitudes): Likewise.
3925 (__add): Likewise.
3926 (__sub): Likewise.
3927 (__mul): Likewise.
3928 (__inv): Likewise.
3929 (__dvd): Likewise.
3930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3931 (__acr): Likewise.
3932 (__cpy): Likewise.
3933 (norm): Likewise.
3934 (denorm): Likewise.
3935 (__mp_dbl): Likewise.
3936 (__dbl_mp): Likewise.
3937 (add_magnitudes): Likewise.
3938 (sub_magnitudes): Likewise.
3939 (__add): Likewise.
3940 (__sub): Likewise.
3941 (__mul): Likewise.
3942 (__inv): Likewise.
3943 (__dvd): Likewise.
3944
eede9df9
JM
39452013-01-08 Joseph Myers <joseph@codesourcery.com>
3946
3947 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3948 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3949 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3950 2 && __USE_EXTERN_INLINES]: Likewise.
3951
c40ea3d9
AJ
39522013-01-08 Andreas Jaeger <aj@suse.de>
3953
3954 [BZ# 14985]
3955 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3956 Remove.
3957 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3958 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3959
2ccdea26
AB
39602013-01-07 Anton Blanchard <anton@samba.org>
3961
3962 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3963 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3964 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3965 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3966 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3967 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3968 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3969 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3971 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3972 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3973 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3974 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3975 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3976 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3977 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3978 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3979 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3980 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3981 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3982 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3983 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3984 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3985 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3986 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3987 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3988 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3989 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3990 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3991 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3992 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3993 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3994 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3995 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3996 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3997 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3998 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3999 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4000 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4001 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4002 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4003 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4004 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4005
a9708fed
JM
40062013-01-07 Joseph Myers <joseph@codesourcery.com>
4007
375607b9
JM
4008 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4009 (__MALLOC_PMT): Likewise.
4010 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4011 [__GNUC__], only on [_LIBC].
4012 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4013 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4014 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4015 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4016 forward declaration.
4017 (realloc_hook_ini): Likewise.
4018 (memalign_hook_ini): Likewise.
4019 (__libc_memalign): Do not use __MALLOC_PMT in variable
4020 declaration.
4021 (__libc_valloc): Likewise.
4022 (__libc_pvalloc): Likewise.
4023 (__libc_calloc): Likewise.
4024 (__posix_memalign): Likewise.
4025
a9708fed
JM
4026 [BZ #14996]
4027 * math/s_casinh.c: Include <float.h>.
4028 (__casinh): Do not do computation with squaring and square root
4029 for large arguments.
4030 * math/s_casinhf.c: Include <float.h>.
4031 (__casinhf): Do not do computation with squaring and square root
4032 for large arguments.
4033 * math/s_casinhl.c: Include <float.h>.
4034 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4035 (__casinhl): Do not do computation with squaring and square root
4036 for large arguments.
4037 * math/libm-test.inc (casin_test): Add more tests.
4038 (casinh_test): Likewise.
4039 * sysdeps/i386/fpu/libm-test-ulps: Update.
4040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4041
afec409a
L
40422013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4043
4044 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4045 (__x86_64_raw_data_cache_size): Likewise.
4046 (__x86_64_data_cache_size_half): Likewise.
4047 (__x86_64_raw_data_cache_size_half): Likewise.
4048 (__x86_64_shared_cache_size): Likewise.
4049 (__x86_64_raw_shared_cache_size): Likewise.
4050 (__x86_64_shared_cache_size_half): Likewise.
4051 (__x86_64_raw_shared_cache_size_half): Likewise.
4052 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4053 to ...
4054 (__x86_data_cache_size): This.
4055 (__x86_64_raw_data_cache_size): Renamed to ...
4056 (__x86_raw_data_cache_size): This.
4057 (__x86_64_data_cache_size_half): Renamed to ...
4058 (__x86_data_cache_size_half): This.
4059 (__x86_64_raw_data_cache_size_half): Renamed to ...
4060 (__x86_raw_data_cache_size_half): This.
4061 (__x86_64_shared_cache_size): Renamed to ...
4062 (__x86_shared_cache_size): This.
4063 (__x86_64_raw_shared_cache_size): Renamed to ...
4064 (__x86_raw_shared_cache_size): This.
4065 (__x86_64_shared_cache_size_half): Renamed to ...
4066 (__x86_shared_cache_size_half): This.
4067 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4068 (__x86_raw_shared_cache_size_half): This.
4069 * sysdeps/x86_64/memcpy.S: Updated.
4070 * sysdeps/x86_64/memset.S: Likewise.
4071 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4072 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4073 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4074
0b3986d0
DM
40752013-01-04 David S. Miller <davem@davemloft.net>
4076
4077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4078
e47686e9
AS
40792013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4080
d643bac1
AS
4081 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4082 1 to avoid redefinition warning.
4083 (__USE_GNU): Don't define.
4084 (init_signaling_nan): Protoize.
4085
e47686e9
AS
4086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4087
b18decba
SP
40882013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4089
fffb407f
SP
4090 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4092 (__cpymn): Likewise.
4093 (norm): Remove commented code.
4094 (denorm): Likewise.
4095 (__mp_dbl): Likewise.
4096 (__inv): Likewise.
4097 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4098 (__cpymn): Likewise.
4099 (norm): Remove commented code.
4100 (denorm): Likewise.
4101 (__mp_dbl): Likewise.
4102 (__inv): Likewise.
4103
b18decba
SP
4104 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4105 mp_no value for 1.0 and 2.0.
4106 (norm): Use RADIXI instead of radixi.d.
4107 (denorm): Likewise.
4108 (__mul): Use 0.0 instead of zero.d.
4109 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4110 mp_no value for 1.0 and 2.0.
4111 (norm): Use RADIXI instead of radixi.d.
4112 (denorm): Likewise.
4113 (__mul): Use 0.0 instead of zero.d.
4114
cdc1c96f
JM
41152013-01-04 Joseph Myers <joseph@codesourcery.com>
4116
4117 [BZ #14994]
4118 * math/s_casinh.c (__casinh): Reduce finite argument to first
4119 quadrant then set signs of results at the end.
4120 * math/s_casinhf.c (__casinhf): Likewise.
4121 * math/s_casinhl.c (__casinhl): Likewise.
4122 * math/libm-test.inc (casin_test): Add more tests.
4123 (casinh_test): Likewise.
4124 * sysdeps/i386/fpu/libm-test-ulps: Update.
4125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4126
302913e1
SP
41272013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4128
6420d207
SP
4129 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4130
a9e48ab4
SP
4131 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4132
b7837264
SP
4133 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4134 declarations.
4135 (denorm): Likewise.
4136 (__mp_dbl): Likewise.
4137 (__inv): Likewise.
4138
f8af25d2
SP
4139 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4140 and adjust the header comment.
4141
302913e1
SP
4142 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4143 variable name from declaration.
4144
5d7dd1ca
L
41452013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4146
4147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4148 Initialize COMMON_CPUID_INDEX_7 element.
4149 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4150 (CPUID_RTM): Likewise.
4151 (HAS_RTM): Likewise.
4152 (COMMON_CPUID_INDEX_7): New enum.
4153
2f5f40f4
AS
41542013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4155
4156 [BZ #14981]
4157 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4158 size is zero, record memory as freed.
4159
4056f4a0
AJ
41602013-01-03 Andreas Jaeger <aj@suse.de>
4161
4162 * po/ia.po: Add new Interlingua translation.
4163
ab15736f 41642012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4165
4166 * locale/programs/localedef.c: Fix description of '--posix' flag.
4167
568035b7
JM
41682013-01-02 Joseph Myers <joseph@codesourcery.com>
4169
e6898b8d
JM
4170 * NEWS: Update dates in second copyright notice.
4171 * README: Update copyright dates in example.
4172 * manual/libc.texinfo: Update copyright dates.
4173 * scripts/test-installation.pl: Update copyright date in --version
4174 output.
4175
0e2f9562
JM
4176 * hurd/ctty-input.c: Fix copyright notice formatting.
4177 * hurd/ctty-output.c: Likewise.
4178 * hurd/dtable.c: Likewise.
4179 * hurd/hurd-raise.c: Likewise.
4180 * hurd/hurdprio.c: Likewise.
4181 * hurd/msgportdemux.c: Likewise.
4182 * misc/sys/file.h: Likewise.
4183 * misc/sys/ioctl.h: Likewise.
4184 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4185 * sysdeps/mach/hurd/chdir.c: Likewise.
4186 * sysdeps/mach/hurd/fchdir.c: Likewise.
4187 * sysdeps/mach/hurd/rename.c: Likewise.
4188 * sysdeps/mach/hurd/rmdir.c: Likewise.
4189 * sysdeps/mach/hurd/seekdir.c: Likewise.
4190 * sysdeps/mach/hurd/setsid.c: Likewise.
4191 * sysdeps/posix/wait3.c: Likewise.
4192
568035b7
JM
4193 * All files with FSF copyright notices: Update copyright dates
4194 using scripts/update-copyrights.
4195 * intl/plural.c: Regenerated.
4196 * locale/programs/charmap-kw.h: Likewise.
4197 * locale/programs/locfile-kw.h: Likewise.
4198
da08f647
SP
41992013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4200
0f5477af
SP
4201 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4202 four values.
4203
44e0d4c2
SP
4204 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4205 calculation loop and add branch prediction.
4206
4d55b4e5
SP
4207 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4208 check access beyond bounds of m1np.
4209
da08f647
SP
4210 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4211 MPTWO.
4212 (__inv): Remove local variable MPTWO to use the global
4213 constant.
4214 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4215 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4216 variable MPTWO.
4217 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4218 MP3HALFS static const.
4219
8e051029
DM
42202013-01-01 David S. Miller <davem@davemloft.net>
4221
4222 * po/ca.po: Update from translation team.
4223
f4cf5f2d
JM
42242013-01-01 Joseph Myers <joseph@codesourcery.com>
4225
4226 * scripts/update-copyrights: New file.
4227 * Makeconfig: Reformat copyright notice.
4228 * ctype/ctype.h: Likewise.
4229 * debug/swprintf_chk.c: Likewise.
4230 * elf/dl-cache.c: Likewise.
4231 * elf/dl-debug.c: Likewise.
4232 * elf/dl-object.c: Likewise.
4233 * grp/initgroups.c: Likewise.
4234 * hurd/Makefile: Likewise.
4235 * hurd/hurd/signal.h: Likewise.
4236 * hurd/hurdfault.c: Likewise.
4237 * hurd/hurdioctl.c: Likewise.
4238 * hurd/hurdlookup.c: Likewise.
4239 * hurd/intr-msg.c: Likewise.
4240 * iconv/gconv_open.c: Likewise.
4241 * libio/swprintf.c: Likewise.
4242 * locale/lc-ctype.c: Likewise.
4243 * locale/nl_langinfo.c: Likewise.
4244 * mach/Machrules: Likewise.
4245 * mach/Makefile: Likewise.
4246 * malloc/obstack.h: Likewise.
4247 * manual/Makefile: Likewise.
4248 * manual/tsort.awk: Likewise.
4249 * misc/bits/stab.def: Likewise.
4250 * nis/nis_print_group_entry.c: Likewise.
4251 * nis/nis_table.c: Likewise.
4252 * nis/nss_compat/compat-pwd.c: Likewise.
4253 * nis/nss_compat/compat-spwd.c: Likewise.
4254 * po/Makefile: Likewise.
4255 * posix/fnmatch.c: Likewise.
4256 * posix/regex.h: Likewise.
4257 * resolv/Makefile: Likewise.
4258 * resolv/nss_dns/dns-network.c: Likewise.
4259 * resolv/res_hconf.c: Likewise.
4260 * scripts/gen-sorted.awk: Likewise.
4261 * soft-fp/soft-fp.h: Likewise.
4262 * stdio-common/printf.h: Likewise.
4263 * stdlib/monetary.h: Likewise.
4264 * stdlib/random.c: Likewise.
4265 * stdlib/random_r.c: Likewise.
4266 * sysdeps/generic/Makefile: Likewise.
4267 * sysdeps/gnu/Makefile: Likewise.
4268 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4269 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4270 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4271 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4272 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4273 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4274 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4275 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4276 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4277 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4278 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4279 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4280 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4281 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4282 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4283 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4284 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4285 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4286 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4287 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4288 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4289 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4290 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4291 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4292 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4293 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4296 * sysdeps/mach/hurd/errnos.awk: Likewise.
4297 * sysdeps/mach/hurd/fork.c: Likewise.
4298 * sysdeps/mach/hurd/getcwd.c: Likewise.
4299 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4300 * sysdeps/mach/hurd/mmap.c: Likewise.
4301 * sysdeps/mach/hurd/utimes.c: Likewise.
4302 * sysdeps/mach/hurd/xmknod.c: Likewise.
4303 * sysdeps/posix/profil.c: Likewise.
4304 * sysdeps/posix/readdir_r.c: Likewise.
4305 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4306 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4307 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4308 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4310 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4311 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4312 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4314 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4315 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4316 * sysdeps/pthread/lio_listio.c: Likewise.
4317 * sysdeps/sparc/dl-procinfo.h: Likewise.
4318 * sysdeps/unix/i386/sysdep.S: Likewise.
4319 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4320 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4321 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4322 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4324 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4325 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4326 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4327 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4328 * sysdeps/wordsize-32/divdi3.c: Likewise.
4329 * time/sys/time.h: Likewise.
4330 * wcsmbs/Makefile: Likewise.
4331
0549fbba
DM
43322013-01-01 David S. Miller <davem@davemloft.net>
4333
a141f1a7
DM
4334 * po/fr.po: Update from translation team.
4335
0549fbba
DM
4336 * catgets/gencat.c: Update copyright year.
4337 * csu/version.c: Likewise.
4338 * debug/catchsegv.sh: Likewise.
4339 * debug/pcprofiledump.c: Likewise.
4340 * debug/xtrace.sh: Likewise.
4341 * elf/ldconfig.c: Likewise.
4342 * elf/ldd.bash.in: Likewise.
4343 * elf/pldd.c: Likewise.
4344 * elf/sotruss.ksh: Likewise.
4345 * elf/sprof.c: Likewise.
4346 * iconv/iconv_prog.c: Likewise.
4347 * iconv/iconvconfig.c: Likewise.
4348 * locale/programs/locale.c: Likewise.
4349 * locale/programs/localedef.c: Likewise.
4350 * login/programs/pt_chown.c: Likewise.
4351 * malloc/memusage.sh: Likewise.
4352 * malloc/memusagestat.c: Likewise.
4353 * malloc/mtrace.pl: Likewise.
4354 * nscd/nscd.c: Likewise.
4355 * nss/getent.c: Likewise.
4356 * nss/makedb.c: Likewise.
4357 * posix/getconf.c: Likewise.
4358
18ea052c
SP
43592012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4360
4361 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4362 numbers.
4363
9c89fca6
MF
43642012-12-30 Mike Frysinger <vapier@gentoo.org>
4365
4366 * math/bits/mathcalls.h (modf): Use __nonnull.
4367
085ec079
SP
43682012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4369
4370 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4371 (split): Use macro CN instead of the bare value.
4372 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4373 could be used.
4374 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4375 instead of the bare value.
4376 (power1): Likewise.
4377
6d9f97e1
SP
43782012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4379
d63f73be
SP
4380 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4381 __ATAN_TWOM.
4382 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4383
6d9f97e1
SP
4384 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4385 their values.
4386 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4387 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4388 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4389 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4390
4c4febf5
AJ
43912012-12-28 Andreas Jaeger <aj@suse.de>
4392
af5843ef
AJ
4393 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4394 values are from Linux 3.7.
4395
4c4febf5
AJ
4396 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4397 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4398
99136f82
SP
43992012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4400
2f216c3c 4401 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4402 TRUE case.
4403
99136f82
SP
4404 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4405 (norm): Likewise.
4406 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4407 variables with preprocessor constants.
4408 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4409 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4410 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4411
7fffbdff
BH
44122012-12-27 Bruno Haible <bruno@clisp.org>
4413
4414 [BZ #14317]
4415 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4416 only if needed.
4417
b76eb5f0
SP
44182012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4419
31a7fe5c
SP
4420 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4421 and use variable directly.
4422 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4423
b76eb5f0
SP
4424 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4425 MPONE.
4426 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4427 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4428 variable MPONE.
4429 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4430 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4431 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4432 include directive. Remove local variable MPONE.
4433 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4434 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4435 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4436
2c8bfe7d
DM
44372012-12-25 David S. Miller <davem@davemloft.net>
4438
4439 * version.h (RELEASE): Set to "development".
4440 (VERSION): Set to "2.17.90".
4441 * NEWS: Add 2.18 section.
4442
147d03b0
DM
44432012-12-21 David S. Miller <davem@davemloft.net>
4444
4445 * po/hr.po: Update from translation team.
4446
a8ebb2b9
AK
44472012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4448
4449 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4450
95b4f1b6
SE
44512012-12-19 Steve Ellcey <sellcey@mips.com>
4452
b2d94007 4453 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4454
cedb2a90
MS
44552012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4456
4457 * manual/contrib.texi (Contributors): Spelling correction.
4458
bbf527d6
DM
44592012-12-15 David S. Miller <davem@davemloft.net>
4460
4461 * po/ru.po: Update from translation team.
4462
bc38c906
DM
44632012-12-13 David S. Miller <davem@davemloft.net>
4464
85429b1a
DM
4465 * NEWS: Mention IFUNC testsuite enhancements.
4466
d283e353
DM
4467 * po/pl.po: Update from translation team.
4468 * po/bg.po: Likewise.
4469
bc38c906
DM
4470 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4471 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4472
a181b0d7
DM
44732012-12-11 David S. Miller <davem@davemloft.net>
4474
4641d57e
DM
4475 * po/sv.po: Update from translation team.
4476
f7bc6495
DM
4477 * po/vi.po: Update from translation team.
4478
6fc9048f
DM
4479 * po/cs.po: Update from translation team.
4480
a181b0d7
DM
4481 * po/de.po: Update from translation team.
4482 * po/eo.po: Likewise.
4483 * po/nl.po: Likewise.
4484
f70bfe80
SP
44852012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4486
3c8b4190
SP
4487 [BZ #14246]
4488 * manual/argp.texi (Argp Helper Functions): Move node to follow
4489 Argp Parsing State.
4490
f70bfe80
SP
4491 [BZ #14872]
4492 * manual/conf.texi (Limits on File System Capacity): Mention if
4493 terminating null is included in the max size.
4494
188f0adf
AJ
44952012-12-10 Andreas Jaeger <aj@suse.de>
4496
4497 * po/cs.po: Update from translation team.
4498
56e7d3ad
SP
44992012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4500
4501 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4502 void pointer and cast to uintptr_t.
4503 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4504 path.
4505 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4506 * sysdeps/s390/s390-64/memset.S: Likewise.
4507
76f2d2ea 45082012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4509
4510 [BZ #14833]
4511 * menual/message.texi (Message Translation): Fix typos.
4512 (Helper programs for gettext): Likewise.
4513
67cbf9a2
AS
45142012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4515
4516 [BZ #14898]
4517 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4518 Change to -1.
4519
682d0e9a
DM
45202012-12-07 David S. Miller <davem@davemloft.net>
4521
4522 * po/libc.pot: Update.
4523
573cd484
RH
45242012-12-07 Richard Henderson <rth@redhat.com>
4525
7e9da188 4526 [BZ #10114]
573cd484
RH
4527 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4528 normal/normal case to before the switch.
4529 (_FP_DIV): Likewise.
4530
e933a943
MF
45312012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4532 Mike Frysinger <vapier@gentoo.org>
4533
4534 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4535 check for __NR_fadvise64_64.
4536
82123268
CM
45372012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4538
4539 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4540 0, not just to plain "0" as a statement.
4541 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4542 with cw.
4543
d9814526
JM
45442012-12-06 Joseph Myers <joseph@codesourcery.com>
4545
4546 * NEWS: Use sourceware.org in Bugzilla URL.
4547
7728c574
SP
45482012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4549
f16946dd
SP
4550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4551 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4552
5704bbcb
SP
4553 * stdio-common/tst-put-error.c (do_test): Add newline to the
4554 padded test to ensure flush.
4555
17aa0516
JL
45562012-12-05 Jeff Law <law@redhat.com>
4557
4558 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4559
363313b5
JM
45602012-12-05 Joseph Myers <joseph@codesourcery.com>
4561
effbd42a
JM
4562 * README: Don't refer to ports add-on as distributed separately.
4563 Mention AArch64 in list of systems supported in the ports add-on.
4564
87600365
JM
4565 * LICENSES: Add more non-FSF copyright and license notices.
4566
a0d7066a
JM
4567 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4568 ((unused)).
4569
66ca5a5b
JM
4570 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4571
363313b5
JM
4572 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4573 10000 as width of padded output.
4574
b37984ad
JM
45752012-12-04 Joseph Myers <joseph@codesourcery.com>
4576
9003570a
JM
4577 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4578
b37984ad
JM
4579 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4580 variable LX with __attribute__ ((unused)).
4581 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4582 Likewise.
4583 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4584 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4585 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4586 with __attribute__ ((unused)).
4587
c8df52ec
DM
45882012-12-04 David S. Miller <davem@abraco.davemloft.net>
4589
4590 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4591
b3b099af
JM
45922012-12-04 Joseph Myers <joseph@codesourcery.com>
4593
c33aa6e3
JM
4594 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4595 (CFLAGS-nldbl-acos.c): New variable.
4596 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4597 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4598 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4599 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4600 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4601 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4602 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4603 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4604 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4605 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4606 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4607 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4608 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4609 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4610 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4611 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4612 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4613 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4614 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4615 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4616 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4617 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4618 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4619 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4620 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4621 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4622 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4623 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4624 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4625 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4626 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4627 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4628 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4629 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4630 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4631 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4632 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4633 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4634 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4635 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4636 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4637 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4638 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4639 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4640 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4641 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4642 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4643 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4644 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4645 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4646 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4647 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4648 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4649 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4650 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4651 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4652 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4653 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4654 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4655 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4656 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4657 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4658 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4659 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4660 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4661 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4662 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4663 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4664 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4665 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4666 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4667 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4668 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4669 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4670 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4671 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4672 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4673 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4674 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4675 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4676 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4677 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4678 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4679 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4680 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4681 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4682 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4683 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4684 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4685 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4686 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4687 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4688 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4689 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4690 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4691 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4692 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4693
20f0018d
JM
4694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4695 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4696
b3b099af
JM
4697 [BZ #14914]
4698 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4699 whole low double instead of just low 47 bits when splitting values
4700 into two parts.
4701
029264d1
AM
47022012-12-03 Allan McRae <allan@archlinux.org>
4703
4704 * manual/stdio.texi (Predefined Printf Handlers): Remove
4705 @hsep and @vsep usage.
4706
c9d6789e
MF
47072012-12-03 Mike Frysinger <vapier@gentoo.org>
4708
4709 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4710 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4711
4b7634a5
JL
47122012-12-03 Jeff Law <law@redhat.com>
4713
4714 * time/sys/time.h (settimeofday): Do not mark TV argument
4715 as __nonnull.
4716
eb6cbd24
MF
47172012-12-01 Mike Frysinger <vapier@gentoo.org>
4718
4719 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4720 when currently writing and seek to current position when not.
4721 * libio/Makefile (tests): Remove bug-fclose1.
4722 * libio/bug-fclose1.c: Delete.
4723
f638872a
JM
47242012-12-01 Joseph Myers <joseph@codesourcery.com>
4725
4726 * manual/arith.texi (feenableexcept): Fix typo.
4727 (fedisableexcept): Likewise.
4728
48085d14
RM
47292012-11-30 Roland McGrath <roland@hack.frob.com>
4730
4731 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4732 second, differently-typed declaration, rather than a cast.
4733
1a538b9f
SP
47342012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4735
4736 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4737 * include/rpc/svc.h: ... here.
4738
d07f2ff1 47392012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4740
4741 [BZ #13013]
4742 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4743 depending n and resplen2 to catch cases where answer
4744 equals answerp2.
4745
c93ec1f0
CD
47462012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4747
4748 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4749 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4750
37db69de
MF
47512012-11-29 Mike Frysinger <vapier@gentoo.org>
4752
4753 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4754
e10c4e4f
RM
47552012-11-29 Roland McGrath <roland@hack.frob.com>
4756
4757 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4758
2af1b328
JL
47592012-11-28 Jeff Law <law@redhat.com>
4760
4761 [BZ #13761]
4762 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4763 dataset_temporary. Track alloca usage into alloca_used.
4764 If dataset is large allocate and release it via malloc/free.
4765
111db5b1
FW
47662012-06-04 Florian Weimer <fweimer@redhat.com>
4767
f06cc227 4768 [BZ #14197]
111db5b1
FW
4769 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4770
dd694abd
DM
47712012-11-28 David S. Miller <davem@davemloft.net>
4772
4773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4774
9984dd01
JM
47752012-11-28 Joseph Myers <joseph@codesourcery.com>
4776
4777 [BZ #14803]
4778 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4779 of pi/2 rounded to nearest to 64 bits.
4780 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4781 nearest to 64 bits.
4782 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4783 bits.
4784
14bc93a9
JL
47852012-11-28 Jeff Law <law@redhat.com>
4786 Martin Osvald <mosvald@redhat.com>
4787
4788 [BZ #14889]
4789 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4790 * sunrpc/svc.c: Include time.h.
4791 (__svc_accept_failed): New function.
4792 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4793 any reason other than EINTR, call __svc_accept_failed.
4794 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4795 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4796
e3c6aa3a
AS
47972012-11-28 Andreas Schwab <schwab@suse.de>
4798
4799 * scripts/abilist.awk: Also handle indirect functions in .opd
4800 section.
4801
1bead169
JM
48022012-11-28 Joseph Myers <joseph@codesourcery.com>
4803
4804 [BZ #13881]
4805 * sysdeps/x86/fpu/powl_helper.c: New file.
4806 * sysdeps/x86/fpu/Makefile: Likewise.
4807 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4808 (p3): New object.
4809 (__ieee754_powl): Use __powl_helper for finite arguments except
4810 integer exponents below 8.
4811 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4812 (p3): New object.
4813 (__ieee754_powl): Use __powl_helper for finite arguments except
4814 integer exponents below 8.
4815 * math/libm-test.inc (pow_test): Add more tests and enable some
4816 previously disabled tests.
4817 * sysdeps/i386/fpu/libm-test-ulps: Update.
4818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4819
0817d63d
SP
48202012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4821 Carlos O'Donell <carlos_odonell@mentor.com>
4822
4823 * nss/makedb.c (is_prime): Assert that input is odd and greater
4824 than 4. Note that fact in a comment too.
4825 (next_prime): Add 4 to input.
4826
de2fd463
SP
48272012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4828
4829 [BZ #11741]
4830 * libio/Makefile (tests): Add test case tst-fwrite-error.
4831 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4832 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4833 * libio/tst-fwrite-error.c: New test case.
4834
c515fb51
L
48352012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4836
4837 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4838 before casting to void *.
4839 * include/libc-internal.h (__pointer_type): New macro.
4840 (__integer_if_pointer_type_sub): Likewise.
4841 (__integer_if_pointer_type): Likewise.
4842 (cast_to_integer): Likewise.
4843 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4844 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4845 before casting to atomic64_t.
4846 (atomic_exchange_acq): Likewise.
4847 (__arch_exchange_and_add_body): Likewise.
4848 (__arch_add_body): Likewise.
4849 (atomic_add_negative): Likewise.
4850 (atomic_add_zero): Likewise.
4851
4cf77aa9
JM
48522012-11-26 Joseph Myers <joseph@codesourcery.com>
4853
4854 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4855 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4856 (add_fdes): Likewise.
4857 (linear_search_fdes): Likewise.
4858 (binary_search_unencoded_fdes): Likewise.
4859
d260b3b4
AS
48602012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4861
4862 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4863
67060746
AC
48642012-11-24 Adam Conrad <adconrad@0c3.net>
4865
4866 * configure.in: Autodetect C++ header directories.
4867 * configure: Regenerated.
4868
800938a1
MF
48692012-11-23 Mike Frysinger <vapier@gentoo.org>
4870
4871 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4872
4e6e34e6
AS
48732012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4874
4875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4876
7c7feb47
JM
48772012-11-22 Joseph Myers <joseph@codesourcery.com>
4878
7184dcdf
JM
4879 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4880 LDBL_MANT_DIG == 106]: Disable some tests.
4881 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4882 Likewise.
4883 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4884 Likewise.
4885
0a42601f
JM
4886 [BZ #14871]
4887 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4888 input for small inputs. Return +/- pi/2 for large inputs.
4889 * math/libm-test.inc (atan_test): Add more tests.
4890
79c9b9fe
JM
4891 * sysdeps/generic/unwind-dw2-fde-glibc.c
4892 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4893 __attribute__ ((unused)).
4894
c60d3bf2
JM
4895 [BZ #14645]
4896 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4897 x * y if x and y are nonzero and z is zero.
4898
ef1e0867
JM
4899 [BZ #14811]
4900 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4901 nonzero exponents with absolute value below 0x1p-117 to +/-
4902 0x1p-117.
4903
1468ded3
JM
4904 [BZ #14869]
4905 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4906 up arguments below 2**-450, not just those below 2**-500.
4907 * math/libm-test.inc (hypot_test): Add another test.
4908
8e27e3cc
JM
4909 [BZ #14868]
4910 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4911 Return a+b for ratio over 2**120, not 2**60.
4912 * math/libm-test.inc (hypot_test): Add another test.
4913
c9c0279b
JM
4914 * math/libm-test.inc (clog_test): Use
4915 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4916 (clog10_test): Likewise.
4917
7c7feb47
JM
4918 [BZ #6778]
4919 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4920
fff1530e
AS
49212012-11-22 Andreas Schwab <schwab@suse.de>
4922
4923 * sysdeps/i386/fpu/libm-test-ulps: Update.
4924
94558d30
PT
49252012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4926
4927 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4928 printf output with newline.
4929
7e1be741
L
49302012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4931
6bfea974
L
4932 [BZ #14865]
4933 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4934 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4935 -z nodlopen, -z initfirst and -z execstack support.
4936 * configure: Regenerated.
4937
7e1be741
L
4938 * elf/elf.h (DF_1_NODIRECT): New macro.
4939 (DF_1_IGNMULDEF): Likewise.
4940 (DF_1_NOKSYMS): Likewise.
4941 (DF_1_NOHDR): Likewise.
4942 (DF_1_EDITED): Likewise.
4943 (DF_1_NORELOC): Likewise.
4944 (DF_1_SYMINTPOSE): Likewise.
4945 (DF_1_GLOBAUDIT): Likewise.
4946 (DF_1_SINGLETON): Likewise.
4947 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4948 DT_1_SUPPORTED_MASK bits.
4949 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4950
105ce2ce
CD
49512012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4952
4953 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4954
123be9de
TS
49552012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4956
d072f3f7
TS
4957 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4958 macro.
4959
123be9de
TS
4960 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4961 (sendmmsg): Move declarations...
4962 * socket/sys/socket.h: ... here.
4963 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4964 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4965 include it from...
4966 * socket/recvmmsg.c: ... this new file.
4967 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4968 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4969 definition of __sendmmsg hidden.
4970 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4971 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4972 Move ENOSYS stub into and include it from...
4973 * socket/sendmmsg.c: ... this new file.
4974 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4975 (sysdep_routines): Move recvmmsg and sendmmsg...
4976 * socket/Makefile (routines): ... here.
4977 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4978 (GLIBC_PRIVATE): Add __sendmmsg.
4979 * include/sys/socket.h (__sendmmsg): Add declarations.
4980 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4981 sendmmsg.
4982
cf9a5d18
JM
49832012-11-20 Joseph Myers <joseph@codesourcery.com>
4984
4985 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4986 variable I1 with __attribute__ ((unused)).
4987 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4988
ecd4caf9
JM
49892012-11-19 Joseph Myers <joseph@codesourcery.com>
4990
be14d48f
JM
4991 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4992 DUMMY variables with __attribute__ ((unused)).
4993
ecd4caf9
JM
4994 * bits/byteswap.h: Include <bits/types.h>.
4995 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4996
986cab95
PT
49972012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4998
4999 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5000 string_t. Do not manually set errno.
5001 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5002 length with __strnlen. Make sure to both set errno and return it on
5003 failure.
5004
6d33cc9d
DM
50052012-11-19 David S. Miller <davem@davemloft.net>
5006
5007 With help from Joseph Myers.
5008 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5009 very large arguments properly.
5010 * math/libm-test.inc (atan_test): New tests.
5011 (atan2_test): New tests.
5012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5014
ee663277
JM
50152012-11-19 Joseph Myers <joseph@codesourcery.com>
5016
877f2d8e
JM
5017 [BZ #14856]
5018 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5019 Define to 3.
5020
116fc08a
JM
5021 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5022 [POSIX] (EADDRNOTAVAIL): Likewise.
5023 [POSIX] (EAFNOSUPPORT): Likewise.
5024 [POSIX] (EALREADY): Likewise.
5025 [POSIX] (ECONNABORTED): Likewise.
5026 [POSIX] (ECONNREFUSED): Likewise.
5027 [POSIX] (ECONNRESET): Likewise.
5028 [POSIX] (EDESTADDRREQ): Likewise.
5029 [POSIX] (EDQUOT): Likewise.
5030 [POSIX] (EHOSTUNREACH): Likewise.
5031 [POSIX] (EIDRM): Likewise.
5032 [POSIX] (EISCONN): Likewise.
5033 [POSIX] (ELOOP): Likewise.
5034 [POSIX] (EMULTIHOP): Likewise.
5035 [POSIX] (ENETDOWN): Likewise.
5036 [POSIX] (ENETUNREACH): Likewise.
5037 [POSIX] (ENOBUFS): Likewise.
5038 [POSIX] (ENODATA): Likewise.
5039 [POSIX] (ENOLINK): Likewise.
5040 [POSIX] (ENOMSG): Likewise.
5041 [POSIX] (ENOPROTOOPT): Likewise.
5042 [POSIX] (ENOSR): Likewise.
5043 [POSIX] (ENOSTR): Likewise.
5044 [POSIX] (ENOTCONN): Likewise.
5045 [POSIX] (ENOTSOCK): Likewise.
5046 [POSIX] (EOPNOTSUPP): Likewise.
5047 [POSIX] (EOVERFLOW): Likewise.
5048 [POSIX] (EPROTO): Likewise.
5049 [POSIX] (EPROTONOSUPPORT): Likewise.
5050 [POSIX] (EPROTOTYPE): Likewise.
5051 [POSIX] (ESTALE): Likewise.
5052 [POSIX] (ETIME): Likewise.
5053 [POSIX] (ETXTBSY): Likewise.
5054 [POSIX] (EWOULDBLOCK): Likewise.
5055 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5056 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5057 [POSIX] (SEEK_CUR): Likewise.
5058 [POSIX] (SEEK_END): Likewise.
5059 [POSIX || UNIX98] (mode_t): Do not require.
5060 [POSIX] (off_t): Likewise.
5061 [POSIX] (pid_t): Likewise.
5062 [POSIX] (sys/stat.h): Do not allow header.
5063 [POSIX] (unistd.h): Likewise.
5064 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5065 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5066 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5067 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5068 require.
5069 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5070 sigevent): Specify elements.
5071 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5072 entry.
5073 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5074 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5075
a483863f
JM
5076 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5077 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5078 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5079 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5080 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5081 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5082 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5083 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5084 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5085 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5086 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5087 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5088 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5089 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5090 Likewise.
5091 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5092 Likewise.
5093 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5094 Likewise.
5095 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5096 Likewise.
5097 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5098 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5099 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5100 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5101 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5102 Specify lower bound on value.
5103 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5104 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5105 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5106 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5107 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5108 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5109 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5110 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5111 value.
5112 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5113 as optional.
5114 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5115 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5116 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5117 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5118 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5119 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5120 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5121 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5122 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5123 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5124 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5125 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5126 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5127 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5128 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5129 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5130 entry.
5131 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5132 optional.
5133 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5134 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5135 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5136 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5137 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5138 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5139 Likewise.
5140 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5141 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5142 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5143 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5144 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5145 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5146 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5147 as optional.
5148 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5149 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5150 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5151 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5152 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5153 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5154 specify as optional.
5155 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5156 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5157 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5158 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5159 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5160 [XPG3] (NL_LANGMAX): Likewise.
5161 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5162 [POSIX || XPG3] (NL_NMAX): Likewise.
5163 [POSIX || XPG3] (NL_SETMAX): Likewise.
5164 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5165 [XPG3] (NZERO): Likewise.
5166 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5167 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5168 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5169 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5170 (REG_ERANGE): Expect.
5171 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5172 optional-constant.
5173 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5174 Use (void) in prototype.
5175 [POSIX] (*_t): Allow.
5176 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5177 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5178 (WRDE_BADVAL): Expect.
5179
5ba924e3
JM
5180 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5181 expect.
5182 [XPG3 || XPG4] (O_RSYNC): Likewise.
5183 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5184 Likewise.
5185 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5186 [XPG3 || XPG4] (sigqueue): Likewise.
5187 [XPG3 || XPG4] (sigtimedwait): Likewise.
5188 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5189 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5190 [XPG3 || XPG4] (vsnprintf): Likewise.
5191 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5192 Likewise.
5193 [XPG3 || XPG4] (blksize_t): Likewise.
5194 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5195 Likewise.
5196 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5197 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5198 [XPG3 || XPG4] (struct itimerspec): Likewise.
5199 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5200 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5201 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5202 [XPG3 || XPG4] (clockid_t): Likewise.
5203 [XPG3 || XPG4] (timer_t): Likewise.
5204 [XPG3 || XPG4] (clock_getres): Likewise.
5205 [XPG3 || XPG4] (clock_gettime): Likewise.
5206 [XPG3 || XPG4] (clock_settime): Likewise.
5207 [XPG3 || XPG4] (nanosleep): Likewise.
5208 [XPG3 || XPG4] (timer_create): Likewise.
5209 [XPG3 || XPG4] (timer_delete): Likewise.
5210 [XPG3 || XPG4] (timer_gettime): Likewise.
5211 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5212 [XPG3 || XPG4] (timer_settime): Likewise.
5213 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5214 [XPG3 || XPG4] (getlogin_r): Likewise.
5215 [XPG3 || XPG4] (pread): Likewise.
5216 [XPG3 || XPG4] (pthread_atfork): Likewise.
5217 [XPG3 || XPG4] (pwrite): Likewise.
5218
ee663277
JM
5219 [BZ #14835]
5220 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5221 <bits/siginfo.h>.
5222
942caa16
PT
52232012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5224
e19af380
PT
5225 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5226 finalizing MALLSTREAM.
5227
942caa16
PT
5228 * sysdeps/mach/hurd/syncfs.c: New file.
5229
cfde9b46
SP
52302012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5231
5232 [BZ #14719]
5233 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5234 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5235 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5236 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5237 (_nss_dns_gethostbyname4_r): Likewise.
5238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5239 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5240
f6da27e5
PH
52412012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5242
5243 [BZ #13763]
5244 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5245
6665d4a2
SM
52462012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5247
1f51ee92
SM
5248 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5249 * elf/cache.c (print_entry): Print ",AArch64" for
5250 FLAG_AARCH64_LIB64
5251
6665d4a2
SM
5252 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5253 * elf/cache.c (print_entry): Print ",hard-float" for
5254 FLAG_ARM_LIBHF.
5255
05b227bd
DM
52562012-11-18 David S. Miller <davem@davemloft.net>
5257
5258 With help from Joseph Myers.
5259 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5260 cutoff to 2**-13.
5261 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5262 cutoff to 2**-25.
5263 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5264 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5265 small.
5266 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5267 * math/libm-test.inc (y0_test): New tests.
5268 (y1_test): New tests.
5269 * sysdeps/i386/fpu/libm-test-ulps: Update.
5270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5272
786b0b67
AS
52732012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5274
5275 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5276 64-bit targets.
5277 * configure: Regenerated.
5278
8e18b86d
DM
52792012-11-17 David S. Miller <davem@davemloft.net>
5280
5281 [BZ #14811]
5282 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5283 nonzero exponents with absolute value below 0x1p-128 to +/-
5284 0x1p-128.
5285
531f1ae0
JM
52862012-11-17 Joseph Myers <joseph@codesourcery.com>
5287
12df29e2
JM
5288 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5289
150dc1a0
JM
5290 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5291
531f1ae0
JM
5292 * posix/getconf-speclist.c: New file.
5293 * posix/posix-envs.def: Likewise.
5294 * posix/confstr.c (START_ENV_GROUP): New macro.
5295 (END_ENV_GROUP): Likewise.
5296 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5297 (KNOWN_PRESENT_ENV_STRING): Likewise.
5298 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5299 (UNKNOWN_ENVIRONMENT): Likewise.
5300 (confstr): Include posix-envs.def instead of handling
5301 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5302 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5303 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5304 (END_ENV_GROUP): Likewise.
5305 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5306 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5307 (UNKNOWN_ENVIRONMENT): Likewise.
5308 (__sysconf): Include posix-envs.def instead of handling associated
5309 cases directly here.
5310 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5311 preprocessing getconf-speclist.c rather than running getconf or
5312 generating empty file.
5313
a93f9cbc
PT
53142012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5315
5316 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5317
d64d9f87
AL
53182012-11-16 Andrej Lajovic <natrij@gmail.com>
5319
5320 [BZ #14672]
5321 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5322
447885eb
DM
53232012-11-16 David S. Miller <davem@davemloft.net>
5324
5325 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5326 smaller than LDBL_EPSILON/2.0L, just return xm1.
5327
bcbf9830
L
53282012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5329
5330 * elf/tst-array1.c (init): Set constructor priority to 1000.
5331 (fini): Set destructor priority to 1000.
5332 * elf/tst-array2dep.c: Likewise.
5333
2b766585
SP
53342012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5335
5336 [BZ #11741]
5337 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5338 (_IO_new_file_xsputn): Also return EOF if none of the input
5339 data was written when overflow failed.
5340 * libio/iopadn.c (_IO_padn): Likewise.
5341 * libio/iowpadn.c (_IO_wpadn): Likewise.
5342 * stdio-common/tst-put-error.c: Add copyright notice.
5343 (do_test): Add case for printing padded string.
5344 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5345 _IO_padn returned error.
5346 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5347 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5348 return EOF.
5349
b1848fde
SP
53502012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5351
5352 * libio/libioP.h: Add comment note that the references to C++
5353 bits are now obsolete.
5354
2fd89785
MS
53552012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5356
5357 * math/libm-test.inc (check_complex): Use asprintf.
5358
e3ea5409
JM
53592012-11-14 Joseph Myers <joseph@codesourcery.com>
5360
5361 * debug/pcprofiledump.c (print_version): Update copyright year.
5362 * malloc/memusagestat.c (print_version): Likewise.
5363
2e64d265
L
53642012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5365
5366 [BZ #14831]
5367 * elf/Makefile (tests): Add tst-audit8.
5368 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5369 ($(objpfx)tst-audit8.out): New target.
5370 (tst-audit8-ENV): New variable.
5371 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5372 audit if l_reloc_result is NULL.
5373 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5374 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5375 * elf/tst-audit8.c: New file.
5376
c485e4d2
MS
53772012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5378
5379 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5380 * misc/Makefile (CFLAGS-select.c): Define.
5381 * posix/Makefile (CFLAGS-pause.c): Define.
5382
3a0d900a
DM
53832012-11-13 David S. Miller <davem@davemloft.net>
5384
5385 * crypt/Makefile: Move test targets after toplevel Rules
5386 inclusion. Grab any necessary sysdep routines when linking.
5387 * crypt/md5.c (md5_process_block): Remove define, we will always
5388 name it __md5_process_block.
5389 (md5_finish_ctx): Update md5_process_block call.
5390 (md5_stream): Likewise.
5391 (md5_process_bytes): Likewise.
5392 (md5_process_block): Rename to __md5_process_block and move to ...
5393 * crypt/md5-block.c: ... here.
5394 * crypt/sha256.c (sha256_process_block): Move to ...
5395 * crypt/sha256-block.c: ... here.
5396 * crypt/sha512.c (sha512_process_block): Move to ...
5397 * crypt/sha512-block.c: ... here.
5398 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5399 path.
5400 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5401 * sysdeps/sparc/sparc64/multiarch/Makefile
5402 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5403 crypt subdir.
5404 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5405 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5406 multiarch changes.
5407 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5408 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5409 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5410 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5411 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5412 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5413 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5414 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5415 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5416 file.
5417 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5418 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5419 file.
5420 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5421
8ca89318
JM
54222012-11-13 Joseph Myers <joseph@codesourcery.com>
5423
e27d476a
JM
5424 * timezone/tzselect.ksh: Update from tzcode git revision
5425 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5426 * timezone/zdump.c: Likewise.
5427 * timezone/zic.c: Likewise.
5428 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5429 in TZVERSION setting, not $(PKGVERSION).
5430 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5431 REPORT_BUGS_TO settings.
5432
8ca89318
JM
5433 [BZ #14838]
5434 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5435 macro.
5436
47594329
MS
54372012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5438
5439 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5440 detection to immediately after _FP_ROUND().
5441 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5442 bits are 0.
5443
640ac3f1
DM
54442012-11-11 David S. Miller <davem@davemloft.net>
5445
5446 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5447 inttypes.h
5448 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5449 __close rather than their public counterparts.
5450
3d2577bb
JM
54512012-11-10 Joseph Myers <joseph@codesourcery.com>
5452
5453 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5454 file.
5455 [UNIX98] (sem_timedwait): Do not expect.
5456 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5457 [XPG4 || UNIX98] (sockatmark): Do not expect.
5458 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5459 (clock_getcpuclockid): Do not expect.
5460 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5461 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5462 Do not expect.
5463 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5464 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5465 [UNIX98] (vwscanf): Likewise.
5466 [UNIX98] (vswscanf): Likewise.
5467
fb1ae1ee
JM
54682012-11-09 Joseph Myers <joseph@codesourcery.com>
5469
9ec6f8bd
JM
5470 * timezone/version.h: Remove file.
5471 * timezone/README: Do not refer to version.h.
5472 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5473 $(objpfx)version.h.
5474 ($(objpfx)zdump.o): Likewise.
c3f81911 5475 ($(objpfx)version.h): New target.
9ec6f8bd 5476
0aa8f8a1
JM
5477 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5478 2012i.
5479 * timezone/README: Don't mention modification to tzselect.ksh.
5480 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5481 work on unmodified tzselect.ksh. Substitute version numbers in
5482 tzselect.ksh.
5483
4e87147f
JM
5484 * Makefile (format-me): Remove.
5485 (INSTALL): Adjust indentation. Use commands directly instead of
5486 using $(format-me).
5487
8b748aed
JM
5488 * aclocal.m4 (ACX_PKGVERSION): New macro.
5489 (ACX_BUGURL): Likewise.
5490 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5491 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5492 (REPORT_BUGS_TO): Likewise.
5493 * configure: Regenerated.
5494 * config.h.in (PKGVERSION): New macro.
5495 (REPORT_BUGS_TO): Likewise.
5496 * config.make.in (PKGVERSION): New variable.
5497 (PKGVERSION_TEXI): Likewise.
5498 (REPORT_BUGS_TO): Likewise.
5499 (REPORT_BUGS_TEXI): Likewise.
5500 * Makefile (format-me): Use -I$(common-objpfx)manual.
5501 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5502 ($(common-objpfx)manual/%): New target.
5503 (manual/%): Remove target.
5504 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5505 (print_version): Use PKGVERSION.
5506 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5507 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5508 and REPORT_BUGS_TO.
5509 ($(objpfx)xtrace): Likewise.
5510 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5511 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5512 (print_version): Use PKGVERSION.
5513 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5514 (do_version): Use PKGVERSION.
5515 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5516 REPORT_BUGS_TO.
5517 (common-ldd-rewrite): Likewise.
5518 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5519 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5520 (print_version): Use PKGVERSION.
5521 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5522 * elf/pldd.c (argp_program_bug_address): Remove variable.
5523 (more_help): New function.
5524 (argp): Use more_help.
5525 (print_version): Use PKGVERSION.
5526 * elf/sln.c (main): Use PKGVERSION.
5527 (usage): Use REPORT_BUGS_TO.
5528 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5529 (top level): Use PKGVERSION.
5530 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5531 (print_version): Use PKGVERSION.
5532 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5533 (print_version): Use PKGVERSION.
5534 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5535 (print_version): Use PKGVERSION.
5536 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5537 (print_version): Use PKGVERSION.
5538 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5539 (print_version): Use PKGVERSION.
5540 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5541 (print_version): Use PKGVERSION.
5542 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5543 and BUGURL.
5544 ($(objpfx)memusage): Likewise.
5545 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5546 (do_version): Use PKGVERSION.
5547 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5548 (print_version): Use PKGVERSION.
5549 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5550 ($PKGVERSION): New variable.
5551 ($REPORT_BUGS_TO): Likewise.
5552 (usage): Use $REPORT_BUGS_TO.
5553 (top level): Use $PKGVERSION.
5554 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5555 ($(objpfx)pkgvers.texi): New rule.
5556 ($(objpfx)stamp-pkgvers): Likewise.
5557 * manual/install.texi: Include pkgvers.texi.
5558 (--with-pkgversion): Document new configure option.
5559 (--with-bugurl): Likewise.
5560 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5561 than necessarily for this particular distribution. Use
5562 REPORT_BUGS_TO for where to report bugs.
5563 * INSTALL: Regenerated.
5564 * manual/libc.texinfo: Include pkgvers.texi.
5565 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5566 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5567 (print_version): Use PKGVERSION.
5568 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5569 (print_version): Use PKGVERSION.
5570 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5571 (print_version): Use PKGVERSION.
5572 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5573 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5574 macro.
5575 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5576 (print_version): Use PKGVERSION.
5577 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5578 (print_version): Use PKGVERSION.
5579 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5580 and PKGVERSION.
5581
92e4b6a9
JM
5582 * timezone/checktab.awk: Update from tzcode 2012i.
5583 * timezone/ialloc.c: Likewise.
5584 * timezone/private.h: Likewise.
5585 * timezone/scheck.c: Likewise.
5586 * timezone/tzfile.h: Likewise.
5587 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5588 (TZVERSION): Hardcode tzcode version number.
5589 * timezone/zdump.c: Update from tzcode 2012i.
5590 * timezone/zic.c: Likewise.
5591 * timezone/version.h: New file.
5592 * timezone/README: Describe version.h. Update upstream location.
5593
9bde902c
JM
5594 [BZ #14824]
5595 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5596 (mktemp): Enable declaration.
5597 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5598 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5599 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5600 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5601 Likewise.
5602 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5603 Likewise.
5604 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5605 Likewise.
5606 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5607 Likewise.
5608 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5609 Likewise.
5610 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5611 Likewise.
5612
fb1ae1ee
JM
5613 [BZ #14821]
5614 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5615 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5616 for copies of such integer values.
5617 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5618 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5619
2c1adbcb
AJ
56202012-11-09 Andreas Jaeger <aj@suse.de>
5621
5622 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5623 definitions and declarations that are provided by
5624 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5625
d0f8457e
AK
56262012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5627
3a235abb 5628 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5629 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5630 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5631 definition.
5632
57241e26
MS
56332012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5634
5635 * elf/elf.h: Update comment before AArch64 relocations.
5636
60e8270d
DM
56372012-11-07 David S. Miller <davem@davemloft.net>
5638
5639 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5640 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5641 (__start_context): Declare.
5642 (__makecontext_ret): Delete.
5643 (__makecontext): Hook up __start_context instead of
5644 __makecontext_ret.
5645 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5646 (sysdep_routines): Add __start_context when in stdlib.
5647
0fbb0fbc
JM
56482012-11-07 Joseph Myers <joseph@codesourcery.com>
5649
5650 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5651 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5652 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5653 hardcoded "nm".
5654 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5655 (READELF): New variable. Use it instead of hardcoded "readelf".
5656
eb48db7e
L
56572012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5658
5659 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5660 * sysdeps/x86/Makefile: Here.
5661 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5662 * sysdeps/x86/tst-xmmymm.sh: This.
5663
05bcf62a
JM
56642012-11-07 Joseph Myers <joseph@codesourcery.com>
5665
c4b6cf53
JM
5666 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5667 expectations.
5668 [UNIX98] (pthread_barrier_t): Do not expect.
5669 [UNIX98] (pthread_barrierattr_t): Likewise.
5670 [UNIX98] (pthread_spinlock_t): Likewise.
5671 [UNIX98] (pthread_barrier_destroy): Likewise.
5672 [UNIX98] (pthread_barrier_init): Likewise.
5673 [UNIX98] (pthread_barrier_wait): Likewise.
5674 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5675 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5676 [UNIX98] (pthread_barrierattr_init): Likewise.
5677 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5678 [UNIX98] (pthread_getcpuclockid): Likewise.
5679 [UNIX98] (pthread_mutex_timedlock): Likewise.
5680 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5681 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5682 [UNIX98] (pthread_sigmask): Likewise.
5683 [UNIX98] (pthread_spin_destroy): Likewise.
5684 [UNIX98] (pthread_spin_init): Likewise.
5685 [UNIX98] (pthread_spin_lock): Likewise.
5686 [UNIX98] (pthread_spin_trylock): Likewise.
5687 [UNIX98] (pthread_spin_unlock): Likewise.
5688 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5689 Do not expect.
5690 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5691 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5692 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5693 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5694 [XPG3 || XPG4] (pthread_key_t): Likewise.
5695 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5696 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5697 [XPG3 || XPG4] (pthread_once_t): Likewise.
5698 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5699 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5700 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5701 [XPG3 || XPG4] (pthread_t): Likewise.
5702
cbe6e120
JM
5703 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5704 not expect.
5705 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5706
1b126443
JM
5707 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5708 Change function return type to int.
5709
b961a573
JM
5710 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5711 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5712 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5713 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5714 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5715 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5716 [!POSIX] (posix_madvise): Likewise.
5717 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5718 && !UNIX98].
5719 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5720 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5721 (mode_t): Likewise.
5722 (posix_mem_offset): Likewise.
5723 (posix_typed_mem_get_info): Likewise.
5724 (posix_typed_mem_open): Likewise.
5725
9e188909
JM
5726 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5727 Change condition to [XOPEN2K8].
5728
05bcf62a
JM
5729 * conform/conformtest.pl: Preprocess allow-header data with -x c
5730 instead of from stdin.
5731 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5732 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5733 [C99-based standards] (cerfc): Likewise.
5734 [C99-based standards] (cexp2): Likewise.
5735 [C99-based standards] (cexpm1): Likewise.
5736 [C99-based standards] (clog10): Likewise.
5737 [C99-based standards] (clog1p): Likewise.
5738 [C99-based standards] (clog2): Likewise.
5739 [C99-based standards] (clgamma): Likewise.
5740 [C99-based standards] (ctgamma): Likewise.
5741 [C99-based standards] (cerff): Likewise.
5742 [C99-based standards] (cerfcf): Likewise.
5743 [C99-based standards] (cexp2f): Likewise.
5744 [C99-based standards] (cexpm1f): Likewise.
5745 [C99-based standards] (clog10f): Likewise.
5746 [C99-based standards] (clog1pf): Likewise.
5747 [C99-based standards] (clog2f): Likewise.
5748 [C99-based standards] (clgammaf): Likewise.
5749 [C99-based standards] (ctgammaf): Likewise.
5750 [C99-based standards] (cerfl): Likewise.
5751 [C99-based standards] (cerfcl): Likewise.
5752 [C99-based standards] (cexp2l): Likewise.
5753 [C99-based standards] (cexpm1l): Likewise.
5754 [C99-based standards] (clog10l): Likewise.
5755 [C99-based standards] (clog1pl): Likewise.
5756 [C99-based standards] (clog2l): Likewise.
5757 [C99-based standards] (clgammal): Likewise.
5758 [C99-based standards] (ctgammal): Likewise.
5759 * conform/data/inttypes.h-data [C99-based standards]: Include
5760 stdint.h-data. Remove all expectations for stdint.h contents.
5761 [C99-based standards] (PRI*): Do not allow.
5762 [C99-based standards] (SCN*): Likewise.
5763 [C99-based standards] (*_t): Likewise.
5764 [C99-based-standards] (PRId8): Expect macro.
5765 [C99-based-standards] (PRIi8): Likewise.
5766 [C99-based-standards] (PRIo8): Likewise.
5767 [C99-based-standards] (PRIu8): Likewise.
5768 [C99-based-standards] (PRIx8): Likewise.
5769 [C99-based-standards] (PRIX8): Likewise.
5770 [C99-based-standards] (SCNd8): Likewise.
5771 [C99-based-standards] (SCNi8): Likewise.
5772 [C99-based-standards] (SCNo8): Likewise.
5773 [C99-based-standards] (SCNu8): Likewise.
5774 [C99-based-standards] (SCNx8): Likewise.
5775 [C99-based-standards] (PRIdLEAST8): Likewise.
5776 [C99-based-standards] (PRIiLEAST8): Likewise.
5777 [C99-based-standards] (PRIoLEAST8): Likewise.
5778 [C99-based-standards] (PRIuLEAST8): Likewise.
5779 [C99-based-standards] (PRIxLEAST8): Likewise.
5780 [C99-based-standards] (PRIXLEAST8): Likewise.
5781 [C99-based-standards] (SCNdLEAST8): Likewise.
5782 [C99-based-standards] (SCNiLEAST8): Likewise.
5783 [C99-based-standards] (SCNoLEAST8): Likewise.
5784 [C99-based-standards] (SCNuLEAST8): Likewise.
5785 [C99-based-standards] (SCNxLEAST8): Likewise.
5786 [C99-based-standards] (PRIdFAST8): Likewise.
5787 [C99-based-standards] (PRIiFAST8): Likewise.
5788 [C99-based-standards] (PRIoFAST8): Likewise.
5789 [C99-based-standards] (PRIuFAST8): Likewise.
5790 [C99-based-standards] (PRIxFAST8): Likewise.
5791 [C99-based-standards] (PRIXFAST8): Likewise.
5792 [C99-based-standards] (SCNdFAST8): Likewise.
5793 [C99-based-standards] (SCNiFAST8): Likewise.
5794 [C99-based-standards] (SCNoFAST8): Likewise.
5795 [C99-based-standards] (SCNuFAST8): Likewise.
5796 [C99-based-standards] (SCNxFAST8): Likewise.
5797 [C99-based-standards] (PRId16): Likewise.
5798 [C99-based-standards] (PRIi16): Likewise.
5799 [C99-based-standards] (PRIo16): Likewise.
5800 [C99-based-standards] (PRIu16): Likewise.
5801 [C99-based-standards] (PRIx16): Likewise.
5802 [C99-based-standards] (PRIX16): Likewise.
5803 [C99-based-standards] (SCNd16): Likewise.
5804 [C99-based-standards] (SCNi16): Likewise.
5805 [C99-based-standards] (SCNo16): Likewise.
5806 [C99-based-standards] (SCNu16): Likewise.
5807 [C99-based-standards] (SCNx16): Likewise.
5808 [C99-based-standards] (PRIdLEAST16): Likewise.
5809 [C99-based-standards] (PRIiLEAST16): Likewise.
5810 [C99-based-standards] (PRIoLEAST16): Likewise.
5811 [C99-based-standards] (PRIuLEAST16): Likewise.
5812 [C99-based-standards] (PRIxLEAST16): Likewise.
5813 [C99-based-standards] (PRIXLEAST16): Likewise.
5814 [C99-based-standards] (SCNdLEAST16): Likewise.
5815 [C99-based-standards] (SCNiLEAST16): Likewise.
5816 [C99-based-standards] (SCNoLEAST16): Likewise.
5817 [C99-based-standards] (SCNuLEAST16): Likewise.
5818 [C99-based-standards] (SCNxLEAST16): Likewise.
5819 [C99-based-standards] (PRIdFAST16): Likewise.
5820 [C99-based-standards] (PRIiFAST16): Likewise.
5821 [C99-based-standards] (PRIoFAST16): Likewise.
5822 [C99-based-standards] (PRIuFAST16): Likewise.
5823 [C99-based-standards] (PRIxFAST16): Likewise.
5824 [C99-based-standards] (PRIXFAST16): Likewise.
5825 [C99-based-standards] (SCNdFAST16): Likewise.
5826 [C99-based-standards] (SCNiFAST16): Likewise.
5827 [C99-based-standards] (SCNoFAST16): Likewise.
5828 [C99-based-standards] (SCNuFAST16): Likewise.
5829 [C99-based-standards] (SCNxFAST16): Likewise.
5830 [C99-based-standards] (PRId32): Likewise.
5831 [C99-based-standards] (PRIi32): Likewise.
5832 [C99-based-standards] (PRIo32): Likewise.
5833 [C99-based-standards] (PRIu32): Likewise.
5834 [C99-based-standards] (PRIx32): Likewise.
5835 [C99-based-standards] (PRIX32): Likewise.
5836 [C99-based-standards] (SCNd32): Likewise.
5837 [C99-based-standards] (SCNi32): Likewise.
5838 [C99-based-standards] (SCNo32): Likewise.
5839 [C99-based-standards] (SCNu32): Likewise.
5840 [C99-based-standards] (SCNx32): Likewise.
5841 [C99-based-standards] (PRIdLEAST32): Likewise.
5842 [C99-based-standards] (PRIiLEAST32): Likewise.
5843 [C99-based-standards] (PRIoLEAST32): Likewise.
5844 [C99-based-standards] (PRIuLEAST32): Likewise.
5845 [C99-based-standards] (PRIxLEAST32): Likewise.
5846 [C99-based-standards] (PRIXLEAST32): Likewise.
5847 [C99-based-standards] (SCNdLEAST32): Likewise.
5848 [C99-based-standards] (SCNiLEAST32): Likewise.
5849 [C99-based-standards] (SCNoLEAST32): Likewise.
5850 [C99-based-standards] (SCNuLEAST32): Likewise.
5851 [C99-based-standards] (SCNxLEAST32): Likewise.
5852 [C99-based-standards] (PRIdFAST32): Likewise.
5853 [C99-based-standards] (PRIiFAST32): Likewise.
5854 [C99-based-standards] (PRIoFAST32): Likewise.
5855 [C99-based-standards] (PRIuFAST32): Likewise.
5856 [C99-based-standards] (PRIxFAST32): Likewise.
5857 [C99-based-standards] (PRIXFAST32): Likewise.
5858 [C99-based-standards] (SCNdFAST32): Likewise.
5859 [C99-based-standards] (SCNiFAST32): Likewise.
5860 [C99-based-standards] (SCNoFAST32): Likewise.
5861 [C99-based-standards] (SCNuFAST32): Likewise.
5862 [C99-based-standards] (SCNxFAST32): Likewise.
5863 [C99-based-standards] (PRId64): Likewise.
5864 [C99-based-standards] (PRIi64): Likewise.
5865 [C99-based-standards] (PRIo64): Likewise.
5866 [C99-based-standards] (PRIu64): Likewise.
5867 [C99-based-standards] (PRIx64): Likewise.
5868 [C99-based-standards] (PRIX64): Likewise.
5869 [C99-based-standards] (SCNd64): Likewise.
5870 [C99-based-standards] (SCNi64): Likewise.
5871 [C99-based-standards] (SCNo64): Likewise.
5872 [C99-based-standards] (SCNu64): Likewise.
5873 [C99-based-standards] (SCNx64): Likewise.
5874 [C99-based-standards] (PRIdLEAST64): Likewise.
5875 [C99-based-standards] (PRIiLEAST64): Likewise.
5876 [C99-based-standards] (PRIoLEAST64): Likewise.
5877 [C99-based-standards] (PRIuLEAST64): Likewise.
5878 [C99-based-standards] (PRIxLEAST64): Likewise.
5879 [C99-based-standards] (PRIXLEAST64): Likewise.
5880 [C99-based-standards] (SCNdLEAST64): Likewise.
5881 [C99-based-standards] (SCNiLEAST64): Likewise.
5882 [C99-based-standards] (SCNoLEAST64): Likewise.
5883 [C99-based-standards] (SCNuLEAST64): Likewise.
5884 [C99-based-standards] (SCNxLEAST64): Likewise.
5885 [C99-based-standards] (PRIdFAST64): Likewise.
5886 [C99-based-standards] (PRIiFAST64): Likewise.
5887 [C99-based-standards] (PRIoFAST64): Likewise.
5888 [C99-based-standards] (PRIuFAST64): Likewise.
5889 [C99-based-standards] (PRIxFAST64): Likewise.
5890 [C99-based-standards] (PRIXFAST64): Likewise.
5891 [C99-based-standards] (SCNdFAST64): Likewise.
5892 [C99-based-standards] (SCNiFAST64): Likewise.
5893 [C99-based-standards] (SCNoFAST64): Likewise.
5894 [C99-based-standards] (SCNuFAST64): Likewise.
5895 [C99-based-standards] (SCNxFAST64): Likewise.
5896 [C99-based-standards] (PRIdMAX): Likewise.
5897 [C99-based-standards] (PRIiMAX): Likewise.
5898 [C99-based-standards] (PRIoMAX): Likewise.
5899 [C99-based-standards] (PRIuMAX): Likewise.
5900 [C99-based-standards] (PRIxMAX): Likewise.
5901 [C99-based-standards] (PRIXMAX): Likewise.
5902 [C99-based-standards] (SCNdMAX): Likewise.
5903 [C99-based-standards] (SCNiMAX): Likewise.
5904 [C99-based-standards] (SCNoMAX): Likewise.
5905 [C99-based-standards] (SCNuMAX): Likewise.
5906 [C99-based-standards] (SCNxMAX): Likewise.
5907 [C99-based-standards] (PRIdPTR): Likewise.
5908 [C99-based-standards] (PRIiPTR): Likewise.
5909 [C99-based-standards] (PRIoPTR): Likewise.
5910 [C99-based-standards] (PRIuPTR): Likewise.
5911 [C99-based-standards] (PRIxPTR): Likewise.
5912 [C99-based-standards] (PRIXPTR): Likewise.
5913 [C99-based-standards] (SCNdPTR): Likewise.
5914 [C99-based-standards] (SCNiPTR): Likewise.
5915 [C99-based-standards] (SCNoPTR): Likewise.
5916 [C99-based-standards] (SCNuPTR): Likewise.
5917 [C99-based-standards] (SCNxPTR): Likewise.
5918 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5919 allow.
5920 * conform/data/stdint.h-data: Update comments to clarify
5921 requirements.
5922 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5923 type.
5924 [C99-based standards] (INT8_MAX): Likewise.
5925 [C99-based standards] (INT16_MIN): Likewise.
5926 [C99-based standards] (INT16_MAX): Likewise.
5927 [C99-based standards] (INT32_MIN): Likewise.
5928 [C99-based standards] (INT32_MAX): Likewise.
5929 [C99-based standards] (INT64_MIN): Likewise.
5930 [C99-based standards] (INT64_MAX): Likewise.
5931 [C99-based standards] (UINT8_MAX): Likewise.
5932 [C99-based standards] (UINT16_MAX): Likewise.
5933 [C99-based standards] (UINT32_MAX): Likewise.
5934 [C99-based standards] (UINT64_MAX): Likewise.
5935 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5936 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5937 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5938 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5939 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5940 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5941 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5942 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5943 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5944 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5945 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5946 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5947 [C99-based standards] (INT_FAST8_MIN): Likewise.
5948 [C99-based standards] (INT_FAST8_MAX): Likewise.
5949 [C99-based standards] (INT_FAST16_MIN): Likewise.
5950 [C99-based standards] (INT_FAST16_MAX): Likewise.
5951 [C99-based standards] (INT_FAST32_MIN): Likewise.
5952 [C99-based standards] (INT_FAST32_MAX): Likewise.
5953 [C99-based standards] (INT_FAST64_MIN): Likewise.
5954 [C99-based standards] (INT_FAST64_MAX): Likewise.
5955 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5956 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5957 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5958 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5959 [C99-based standards] (INTPTR_MIN): Likewise.
5960 [C99-based standards] (INTPTR_MAX): Likewise.
5961 [C99-based standards] (UINTPTR_MAX): Likewise.
5962 [C99-based standards] (INTMAX_MIN): Likewise.
5963 [C99-based standards] (INTMAX_MAX): Likewise.
5964 [C99-based standards] (UINTMAX_MAX): Likewise.
5965 [C99-based standards] (PTRDIFF_MIN): Likewise.
5966 [C99-based standards] (PTRDIFF_MAX): Likewise.
5967 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5968 [C99-based standards] (SIZE_MAX): Likewise.
5969 [C99-based standards] (WCHAR_MAX): Likewise.
5970 [C99-based standards] (WINT_MAX): Likewise.
5971 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5972 constraint on value.
5973 [C99-based standards] (WCHAR_MIN): Likewise.
5974 [C99-based standards] (WINT_MIN): Likewise.
5975 [C99-based standards] (*_t): Allow.
5976 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5977 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5978 Include math.h-data and complex.h-data. Remove all expectations
5979 of math.h and complex.h contents.
5980 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5981 at end of line.
5982 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5983 (struct tm): Expect tag.
5984 [C99-based-standards] (wcstof): Expect function.
5985 [C99-based-standards] (wcstold): Likewise.
5986 [C99-based-standards] (wcstoll): Likewise.
5987 [C99-based-standards] (wcstoull): Likewise.
5988 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5989 macro-int-constant. Specify type.
5990 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5991 constraint on value.
5992 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5993 Specify type.
5994 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5995 Specify value.
5996 [ISO C standards]: Do not allow headers.
5997 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5998 wcs[abcdefghijklmnopqrstuvwxyz]*.
5999 [ISO C standards] (*_t): Do not allow.
6000 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6001 Expect function.
6002 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6003 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6004 Specify type.
6005 [ISO C standards]: Do not allow headers.
6006 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6007 is[abcdefghijklmnopqrstuvwxyz]*.
6008 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6009 to[abcdefghijklmnopqrstuvwxyz]*.
6010 [ISO C standards] (*_t): Do not allow.
6011 * conform/data/stdalign.h-data: New file.
6012 * conform/data/stdbool.h-data: Likewise.
6013 * conform/data/stdnoreturn.h-data: Likewise.
6014
7514feb8
RM
60152012-11-07 Roland McGrath <roland@hack.frob.com>
6016
6017 [BZ #14815]
6018 * manual/filesys.texi (Directory Entries): Typo fix.
6019 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6020
19b2ecfc
MS
60212012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6022
6023 * elf/elf.h (EM_AARCH64): New macro.
6024 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6025 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6026 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6027 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6028 (R_AARCH64_TLSDESC): Likewise.
6029 (NT_ARM_TLS): Likewise.
6030 (NT_ARM_HW_BREAK): Likewise.
6031 (NT_ARM_HW_WATCH): Likewise.
6032
60e235ee
JM
60332012-11-07 Joseph Myers <joseph@codesourcery.com>
6034
6035 [BZ #14811]
6036 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6037 (__ieee754_powl): Saturate nonzero exponents with absolute value
6038 below 0x1p-79 to +/- 0x1p-79.
6039 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6040 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6041 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6042 nonzero exponents with absolute value below 0x1p-32 to +/-
6043 0x1p-32.
6044 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6045 (__ieee754_powl): Saturate nonzero exponents with absolute value
6046 below 0x1p-79 to +/- 0x1p-79.
6047 * math/libm-test.inc (pow_test): Add more tests.
6048
0ab234b7
AK
60492012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6050
6051 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6052 _dl_s390_cap_flags with kernel. Increase string length.
6053 (_dl_s390_platforms): Add z196 and zEC12.
6054
45832f74
JM
60552012-11-07 Joseph Myers <joseph@codesourcery.com>
6056
6057 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6058 Change XOPEN21K to XOPEN2K.
6059
19218757
MK
60602012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6061
6062 * string/memmove.c: Use memcpy when possible.
6063
c5f45721
AJ
60642012-11-06 Andreas Jaeger <aj@suse.de>
6065
6066 * po/eo.po: Update from translation team.
6067
82477c28
JM
60682012-11-06 Joseph Myers <joseph@codesourcery.com>
6069
6070 [BZ #14793]
6071 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6072 exponent and small x and y exponents, scale x or y up. Increase
6073 by 2 the exponent used in scaling up.
6074 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6075 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6076 * math/libm-test.inc (fma_test): Add more tests.
6077 (fma_test_towardzero): Likewise.
6078 (fma_test_downward): Likewise.
6079 (fma_test_upward): Likewise.
6080
99252c8c
JM
60812012-11-05 Joseph Myers <joseph@codesourcery.com>
6082
acfa885f
JM
6083 [BZ #14805]
6084 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6085 fenv_t *.
6086
99252c8c
JM
6087 [BZ #14801]
6088 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6089 namespace for names of struct fields.
6090 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6091 fenv_t fields.
6092 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6093 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6094
d6d98dea
ST
60952012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6096
6097 [BZ #3665]
6098 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6099
e10bb107
TS
61002012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6101
6102 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6103 PTR_DEMANGLE.
6104
6105 [BZ #5246]
6106 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6107 PTR_DEMANGLE.
6108
a0c2940d
JM
61092012-11-04 Joseph Myers <joseph@codesourcery.com>
6110
6111 [BZ #14797]
6112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6113 definitely overflow as x * y not x * y + z.
6114 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6115 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6116 * math/libm-test.inc (fma_test): Add more tests.
6117 (fma_test_towardzero): Likewise.
6118 (fma_test_downward): Likewise.
6119 (fma_test_upward): Likewise.
6120
b830319d
TS
61212012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6122
6123 [BZ #157]
6124
6125 * include/stub-tag.h: Remove file.
6126 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6127 '#include' of it.
6128 * manual/maint.texi (Porting): Don't reference it.
6129 * Makerules ($(objpfx)stubs): Likewise.
6130 * dirent/closedir.c: Don't include <stub-tag.h>.
6131 * dirent/dirfd.c: Likewise.
6132 * dirent/fdopendir.c: Likewise.
6133 * dirent/getdents.c: Likewise.
6134 * dirent/getdents64.c: Likewise.
6135 * dirent/opendir.c: Likewise.
6136 * dirent/readdir.c: Likewise.
6137 * dirent/readdir64.c: Likewise.
6138 * dirent/readdir64_r.c: Likewise.
6139 * dirent/readdir_r.c: Likewise.
6140 * dirent/rewinddir.c: Likewise.
6141 * dirent/seekdir.c: Likewise.
6142 * dirent/telldir.c: Likewise.
6143 * gmon/profil.c: Likewise.
6144 * grp/setgroups.c: Likewise.
6145 * inet/if_index.c: Likewise.
6146 * io/access.c: Likewise.
6147 * io/chdir.c: Likewise.
6148 * io/chmod.c: Likewise.
6149 * io/chown.c: Likewise.
6150 * io/close.c: Likewise.
6151 * io/dup.c: Likewise.
6152 * io/dup2.c: Likewise.
6153 * io/dup3.c: Likewise.
6154 * io/euidaccess.c: Likewise.
6155 * io/faccessat.c: Likewise.
6156 * io/fchdir.c: Likewise.
6157 * io/fchmod.c: Likewise.
6158 * io/fchmodat.c: Likewise.
6159 * io/fchown.c: Likewise.
6160 * io/fchownat.c: Likewise.
6161 * io/fcntl.c: Likewise.
6162 * io/flock.c: Likewise.
6163 * io/fstatfs.c: Likewise.
6164 * io/fstatfs64.c: Likewise.
6165 * io/fstatvfs.c: Likewise.
6166 * io/fstatvfs64.c: Likewise.
6167 * io/futimens.c: Likewise.
6168 * io/fxstat.c: Likewise.
6169 * io/fxstat64.c: Likewise.
6170 * io/fxstatat.c: Likewise.
6171 * io/fxstatat64.c: Likewise.
6172 * io/getcwd.c: Likewise.
6173 * io/isatty.c: Likewise.
6174 * io/lchmod.c: Likewise.
6175 * io/lchown.c: Likewise.
6176 * io/link.c: Likewise.
6177 * io/linkat.c: Likewise.
6178 * io/lseek.c: Likewise.
6179 * io/lseek64.c: Likewise.
6180 * io/lxstat64.c: Likewise.
6181 * io/mkdir.c: Likewise.
6182 * io/mkdirat.c: Likewise.
6183 * io/mkfifo.c: Likewise.
6184 * io/mkfifoat.c: Likewise.
6185 * io/open.c: Likewise.
6186 * io/open64.c: Likewise.
6187 * io/openat.c: Likewise.
6188 * io/openat64.c: Likewise.
6189 * io/pipe.c: Likewise.
6190 * io/pipe2.c: Likewise.
6191 * io/poll.c: Likewise.
6192 * io/posix_fadvise.c: Likewise.
6193 * io/posix_fadvise64.c: Likewise.
6194 * io/posix_fallocate.c: Likewise.
6195 * io/posix_fallocate64.c: Likewise.
6196 * io/read.c: Likewise.
6197 * io/readlink.c: Likewise.
6198 * io/readlinkat.c: Likewise.
6199 * io/rmdir.c: Likewise.
6200 * io/sendfile.c: Likewise.
6201 * io/sendfile64.c: Likewise.
6202 * io/statfs.c: Likewise.
6203 * io/statfs64.c: Likewise.
6204 * io/statvfs.c: Likewise.
6205 * io/statvfs64.c: Likewise.
6206 * io/symlink.c: Likewise.
6207 * io/symlinkat.c: Likewise.
6208 * io/ttyname.c: Likewise.
6209 * io/ttyname_r.c: Likewise.
6210 * io/umask.c: Likewise.
6211 * io/unlink.c: Likewise.
6212 * io/unlinkat.c: Likewise.
6213 * io/utime.c: Likewise.
6214 * io/utimensat.c: Likewise.
6215 * io/write.c: Likewise.
6216 * io/xmknod.c: Likewise.
6217 * io/xmknodat.c: Likewise.
6218 * io/xstat.c: Likewise.
6219 * io/xstat64.c: Likewise.
6220 * login/getpt.c: Likewise.
6221 * login/grantpt.c: Likewise.
6222 * login/unlockpt.c: Likewise.
6223 * math/e_acoshl.c: Likewise.
6224 * math/e_acosl.c: Likewise.
6225 * math/e_asinl.c: Likewise.
6226 * math/e_atan2l.c: Likewise.
6227 * math/e_atanhl.c: Likewise.
6228 * math/e_coshl.c: Likewise.
6229 * math/e_expl.c: Likewise.
6230 * math/e_fmodl.c: Likewise.
6231 * math/e_gammal_r.c: Likewise.
6232 * math/e_hypotl.c: Likewise.
6233 * math/e_j0l.c: Likewise.
6234 * math/e_j1l.c: Likewise.
6235 * math/e_jnl.c: Likewise.
6236 * math/e_lgammal_r.c: Likewise.
6237 * math/e_log10l.c: Likewise.
6238 * math/e_log2l.c: Likewise.
6239 * math/e_logl.c: Likewise.
6240 * math/e_powl.c: Likewise.
6241 * math/e_rem_pio2l.c: Likewise.
6242 * math/e_sinhl.c: Likewise.
6243 * math/e_sqrtl.c: Likewise.
6244 * math/fclrexcpt.c: Likewise.
6245 * math/fedisblxcpt.c: Likewise.
6246 * math/feenablxcpt.c: Likewise.
6247 * math/fegetenv.c: Likewise.
6248 * math/fegetexcept.c: Likewise.
6249 * math/fegetround.c: Likewise.
6250 * math/feholdexcpt.c: Likewise.
6251 * math/fesetenv.c: Likewise.
6252 * math/fesetround.c: Likewise.
6253 * math/feupdateenv.c: Likewise.
6254 * math/fgetexcptflg.c: Likewise.
6255 * math/fraiseexcpt.c: Likewise.
6256 * math/fsetexcptflg.c: Likewise.
6257 * math/ftestexcept.c: Likewise.
6258 * math/k_cosl.c: Likewise.
6259 * math/k_rem_pio2l.c: Likewise.
6260 * math/k_sinl.c: Likewise.
6261 * math/k_tanl.c: Likewise.
6262 * math/s_asinhl.c: Likewise.
6263 * math/s_atanl.c: Likewise.
6264 * math/s_cbrtl.c: Likewise.
6265 * math/s_erfl.c: Likewise.
6266 * math/s_expm1l.c: Likewise.
6267 * math/s_log1pl.c: Likewise.
6268 * math/s_tanhl.c: Likewise.
6269 * misc/acct.c: Likewise.
6270 * misc/brk.c: Likewise.
6271 * misc/chflags.c: Likewise.
6272 * misc/chroot.c: Likewise.
6273 * misc/fchflags.c: Likewise.
6274 * misc/fgetxattr.c: Likewise.
6275 * misc/flistxattr.c: Likewise.
6276 * misc/fremovexattr.c: Likewise.
6277 * misc/fsetxattr.c: Likewise.
6278 * misc/fsync.c: Likewise.
6279 * misc/ftruncate.c: Likewise.
6280 * misc/futimes.c: Likewise.
6281 * misc/futimesat.c: Likewise.
6282 * misc/getdomain.c: Likewise.
6283 * misc/getdtsz.c: Likewise.
6284 * misc/gethostid.c: Likewise.
6285 * misc/gethostname.c: Likewise.
6286 * misc/getloadavg.c: Likewise.
6287 * misc/getpagesize.c: Likewise.
6288 * misc/getsysstats.c: Likewise.
6289 * misc/getxattr.c: Likewise.
6290 * misc/gtty.c: Likewise.
6291 * misc/ioctl.c: Likewise.
6292 * misc/lgetxattr.c: Likewise.
6293 * misc/listxattr.c: Likewise.
6294 * misc/llistxattr.c: Likewise.
6295 * misc/lremovexattr.c: Likewise.
6296 * misc/lsetxattr.c: Likewise.
6297 * misc/lutimes.c: Likewise.
6298 * misc/madvise.c: Likewise.
6299 * misc/mincore.c: Likewise.
6300 * misc/mlock.c: Likewise.
6301 * misc/mlockall.c: Likewise.
6302 * misc/mmap.c: Likewise.
6303 * misc/mprotect.c: Likewise.
6304 * misc/msync.c: Likewise.
6305 * misc/munlock.c: Likewise.
6306 * misc/munlockall.c: Likewise.
6307 * misc/munmap.c: Likewise.
6308 * misc/preadv.c: Likewise.
6309 * misc/preadv64.c: Likewise.
6310 * misc/ptrace.c: Likewise.
6311 * misc/pwritev.c: Likewise.
6312 * misc/pwritev64.c: Likewise.
6313 * misc/readv.c: Likewise.
6314 * misc/reboot.c: Likewise.
6315 * misc/remap_file_pages.c: Likewise.
6316 * misc/removexattr.c: Likewise.
6317 * misc/revoke.c: Likewise.
6318 * misc/select.c: Likewise.
6319 * misc/setdomain.c: Likewise.
6320 * misc/setegid.c: Likewise.
6321 * misc/seteuid.c: Likewise.
6322 * misc/sethostid.c: Likewise.
6323 * misc/sethostname.c: Likewise.
6324 * misc/setregid.c: Likewise.
6325 * misc/setreuid.c: Likewise.
6326 * misc/setxattr.c: Likewise.
6327 * misc/sstk.c: Likewise.
6328 * misc/stty.c: Likewise.
6329 * misc/swapoff.c: Likewise.
6330 * misc/swapon.c: Likewise.
6331 * misc/sync.c: Likewise.
6332 * misc/syncfs.c: Likewise.
6333 * misc/syscall.c: Likewise.
6334 * misc/truncate.c: Likewise.
6335 * misc/ualarm.c: Likewise.
6336 * misc/usleep.c: Likewise.
6337 * misc/ustat.c: Likewise.
6338 * misc/utimes.c: Likewise.
6339 * misc/vhangup.c: Likewise.
6340 * misc/writev.c: Likewise.
6341 * posix/_exit.c: Likewise.
6342 * posix/alarm.c: Likewise.
6343 * posix/execve.c: Likewise.
6344 * posix/fexecve.c: Likewise.
6345 * posix/fork.c: Likewise.
6346 * posix/fpathconf.c: Likewise.
6347 * posix/getaddrinfo.c: Likewise.
6348 * posix/getegid.c: Likewise.
6349 * posix/geteuid.c: Likewise.
6350 * posix/getgid.c: Likewise.
6351 * posix/getgroups.c: Likewise.
6352 * posix/getlogin.c: Likewise.
6353 * posix/getlogin_r.c: Likewise.
6354 * posix/getpgid.c: Likewise.
6355 * posix/getpid.c: Likewise.
6356 * posix/getppid.c: Likewise.
6357 * posix/getresgid.c: Likewise.
6358 * posix/getresuid.c: Likewise.
6359 * posix/getsid.c: Likewise.
6360 * posix/getuid.c: Likewise.
6361 * posix/glob64.c: Likewise.
6362 * posix/nanosleep.c: Likewise.
6363 * posix/pathconf.c: Likewise.
6364 * posix/pause.c: Likewise.
6365 * posix/posix_madvise.c: Likewise.
6366 * posix/pread.c: Likewise.
6367 * posix/pread64.c: Likewise.
6368 * posix/pwrite.c: Likewise.
6369 * posix/pwrite64.c: Likewise.
6370 * posix/sched_getaffinity.c: Likewise.
6371 * posix/sched_getp.c: Likewise.
6372 * posix/sched_gets.c: Likewise.
6373 * posix/sched_primax.c: Likewise.
6374 * posix/sched_primin.c: Likewise.
6375 * posix/sched_rr_gi.c: Likewise.
6376 * posix/sched_setaffinity.c: Likewise.
6377 * posix/sched_setp.c: Likewise.
6378 * posix/sched_sets.c: Likewise.
6379 * posix/sched_yield.c: Likewise.
6380 * posix/setgid.c: Likewise.
6381 * posix/setlogin.c: Likewise.
6382 * posix/setpgid.c: Likewise.
6383 * posix/setresgid.c: Likewise.
6384 * posix/setresuid.c: Likewise.
6385 * posix/setsid.c: Likewise.
6386 * posix/setuid.c: Likewise.
6387 * posix/sleep.c: Likewise.
6388 * posix/spawni.c: Likewise.
6389 * posix/sysconf.c: Likewise.
6390 * posix/times.c: Likewise.
6391 * posix/wait.c: Likewise.
6392 * posix/wait3.c: Likewise.
6393 * posix/wait4.c: Likewise.
6394 * posix/waitpid.c: Likewise.
6395 * resolv/gai_sigqueue.c: Likewise.
6396 * resource/getpriority.c: Likewise.
6397 * resource/getrlimit.c: Likewise.
6398 * resource/getrusage.c: Likewise.
6399 * resource/nice.c: Likewise.
6400 * resource/setpriority.c: Likewise.
6401 * resource/setrlimit.c: Likewise.
6402 * resource/ulimit.c: Likewise.
6403 * rt/aio_cancel.c: Likewise.
6404 * rt/aio_fsync.c: Likewise.
6405 * rt/aio_read.c: Likewise.
6406 * rt/aio_sigqueue.c: Likewise.
6407 * rt/aio_suspend.c: Likewise.
6408 * rt/aio_write.c: Likewise.
6409 * rt/clock_getres.c: Likewise.
6410 * rt/clock_gettime.c: Likewise.
6411 * rt/clock_nanosleep.c: Likewise.
6412 * rt/clock_settime.c: Likewise.
6413 * rt/lio_listio.c: Likewise.
6414 * rt/mq_close.c: Likewise.
6415 * rt/mq_getattr.c: Likewise.
6416 * rt/mq_notify.c: Likewise.
6417 * rt/mq_open.c: Likewise.
6418 * rt/mq_receive.c: Likewise.
6419 * rt/mq_send.c: Likewise.
6420 * rt/mq_setattr.c: Likewise.
6421 * rt/mq_timedreceive.c: Likewise.
6422 * rt/mq_timedsend.c: Likewise.
6423 * rt/mq_unlink.c: Likewise.
6424 * rt/shm_open.c: Likewise.
6425 * rt/shm_unlink.c: Likewise.
6426 * rt/timer_create.c: Likewise.
6427 * rt/timer_delete.c: Likewise.
6428 * rt/timer_getoverr.c: Likewise.
6429 * rt/timer_gettime.c: Likewise.
6430 * rt/timer_settime.c: Likewise.
6431 * setjmp/__longjmp.c: Likewise.
6432 * setjmp/setjmp.c: Likewise.
6433 * signal/kill.c: Likewise.
6434 * signal/killpg.c: Likewise.
6435 * signal/raise.c: Likewise.
6436 * signal/sigaction.c: Likewise.
6437 * signal/sigaltstack.c: Likewise.
6438 * signal/sigblock.c: Likewise.
6439 * signal/sigignore.c: Likewise.
6440 * signal/sigintr.c: Likewise.
6441 * signal/signal.c: Likewise.
6442 * signal/sigpause.c: Likewise.
6443 * signal/sigpending.c: Likewise.
6444 * signal/sigqueue.c: Likewise.
6445 * signal/sigreturn.c: Likewise.
6446 * signal/sigset.c: Likewise.
6447 * signal/sigsetmask.c: Likewise.
6448 * signal/sigstack.c: Likewise.
6449 * signal/sigsuspend.c: Likewise.
6450 * signal/sigtimedwait.c: Likewise.
6451 * signal/sigvec.c: Likewise.
6452 * signal/sigwait.c: Likewise.
6453 * signal/sigwaitinfo.c: Likewise.
6454 * signal/sysv_signal.c: Likewise.
6455 * socket/accept.c: Likewise.
6456 * socket/accept4.c: Likewise.
6457 * socket/bind.c: Likewise.
6458 * socket/connect.c: Likewise.
6459 * socket/getpeername.c: Likewise.
6460 * socket/getsockname.c: Likewise.
6461 * socket/getsockopt.c: Likewise.
6462 * socket/isfdtype.c: Likewise.
6463 * socket/listen.c: Likewise.
6464 * socket/recv.c: Likewise.
6465 * socket/recvfrom.c: Likewise.
6466 * socket/recvmsg.c: Likewise.
6467 * socket/send.c: Likewise.
6468 * socket/sendmsg.c: Likewise.
6469 * socket/sendto.c: Likewise.
6470 * socket/setsockopt.c: Likewise.
6471 * socket/shutdown.c: Likewise.
6472 * socket/sockatmark.c: Likewise.
6473 * socket/socket.c: Likewise.
6474 * socket/socketpair.c: Likewise.
6475 * stdio-common/ctermid.c: Likewise.
6476 * stdio-common/cuserid.c: Likewise.
6477 * stdio-common/remove.c: Likewise.
6478 * stdio-common/rename.c: Likewise.
6479 * stdio-common/renameat.c: Likewise.
6480 * stdio-common/tempname.c: Likewise.
6481 * stdlib/getcontext.c: Likewise.
6482 * stdlib/makecontext.c: Likewise.
6483 * stdlib/setcontext.c: Likewise.
6484 * stdlib/swapcontext.c: Likewise.
6485 * stdlib/system.c: Likewise.
6486 * streams/fattach.c: Likewise.
6487 * streams/fdetach.c: Likewise.
6488 * streams/getmsg.c: Likewise.
6489 * streams/getpmsg.c: Likewise.
6490 * streams/putmsg.c: Likewise.
6491 * streams/putpmsg.c: Likewise.
6492 * sysdeps/unix/bsd/getpt.c: Likewise.
6493 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6494 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6495 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6497 Likewise.
6498 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6499 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6500 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6501 * sysvipc/msgctl.c: Likewise.
6502 * sysvipc/msgget.c: Likewise.
6503 * sysvipc/msgrcv.c: Likewise.
6504 * sysvipc/msgsnd.c: Likewise.
6505 * sysvipc/semctl.c: Likewise.
6506 * sysvipc/semget.c: Likewise.
6507 * sysvipc/semop.c: Likewise.
6508 * sysvipc/semtimedop.c: Likewise.
6509 * sysvipc/shmat.c: Likewise.
6510 * sysvipc/shmctl.c: Likewise.
6511 * sysvipc/shmdt.c: Likewise.
6512 * sysvipc/shmget.c: Likewise.
6513 * termios/tcdrain.c: Likewise.
6514 * termios/tcflow.c: Likewise.
6515 * termios/tcflush.c: Likewise.
6516 * termios/tcgetattr.c: Likewise.
6517 * termios/tcgetpgrp.c: Likewise.
6518 * termios/tcsendbrk.c: Likewise.
6519 * termios/tcsetattr.c: Likewise.
6520 * termios/tcsetpgrp.c: Likewise.
6521 * time/adjtime.c: Likewise.
6522 * time/clock.c: Likewise.
6523 * time/getitimer.c: Likewise.
6524 * time/gettimeofday.c: Likewise.
6525 * time/setitimer.c: Likewise.
6526 * time/settimeofday.c: Likewise.
6527 * time/stime.c: Likewise.
6528 * time/time.c: Likewise.
6529
65302012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6531
a20492cf
PT
6532 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6533 /usr/old/bin.
6534
72e182e3
PT
6535 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6536 instead of spaces.
6537 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6538
fbeafede
JM
65392012-11-03 Joseph Myers <joseph@codesourcery.com>
6540
5b5b04d6
JM
6541 [BZ #14796]
6542 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6543 FE_TONEAREST before applying Dekker multiplication and Knuth
6544 addition. Clear inexact exceptions and check for exact zero
6545 results afterwards.
6546 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6547 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6548 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6549 * math/libm-test.inc (fma_test): Add more tests.
6550 (fma_test_towardzero): Likewise.
6551 (fma_test_downward): Likewise.
6552 (fma_test_upward): Likewise.
6553 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6554 function.
6555 (libc_fesetround): New macro.
6556 (libc_fesetroundf): Likewise.
6557 (libc_fesetroundl): Likewise.
6558 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6559 function.
6560 (libc_fesetround_387): Likewise.
6561 (libc_fesetroundf): New macro.
6562 (libc_fesetround): Likewise.
6563 (libc_fesetroundl): Likewise.
6564 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6565 function.
6566 (libc_fesetroundf): New macro.
6567 (libc_fesetround): Likewise.
6568 (libc_fesetroundl): Likewise.
6569 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6570 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6571 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6572 libm_hidden_ver.
6573 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6574 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6575 libm_hidden_def.
6576 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6577 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6578 libm_hidden_ver.
6579 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6580 libm_hidden_def.
6581
fbeafede
JM
6582 [BZ #3439]
6583 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6584 integer constant usable in #if and use that to give value to enum
6585 constant.
6586 (FE_DIVBYZERO): Likewise.
6587 (FE_UNDERFLOW): Likewise.
6588 (FE_OVERFLOW): Likewise.
6589 (FE_INVALID): Likewise.
6590 (FE_INVALID_SNAN): Likewise.
6591 (FE_INVALID_ISI): Likewise.
6592 (FE_INVALID_IDI): Likewise.
6593 (FE_INVALID_ZDZ): Likewise.
6594 (FE_INVALID_IMZ): Likewise.
6595 (FE_INVALID_COMPARE): Likewise.
6596 (FE_INVALID_SOFTWARE): Likewise.
6597 (FE_INVALID_SQRT): Likewise.
6598 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6599 (FE_TONEAREST): Likewise.
6600 (FE_TOWARDZERO): Likewise.
6601 (FE_UPWARD): Likewise.
6602 (FE_DOWNWARD): Likewise.
6603 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6604 (FE_DIVBYZERO): Likewise.
6605 (FE_OVERFLOW): Likewise.
6606 (FE_UNDERFLOW): Likewise.
6607 (FE_INEXACT): Likewise.
6608 (FE_TONEAREST): Likewise.
6609 (FE_DOWNWARD): Likewise.
6610 (FE_UPWARD): Likewise.
6611 (FE_TOWARDZERO): Likewise.
6612 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6613 (FE_UNDERFLOW): Likewise.
6614 (FE_OVERFLOW): Likewise.
6615 (FE_DIVBYZERO): Likewise.
6616 (FE_INVALID): Likewise.
6617 (FE_TONEAREST): Likewise.
6618 (FE_TOWARDZERO): Likewise.
6619 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6620 (FE_OVERFLOW): Likewise.
6621 (FE_UNDERFLOW): Likewise.
6622 (FE_DIVBYZERO): Likewise.
6623 (FE_INEXACT): Likewise.
6624 (FE_TONEAREST): Likewise.
6625 (FE_TOWARDZERO): Likewise.
6626 (FE_UPWARD): Likewise.
6627 (FE_DOWNWARD): Likewise.
6628 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6629 (FE_DIVBYZERO): Likewise.
6630 (FE_OVERFLOW): Likewise.
6631 (FE_UNDERFLOW): Likewise.
6632 (FE_INEXACT): Likewise.
6633 (FE_TONEAREST): Likewise.
6634 (FE_DOWNWARD): Likewise.
6635 (FE_UPWARD): Likewise.
6636 (FE_TOWARDZERO): Likewise.
6637
105ca950
CM
66382012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6639
6640 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6641
a542b389
AS
66422012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6643
6644 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6645 commands. Quote $PWD.
6646 (blacklist_exports): Don't use remove_newlines. Replace "declare
6647 -x" by "export".
6648 (remove_newlines): Remove.
6649
f62c8abc
L
66502012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6651
6652 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6653 * stdlib/stdlib.h (atof): Moved to ...
6654 * include/bits/stdlib-float.h: Here. New file.
6655 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6656 * stdlib/bits/stdlib-float.h: New file.
6657 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6658 -mno-sse -mno-mmx.
6659 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6660 <xmmintrin.h>.
6661
0155d5b2
JM
66622012-11-02 Joseph Myers <joseph@codesourcery.com>
6663
a68d0680
JM
6664 * conform/conformtest.pl (@headers): Add fenv.h.
6665 * conform/data/fenv.h-data: New file.
6666 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6667 include of <math/fenv.h>.
6668
caf7f573
JM
6669 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6670 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6671 && !UNIX98]. Enables tests for XOPEN2K8.
6672 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6673 POSIX2008]: Likewise.
6674
6c073ad6
JM
6675 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6676 (struct rusage): Do not expect type or its members.
6677
0155d5b2
JM
6678 [BZ #3439]
6679 * math/math.h (FP_NAN): Define macro to integer constant usable in
6680 #if and use that to give value to enum constant.
6681 (FP_INFINITE): Likewise.
6682 (FP_ZERO): Likewise.
6683 (FP_SUBNORMAL): Likewise.
6684 (FP_NORMAL): Likewise.
6685
b5dcacb4
AS
66862012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6687
6688 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6689 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6690 arguments.
6691
f7934be8
RM
66922012-11-02 Roland McGrath <roland@hack.frob.com>
6693
6694 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6695 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6696 autoconf-time if not.
6697 * configure.in: Remove AC_PREREQ.
6698
d7d08bde
TMQMF
66992012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6700
6701 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6702 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6703 of the internal implementation.
6704
dcdae19a
JM
67052012-11-02 Joseph Myers <joseph@codesourcery.com>
6706
6707 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6708 except include of <misc/sys/syslog.h>.
6709
d6cffd3e
AS
67102012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6711
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6713 function returns with a NULL context exit with zero.
6714
b3563932
TMQMF
67152012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6716
6717 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6718
b288a93d
L
67192012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6720
6721 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6722 (run_program_cmd): This.
6723 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6724 (tst_langinfo): New variable. Use it.
6725
a2421a68
SAS
67262012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6727
6728 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6729 floating point opcodes.
6730
6f796e1b
TS
67312012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6732
7402596b
TS
6733 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6734 variable.
6735
d0d4f868
TS
6736 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6737
6f796e1b
TS
6738 * sysdeps/mach/hurd/powerpc: Remove directory.
6739 * sysdeps/mach/powerpc: Likewise.
6740
4da224a2
AS
67412012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6742
6743 * scripts/check-local-headers.sh: Ignore c++ headers.
6744
341dd673
TS
67452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6746
6747 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6748 __libc_cleanup_region_start argument.
6749
473611b2
JM
67502012-11-01 Joseph Myers <joseph@codesourcery.com>
6751
6752 [BZ #14784]
6753 [BZ #14785]
6754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6755 x * y using scaling, not as x * y + z.
6756 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6757 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6758 * math/libm-test.inc (fma_test): Add more tests.
6759 (fma_test_towardzero): Likewise.
6760 (fma_test_downward): Likewise.
6761 (fma_test_upward): Likewise.
6762
4078da3d
TS
67632012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6764
6765 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6766
903252aa
JM
67672012-10-31 Joseph Myers <joseph@codesourcery.com>
6768
6769 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6770 New variable.
6771
cbc818d0
TS
67722012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6773
6774 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6775
5a03cb1e
AS
67762012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6777
6778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6779 Fix sort order.
6780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6781 Likewise.
6782
90aff2ff
TMQMF
67832012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6784
6785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6786 Fix the order of the list for glibc 2.17.
6787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6788 Likewise.
6789
1818fcb7
AS
67902012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6791
6792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6793
ef82f4da
JM
67942012-10-31 Joseph Myers <joseph@codesourcery.com>
6795
16a0e2ec
JM
6796 [BZ #14610]
6797 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6798 for low part of x being zero before using __atanl (y).
6799 * math/libm-test.inc (atan2_test): Add another test.
6800
0eb69512
JM
6801 * manual/install.texi (Configuring and compiling): Document
6802 general use of test-wrapper and test-wrapper-env.
6803 * INSTALL: Regenerated.
6804
ef82f4da
JM
6805 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6806 (__fma): Do not extract and scale down low bits on after-rounding
6807 systems when result rounded to normal precision would have normal
6808 exponent.
6809 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6810 (__fmal): Do not extract and scale down low bits on after-rounding
6811 systems when result rounded to normal precision would have normal
6812 exponent.
6813 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6814 (__fmal): Do not extract and scale down low bits on after-rounding
6815 systems when result rounded to normal precision would have normal
6816 exponent.
6817 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6818 macro.
6819 (fma_test): Add more tests.
6820 (fma_test_towardzero): Likewise.
6821 (fma_test_downward): Likewise.
6822 (fma_test_upward): Likewise.
6823
954ef0d9
L
68242012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6825
6826 * sysdeps/i386/tininess.h: Renamed to ...
6827 * sysdeps/x86/tininess.h: This.
6828 * sysdeps/x86_64/tininess.h: Removed.
6829
df61ffb2
JM
68302012-10-30 Joseph Myers <joseph@codesourcery.com>
6831
6832 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6833 input. Use $(build-program-cmd).
6834 ($(objpfx)tst-array1-static.out): Likewise.
6835 ($(objpfx)tst-array2.out): Likewise.
6836 ($(objpfx)tst-array3.out): Likewise.
6837 ($(objpfx)tst-array4.out): Likewise.
6838 ($(objpfx)tst-array5.out): Likewise.
6839 ($(objpfx)tst-array5-static.out): Likewise.
6840
01767843
CM
68412012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6842
47cc1490
CM
6843 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6844 if defined.
6845
01767843
CM
6846 * nss/nsswitch.h (nss_interface_function): Provide new
6847 macro for use with NSS functions.
6848 * grp/initgroups.c: Use new macro.
6849 * nss/getXXbyYY.c: Likewise.
6850 * nss/getXXbyYY_r.c: Likewise.
6851 * nss/getXXent.c: Likewise.
6852 * nss/getXXent_r.c: Likewise.
6853 * sysdeps/posix/getaddrinfo.c: Likewise.
6854
8321aa97
AJ
68552012-10-30 Andreas Jaeger <aj@suse.de>
6856
6857 * po/ru.po: Update Russion translation from translation project.
6858
2a27fd6d
JM
68592012-10-30 Joseph Myers <joseph@codesourcery.com>
6860
8627a232
JM
6861 [BZ #14152]
6862 [BZ #14783]
6863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6864 result and shift together with sticky bit instead of replicating
6865 round-to-nearest rounding.
6866 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6867 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6868 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6869 missing underflow exceptions.
6870 (fma_test_towardzero): Add more tests.
6871 (fma_test_downward): Likewise.
6872 (fma_test_upward): Likewise.
6873
2a27fd6d
JM
6874 [BZ #14047]
6875 * sysdeps/generic/tininess.h: New file.
6876 * sysdeps/i386/tininess.h: Likewise.
6877 * sysdeps/sh/tininess.h: Likewise.
6878 * sysdeps/x86_64/tininess.h: Likewise.
6879 * stdlib/tst-strtod-underflow.c: Likewise.
6880 * stdlib/tst-tininess.c: Likewise.
6881 * stdlib/strtod_l.c: Include <tininess.h>.
6882 (round_and_return): Do not set errno for exact underflow cases.
6883 Force an underflow exception when setting errno for underflow.
6884 Determine underflow based on rounding to normal precision if
6885 TININESS_AFTER_ROUNDING.
6886 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6887 ERANGE for exact underflow cases.
6888 * stdlib/Makefile (tests): Add tst-tininess and
6889 tst-strtod-underflow.
6890 ($(objpfx)tst-tininess): Use $(link-libm).
6891 ($(objpfx)tst-strtod-underflow): Likewise.
6892
e7170363
AJ
68932012-10-30 Andreas Jaeger <aj@suse.de>
6894
e5088dc6
AJ
6895 [BZ#14767]
6896 * elf/Makefile (tests): Remove conditional for have-initfini-array
6897 since this is now always required and the variable does not exist
6898 anymore.
6899 (tests-static): Likewise.
6900 (modules-names): Likewise.
6901
e7170363 6902 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6903
6904 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6905 merged with constructor/destructor.
6906 (init_array): Likewise.
6907 * elf/tst-array2dep.c (fini_array): Likewise.
6908 (init_array): Likewise.
6909
60457d8a
MF
69102012-10-29 Mike Frysinger <vapier@gentoo.org>
6911
6912 * manual/message.texi: Delete @cartouche tags.
6913
8bece752
PT
69142012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6915
94ce799f
PT
6916 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6917 EOPNOTSUPP.
6918 * sysdeps/mach/hurd/fsync.c: Likewise.
6919
8bece752
PT
6920 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6921 [_POSIX_REALTIME_SIGNALS]: Change condition to
6922 [_POSIX_REALTIME_SIGNALS > 0].
6923
86ebe6b1
AJ
69242012-10-27 Andreas Jaeger <aj@suse.de>
6925
6926 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6927 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6928 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6929 [__WORDSIZE != 64]: Likewise.
6930
54399c08
L
69312012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6932
6933 * iconvdata/tst-table.sh: Remove ${SHELL}.
6934 * iconvdata/tst-tables.sh: Likewise.
6935
e2211bed
DM
69362012-10-25 David S. Miller <davem@davemloft.net>
6937
6938 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6939 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6940 of strtoull.
6941
f303f97c
DM
6942 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6943 ifunc-impl-list.c
6944 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6945 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6946 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6947 file.
6948
1e9d84cd
RM
69492012-10-25 Roland McGrath <roland@hack.frob.com>
6950
6951 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6952 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6953 __getdirentries.
6954
df381762
JM
69552012-10-25 Joseph Myers <joseph@codesourcery.com>
6956 Jim Blandy <jimb@codesourcery.com>
6957
6958 * scripts/cross-test-ssh.sh: New file.
6959 * manual/install.texi (Configuring and compiling): Document use of
6960 cross-test-ssh.sh.
6961 * INSTALL: Regenerated.
6962
bff64913
PT
69632012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6964
6965 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6966 EOPNOTSUPP.
6967
25fe8932
JM
69682012-10-25 Joseph Myers <joseph@codesourcery.com>
6969
6970 * Makeconfig (run-program-prefix): Fix comment.
6971
cc1290d0
JM
69722012-10-24 Joseph Myers <joseph@codesourcery.com>
6973 Jim Blandy <jimb@codesourcery.com>
6974
6975 * Makeconfig (test-wrapper): New variable,
6976 (test-wrapper-env): Likewise.
6977 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6978 (run-built-tests): Define to yes.
6979 (run-program-prefix): Use $(test-wrapper).
6980 (built-program-cmd): Likewise.
6981 * Rules (make-test-out): Use $(test-wrapper-env) and
6982 $(host-built-program-cmd).
6983 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6984 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6985 tst-pathopt.sh.
6986 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6987 $(test-wrapper-env) to tst-rtld-load-self.sh.
6988 ($(objpfx)order2.out): Use $(test-wrapper).
6989 ($(objpfx)tst-initorder.out): Likewise.
6990 ($(objpfx)tst-initorder2.out): Likewise.
6991 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6992 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6993 (test_wrapper_env): New variable. Use it to run ld.so.
6994 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6995 Use it to run ld.so.
6996 (test_wrapper_env): Likewise.
6997 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6998 $(test-wrapper) to run-iconv-test.sh.
6999 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7000 (ICONV): Use $test_wrapper.
7001 * posix/Makefile ($(objpfx)globtest.out): Pass
7002 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7003 globtest.sh, not $(run-program-prefix).
7004 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7005 (test_wrapper): Likewise.
7006 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7007 set together with run_via_rtld_prefix.
7008 (run_program_prefix): Define in terms of test_wrapper and
7009 run_via_rtld_prefix.
7010
6e6249d0
RM
70112012-10-24 Roland McGrath <roland@hack.frob.com>
7012
7013 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7014 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7015 Targets removed.
7016
7017 [BZ #14743]
7018 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7019 Declare __clock_getres, __clock_gettime, __clock_settime,
7020 __clock_nanosleep, and __clock_getcpuclockid.
7021 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7022 Remove librt_hidden_def (clock_gettime).
7023 * sysdeps/unix/clock_gettime.c: Likewise.
7024 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7025 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7026 * rt/clock_getres.c: Define __clock_getres as an alias.
7027 * sysdeps/posix/clock_getres.c: Likewise.
7028 * rt/clock_settime.c: Define __clock_settime as an alias.
7029 * sysdeps/unix/clock_settime.c: Likewise.
7030 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7031 * sysdeps/unix/clock_nanosleep.c: Likewise.
7032 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7033 * rt/clock-compat.c: New file.
7034 * rt/Makefile (librt-routines): Add clock-compat and move
7035 $(clock-routines) to ...
7036 (routines): ... here, new variable.
7037 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7038 Don't add get_clockfreq here.
7039 * rt/Versions (libc: GLIBC_2.17): New version set.
7040 Add clock_* symbols here.
7041 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7042 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7043 (GLIBC_2.17): Add clock_* symbols.
7044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7046 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7048 Likewise.
7049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7050 Likewise.
7051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7055 * NEWS: Mention the move.
7056
7057 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7058 Use __open, __read, __close rather than their public counterparts.
7059 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7060 (__get_clockfreq_via_cpuinfo): Likewise.
7061 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7062 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7063
7064 * config.h.in (HAVE_IFUNC): New #undef.
7065 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7066 was successful.
7067 * configure: Regenerated.
7068
0cae3f4b
MF
70692012-10-24 Mike Frysinger <vapier@gentoo.org>
7070
7071 * configure.in: Move READELF check to start of file.
7072 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7073 libc_cv_asm_gnu_indirect_function in the process.
7074 * configure: Regenerated.
7075
8175a253
MF
70762012-10-24 Mike Frysinger <vapier@gentoo.org>
7077
7078 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7079 send the output to /dev/null.
7080 (libc_cv_cc_with_libunwind): Likewise.
7081 (libc_cv_as_noexecstack): Likewise.
7082 * configure: Regenerate.
7083
0708a7d1
JM
70842012-10-24 Joseph Myers <joseph@codesourcery.com>
7085
10b40d85
JM
7086 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7087
0708a7d1
JM
7088 * posix/globtest.sh (TMPDIR): Do not set.
7089 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7090 (testout): Likewise.
7091
9fddec1a
AJ
70922012-10-24 Andreas Jaeger <aj@suse.de>
7093
3a8db22f
AJ
7094 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7095 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7096 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7097 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7098 posix_fadvise64, posix_fallocate64.
7099
9fddec1a
AJ
7100 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7101 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7102 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7103 Likewise.
7104 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7105 Likewise.
7106 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7107
7108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7109 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7110 <bits/fcntl-linux.h>.
7111 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7112
7113 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7114 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7115 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7116 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7117 [__WORDSIZE != 64]: Likewise.
7118
ebfd1bbd
JM
71192012-10-23 Joseph Myers <joseph@codesourcery.com>
7120
03ac099f
JM
7121 * Makeconfig (run-built-tests): New variable.
7122 * Rules [$(cross-compiling) = yes]: Change condition to
7123 [$(run-built-tests) = no].
7124 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7125 to [$(run-built-tests) = yes].
7126 * elf/Makefile [$(cross-compiling) = no]: Likewise
7127 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7128 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7129 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7130 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7131 * io/Makefile [$(cross-compiling) = no]: Likewise.
7132 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7133 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7134 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7135 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7136 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7137 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7138 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7139 * string/Makefile [$(cross-compiling) = no]: Likewise.
7140
ebfd1bbd
JM
7141 * posix/Makefile ($(objpfx)globtest.out): Pass
7142 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7143 $(rtld-installed-name).
7144 * posix/globtest.sh (elf_objpfx): Remove variable.
7145 (rtld_installed_name): Likewise.
7146 (library_path): Likewise.
7147 (run_program_prefix): New variable. Use for running globtest
7148 binary.
7149
166bca24
JB
71502012-10-23 Jim Blandy <jimb@codesourcery.com>
7151 Joseph Myers <joseph@codesourcery.com>
7152
7153 * Makeconfig (host-built-program-cmd): New variable.
7154 * elf/Makefile (tst-stackguard1-ARGS): Use
7155 $(host-built-program-cmd).
7156 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7157 (tst-spawn-ARGS): Likewise.
7158 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7159
88866099
JM
71602012-10-23 Joseph Myers <joseph@codesourcery.com>
7161 Jim Blandy <jimb@codesourcery.com>
7162
7163 * Makeconfig (run-via-rtld-prefix): New variable.
7164 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7165 (built-program-cmd): Likewise.
7166
b4b4c296
AJ
71672012-10-22 Andreas Jaeger <aj@suse.de>
7168
7169 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7170 __O_RSYNC if it exists, otherwise to O_SYNC.
7171
6fb54a22
JB
71722012-10-22 Jim Blandy <jimb@codesourcery.com>
7173 Joseph Myers <joseph@codesourcery.com>
7174
7175 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7176 /dev/null.
7177 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7178 from /dev/null
7179 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7180 /dev/null.
7181
481b90b9
AJ
71822012-10-22 Andreas Jaeger <aj@suse.de>
7183
2a0e2669
AJ
7184 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7185 Define always.
7186 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7187
76e38f9a
AJ
7188 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7189 bits/fcntl-linux.h.
7190
7cd37b43
AJ
7191 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7192 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7193
481b90b9
AJ
7194 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7195 to __O_LARGEFILE.
7196 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7197 to __O_LARGEFILE.
7198
aba75984
JB
71992012-10-21 Jim Blandy <jimb@codesourcery.com>
7200 Joseph Myers <joseph@codesourcery.com>
7201
7202 * config.make.in (NM): New variable.
7203
88d4247f
AJ
72042012-10-21 Andreas Jaeger <aj@suse.de>
7205
7206 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7207 definitions and declarations that are provided by
7208 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7209
f2eed205
L
72102012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7211
7212 [BZ #14683]
7213 * elf/Makefile (tests-static): Add tst-leaks1-static.
7214 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7215 ($(objpfx)tst-leaks1-static): New rule.
7216 ($(objpfx)tst-leaks1-static-mem): Likewise.
7217 (tst-leaks1-static-ENV): New macro.
7218 * elf/dl-open.c (dl_open_worker): Check the main application
7219 only if SHARED is defined.
7220 * elf/tst-leaks1-static.c: New file.
7221
335e6931
AJ
72222012-10-20 Andreas Jaeger <aj@suse.de>
7223
7224 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7225 generic values for Linux.
7226 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7227 and declarations that are provided by <bits/fcntl-linux.h> and
7228 include <bits/fcntl-linux.h>.
7229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7230 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7231
ac5c94d3
RM
72322012-10-20 Roland McGrath <roland@hack.frob.com>
7233
7234 * io/fcntl.h: Move include of <bits/types.h> to the top and
7235 include it unconditionally.
7236
de54b33a
L
72372012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7238
228cfb01
L
7239 * wcsmbs/Makefile (tests-ifunc): New variable.
7240 (tests): Add $(tests-ifunc).
7241 * wcsmbs/test-wcschr-ifunc.c: New file.
7242 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7243 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7244 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7245 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7246 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7247
69f07e5f
L
7248 * string/Makefile (tests-ifunc): New variable.
7249 (tests): Add $(tests-ifunc).
7250 * string/test-memccpy.c (TEST_NAME): New macro.
7251 * string/test-memchr.c (TEST_NAME): Likewise.
7252 * string/test-memcmp.c (TEST_NAME): Likewise.
7253 * string/test-memcpy.c (TEST_NAME): Likewise.
7254 * string/test-memmem.c (TEST_NAME): Likewise.
7255 * string/test-memmove.c (TEST_NAME): Likewise.
7256 * string/test-memset.c (TEST_NAME): Likewise.
7257 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7258 * string/test-stpcpy.c (TEST_NAME): Likewise.
7259 * string/test-stpncpy.c (TEST_NAME): Likewise.
7260 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7261 * string/test-strcasestr.c (TEST_NAME): Likewise.
7262 * string/test-strcat.c (TEST_NAME): Likewise.
7263 * string/test-strchr.c (TEST_NAME): Likewise.
7264 * string/test-strcmp.c(TEST_NAME): Likewise.
7265 * string/test-strcpy.c (TEST_NAME): Likewise.
7266 * string/test-strcspn.c (TEST_NAME): Likewise.
7267 * string/test-strlen.c (TEST_NAME): Likewise.
7268 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7269 * string/test-strncmp.c (TEST_NAME): Likewise.
7270 * string/test-strncpy.c (TEST_NAME): Likewise.
7271 * string/test-strnlen.c (TEST_NAME): Likewise.
7272 * string/test-strpbrk.c (TEST_NAME): Likewise.
7273 * string/test-strrchr.c (TEST_NAME): Likewise.
7274 * string/test-strspn.c (TEST_NAME): Likewise.
7275 * string/test-strstr.c (TEST_NAME): Likewise.
7276 * string/test-bcopy-ifunc.c: New file.
7277 * string/test-bzero-ifunc.c: Likewise.
7278 * string/test-memccpy-ifunc.c: Likewise.
7279 * string/test-memchr-ifunc.c: Likewise.
7280 * string/test-memcmp-ifunc.c: Likewise.
7281 * string/test-memcpy-ifunc.c: Likewise.
7282 * string/test-memmem-ifunc.c: Likewise.
7283 * string/test-memmove-ifunc.c: Likewise.
7284 * string/test-mempcpy-ifunc.c: Likewise.
7285 * string/test-memset-ifunc.c: Likewise.
7286 * string/test-rawmemchr-ifunc.c: Likewise.
7287 * string/test-stpcpy-ifunc.c: Likewise.
7288 * string/test-stpncpy-ifunc.c: Likewise.
7289 * string/test-strcasecmp-ifunc.c: Likewise.
7290 * string/test-strcasestr-ifunc.c: Likewise.
7291 * string/test-strcat-ifunc.c: Likewise.
7292 * string/test-strchr-ifunc.c: Likewise.
7293 * string/test-strchrnul-ifunc.c: Likewise.
7294 * string/test-strcmp-ifunc.c: Likewise.
7295 * string/test-strcpy-ifunc.c: Likewise.
7296 * string/test-strcspn-ifunc.c: Likewise.
7297 * string/test-strlen-ifunc.c: Likewise.
7298 * string/test-strncasecmp-ifunc.c: Likewise.
7299 * string/test-strncat-ifunc.c: Likewise.
7300 * string/test-strncmp-ifunc.c: Likewise.
7301 * string/test-strncpy-ifunc.c: Likewise.
7302 * string/test-strnlen-ifunc.c: Likewise.
7303 * string/test-strpbrk-ifunc.c: Likewise.
7304 * string/test-strrchr-ifunc.c: Likewise.
7305 * string/test-strspn-ifunc.c: Likewise.
7306 * string/test-strstr-ifunc.c: Likewise.
7307
de54b33a
L
7308 * debug/Makefile (tests-ifunc): New variable.
7309 (tests): Add $(tests-ifunc).
7310 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7311 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7312 * debug/test-stpcpy_chk-ifunc.c: New file.
7313 * debug/test-strcpy_chk-ifunc.c: Likewise.
7314
88481c16
SP
73152012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7316
7317 [BZ #13601]
7318 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7319 header is not read in.
7320
135948bd
JM
73212012-10-19 Joseph Myers <joseph@codesourcery.com>
7322
89f1c388
JM
7323 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7324 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7325 directly. Pass built executable to script as
7326 $(built-program-cmd).
7327 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7328 $testprogram without using LD_LIBRARY_PATH and $ldso.
7329
e40a0d21
JM
7330 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7331 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7332 $(rtld-installed-name).
7333 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7334 (rtld_installed_name): Likewise.
7335 (library_path): Likewise.
7336 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7337 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7338 $(run-program-prefix) to tst-tables.sh.
7339 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7340 it to run tst-table-from and tst-table-to.
7341 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7342 Pass it to tst-table.sh.
7343 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7344 $(run-program-prefix) to tst-gettext.sh.
7345 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7346 tst-translit.sh.
7347 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7348 tst-gettext2.sh.
7349 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7350 to run tst-gettext.
7351 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7352 to run tst-gettext2.
7353 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7354 to run tst-translit.
7355 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7356 $(run-program-prefix) to tst-mtrace.sh.
7357 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7358 to run tst-mtrace.
7359 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7360 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7361 $(rtld-installed-name).
7362 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7363 (rtld_installed_name): Likewise.
7364 (run_program_prefix): New variable. Use it to run wordexp-test.
7365
728e272a
JM
7366 * Makeconfig (ARCH): Remove all definitions.
7367 (machine): Likewise.
7368 [ARCH]: Remove conditional code.
7369 [!objdir]: Give error.
7370 [!objdir] (objpfx): Remove.
7371 [!objdir] (common-objpfx): Likewise.
7372 [!objdir] (common-objdir): Likewise.
7373 * configure.in (config_makefile): Remove. Hardcode Makefile in
7374 AC_CONFIG_FILES call.
7375 * configure: Regenerated.
7376
d528cdcf
JM
7377 [BZ #13888]
7378 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7379 or TMPDIR.
7380 (testout): Likewise.
7381
135948bd
JM
7382 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7383 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7384 $(rtld-installed-name).
7385 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7386 (rtld_installed_name): Likwise.
7387 (runit): Remove function.
7388 (run_getconf): New variable, Use it for running getconf binary.
7389
38c78296
L
73902012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7391
7392 [BZ #14716]
7393 * string/test-memmem.c (check_result): New function.
7394 (do_one_test): Use it.
7395 (check1): New function.
7396 (test_main): Use it.
7397
d077f65f
MT
73982012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7399
7400 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7401
ced52c71
JM
74022012-10-18 Joseph Myers <joseph@codesourcery.com>
7403
7404 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7405 (_G_LSEEK64): Likewise.
7406 (_G_MMAP64): Likewise.
7407 (_G_FSTAT64): Likewise.
7408 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7409 (_G_LSEEK64): Likewise.
7410 (_G_MMAP64): Likewise.
7411 (_G_FSTAT64): Likewise.
7412 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7413 unconditional. Call __mmap64 directly.
7414 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7415 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7416 __lseek64 directly.
7417 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7418 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7419 __mmap64 directly.
7420 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7421 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7422 __lseek64 directly.
7423 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7424 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7425 __lseek64 directly.
7426 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7427 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7428 __lseek64 directly.
7429 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7430 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7431 __fxstat64 directly.
7432 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7433 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7434 unconditional.
7435 (freopen64) [!_G_OPEN64]: Remove conditional code.
7436 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7437 unconditional.
7438 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7439 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7440 unconditional.
7441 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7442 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7443 unconditional.
7444 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7445 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7446 unconditional.
7447 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7448 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7449 unconditional.
7450 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7451 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7452 unconditional.
7453 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7454 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7455 unconditional.
7456 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7457
b741de23
SP
74582012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7459
7460 [BZ #12140]
7461 * manual/memory.texi (Malloc Tunable Parameters): Add note
7462 about free list pointers overwriting some perturb bytes.
7463 Wording suggested by Roland McGrath.
7464
f9b9d9c9
JM
74652012-10-17 Joseph Myers <joseph@codesourcery.com>
7466
7467 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7468 (lgamma_test): Likewise.
7469 (tgamma_test): Likewise.
7470
172a631a
FW
74712012-10-16 Florian Weimer <fweimer@redhat.com>
7472
7473 [BZ #14700]
7474 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7475 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7476
e9f37252
MK
74772012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7478
7479 * NEWS: Mention BZ #14716.
7480 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7481 when removing AVAILABLE1_USES_J macro.
7482
d394eb74
L
74832012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7484
7485 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7486 (__bswap_64): __uint64_t for unsigned 64-bit int.
7487
ca38dc17
AS
74882012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7489
7490 * include/string.h (memmem): Declare libc hidden alias.
7491 * string/memmem.c (memmem): Define libc hidden alias.
7492 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7493 __read, __close instead of open, read, close.
7494
9a387d1f
L
74952012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7496
ac49ecaf
L
7497 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7498 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7499 global and hidden.
7500 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7501 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7502 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7503 Likewise.
7504 (__rawmemchr_sse2): Likewise.
7505 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7506 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7507 (__strchr_sse2): Likewise.
7508 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7509 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7510 (__strcasecmp_sse2): Likewise.
7511 (__strncasecmp_sse2): Likewise.
7512 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7513 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7514 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7515 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7516 (__strrchr_sse2): Likewise.
7517 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7518 ifunc-impl-list.c.
7519 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7520 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7521 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7522 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7523 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7524 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7525 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7526 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7527 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7528 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7529 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7530 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7531 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7532 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7533 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7534 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7535 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7536 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7537 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7538 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7539 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7540 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7541 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7542 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7543 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7544 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7545 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7546 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7547 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7548 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7549
b090e8ea
L
7550 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7551 global and hidden.
7552 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7553 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7554 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7555 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7556 Likewise.
7557 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7558 Likewise.
7559 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7560 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7561 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7562 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7563 ifunc-impl-list.c.
7564 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7565 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7566 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7567 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7568 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7569 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7570 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7571 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7572 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7573 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7574 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7575 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7576 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7577 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7578 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7579 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7580 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7581 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7582 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7583 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7584 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7585 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7586 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7587 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7588 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7589 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7590 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7591 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7592 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7593 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7594 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7595 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7596 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7597 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7598 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7599 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7600 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7601 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7602 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7603 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7604 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7605
11dd4af6
L
7606 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7607 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7608 * include/ifunc-impl-list.h: New file.
7609 * misc/ifunc-impl-list.c: Likewise.
7610 * misc/Makefile (routines): Add ifunc-impl-list.
7611 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7612 * string/test-string.h: Include <ifunc-impl-list.h>.
7613 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7614 impl_array): New variables.
7615 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7616 are defined.
7617 (test_init): Call __libc_ifunc_impl_list to initialize
7618 func_list if TEST_IFUNC and TEST_NAME are defined.
7619
9a387d1f
L
7620 * string/Makefile (strop-tests): Add bcopy and bzero.
7621 * string/test-bcopy.c: New file.
7622 * string/test-bzero.c: Likewise.
7623 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7624 defined.
7625 * string/test-memset.c: Support bzero test if TEST_BZERO is
7626 defined.
7627 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7628 __libc_memmove.
7629 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7630 __libc_memset.
7631 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7632 of memset.
7633
472371b9
JM
76342012-10-10 Joseph Myers <joseph@codesourcery.com>
7635
1e4a9536
JM
7636 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7637 * configure: Regenerated.
7638
d173d12e
JM
7639 * Makeconfig (+link-static-before-libc): Don't include
7640 $(link-static-libc).
7641
472371b9
JM
7642 * libio/libio.h (_IO_pos_t): Remove.
7643
89a3ad0b
AO
76442012-10-10 Alexandre Oliva <aoliva@redhat.com>
7645
7646 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7647 McGrath.
7648
e7451425
AO
76492012-10-10 Alexandre Oliva <aoliva@redhat.com>
7650
7651 * crypt/crypt-entry.c: Include fips-private.h.
7652 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7653 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7654 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7655 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7656
4ba74a35
AO
76572012-10-10 Alexandre Oliva <aoliva@redhat.com>
7658
7659 * crypt/crypt-private.h: Include stdbool.h.
7660 (_ufc_setup_salt_r): Return bool.
7661 * crypt/crypt-entry.c: Include errno.h.
7662 (__crypt_r): Return NULL with EINVAL for bad salt.
7663 * crypt/crypt_util.c (bad_for_salt): New.
7664 (_ufc_setup_salt_r): Check that salt is long enough and within
7665 the specified alphabet.
7666 * crypt/badsalttest.c: New file.
7667 * crypt/Makefile (tests): Add it.
7668 ($(objpfx)badsalttest): New.
7669
f96f1242
MK
76702012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7671
7672 * NEWS: Add entry for BZ #14602.
7673
0e8e0c1c
JM
76742012-10-09 Joseph Myers <joseph@codesourcery.com>
7675
7676 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7677 type-generic.
7678 * math/libm-test.inc: Update comment listing what functions and
7679 macros are tested.
7680 (isgreater_test): New function.
7681 (isgreaterequal_test): Likewise.
7682 (isless_test): Likewise.
7683 (islessequal_test): Likewise.
7684 (islessgreater_test): Likewise.
7685 (isunordered_test): Likewise.
7686 (main): Call the new functions.
7687
273edc5e
RM
76882012-10-09 Roland McGrath <roland@hack.frob.com>
7689
b8493de0
RM
7690 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7691 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7692 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7693 * sysdeps/i386/configure: Regenerated.
7694 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7695 * sysdeps/mach/configure: Regenerated.
7696 * sysdeps/mach/hurd/configure: Regenerated.
7697 * sysdeps/powerpc/configure: Regenerated.
7698 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7699 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7700 * sysdeps/s390/s390-32/configure: Regenerated.
7701 * sysdeps/s390/s390-64/configure: Regenerated.
7702 * sysdeps/sh/configure: Regenerated.
7703 * sysdeps/sparc/configure: Regenerated.
7704 * sysdeps/unix/sysv/linux/configure: Regenerated.
7705 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7706 * sysdeps/x86_64/configure: Regenerated.
7707
273edc5e
RM
7708 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7709 defined. Don't check if MAP is NULL.
7710
c8450f70
JM
77112012-10-09 Joseph Myers <joseph@codesourcery.com>
7712
7713 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7714 (_G_stat64): Likewise.
7715 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7716 (_G_stat64): Likewise.
7717 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7718 instead of struct _G_stat64.
7719 * libio/fileops.c (mmap_remap_check): Likewise.
7720 (decide_maybe_mmap): Likewise.
7721 (_IO_new_file_seekoff): Likewise.
7722 (_IO_file_stat): Likewise.
7723 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7724 _G_off64_t.
7725 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7726 instead of struct _G_stat64.
7727 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7728
57e605ba
MK
77292012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7730
7731 [BZ #14602]
7732 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7733 Replace with ...
7734 (CHECK_EOL): New macro.
7735 (two_way_short_needle): Check beginning of haystack for EOL. Use
7736 CHECK_EOL.
7737 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7738 Replace with CHECK_EOL.
7739 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7740 Replace with CHECK_EOL.
7741
ef1bb361
JM
77422012-10-08 Joseph Myers <joseph@codesourcery.com>
7743
7744 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7745 type-generic.
7746 * math/libm-test.inc: Update comment listing what functions and
7747 macros are tested.
7748 (finite_test): New function.
7749 (isinf_test): Likewise.
7750 (isnan_test): Likewise.
7751 (fpclassify_test): Test subnormal input.
7752 (isfinite_test): Likewise.
7753 (isnormal_test): Likewise.
7754 (main): Call the new functions.
7755
55f11534
JN
77562012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7757
7758 [BZ #14660]
7759 * Makerules (%.dynsym): Force C locale when running
7760 $(OBJDUMP) --dynamic-syms.
7761
1ab29350
AS
77622012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7763
7764 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7765 <stdint.h>.
7766
f1ecb7ef
DM
77672012-10-06 David S. Miller <davem@davemloft.net>
7768
7769 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7770 upper 32-bits of the length value in %o2 since we use branch-on-register
7771 tests which consider the entire 64-bit register.
7772
5d41d91a
L
77732012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7774
7775 * string/test-strstr.c (check2): Add a test for page boundary.
7776
3baddb72
DM
77772012-10-05 David S. Miller <davem@davemloft.net>
7778
7779 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7780 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7781 file.
7782 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7783 sysdep_routines.
7784 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7785 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7786 and bzero when HWCAP_SPARC_CRYPTO is present.
7787
9cee5585
L
77882012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7789
d7e0dab9
L
7790 [BZ #14602]
7791 * string/test-strstr.c (check2): New function.
7792 (test_main): Call check2.
7793
03759f47
L
7794 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7795 and bug-strchr1.
7796 * string/bug-strcasestr1.c (do_test): Moved to ...
7797 * string/test-strcasestr.c (check1): Here. New function.
7798 (do_one_test): Break out result checking code into ...
7799 (check_result): This. New function.
7800 (do_one_test): Call check_result.
7801 (test_main): Call check1.
7802 * string/bug-strchr1.c (do_test): Moved to ...
7803 * string/test-strchr.c (check1): Here. New function.
7804 (do_one_test): Break out result checking code into ...
7805 (check_result): This. New function.
7806 (do_one_test): Call check_result.
7807 (test_main): Call check1.
7808 * string/bug-strstr1.c (main): Moved to ...
046f153e 7809 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7810 (do_one_test): Break out result checking code into ...
7811 (check_result): This. New function.
7812 (do_one_test): Call check_result.
7813 (test_main): Call check1.
7814 * string/bug-strcasestr1.c: Removed.
7815 * string/bug-strchr1.c: Likewise.
7816 * string/bug-strstr1.c: Likewise.
7817
53cea63e
L
7818 * elf/Makefile (dl-routines): Add hwcaps.
7819 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7820 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7821 (_dl_important_hwcaps): Moved to ...
7822 * elf/dl-hwcaps.c: Here. New file.
7823 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7824
9cee5585 7825 [BZ #14557]
bb859b06
L
7826 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7827 if IS_IN_rtld isn't defined.
7828
9cee5585
L
7829 * elf/dl-support.c (_dl_sysinfo_map): New.
7830 Include "get-dynamic-info.h" and "setup-vdso.h".
7831 (_dl_non_dynamic_init): Call setup_vdso.
7832 * elf/dynamic-link.h: Don't include <assert.h>.
7833 (elf_get_dynamic_info): Moved to ...
7834 * elf/get-dynamic-info.h: Here. New file.
7835 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7836 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7837 * elf/setup-vdso.h: Here. New file.
7838 * elf/rtld.c: Include "setup-vdso.h".
7839 (dl_main): Call setup_vdso.
7840
23c31b76
JM
78412012-10-05 Joseph Myers <joseph@codesourcery.com>
7842
28234b07
JM
7843 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7844 creal in comment listing functions tested. List finite, isinf,
7845 isnan, isless, islessequal, isgreater, isgreaterequal,
7846 islessgreater, isunordered, lgamma_r and pow10 as functions and
7847 macros not tested. Mention which functions not tested are aliases
7848 for other functions. Fix typo. Note that signs of NaNs are not
7849 tested.
7850
23c31b76
JM
7851 * scripts/config.guess: Update from config.git.
7852 * scripts/config.sub: Likewise.
7853
9043e228
RM
78542012-10-04 Roland McGrath <roland@hack.frob.com>
7855
7856 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7857 * misc/madvise.c (madvise): Renamed to __madvise.
7858 Make madvise a weak alias.
7859 * include/sys/mman.h: Declare __madvise.
7860 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7861 * sysdeps/unix/syscalls.list
7862 (madvise): Make __madvise the strong name, and madvise a weak alias.
7863 * sysdeps/unix/sysv/linux/syscalls.list
7864 (madvise, mmap): Remove redundant entries.
7865 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7866 * malloc/malloc.c (mtrim): Likewise.
7867 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7868
f57f8055
RM
78692012-10-03 Roland McGrath <roland@hack.frob.com>
7870
7871 * sysdeps/mach/hurd/dl-cache.c: File removed.
7872 * config.h.in (USE_LDCONFIG): New #undef.
7873 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7874 * configure: Regenerated.
7875 * elf/Makefile (dl-routines): Add dl-cache only under
7876 [$(use-ldconfig) = yes].
7877 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7878 cache on [USE_LDCONFIG].
7879 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7880 [USE_LDCONFIG].
7881 * elf/rtld.c (dl_main): Likewise.
7882
5bb0c10a
PT
78832012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7884
7885 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7886 _SC_LEVEL4_CACHE_LINESIZE.
7887
010188c6
RM
78882012-10-03 Roland McGrath <roland@hack.frob.com>
7889
7890 * sysdeps/unix/bsd/confstr.h: File removed.
7891
b6c5ec07
AO
78922012-10-02 Alexandre Oliva <aoliva@redhat.com>
7893
7894 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7895 sys/sdt-config.h.
7896
408223d4
RM
78972012-10-02 Roland McGrath <roland@hack.frob.com>
7898
7899 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7900 Make 'mapoff' field ElfW(Off) rather than off_t.
7901
bb9510dc
DL
79022012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7903
fc997c6e
DL
7904 * nscd/Makefile: Remove nscd-cflags and all its users.
7905 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7906 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7907
bb9510dc
DL
7908 [BZ #10631]
7909 * malloc.c (malloc_printerr): Clarify error message.
7910
05699367
L
79112012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7912
7913 [BZ #14648]
7914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7915 Set bit_FMA_Usable if FMA is supported.
7916 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7917 macro.
7918 (bit_FMA4_Usable): Updated.
7919 (index_FMA_Usable): New macro.
7920 (CPUID_FMA): Likewise
7921 (HAS_FMA): Defined with bit_FMA_Usable.
7922
51367701
RM
79232012-10-01 Roland McGrath <roland@hack.frob.com>
7924
7925 * bits/types.h (__swblk_t): Type removed.
7926 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7927 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7928 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7929 (__SWBLK_T_TYPE): Likewise.
7930 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7931 (__SWBLK_T_TYPE): Likewise.
7932 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7933 (__SWBLK_T_TYPE): Likewise.
7934 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7935 (__SWBLK_T_TYPE): Likewise.
7936
4d57bf63 79372012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7938 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7939
7940 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7941 (xdr_mapname): Use YPMAXMAP as maxsize.
7942 (xdr_peername): Use YPMAXPEER as maxsize.
7943 (xdr_keydat): Use YPAXRECORD as maxsize.
7944 (xdr_valdat): Use YPMAXRECORD as maxsize.
7945
93c65d43
RM
79462012-10-01 Roland McGrath <roland@hack.frob.com>
7947
497a03d6
RM
7948 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7949
93c65d43
RM
7950 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7951 * csu/init-first.c: ... here.
7952 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7953 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7954 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7955 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7956 * sysdeps/i386/init-first.c: File removed.
7957 * sysdeps/sh/init-first.c: File removed.
7958
bec749fd
JM
79592012-10-01 Joseph Myers <joseph@codesourcery.com>
7960
7961 [BZ #14645]
7962 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7963 if x * y might underflow to zero and z is zero.
7964 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7965 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7966 * math/libm-test.inc (min_subnorm_value): New variable.
7967 (fma_test): Add more tests.
7968 (fma_test_towardzero): Likewise.
7969 (fma_test_downward): Likewise
7970 (fma_test_upward): Likewise.
7971 (initialize): Set min_subnorm_value.
7972
8ec5b013
JM
79732012-09-29 Joseph Myers <joseph@codesourcery.com>
7974
7975 [BZ #14638]
7976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7977 0 + 0.
7978 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7979 mode for addition resulting in exact zero.
7980 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7981 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7982 exact 0 + 0.
7983 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7984 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7985 * math/libm-test.inc (fma_test): Add more tests.
7986 (fma_test_towardzero): New function.
7987 (fma_test_downward): Likewise.
7988 (fma_test_upward): Likewise.
7989 (main): Call the new functions.
7990
b1fa802e
DM
79912012-09-28 David S. Miller <davem@davemloft.net>
7992
7993 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7994
d3b9fd9e
RM
79952012-09-28 Roland McGrath <roland@hack.frob.com>
7996
ea4d37b3
RM
7997 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7998 instead of SIGALRM.
7999
ac51c949
RM
8000 * sysdeps/gnu/_G_config.h: Moved to ...
8001 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8002 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8003 * sysdeps/generic/_G_config.h: ... here.
8004
28c195f7
RM
8005 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8006
848917f9
RM
8007 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8008
6bacf05b
RM
8009 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8010 Conditionalize target on [libnss_test1.so-version].
8011
91363dbb
RM
8012 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8013
cc87f7d8
RM
8014 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8015 (elfobjdir): Move out of conditionals.
8016
b1c608fe
RM
8017 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8018 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8019 (__nss_lookup_function): Conditionalize label remove_from_tree on
8020 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8021
1d9a6d96
DM
80222012-09-28 David S. Miller <davem@davemloft.net>
8023
8024 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8025 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8026 file.
8027 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8028 sysdep_routines.
8029 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8030 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8031 when HWCAP_SPARC_CRYPTO is present.
8032
72581615
PT
80332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8034
8035 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8036
715a900c
JL
80372012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8038
8039 [BZ #6530]
8040 * stdio-common/vfprintf.c (process_string_arg): Revert
8041 2000-07-22 change.
8042
80432011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8044
8045 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8046 for testcase.
8047 * stdio-common/tst-sprintf.c: Include <locale.h>
8048 (main): Test sprintf's handling of incomplete multibyte
8049 characters.
8050
9bac1d86
L
80512012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8052
8053 * elf/dl-runtime.c (VERSYMIDX): Removed.
8054 * elf/dl-version.c (VERSYMIDX): Likewise.
8055 * elf/do-rel.h (VERSYMIDX): Likewise.
8056 (VALIDX): Likewise.
8057 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8058 * elf/rtld.c (VALIDX): Likewise.
8059 (ADDRIDX): Likewise.
9bac1d86
L
8060 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8061 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8062 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8063 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8064 (VALIDX): Likewise.
8065 (ADDRIDX): Likewise.
9bac1d86 8066
b31606c0
PT
80672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8068
8069 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8070
11541177
JL
80712012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8072
8073 [BZ #11438]
8074 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8075 to global scope.
8076 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8077 addresses are in the same scope as 192.0.2/24.
8078 * posix/gai.conf: Document new scope table defaults.
8079
adb26fae
SP
80802012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8081
8082 [BZ #5298]
8083 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8084 for ftell. Compute offsets from write pointers instead.
8085 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8086
4573c6b0
SP
80872012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8088
8089 [BZ #14543]
8090 * libio/Makefile (tests): New test case tst-fseek.
8091 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8092 combination works in wide mode.
8093 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8094 state when the external buffer state changes.
8095
aa9bbfe6
DM
80962012-09-27 David S. Miller <davem@davemloft.net>
8097
8098 [BZ #14376]
8099 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8100 pass reloc->r_addend in as the 'high' argument to
8101 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8102
784421e7
DM
8103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8104
c39bc8b8
PT
81052012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8106
8107 * rt/tst-aio2.c: Include <pthread.h>.
8108 * rt/tst-aio3.c: Likewise.
8109
1ccc2399
SE
81102012-09-27 Steve Ellcey <sellcey@mips.com>
8111
8112 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8113
31ed4153
L
81142012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8115
25f5f885
L
8116 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8117 contents on [SHARED].
31ed4153 8118
b7bfe116
MP
81192012-09-26 Marek Polacek <polacek@redhat.com>
8120
8121 [BZ #14530]
8122 [BZ #13741]
8123 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8124 for C++ and GCC <4.3 as well as for non GCC compilers.
8125
43c4edba
MT
81262012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8127
8128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8129
6a1bf82f
RM
81302012-09-25 Roland McGrath <roland@hack.frob.com>
8131
8132 * Makefile.in (all, install): Declare with .PHONY.
8133 Reported by Michael Hope <michael.hope@linaro.org>.
8134
8ad11b9a
TMQMF
81352012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8136
8137 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8138 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8139 system header.
8140 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8141 Likewise.
8142 (sydep_routines): Add the new and the internal functions.
8143 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8144 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8146 (GLIBC_2.17): Add the new function.
8147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8148 (GLIBC_2.17): Likewise.
8149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8150 (GLIBC_2.17): Likewise.
8151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8152 (GLIBC_2.17): Likewise.
8153 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8154
7e2fca8d
AM
81552012-09-25 Alan Modra <amodra@gmail.com>
8156
8157 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8158 Add release barrier before setting once_control to say
8159 initialisation is done. Add hints on lwarx. Use macro in
8160 place of isync.
8161 (clear_once_control): Add release barrier.
8162
b87c4b24
JM
81632012-09-25 Joseph Myers <joseph@codesourcery.com>
8164
d032e0d2
JM
8165 [BZ #13629]
8166 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8167 specially.
8168 * math/s_clog10.c (__clog10): Likewise.
8169 * math/s_clog10f.c (__clog10f): Likewise.
8170 * math/s_clog10l.c (__clog10l): Likewise.
8171 * math/s_clogf.c (__clogf): Likewise.
8172 * math/s_clogl.c (__clogl): Likewise.
8173 * math/Makefile (libm-calls): Add x2y2m1.
8174 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8175 (__x2y2m1): Likewise.
8176 (__x2y2m1l): Likewise.
8177 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8178 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8179 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8180 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8181 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8182 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8183 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8184 * sysdeps/i386/fpu/libm-test-ulps: Update.
8185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8186
b87c4b24
JM
8187 [BZ #14621]
8188 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8189 int as type of variable DEPTH.
8190 (glob): Use size_t instead of int as type of variables NEWCOUNT
8191 and OLD_PATHC.
8192
6d3bf199
LD
81932012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8194
22bf5c17
LD
8195 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8196 Add s_sincosf-sse2.
8197 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8198 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8199 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8200 macros for using routine as __sincosf_ia32.
8201 Use macro for function declaration and weak_alias.
8202 * sysdeps/i386/fpu/libm-test-ulps: Update.
8203
8204 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8206
8207 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8208 subnormal argument.
8209 * math/s_cexpf.c (__cexpf): Likewise.
8210 * math/s_csinf.c (__csinf): Likewise.
8211 * math/s_csinhf.c (__csinhf): Likewise.
8212 * math/s_ctanf.c (__ctanf): Likewise.
8213 * math/s_ctanhf.c (__ctanhf): Likewise.
8214 * math/s_ccosh.c (__ccoshf): Likewise.
8215 * math/s_cexp.c (__cexpl): Likewise.
8216 * math/s_csin.c (__csin): Likewise.
8217 * math/s_csinh.c (__csinh): Likewise.
8218 * math/s_ctan.c (__ctan): Likewise.
8219 * math/s_ctanh.c (ctanh): Likewise.
8220 * math/s_ccoshl.c (__ccoshl): Likewise.
8221 * math/s_cexpl.c (__cexpl): Likewise.
8222 * math/s_csinl.c (__csinl): Likewise.
8223 * math/s_csinhl.c (__csinhl): Likewise.
8224 * math/s_ctanl.c (__ctanl): Likewise.
8225 * math/s_ctanhl.c (__ctanhl): Likewise.
8226
203e5603
JM
82272012-09-25 Joseph Myers <joseph@codesourcery.com>
8228
8229 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8230 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8231 (_IO_off_t): Define to __off_t, not _G_off_t.
8232 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8233 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8234 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8235 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8236 type of __dummy and __dummy2 fields.
8237 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8238 (_G_ssize_t): Likewise.
8239 (_G_off_t): Likewise.
8240 (_G_pid_t): Likewise.
8241 (_G_uid_t): Likewise.
8242 (_G_wchar_t): Likewise.
8243 (_G_wint_t): Likewise.
8244 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8245 (_G_ssize_t): Likewise.
8246 (_G_off_t): Likewise.
8247 (_G_pid_t): Likewise.
8248 (_G_uid_t): Likewise.
8249 (_G_wchar_t): Likewise.
8250 (_G_wint_t): Likewise.
8251 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8252 (_G_ssize_t): Likewise.
8253 (_G_off_t): Likewise.
8254 (_G_pid_t): Likewise.
8255 (_G_uid_t): Likewise.
8256 (_G_wchar_t): Likewise.
8257 (_G_wint_t): Likewise.
8258
9fab36eb
SP
82592012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8260
8261 * malloc/arena.c: Include malloc-sysdep.h.
8262 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8263 is sufficient to shrink the heap or an unmap is needed.
8264 * sysdeps/generic/malloc-sysdep.h: New file. Define
8265 new function check_may_shrink_heap.
8266 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8267 new function check_may_shrink_heap.
8268
2b4f00d1
SP
82692012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8270
8271 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8272 comments.
8273
9a9028b1
DL
82742012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8275
57c69bef
DL
8276 * catgets/test-gencat.sh: Add "set -e".
8277 * elf/tst-pathopt.sh: Likewise.
8278 * grp/tst_fgetgrent.sh: Likewise.
8279 * iconvdata/run-iconv-test.sh: Likewise.
8280 * intl/tst-gettext.sh: Likewise.
8281 * intl/tst-gettext2.sh: Likewise.
8282 * intl/tst-gettext4.sh: Likewise.
8283 * intl/tst-gettext6.sh: Likewise.
8284 * intl/tst-translit.sh: Likewise.
8285 * io/ftwtest-sh: Likewise.
8286 * libio/test-freopen.sh: Likewise.
8287 * malloc/tst-mtrace.sh: Likewise.
8288 * posix/globtest.sh: Likewise.
8289 * posix/tst-getconf.sh: Likewise.
8290 * posix/wordexp-tst.sh: Likewise.
8291 * stdio-common/tst-printf.sh: Likewise.
8292 * stdio-common/tst-unbputc.sh: Likewise.
8293 * stdlib/tst-fmtmsg.sh: Likewise.
8294 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8295 * catgets/Makefile: Do not specify -e option when running
8296 testsuite shell scripts.
8297 * elf/Makefile: Likewise.
8298 * grp/Makefile: Likewise.
8299 * iconvdata/Makefile: Likewise.
8300 * intl/Makefile: Likewise.
8301 * io/Makefile: Likewise.
8302 * libio/Makefile: Likewise.
8303 * malloc/Makefile: Likewise.
8304 * posix/Makefile: Likewise.
8305 * stdio-common/Makefile: Likewise.
8306 * stdlib/Makefile: Likewise.
8307 * sysdeps/x86_64/Makefile: Likewise.
8308
9a9028b1
DL
8309 * io/ftwtest-sh: Add copyright header.
8310 * posix/globtest.sh: Likewise.
8311 * posix/tst-getconf.sh: Likewise.
8312 * posix/wordexp-tst.sh: Likewise.
8313 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8314
ced6f16e
L
83152012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8316
94b32c39
L
8317 [BZ #13679]
8318 * Makeconfig (+link): Defined as $(+link-static) if
8319 $(build-shared) isn't yes.
8320 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8321 isn't yes.
8322 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8323
189e935b
L
8324 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8325
ced6f16e
L
8326 [BZ #14562]
8327 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8328 new chunk size with MALLOC_ALIGN_MASK.
8329
a9f8e53a
JM
83302012-09-24 Joseph Myers <joseph@codesourcery.com>
8331
8332 [BZ #5044]
8333 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8334 <rounding-mode.h>.
8335 (__printf_fphex): Determine rounding using get_rounding_mode and
8336 round_away.
8337 * stdio-common/tst-printf-round.c (struct hex_test): New
8338 structure.
8339 (hex_tests): New variable.
8340 (test_hex_in_one_mode): New function.
8341 (do_test): Also run tests for hex float output.
8342
43153109
JM
83432012-09-21 Joseph Myers <joseph@codesourcery.com>
8344
8345 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8346 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8347 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8348 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8349 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8350 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8351 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8352 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8353
8a26625d
JM
83542012-09-20 Joseph Myers <joseph@codesourcery.com>
8355
8356 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8357 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8358 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8359 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8360
f3fd569c
DL
83612012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8362
8363 [BZ #14579]
8364 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8365 mode only.
8366 * elf/tst-rtld-load-self.sh: New test.
8367 * elf/Makefile: Run it.
8368
63bbedd4
JM
83692012-09-18 Joseph Myers <joseph@codesourcery.com>
8370
8371 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8372 (tst-writev-ENV): Remove.
8373 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8374
626f8b6a
CM
83752012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8376
8377 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8378
b7aaa4d6
JM
83792012-09-17 Joseph Myers <joseph@codesourcery.com>
8380
8381 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8382 unconditional.
8383 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8384 Likewise.
8385 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8386 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8387 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8388 Likewise.
8389
65513990
L
83902012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8391
8392 [BZ #14587]
8393 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8394 * config.make.in (have-cpp-asm-debuginfo): Removed.
8395 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8396 * configure: Regenerated.
8397
784761be
JM
83982012-09-14 Joseph Myers <joseph@codesourcery.com>
8399
8400 [BZ #5044]
8401 * stdio-common/printf_fp.c: Include <stdbool.h> and
8402 <rounding-mode.h>.
8403 (___printf_fp): Determine rounding using get_rounding_mode and
8404 round_away.
8405 * stdio-common/tst-printf-round.c: New file.
8406 * stdio-common/Makefile (tests): Add tst-printf-round.
8407 (link-libm): New variable.
8408 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8409
9503345f
L
84102012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8411
8412 [BZ #14576]
8413 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8414 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8415 Likewise.
8416 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8417 Likewise.
8418
ad35fc00
JM
84192012-09-13 Joseph Myers <joseph@codesourcery.com>
8420
8421 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8422 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8423 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8424 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8425
6c9b0f68
JM
84262012-09-12 Joseph Myers <joseph@codesourcery.com>
8427
8428 [BZ #14518]
8429 * include/rounding-mode.h: New file.
8430 * sysdeps/generic/get-rounding-mode.h: Likewise.
8431 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8432 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8433 (MAX_VALUE): New macro.
8434 (MIN_VALUE): Likewise.
8435 (overflow_value): New function.
8436 (underflow_value): Likewise.
8437 (round_and_return): Use overflow_value and underflow_value to
8438 determine return values in overflow and underflow cases. Use
8439 round_away to determine rounding depending on rounding mode.
8440 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8441 determine return values in overflow and underflow cases.
8442 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8443 (struct test_results): New structure.
8444 (struct test): Use struct test_results to store expected results
8445 for all rounding modes.
8446 (TEST): Include expected results for all rounding modes.
8447 (test_in_one_mode): New function.
8448 (do_test): Use test_in_one_mode to compute and check results.
8449 Check results for all rounding modes.
8450 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8451 $(link-libm).
8452
19fcedd5
AM
84532012-12-09 Allan McRae <allan@archlinux.org>
8454
1e9d84cd 8455 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8456
8bbfd2f1
JM
84572012-09-11 Joseph Myers <joseph@codesourcery.com>
8458
8459 * sysdeps/generic/_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 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8468 (_G_int32_t): Likewise.
8469 (_G_uint16_t): Likewise.
8470 (_G_uint32_t): Likewise.
8471 (_G_HAVE_BOOL): Likewise.
8472 (_G_HAVE_ATEXIT): Likewise.
8473 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8474 (_G_HAVE_IO_FILE_OPEN): Likewise.
8475 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8476 (_G_int32_t): Likewise.
8477 (_G_uint16_t): Likewise.
8478 (_G_uint32_t): Likewise.
8479 (_G_HAVE_BOOL): Likewise.
8480 (_G_HAVE_ATEXIT): Likewise.
8481 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8482 (_G_HAVE_IO_FILE_OPEN): Likewise.
8483
b1dc5912
L
84842012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8485
8486 * csu/libc-tls.c: Update copyright years.
8487
0e886ef9
JM
84882012-09-10 Joseph Myers <joseph@codesourcery.com>
8489
28361c5e
JM
8490 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8491 [!_G_USING_THUNKS]: Remove conditional code.
8492 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8493 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8494
0e886ef9
JM
8495 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8496 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8497 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8498 (_G_VTABLE_LABEL_PREFIX): Likewise.
8499 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8500 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8501 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8502 (_G_VTABLE_LABEL_PREFIX): Likewise.
8503 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8504 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8505 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8506 (_G_VTABLE_LABEL_PREFIX): Likewise.
8507 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8508
bcba7aa2
L
85092012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8510
8511 * libio/Makefile: Include ../Makeconfig before tests.
8512 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8513 only if $(build-shared) is yes.
8514
06585ee8
L
8515 * iconv/gconv_db.c: Update copyright years.
8516
80ccd52c
LD
85172012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8518
8519 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8520 unwind info if defined PIC. Fix special cases description.
8521 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8522
8523 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8524 DP_HI_MASK entry.
8525 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8526
691bc9c1
L
85272012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8528
3d9b46b3
L
8529 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8530
de2139a9
L
8531 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8532 is NULL.
8533
5ca78dd0
L
8534 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8535 (LDLIBS-tst-chk4): This.
8536 (LDFLAGS-tst-chk5): Renamed to ...
8537 (LDLIBS-tst-chk5): This.
8538 (LDFLAGS-tst-chk6): Renamed to ...
8539 (LDLIBS-tst-chk6): This.
8540 (LDFLAGS-tst-lfschk4): Renamed to ...
8541 (LDLIBS-tst-lfschk4): This.
8542 (LDFLAGS-tst-lfschk5): Renamed to ...
8543 (LDLIBS-tst-lfschk5): This.
8544 (LDFLAGS-tst-lfschk6): Renamed to ...
8545 (LDLIBS-tst-lfschk6): This.
8546
691bc9c1
L
8547 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8548 on $(common-objpfx)soversions.mk.
8549
65cafb1c
JM
85502012-09-07 Joseph Myers <joseph@codesourcery.com>
8551
8552 [BZ #10014]
8553 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8554 example host name.
8555
c78ab094
SP
85562012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8557
8558 * malloc/arena.c (arena_get_retry): New function that gets
8559 another arena for the caller to try its request on.
8560 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8561 current arena cannot fulfill the request.
8562 (__libc_memalign): Likewise.
8563 (__libc_memalign): Likewise.
8564 (__libc_pvalloc): Likewise.
8565 (__libc_calloc): Likewise.
8566
01f49f59
JT
85672012-09-05 John Tobey <john.tobey@gmail.com>
8568
8569 [BZ #13542]
8570 * manual/arith.texi (Operations on Complex): Fix description
8571 of carg branch cut.
8572
4c23fed5
JM
85732012-09-06 Joseph Myers <joseph@codesourcery.com>
8574
1d3c8572
JM
8575 [BZ #10014]
8576 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8577 host name.
8578
4c23fed5
JM
8579 [BZ #10038]
8580 * manual/memory.texi (Memory): Make order of menu items match
8581 order of sections.
8582
04570aaa
L
85832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8584
8585 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8586 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8587 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8588
b80af2f4
L
85892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8590
8591 * csu/libc-tls.c (static_dtv): Renamed to ...
8592 (_dl_static_dtv): This. Make it global.
8593 (_dl_initial_dtv): Removed.
8594 (__libc_setup_tls): Updated.
8595 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8596 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8597 DL_INITIAL_DTV.
8598
2abe9f15
PM
85992012-09-06 Petr Machata <pmachata@redhat.com>
8600
8601 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8602 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8603 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8604 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8605
0948c3af
L
86062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8607
8608 [BZ #14545]
8609 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8610 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8611 freeing dtv[-1].
8612
a5055ad1
L
86132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8614
8615 [BZ #14544]
8616 * Makeconfig (link-static-before-libc): Replace $(+prector)
8617 with $(+prectorT).
8618 (link-static-after-libc): Replace $(+postctor) with
8619 $(+postctorT).
8620 (link-bounded): Replace $(+prector)/$(+postctor) with
8621 $(+prectorT)/$(+postctorT).
8622 (+prectorT): New macro.
8623 (+postctorT): Likewise.
8624
ed8c2ecd
JM
86252012-09-06 Joseph Myers <joseph@codesourcery.com>
8626
8627 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8628 (round_str): Handle values above the maximum for IBM long double
8629 as inexact.
8630 * stdlib/tst-strtod-round.c (tests): Regenerated.
8631
14c996c8
AK
86322012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8633
8634 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8635 assembler flag.
8636 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8637 zarch_nohighgprs around the zarch optimized routines.
8638 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8639 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8640 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8641 for zarch.
8642
430d6ce6
DM
86432012-09-05 David S. Miller <davem@davemloft.net>
8644
8645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8646
ff04dda4
DM
8647 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8648 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8649 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8650 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8651 entries.
8652
24d4e01b
AO
86532012-09-05 Alexandre Oliva <aoliva@redhat.com>
8654
8655 * malloc/arena.c: Fold copyright years.
8656 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8657
61d58174
AO
86582012-09-05 Alexandre Oliva <aoliva@redhat.com>
8659
8660 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8661
20196a5e
AO
86622012-09-05 Alexandre Oliva <aoliva@redhat.com>
8663
8664 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8665
5c447383
AO
86662012-09-05 Alexandre Oliva <aoliva@redhat.com>
8667
8668 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8669 change internal state upon failure.
8670
fad64255
AO
86712012-09-05 Alexandre Oliva <aoliva@redhat.com>
8672
8673 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8674 * malloc/memusage.c (mmap): Likewise.
8675 (mmap64, mremap): Likewise. Adjust name in comment.
8676
1ffb8c90
SP
86772012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8678
8679 * libio/fileops.c: Fix typos in comments.
8680 * libio/oldfileops.c: Likewise.
8681 * libio/wfileops.c: Likewise.
8682
6ef9cc37
SP
86832012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8684
8685 [BZ #1349]
8686 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8687 (tst-malloc-usable-ENV): Set environment for test case.
8688 * malloc/hooks.c (malloc_check_get_size): New function to get
8689 requested size.
8690 * malloc/malloc.c (musable): Use malloc_check_get_size.
8691 * malloc/tst-malloc-usable.c: New test case.
8692
4d038ae3
AS
86932012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8694
8695 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8696
c4e85184
AM
86972012-09-05 Allan McRae <allan@archlinux.org>
8698
b9dafc56 8699 [BZ #13966]
c4e85184
AM
8700 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8701 determine header location.
8702 * configure: Regenerated.
8703
e1343020
AS
87042012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8705
8706 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8707 float format.
8708 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8709 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8710 format.
e1343020
AS
8711 (test): Regenerate.
8712
0a9f1987
DM
87132012-09-04 David S. Miller <davem@davemloft.net>
8714
8715 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8716 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8717 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8718
29237804
FW
87192012-09-04 Florian Weimer <fweimer@redhat.com>
8720
8721 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8722 failures.
8723
edb3cb88
FW
8724 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8725
60160d83
JM
87262012-09-04 Joseph Myers <joseph@codesourcery.com>
8727
8728 [BZ #9914]
8729 * libio/iogetdelim.c: Include <limits.h>.
8730 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8731 + len + 1 would overflow.
8732
bcd6c8dc
AJ
87332012-09-03 Andreas Jaeger <aj@suse.de>
8734
8735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8736 * sysdeps/i386/fpu/libm-test-ulps: Update.
8737
4ffffbd2
LD
87382012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8739
8740 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8741 Add s_sinf-sse2, s_conf-sse2.
8742
8743 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8744 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8745 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8746 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8747
8748 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8749 for using routine as __sinf_ia32.
8750 Use macro for function declaration and weak_alias.
8751 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8752 for using routine as __cosf_ia32.
8753 Use macro for function declaration and weak_alias.
8754
8755 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8756 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8757
8758 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8759 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8761
8762 * math/libm-test.inc (cos_test): Add more test cases.
8763 (sin_test): Likewise.
8764 (sincos_test): Likewise.
8765
511fa286
AK
87662012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8767
8768 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8769 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8770 hidden.
8771 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8772
5f30cfec
L
87732012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8774
8775 [BZ #14538]
8776 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8777 first element of the GOT.
8778 (elf_machine_load_address): Return the difference between
8779 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8780
0786794f
AM
87812012-09-01 Allan McRae <allan@archlinux.org>
8782
5f30cfec
L
8783 [BZ #13412]
8784 * configure.in (AWK): Require gawk version 3.0 or later.
8785 * configure: Regenerated.
0786794f 8786
26889eac
JM
87872012-09-01 Joseph Myers <joseph@codesourcery.com>
8788
8789 * sysdeps/unix/sysv/linux/kernel-features.h
8790 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8791 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8792 [__NR_clock_getres]: Make code unconditional.
8793 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8794 (clock_getcpuclockid): Remove code left unreachable by removal of
8795 conditionals.
8796 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8797 code unconditional.
8798 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8799 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8800 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8801 Make code unconditional.
8802 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8803 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8804 * sysdeps/unix/sysv/linux/clock_settime.c
8805 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8806 conditional code.
8807 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8808 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8809
d22e28b0
L
88102012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8811
8812 [BZ #14476]
8813 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8814 scripts/test-installation.pl.
8815
8816 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8817 and $ld_so_version if it is set.
8818
050af9c4
SP
88192012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8820
8821 [BZ #14516]
8822 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8823 failure if reading from procfs failed.
8824 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8825
ad845c0b
JM
88262012-08-27 Joseph Myers <joseph@codesourcery.com>
8827
8828 * sysdeps/unix/sysv/linux/kernel-features.h
8829 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8830 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8831 Remove conditional code.
8832 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8833 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8834 Remove conditional code.
8835 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8836 * sysdeps/unix/sysv/linux/i386/fxstat.c
8837 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8838 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8839 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8840 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8841 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8842 * sysdeps/unix/sysv/linux/i386/lxstat.c
8843 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8844 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8845 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8846 Remove conditional code.
8847 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8848 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8849 Remove conditional code.
8850 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8851 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8852 <kernel-features.h>.
8853 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8854 Remove.
8855 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8856 Remove conditional code.
8857 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8858 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8859 Remove conditional.
8860
5dbf56af
MF
88612012-08-27 Mike Frysinger <vapier@gentoo.org>
8862
8863 [BZ #5400]
8864 * NEWS: Add fixed bug number.
8865
d6e70f43
JM
88662012-08-27 Joseph Myers <joseph@codesourcery.com>
8867
7efb4737
JM
8868 [BZ #14519]
8869 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8870 underflowing exponent in case of negative sign.
8871 * stdlib/tst-strtod-round-data: Add more tests.
8872 * stdlib/tst-strtod-round.c (tests): Regenerated.
8873
af92131a
JM
8874 [BZ #3479]
8875 * stdlib/strtod_l.c (NDIG): Remove.
8876 (HEXNDIG): Likewise.
8877 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8878 smallest representable value.
8879 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8880 lie within an exact representation of 1/2 ulp of the result.
8881 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8882 unconditionally.
8883 (TENS_P9_IDX): Define unconditionally.
8884 (TENS_P9_SIZE): Likewise.
8885 (TENS_P10_IDX): Likewise.
8886 (TENS_P10_SIZE): Likewise.
8887 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8888 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8889 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8890 entries for 10^2^13 and 10^2^14.
8891 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8892 (TENS_P13_IDX): Define.
8893 (TENS_P13_SIZE): Likewise.
8894 (TENS_P14_IDX): Likewise.
8895 (TENS_P14_SIZE): Likewise.
8896 (_fpioconst_pow10): Change array size to
8897 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8898 unconditional.
8899 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8900 1024]: Add entries for 10^2^13 and 10^2^14.
8901 [LAST_POW10 > _LAST_POW10]: Remove #error.
8902 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8903 (_fpioconst_pow10): Change array size to
8904 FPIOCONST_POW10_ARRAY_SIZE.
8905 * stdlib/gen-fpioconst.c: New file.
8906 * stdlib/gen-tst-strtod-round.c: Likewise.
8907 * stdlib/tst-strtod-round-data: Likewise.
8908 * stdlib/tst-strtod-round.c: Likewise.
8909 * stdlib/Makefile (tests): Add tst-strtod-round.
8910
d6e70f43
JM
8911 [BZ #14459]
8912 * stdlib/strtod_l.c: Include <stdint.h>.
8913 (NDEBUG): Do not define.
8914 (round_and_return): Change EXPONENT parameter to type intmax_t.
8915 Rearrange calculations to avoid internal overflow possibilities.
8916 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8917 Rearrange calculations to avoid internal overflow possibilities.
8918 Assert that number fits inside MPNSIZE limbs.
8919 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8920 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8921 calculations and add assertions to avoid internal overflow
8922 possibilities. Add casts to avoid signed/unsigned operations.
8923 * stdlib/tst-strtod-overflow.c: New file.
8924 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8925
1f529f7d
MP
89262012-08-25 Marek Polacek <polacek@redhat.com>
8927
8928 * time/time.h: Fix some typos in comments.
8929
59a629f1
RM
89302012-08-23 Roland McGrath <roland@hack.frob.com>
8931
8932 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8933 * posix/tst-rfc3484-2.c: Likewise.
8934 * posix/tst-rfc3484-3.c: Likewise.
8935
d3bafbc9
SM
89362012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8937
8938 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8939 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8940
4efcc022
JM
89412012-08-23 Joseph Myers <joseph@codesourcery.com>
8942
8943 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8944 #include of fxstatat64.c.
8945
3cc3ef96
RM
89462012-08-22 Roland McGrath <roland@hack.frob.com>
8947
f04e2132
RM
8948 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8949 * shadow/getspent_r.c: Likewise.
8950 * shadow/getspnam.c: Likewise.
8951 * shadow/getspnam_r.c: Likewise.
8952 * gshadow/getsgent.c: Likewise.
8953 * gshadow/getsgent_r.c: Likewise.
8954 * gshadow/getsgnam.c: Likewise.
8955 * gshadow/getsgnam_r.c: Likewise.
8956 * inet/getnetbyad.c: Likewise.
8957 * inet/getnetbyad_r.c: Likewise.
8958 * inet/getnetbynm.c: Likewise.
8959 * inet/getnetbynm_r.c: Likewise.
8960 * inet/getnetent.c: Likewise.
8961 * inet/getnetent_r.c: Likewise.
8962 * inet/getproto.c: Likewise.
8963 * inet/getproto_r.c: Likewise.
8964 * inet/getprtent.c: Likewise.
8965 * inet/getprtent_r.c: Likewise.
8966 * inet/getprtname.c: Likewise.
8967 * inet/getprtname_r.c: Likewise.
8968 * inet/getrpcbyname.c: Likewise.
8969 * inet/getrpcbyname_r.c: Likewise.
8970 * inet/getrpcbynumber.c: Likewise.
8971 * inet/getrpcbynumber_r.c: Likewise.
8972 * inet/getrpcent.c: Likewise.
8973 * inet/getrpcent_r.c: Likewise.
8974 * inet/getaliasent.c: Likewise.
8975 * inet/getaliasent_r.c: Likewise.
8976 * inet/getaliasname.c: Likewise.
8977 * inet/getaliasname_r.c: Likewise.
8978 * nscd/getgrgid_r.c: Likewise.
8979 * nscd/getgrnam_r.c: Likewise.
8980 * nscd/gethstbyad_r.c: Likewise.
8981 * nscd/gethstbynm3_r.c: Likewise.
8982 * nscd/getpwnam_r.c: Likewise.
8983 * nscd/getpwuid_r.c: Likewise.
8984 * nscd/getsrvbynm_r.c: Likewise.
8985 * nscd/getsrvbypt_r.c: Likewise.
8986 * nscd/gai.c: Likewise.
8987
c53d909c
RM
8988 * configure.in (build_nscd): New substituted variable, set
8989 by --disable-build-nscd and defaults to $use_nscd.
8990 * configure: Regenerated.
8991 * config.make.in (build-nscd): New substituted variable.
8992 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8993 Change conditional to require [$(build-nscd) = yes] as well.
8994 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8995
3cc3ef96
RM
8996 [BZ# 13696]
8997 * configure.in (use_nscd): New substituted variable, set by
8998 --disable-nscd. If enabled, define USE_NSCD.
8999 * configure: Regenerated.
9000 * config.h.in: Add USE_NSCD.
9001 * config.make.in (use-nscd): New substituted variable.
9002 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9003 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9004 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9005 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9006 (CFLAGS-getgrnam_r.c): Likewise.
9007 (CFLAGS-initgroups.c): Likewise.
9008 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9009 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9010 Variables removed.
9011 * inet/getnetgrent_r.c
9012 (nscd_setnetgrent): New function, broken out of ...
9013 (setnetgrent): ... here. Call it.
9014 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9015 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9016 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9017 * nscd/Makefile (routines, aux): Move definitions after include of
9018 Makeconfig. Conditionalize on [$(use-nscd) != no].
9019 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9020 Conditionalize on [USE_NSCD].
9021 (is_nscd, nscd_init_cb): Likewise.
9022 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9023 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9024 * nss/nss_db/db-init.c: Likewise.
9025 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9026 [USE_NSCD].
9027 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9028 (make_request): Use it.
9029 (cache_valid_p): New function.
9030 (__check_pf): Use it.
9031 * NEWS: Add item for --disable-nscd.
9032
07e51550
DL
90332012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9034
9035 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9036 to support sed >= 4.2.1-20-ga9bf076.
9037 * configure: Regenerated.
9038
35a5b08b
RM
90392012-08-22 Roland McGrath <roland@hack.frob.com>
9040
9041 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9042 Conditionalize whole body on [IREL].
9043
8479f23a
JL
90442012-08-22 Jeff Law <law@redhat.com>
9045
9046 [BZ #14505]
9047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9048 if the family is PF_UNSPEC.
9049
48da0b21
MF
90502012-08-22 Mike Frysinger <vapier@gentoo.org>
9051
9052 * Makerules (lib-version): Rename from V.
9053 (install-lib-nosubdir): Change V to lib-version.
9054
15d0da8c
WS
90552012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9056
9057 [BZ #14252]
9058 * powerpc32/power6/wcschr.c: New file.
9059 * powerpc32/power6/wcscpy.c: New file.
9060 * powerpc32/power6/wcsrchr.c: New file.
9061 * powerpc64/power6/wcschr.c: New file.
9062 * powerpc64/power6/wcscpy.c: New file.
9063 * powerpc64/power6/wcsrchr.c: New file.
9064
bcca0895
MK
90652012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9066
9067 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9068 (two_way_short_needle): Use it.
5a4aaa33
RM
9069 * string/strstr.c (AVAILABLE1_USES_J): Define.
9070 * string/strcasestr.c: Likewise.
99677e57
MK
9071
9072 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9073 array references.
9074 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9075
400726de
MK
9076 [BZ #11607]
9077 * NEWS: Add an entry.
9078 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9079 define their defaults.
9080 (two_way_short_needle): Detect end-of-string on-the-fly.
9081 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9082 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9083 * string/bug-strcasestr1.c: New test.
9084 * string/Makefile: Run it.
9085
20a71f2c
MK
90862012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9087
9088 [BZ #11607]
9089 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9090 the first character.
9091
21ad0558
RM
90922012-08-21 Roland McGrath <roland@hack.frob.com>
9093
9094 * csu/elf-init.c (__libc_csu_irel): Function removed.
9095 * csu/libc-start.c (apply_irel): New function.
9096 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9097
0e1d9911
JM
90982012-08-21 Joseph Myers <joseph@codesourcery.com>
9099
9100 * sysdeps/unix/sysv/linux/kernel-features.h
9101 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9102 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9103 <kernel-features.h>.
9104 [__NR_fadvise64_64]: Make code unconditional.
9105 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9106 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9107 !__NR_fadvise64_64)]: Likewise.
9108 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9109 !__NR_fadvise64_64))]: Likewise.
9110 [__NR_fadvise64]: Make code unconditional.
9111 [!__NR_fadvise64]: Remove conditional code.
9112 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9113 <kernel-features.h>.
9114 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9115 unconditional.
9116 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9117 conditional code.
9118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9119 not include <kernel-features.h>.
9120 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9121 unconditional.
9122 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9123 conditional code.
9124 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9125 include <kernel-features.h>.
9126 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9127 unconditional.
9128 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9129 conditional code.
9130
14a50c9d
WS
91312012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9132
9133 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9134 slight instruction rearrangements per scrollpipe analysis.
9135 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9136
c0f4faf0
RM
91372012-08-20 Roland McGrath <roland@hack.frob.com>
9138
696da859
RM
9139 * manual/syslog.texi (syslog; vsyslog, closelog):
9140 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9141 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9142
c0f4faf0
RM
9143 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9144 DSOCAPS to match condition on defining it.
9145
348363b2
JM
91462012-08-20 Joseph Myers <joseph@codesourcery.com>
9147
a35cbf28
JM
9148 * sysdeps/unix/sysv/linux/kernel-features.h
9149 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9151 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9152 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9154 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9155 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9157 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9158 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9159
445f7ecd
JM
9160 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9161 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9162
348363b2
JM
9163 * sysdeps/unix/sysv/linux/kernel-features.h
9164 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9165 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9166 unconditional.
9167 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9168 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9169 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9170 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9171 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9172 Make code unconditional.
9173 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9174 (__mmap64) [!__NR_mmap2]: Likewise.
9175 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9176 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9177 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9178 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9179 [__NR_mmap2]: Make code unconditional.
9180 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9181 (__mmap64) [!__NR_mmap2]: Likewise.
9182
bc5bc0e5
AK
91832012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9184
9185 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9186
88d506de
AJ
91872012-08-18 Andreas Jaeger <aj@suse.de>
9188
9189 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9190
493387d2
MF
91912012-08-18 Mike Frysinger <vapier@gentoo.org>
9192
9193 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9194 * include/unistd.h (__have_sock_cloexec): Likewise.
9195 (__have_pipe2): Likewise.
9196 (__have_dup3): Likewise.
9197
a277af22
MF
91982012-08-18 Mike Frysinger <vapier@gentoo.org>
9199
9200 [BZ #9685]
9201 * include/unistd.h (__have_pipe2): Change define into an extern int.
9202 (__have_dup3): Likewise.
9203 * socket/have_sock_cloexec.c: Include fcntl.h.
9204 (__have_pipe2): New variable.
9205 (__have_dup3): Likewise.
9206
fdab8fd3
MF
92072012-08-17 Mike Frysinger <vapier@gentoo.org>
9208
9209 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9210
31035e80
MP
92112012-08-17 Marek Polacek <polacek@redhat.com>
9212
9213 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9214 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9215
3bd9e993
RM
92162012-08-17 Roland McGrath <roland@hack.frob.com>
9217
c91c505f
RM
9218 * configure.in: Add AC_SUBST for sysheaders.
9219 * configure: Regenerated.
9220 * config.make.in (sysheaders): New substituted variable.
9221
7c6f9d53
RM
9222 * sysdeps/unix/mkfifo.c: Moved ...
9223 * sysdeps/posix/mkfifo.c: ... here.
9224 * sysdeps/unix/mkfifoat.c: Moved ...
9225 * sysdeps/posix/mkfifoat.c: ... here.
9226
9227 * sysdeps/unix/utime.c: Moved ...
9228 * sysdeps/posix/utime.c: ... here.
9229
9230 * sysdeps/unix/time.c: Moved ...
9231 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9232 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9233 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9234
9235 * sysdeps/unix/nice.c: Moved ...
9236 * sysdeps/posix/nice.c: ... here.
9237
9238 * sysdeps/unix/alarm.c: Moved ...
9239 * sysdeps/posix/alarm.c: ... here.
9240
3bd9e993
RM
9241 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9242
d1f09384
JL
92432012-08-17 Jeff Law <law@redhat.com>
9244
9245 * intl/Makefile (codeset_mo): New variable.
9246 ($(codeset_mo)): New target.
9247 (tst-codeset.out): Depend on that. Remove explicit rule.
9248 (tst-gettext3.out, tst-gettext5.out): Likewise.
9249 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9250 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9251 * intl/tst-codeset.sh: Remove.
9252 * intl/tst-gettext3.sh: Likewise.
9253 * intl/tst-gettext5.sh: Likewise.
9254
2ae1ae5c
RM
92552012-08-17 Roland McGrath <roland@hack.frob.com>
9256
c31fdb83
RM
9257 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9258 * sysdeps/unix/syscalls.list: ... here.
9259
a0844057
RM
9260 * sysdeps/posix/getaddrinfo.c
9261 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9262 (gaiconf_init, gaiconf_reload): Use them.
9263 [!_STATBUF_ST_NSEC]
9264 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9265 Define using time_t rather than struct timespec.
9266
750c1f2a
RM
9267 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9268 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9269 Macros removed.
9270 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9271 [!NO_THREADS].
9272 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9273 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9274 Likewise.
9275
2ae1ae5c
RM
9276 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9277 __libc_cleanup_push argument.
9278
e66a42f5
RM
9279 * bits/param.h: New file.
9280 * misc/sys/param.h: New file.
9281 * include/sys/param.h: New file.
9282 * misc/Makefile (headers): Add bits/param.h.
9283 * sysdeps/generic/sys/param.h: File removed.
9284 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9285 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9286 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9287 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9288
b7c08a66
RM
9289 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9290 last change.
9291
b2e1c562
RM
9292 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9293 [_IO_MTSAFE_IO].
9294 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9295 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9296 New macros.
9297
c75ccd4c
RM
9298 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9299 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9300 rather than -D_IO_MTSAFE_IO conditionally.
9301 * stdio-common/Makefile (CPPFLAGS): Likewise.
9302 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9303 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9304 Use $(libio-mtsafe).
9305 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9306 of -D_IO_MTSAFE_IO.
9307 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9308 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9309 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9310 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9311 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9312 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9313 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9314 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9315 (CFLAGS-fread_u_chk.c): Likewise.
9316 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9317 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9318 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9319 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9320 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9321 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9322 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9323 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9324 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9325
9326 * libio/Makefile: Test [$(libc-reentrant) = yes]
9327 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9328
9329 * Makeconfig
9330 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9331 * sysdeps/pthread/configure: File removed.
9332 * sysdeps/pthread/Makeconfig: New file.
9333 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9334 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9335
d9195db8
GB
93362012-08-16 Gary Benson <gbenson@redhat.com>
9337
9338 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9339 unmapping the first object in a namespace.
9340
86466cd9
RM
93412012-08-16 Roland McGrath <roland@hack.frob.com>
9342
9343 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9344 (__internal_setnetgrent): ... this. Add internal_function to
9345 definition. Add libc_hidden_def.
9346 (setnetgrent): Update caller.
9347 (internal_endnetgrent): Renamed to ...
9348 (__internal_endnetgrent): ... this. Add internal_function to
9349 definition. Add libc_hidden_def.
9350 (endnetgrent): Update caller.
9351 (internal_getnetgrent_r): Renamed to ...
9352 (__internal_getnetgrent_r): ... this. Add internal_function to
9353 definition. Add libc_hidden_def.
9354 (__getnetgrent_r): Update caller.
9355 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9356
c3c8283c
JM
93572012-08-16 Joseph Myers <joseph@codesourcery.com>
9358
9359 * stdlib/longlong.h: Update from GCC.
9360
db1ee0a8
RM
93612012-08-16 Roland McGrath <roland@hack.frob.com>
9362
9363 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9364 on _QL, which is set by umul_ppmm but never used.
9365 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9366 variables, which are set by GMP macros but never used.
9367 * stdio-common/_itowa.c (_itowa): Likewise.
9368 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9369 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9370
30f69637
CD
93712012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9372
9373 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9374 struct La_sh_regs is not constant.
9375 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9376 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9377 and struct La_sparc64_regs are not constant.
9378
93a78ac4
JM
93792012-08-16 Joseph Myers <joseph@codesourcery.com>
9380
9381 * sysdeps/unix/sysv/linux/kernel-features.h
9382 (__ASSUME_POSIX_TIMERS): Remove.
9383 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9384 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9385 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9386 Make code unconditional.
9387 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9388 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9389 Make code unconditional.
9390 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9391 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9392 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9393 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9394 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9395 Make code unconditional.
9396 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9397 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9398 (__libc_missing_posix_timers): Remove.
9399
dd924cd7
RM
94002012-08-15 Roland McGrath <roland@hack.frob.com>
9401
4b4f2771
RM
9402 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9403 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9404
601c888b
RM
9405 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9406
176790a7
RM
9407 * elf/dl-sym.c: Include <stdlib.h>.
9408
329bc018
RM
9409 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9410 constants, which avoids warnings in 32-bit builds.
9411
e04e272d
RM
9412 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9413 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9414
952bf94a
RM
9415 * misc/lseek.c: File moved to ...
9416 * io/lseek.c: ... here.
9417
7c99b50a
RM
9418 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9419
dd924cd7
RM
9420 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9421 shifting LEN more than 31 bits at once.
9422
b3f479a8
LD
94232012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9424
9425 [BZ #14195]
8c4ae0d4
RM
9426 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9427 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9428 * string/test-strncasecmp.c (check1): Renamed to...
9429 (bz12205): ...this.
9430 (bz14195): Add new testcase for two empty input strings and N > 0.
9431 (test_main): Call new testcase, adapt for renamed function.
9432
9c55864e
AJ
94332012-08-15 Andreas Jaeger <aj@suse.de>
9434
9435 [BZ #14090]
9436 * crypt/md5test2.c: New test, based on test supplied by Serge
9437 Belyshev <belyshev@depni.sinp.msu.ru>.
9438 * crypt/Makefile (xtests): Add md5test-giant..
9439 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9440
02dcb6c5
PE
94412012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9442
9443 [BZ #14090]
9444 * crypt/md5.c (md5_process_block): Don't assume the buffer
9445 length is less than 2**32.
9446 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9447 length is less than 2**64.
9448
a3f95dcc
RM
94492012-08-15 Roland McGrath <roland@hack.frob.com>
9450
be75d758
RM
9451 * string/str-two-way.h: Include <sys/param.h>.
9452 (MAX): Macro removed.
9453
7312ca90
RM
9454 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9455 Move #define and #undef of memmove to just before and after
9456 including <string.h>.
9457
9a0a5486
RM
9458 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9459 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9460 and after including <string.h>. Move declarations of
9461 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9462 to before #include "string/memmove.c".
9463
67cc348d
RM
9464 * include/dirent.h: Declare __getdirentries.
9465
a3f95dcc
RM
9466 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9467 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9468
ca98e171
MF
94692012-08-14 Mike Frysinger <vapier@gentoo.org>
9470
9471 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9472 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9473 * sysdeps/i386/configure: Regenerated.
9474 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9475 STABS_CURRENT_FILE, and STABS_FUN.
9476 (END): Remove call to STABS_FUN_END.
9477 (STABS_CURRENT_FILE1): Delete.
9478 (STABS_CURRENT_FILE): Likewise.
9479 (STABS_FUN): Likewise.
9480 (STABS_FUN_END): Likewise.
9481 (STABS_FUN2): Likewise.
9482 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9483 * sysdeps/x86_64/configure: Regenerated.
9484
5908bf46
RM
94852012-08-14 Roland McGrath <roland@hack.frob.com>
9486
9487 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9488 * elf/dl-lookup.c: Likewise.
5908bf46 9489
f2c05b9e
JM
94902012-08-14 Joseph Myers <joseph@codesourcery.com>
9491
9492 * sysdeps/unix/sysv/linux/kernel-features.h
9493 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9494 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9495 unconditionally.
9496 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9497 unconditionally.
9498 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9499 condition on __ASSUME_CLONE_THREAD_FLAGS.
9500
e11f5155
AJ
95012012-08-14 Andreas Jaeger <aj@suse.de>
9502
9503 * sysdeps/i386/fpu/libm-test-ulps: Update.
9504
51a9ba86
MK
95052012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9506
2fdd4f78
AJ
9507 * include/atomic.h (atomic_exchange_and_add): Split into ...
9508 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9509 New atomic macros.
51a9ba86 9510
ba6cba9e
MT
95112012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9512
9513 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9514
42443a47
JL
95152012-08-13 Jeff Law <law@redhat.com>
9516
9517 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9518 null byte in the output string.
9519
121dce05
JM
95202012-08-10 Joseph Myers <joseph@codesourcery.com>
9521
9522 * sysdeps/unix/sysv/linux/kernel-features.h
9523 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9524 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9525 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9526 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9527 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9528 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9529 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9530
bf51f568
JL
95312012-08-09 Jeff Law <law@redhat.com>
9532
9533 [BZ #13939]
9534 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9535 When avoid_arena is set, don't retry in the that arena. Pick the
9536 next one, whatever it might be.
9537 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9538 (arena_lock): Pass in new parameter to arena_get2.
9539 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9540 arena_get2.
9541 (__libc_malloc): Unify retrying after main arena failure with
9542 __libc_memalign version.
9543 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9544
f85fa270
L
95452012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9546
9547 [BZ #14166]
9548 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9549 to __redirect_strstr.
9550 (__strstr_sse42): Use typeof __redirect_strstr.
9551 (__strstr_ia32): Likewise.
9552 (__libc_strstr): New prototype.
9553 (strstr): Renamed to ...
9554 (__libc_strstr): This.
9555 (strstr): New strong alias of __libc_strstr.
9556 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9557 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9558 __redirect_time.
9559 Include <time.h>.
9560 (__libc_time): New prototype.
9561 (time_ifunc): Replace time with __libc_time.
9562 (time): New strong alias and hidden definition of __libc_time.
9563 (__GI_time): Remove strong alias.
9564 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9565 Include <stddef.h>.
9566 (memmove): Redefined to __redirect_memmove.
9567 (__memmove_sse2): Use typeof __redirect_memmove.
9568 (__memmove_ssse3): Likewise.
9569 (__memmove_ssse3_back): Likewise.
9570 (__libc_memmove): New prototype.
9571 (memmove): Renamed to ...
9572 (__libc_memmove): This.
9573 (memmove): New strong alias of __libc_memmove.
9574
33b4a91e
MS
95752012-08-08 Mark Salter <msalter@redhat.com>
9576
9577 * elf/elf.h
9578 (R_MN10300_TLS_GD): Define.
9579 (R_MN10300_TLS_LD): Likewise.
9580 (R_MN10300_TLS_LDO): Likewise.
9581 (R_MN10300_TLS_GOTIE): Likewise.
9582 (R_MN10300_TLS_IE): Likewise.
9583 (R_MN10300_TLS_LE): Likewise.
9584 (R_MN10300_TLS_DTPMOD): Likewise.
9585 (R_MN10300_TLS_DTPOFF): Likewise.
9586 (R_MN10300_TLS_TPOFF): Likewise.
9587 (R_MN10300_SYM_DIFF): Likewise.
9588 (R_MN10300_ALIGN): Likewise.
9589 (R_MN10300_NUM): Update.
9590
b36137f1
JM
95912012-08-08 Joseph Myers <joseph@codesourcery.com>
9592
9593 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9594 Remove.
9595
cdd915fd
RM
95962012-08-08 Roland McGrath <roland@hack.frob.com>
9597
a2433aac
RM
9598 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9599
cdd915fd
RM
9600 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9601 sysdeps/unix -> sysdeps/posix move.
9602 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9603
bf9b740a
AM
96042012-08-07 Allan McRae <allan@archlinux.org>
9605
9606 [BZ #14303]
9607 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9608 (SUNOS_CPP): Likewise.
9609 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9610 not found.
9611 (open_input): Call CPP using execvp.
9612
93df14ee
JM
96132012-08-07 Joseph Myers <joseph@codesourcery.com>
9614
9615 * sysdeps/unix/sysv/linux/kernel-features.h
9616 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9617 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9618 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9619 (__ASSUME_WAITID_SYSCALL): Likewise.
9620 * sysdeps/unix/sysv/linux/dl-execstack.c
9621 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9622 code unconditional.
9623 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9624 conditional code.
9625 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9626 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9627 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9628 code.
9629 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9630 unconditional.
9631 [__ASSUME_WAITID_SYSCALL]: Likewise.
9632 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9633
d34689de
RM
96342012-08-07 Roland McGrath <roland@hack.frob.com>
9635
a281decc
RM
9636 * sysdeps/unix/closedir.c: Renamed to ...
9637 * sysdeps/posix/closedir.c: ... here.
9638 * sysdeps/unix/dirfd.c: Renamed to ...
9639 * sysdeps/posix/dirfd.c: ... here.
9640 * sysdeps/unix/dirstream.h: Renamed to ...
9641 * sysdeps/posix/dirstream.h: ... here.
9642 * sysdeps/unix/fdopendir.c: Renamed to ...
9643 * sysdeps/posix/fdopendir.c: ... here.
9644 * sysdeps/unix/opendir.c: Renamed to ...
9645 * sysdeps/posix/opendir.c: ... here.
9646 * sysdeps/unix/readdir.c: Renamed to ...
9647 * sysdeps/posix/readdir.c: ... here.
9648 * sysdeps/unix/readdir_r.c: Renamed to ...
9649 * sysdeps/posix/readdir_r.c: ... here.
9650 * sysdeps/unix/rewinddir.c: Renamed to ...
9651 * sysdeps/posix/rewinddir.c: ... here.
9652 * sysdeps/unix/seekdir.c: Renamed to ...
9653 * sysdeps/posix/seekdir.c: ... here.
9654 * sysdeps/unix/telldir.c: Renamed to ...
9655 * sysdeps/posix/telldir.c: ... here.
9656 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9657 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9658 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9659 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9660
22895b47
RM
9661 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9662 * bits/fcntl.h: ... here.
9663
707a53b6
RM
9664 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9665 not 0.
9666 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9667 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9668 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9669 (struct flock): Move l_start, l_len to the beginning.
9670 Use __pid_t for l_pid.
9671 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9672 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9673 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9674 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9675 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9676 [__USE_LARGEFILE64] (struct flock64): New type.
9677 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9678
f0bd3e25
RM
9679 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9680 * bits/dirent.h: ... here.
9681
d34689de
RM
9682 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9683 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9684
6dad2c06
JM
96852012-08-07 Joseph Myers <joseph@codesourcery.com>
9686
9687 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9688 Change from 2.6.0 to 2.6.16.
9689 * sysdeps/unix/sysv/linux/configure: Regenerated.
9690 * sysdeps/unix/sysv/linux/kernel-features.h
9691 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9692 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9693 version.
9694 (__ASSUME_UTIMES): Likewise.
9695 (__ASSUME_CLONE_STOPPED): Remove.
9696 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9697 architectures, not kernel version.
9698 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9699 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9700 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9701 (__ASSUME_WAITID_SYSCALL): Likewise.
9702 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9703 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9704 * README: State 2.6.16 as minimum Linux kernel version. Do not
9705 refer to older versions.
9706
03af9520
RM
97072012-08-06 Roland McGrath <roland@hack.frob.com>
9708
8e49df1d
RM
9709 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9710 Define alphasort64 as an alias.
9711 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9712 Define versionsort64 as an alias.
9713 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9714 Define scandir64 as an alias.
9715 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9716 Define scandirat64 as an alias.
9717 * dirent/alphasort64.c (alphasort64):
9718 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9719 * dirent/versionsort64.c: Likewise.
9720 * dirent/scandir64.c: Likewise.
9721 * dirent/scandirat64.c: Likewise.
9722 * sysdeps/wordsize-64/alphasort.c: File removed.
9723 * sysdeps/wordsize-64/alphasort64.c: File removed.
9724 * sysdeps/wordsize-64/scandir.c: File removed.
9725 * sysdeps/wordsize-64/scandir64.c: File removed.
9726 * sysdeps/wordsize-64/scandirat.c: File removed.
9727 * sysdeps/wordsize-64/scandirat64.c: File removed.
9728 * sysdeps/wordsize-64/versionsort.c: File removed.
9729 * sysdeps/wordsize-64/versionsort64.c: File removed.
9730 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9731 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9732 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9733 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9734 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9735 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9736 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9737 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9738
9739 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9740 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9741 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9742 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9743 [defined __arch64__ || defined __sparcv9]
9744 (__INO_T_MATCHES_INO64_T): New macro.
9745 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9746 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9747 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9748 * sysdeps/unix/sysv/linux/bits/dirent.h
9749 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9750 (_DIRENT_MATCHES_DIRENT64): New macro.
9751
03af9520
RM
9752 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9753 Define lockf64 as an alias.
9754 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9755 Define fseeko64 as an alias.
9756 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9757 Define ftello64 as an alias.
9758 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9759 Define _IO_fgetpos64 and fgetpos64 as aliases.
9760 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9761 Define _IO_fsetpos64 and fsetpos64 as aliases.
9762 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9763 Conditionalize body on this.
9764 * libio/fseeko64.c: Likewise.
9765 * libio/ftello64.c: Likewise.
9766 * libio/iofgetpos64.c: Likewise.
9767 * libio/iofsetpos64.c: Likewise.
9768 * sysdeps/wordsize-64/lockf.c: File removed.
9769 * sysdeps/wordsize-64/lockf64.c: File removed.
9770 * sysdeps/wordsize-64/fseeko.c: File removed.
9771 * sysdeps/wordsize-64/fseeko64.c: File removed.
9772 * sysdeps/wordsize-64/ftello.c: File removed.
9773 * sysdeps/wordsize-64/ftello64.c: File removed.
9774 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9775 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9776 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9777 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9778 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9779 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9780 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9781 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9782 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9783 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9784 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9785 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9786 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9787 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9788
9789 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9790 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9791 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9792 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9793 [defined __arch64__ || defined __sparcv9]
9794 (__OFF_T_MATCHES_OFF64_T): New macro.
9795 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9796 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9797 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9798 (__OFF_T_MATCHES_OFF64_T): New macro.
9799
c5757acd
L
98002012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9801
9802 * stdlib/secure-getenv.c (__secure_getenv): Replace
9803 GLIBC_2_16 with GLIBC_2_17.
9804
3a31811e
L
98052012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9806
9807 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9808 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9809
faa2bccb
DM
98102012-08-03 David S. Miller <davem@davemloft.net>
9811
9812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9813
85fe1997
JM
98142012-08-03 Joseph Myers <joseph@codesourcery.com>
9815
9816 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9817 Remove.
9818 (__ASSUME_CORRECT_SI_PID): Likewise.
9819 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9820 (__ASSUME_TMPFS_NAME): Likewise.
9821 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9822 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9823 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9824 (HAVE_AUX_SECURE): Make definition unconditional.
9825 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9826 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9827
4f75b7a0
RM
98282012-08-03 Roland McGrath <roland@hack.frob.com>
9829
9830 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9831 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9832 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9833 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9834 __eloop_threshold instead of SYMLOOP_MAX.
9835
9836 * sysdeps/generic/eloop-threshold.h: New file.
9837 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9838 of MAXSYMLINKS.
9839 * elf/chroot_canon.c (chroot_canon): Likewise.
9840
7aab07e4
JM
98412012-08-03 Joseph Myers <joseph@codesourcery.com>
9842
9843 [BZ #13717]
9844 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9845 Change to 2.6.0 everywhere.
9846 * sysdeps/unix/sysv/linux/configure: Regenerated.
9847 * sysdeps/unix/sysv/linux/kernel-features.h
9848 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9849 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9850 kernel versions.
9851 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9852 (__ASSUME_FUTEX_REQUEUE): Remove.
9853 (__ASSUME_STATFS64): Define unconditionally.
9854 (__ASSUME_AT_SECURE): Likewise.
9855 (__ASSUME_CORRECT_SI_PID): Likewise.
9856 (__ASSUME_TGKILL): Define without depending on kernel version for
9857 i386.
9858 (__ASSUME_UTIMES): Likewise.
9859 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9860 kernel version.
9861 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9862 (__ASSUME_TMPFS_NAME): Likewise.
9863 * README: Update reference to Linux kernel versions.
9864
b67e9372
MP
98652012-08-02 Marek Polacek <polacek@redhat.com>
9866
1f529f7d 9867 [BZ# 14150]
b67e9372
MP
9868 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9869 libc_cv_asm_type_prefix with %.
9870 * configure: Regenerated.
d2441631
RM
9871 * include/libc-symbols.h: Remove comment about
9872 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9873 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9874 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9875 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9876 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9877 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9878 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9879 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9880 * elf/tst-unique2mod1.c: Likewise.
9881 * elf/tst-unique1mod2.c: Likewise.
9882 * elf/tst-unique1mod1.c: Likewise.
9883 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9884 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9885 Replace ASM_TYPE_DIRECTIVE with .type.
9886 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9887 * sysdeps/i386/sysdep.h: Likewise.
9888 * sysdeps/x86_64/sysdep.h: Likewise.
9889 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9891 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9892 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9893 * sysdeps/powerpc/powerpc32/sysdep.h:
9894 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9895 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9896 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9897 * sysdeps/i386/fpu/e_powf.S: Likewise.
9898 * sysdeps/i386/fpu/e_expl.S: Likewise.
9899 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9900 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9901 * sysdeps/i386/fpu/e_pow.S: Likewise.
9902 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9903 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9904 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9905 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9906 * sysdeps/i386/fpu/e_log2.S: Likewise.
9907 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9908 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9909 * sysdeps/i386/fpu/e_powl.S: Likewise.
9910 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9911 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9912 * sysdeps/i386/fpu/e_logl.S: Likewise.
9913 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9914 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9915 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9916 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9917 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9918 * sysdeps/i386/fpu/e_log.S: Likewise.
9919 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9920 * sysdeps/i386/fpu/e_logf.S: Likewise.
9921 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9922 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9923 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9924 * sysdeps/i386/fpu/e_log10.S: Likewise.
9925 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9926 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9927 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9928 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9929 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9930 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9931 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9932 * sysdeps/i386/i686/strtok.S: Likewise.
9933 * sysdeps/i386/i386-mcount.S: Likewise.
9934 * sysdeps/i386/strtok.S: Likewise.
9935 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9936 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9937 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9938 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9939 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9940 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9941 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9942 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9943 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9944 * sysdeps/x86_64/_mcount.S: Likewise.
9945 * sysdeps/x86_64/strtok.S: Likewise.
9946 * sysdeps/sh/_mcount.S: Likewise.
9947
2747bf9a
RM
99482012-08-01 Roland McGrath <roland@hack.frob.com>
9949
9950 * libio/iofopen.c: Include <fcntl.h>.
9951 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9952 (_IO_fopen64, fopen64): Define as aliases.
9953 * libio/iofopen64.c: Include <fcntl.h>.
9954 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9955 Conditionalize body on this.
9956 * sysdeps/wordsize-64/iofopen.c: File removed.
9957 * sysdeps/wordsize-64/iofopen64.c: File removed.
9958
3fb791b8
MP
99592012-08-01 Marek Polacek <polacek@redhat.com>
9960
9961 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9962 Use dlfcn directly instead of a variable.
9963 (binfmt-subdir): Do not define.
9964 (dlfcn): Likewise.
9965
a9f1039f
JM
99662012-08-01 Joseph Myers <joseph@codesourcery.com>
9967
23bddc06
JM
9968 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9969 Remove all definitions.
9970 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9971 <kernel-features.h>.
9972 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9973 (miss_F_GETOWN_EX): Remove all definitions.
9974 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9975 macro definition.
9976 [!__ASSUME_FCNTL64]: Remove conditional code.
9977 [__ASSUME_FCNTL64]: Make code unconditional.
9978 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9979 <kernel-features.h>.
9980 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9981 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9982 (lockf64) [__NR_fcntl64]: Make code unconditional.
9983 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9984
a9f1039f
JM
9985 * sysdeps/unix/sysv/linux/kernel-features.h
9986 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9987 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9988 Make code unconditional.
9989 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9990 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9992 [__NR_vfork]: Make code unconditional.
9993 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9994 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9996 [__NR_vfork]: Make code unconditional.
9997 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9998 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9999
09c0ee5f
RM
100002012-08-01 Roland McGrath <roland@hack.frob.com>
10001
48aec5b9
RM
10002 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10003 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10004
cd97c966
RM
10005 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10006 Define mkstemp64 as an alias.
3f55550c
RM
10007 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10008 Define mkstemps64 as an alias.
cd97c966
RM
10009 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10010 Define mkostemp64 as an alias.
b8625cfc
RM
10011 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10012 Define mkostemps64 as an alias.
cd97c966
RM
10013 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10014 Conditionalize body on this.
10015 * misc/mkostemp64.c: Likewise.
b8625cfc 10016 * misc/mkostemps64.c: Likewise.
3f55550c 10017 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10018 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10019 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10020 * sysdeps/wordsize-64/mkostemp.c: File removed.
10021 * sysdeps/wordsize-64/mkstemp.c: File removed.
10022 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10023 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10024 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10025 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10026
09c0ee5f
RM
10027 [BZ #14138]
10028 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10029 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10030 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10031 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10032
10033 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10034 compat_symbol macros from <shlib-compat.h> rather than the underlying
10035 default_symbol_version and symbol_version macros, so that DEFAULT
10036 lines in shlib-versions are respected.
10037 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10038
7e66ee51
FW
100392012-08-01 Florian Weimer <fweimer@redhat.com>
10040
10041 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10042 Declare with warn_unused_result.
10043 (setgid, setregid, setegid, setresgid): Likewise.
10044 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10045 Likewise.
10046 * WUR-REPORT: Remove set*id functions.
10047
d2a54255
PT
100482012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10049
10050 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10051
7ecdb005
RM
100522012-07-31 Roland McGrath <roland@hack.frob.com>
10053
789bd351
RM
10054 * include/sys/socket.h (__libc_accept, __libc_accept4):
10055 Add attribute_hidden.
10056 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10057
40ce302d
RM
10058 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10059 use of PTR_MANGLE.
10060 * inet/getnetgrent_r.c (setup): Likewise.
10061
7ecdb005
RM
10062 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10063
e2eabb2c
DM
100642012-07-31 David S. Miller <davem@davemloft.net>
10065
10066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10067
d0419dbf
JM
100682012-07-31 Joseph Myers <joseph@codesourcery.com>
10069
10070 [BZ #13629]
10071 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10072 value between 1.0 and 2.0 and smaller part has absolute value less
10073 than 1.0.
10074 * math/s_clog10.c (__clog10): Likewise.
10075 * math/s_clog10f.c (__clog10f): Likewise.
10076 * math/s_clog10l.c (__clog10l): Likewise.
10077 * math/s_clogf.c (__clogf): Likewise.
10078 * math/s_clogl.c (__clogl): Likewise.
10079 * math/libm-test.inc (clog_test): Add more tests.
10080 (clog10_test): Likewise.
10081 * sysdeps/i386/fpu/libm-test-ulps: Update.
10082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10083
2bc13872
FW
100842012-07-31 Florian Weimer <fweimer@redhat.com>
10085
10086 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10087 Exit with zero in case no suitable GID is found, and write a
10088 message to standard error.
10089
bea9b193
RM
100902012-07-30 Roland McGrath <roland@hack.frob.com>
10091
10092 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10093 rather than to 1.
10094 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10095 (MAXPATHLEN): Removed.
10096 (NOGROUP, NODEV): New macros.
10097 (setbit, clrbit, isset, isclr): New macros.
10098 (howmany, roundup, powerof2): New macros.
10099 (DEV_BSIZE): New macro.
10100
10101 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10102 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10103
10104 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10105 definition on [!__NO_LONG_DOUBLE_MATH].
10106
10107 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10108 PTR_MANGLE and PTR_DEMANGLE.
10109
10110 * socket/accept4.c (accept4): Rename to __libc_accept4.
10111 Define accept4 as a weak alias.
10112
10113 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10114 on [_DIRENT_HAVE_D_TYPE].
10115 * io/ftw.c (ftw_dir): Likewise.
10116
10117 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10118
10119 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10120
10121 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10122 Use the BSD numbers rather than the arbitrary ones we had.
10123 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10124 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10125 (SIGXCPU, SIGXFSZ): New macros.
10126 (_NSIG): Now 32.
10127
10128 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10129 initializer on [_LIBC_REENTRANT].
10130
10131 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10132 definitions inside [_POSIX_MAPPED_FILES].
10133
10134 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10135
10136 * dirent/opendir.c: Include <fcntl.h>.
10137
10138 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10139 (__libc_getspecific): Likewise.
10140 (__libc_key_create): Likewise.
10141
10142 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10143 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10144 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10145 (tmpfile64): Define as alias.
10146 * sysdeps/wordsize-64/tmpfile.c: File removed.
10147 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10148 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10149 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10150
10151 * stdio-common/vfscanf.c: Include <stdbool.h>.
10152 * nss/makedb.c: Likewise.
10153 * stdio-common/_i18n_number.h: Likewise.
10154 * argp/argp-help.c: Likewise.
10155 * posix/wordexp.c: Likewise.
10156 * sysdeps/posix/spawni.c: Likewise.
10157 * nss/nss_files/files-initgroups.c: Likewise.
10158 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10159 * nss/nss_files/files-initgroups.c: Likewise.
10160 * nss/nss_db/db-netgrp.c: Likewise.
10161 * nss/nss_db/db-initgroups.c: Likewise.
10162 * io/fchmodat.c: Include <sys/stat.h>.
10163
10164 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10165 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10166
10167 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10168 [HAVE_MMAP].
10169
10170 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10171 Add multiple inclusion protection.
10172
e5abc686
DM
101732012-07-27 David S. Miller <davem@davemloft.net>
10174
10175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10176
815e6fa3
GB
101772012-07-27 Gary Benson <gbenson@redhat.com>
10178
10179 [BZ #14298]
10180 * elf/rtld.c: Include <stap-probe.h>.
10181 (dl_main): Added static probes "init_start" and "init_complete".
10182 * elf/dl-load.c: Include <stap-probe.h>.
10183 (lose): Take new parameter "nsid".
10184 Added static probe "map_failed".
10185 (_dl_map_object_from_fd): Pass namespace id to lose.
10186 Added static probe "map_start".
10187 (open_verify): Pass namespace id to lose.
10188 * elf/dl-open.c: Include <stap-probe.h>.
10189 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10190 and "reloc_complete".
10191 * elf/dl-close.c: Include <stap-probe.h>.
10192 (_dl_close_worker): Added static probes "unmap_start" and
10193 "unmap_complete".
10194 * elf/rtld-debugger-interface.txt: New file documenting the above.
10195
9f98c16c
RM
101962012-07-26 Roland McGrath <roland@hack.frob.com>
10197
10198 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10199 rather than a string variable.
10200 * sunrpc/rpc_main.c (h_output): Likewise.
10201 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10202
f3c22df3
PT
102032012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10204
10205 * inet/check_native.c: New file.
10206
3129cfc6
JM
102072012-07-26 Joseph Myers <joseph@codesourcery.com>
10208
da865e95
JM
10209 [BZ #13629]
10210 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10211 if larger part has absolute value 1.0.
10212 * math/s_clog10.c (__clog10): Likewise.
10213 * math/s_clog10f.c (__clog10f): Likewise.
10214 * math/s_clog10l.c (__clog10l): Likewise.
10215 * math/s_clogf.c (__clogf): Likewise.
10216 * math/s_clogl.c (__clogl): Likewise.
10217 * math/libm-test.inc (clog_test): Add more tests.
10218 (clog10_test): Likewise.
10219 * sysdeps/i386/fpu/libm-test-ulps: Update.
10220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10221
3129cfc6
JM
10222 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10223 (pltexit): Likewise.
10224 (La_regs): Likewise.
10225 (La_retval): Likewise.
10226 (int_retval): Likewise.
10227 Update #error for removed macros to refer only to definitions in
10228 tst-audit.h.
10229 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10230 macro.
10231 (pltexit): Likewise.
10232 (La_regs): Likewise.
10233 (La_retval): Likewise.
10234 (int_retval): Likewise.
10235 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10236 macro.
10237 (pltexit): Likewise.
10238 (La_regs): Likewise.
10239 (La_retval): Likewise.
10240 (int_retval): Likewise.
10241 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10242 macro.
10243 (pltexit): Likewise.
10244 (La_regs): Likewise.
10245 (La_retval): Likewise.
10246 (int_retval): Likewise.
10247 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10248 macro.
10249 (pltexit): Likewise.
10250 (La_regs): Likewise.
10251 (La_retval): Likewise.
10252 (int_retval): Likewise.
10253 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10254 macro.
10255 (pltexit): Likewise.
10256 (La_regs): Likewise.
10257 (La_retval): Likewise.
10258 (int_retval): Likewise.
10259 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10260 macro.
10261 (pltexit): Likewise.
10262 (La_regs): Likewise.
10263 (La_retval): Likewise.
10264 (int_retval): Likewise.
10265 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10266 macro definitions in tst-audit.h.
10267 * sysdeps/i386/tst-audit.h: New file.
10268 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10269 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10270 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10271 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10272 * sysdeps/sh/tst-audit.h: Likewise.
10273 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10274 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10275 * sysdeps/x86_64/tst-audit.h: Likewise.
10276
bfc07087
AJ
102772012-07-26 Andreas Jaeger <aj@suse.de>
10278
b1b2aaf8
AJ
10279 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10280 ptrace.
10281
10282 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10283 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10284 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10285 PTRACE_O_MASK.
10286 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10287 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10288 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10289
bfc07087
AJ
10290 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10291 value.
10292
10293 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10294 _sigsys.
10295 (si_call_addr, si_syscall, si_arch): Define new macro.
10296 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10297 _sigsys.
10298 (si_call_addr, si_syscall, si_arch): Define new marcro.
10299 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10300 _sigsys.
10301 (si_call_addr, si_syscall, si_arch): Define new macro.
10302 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10303 _sigsys.
10304 (si_call_addr, si_syscall, si_arch): Define new macro.
10305
89b4b02f
JM
103062012-07-25 Joseph Myers <joseph@codesourcery.com>
10307
10308 [BZ #13717]
10309 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10310 Change to 2.4.21 where previously 2.4.1.
10311 * sysdeps/unix/sysv/linux/configure: Regenerated.
10312 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10313 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10314 Linux kernel version.
10315 (__ASSUME_STD_AUXV): Remove.
10316 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10317 kernel version.
10318 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10319 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10320 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10321 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10322 (__ASSUME_NETLINK_SUPPORT): Likewise.
10323 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10324 (__no_netlink_support): Remove conditional definition.
10325 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10326 Remove.
10327 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10328 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10329 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10330 (if_nameindex_ioctl): Remove.
10331 (if_nameindex_netlink): Do not handle __no_netlink_support.
10332 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10333 code.
10334 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10335 Remove conditional code.
10336 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10337 code.
10338 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10339 unconditional.
10340 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10341 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10342 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10343 Remove.
10344 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10345 [!__ASSUME_STD_AUXV]: Remove conditional code.
10346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10347 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10348 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10350 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10351 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10352 code.
10353 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10355 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10356 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10357 conditional code.
10358 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10360 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10361 code.
10362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10363 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10364 conditional code.
10365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10366 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10367 code unconditional.
10368 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10369 conditional code.
10370 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10371 unconditional.
10372 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10373 conditional code.
10374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10375 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10376 unconditional.
10377 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10378 conditional code.
10379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10380 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10381 code unconditional.
10382 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10383 conditional code.
10384 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10385 unconditional.
10386 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10387 conditional code.
10388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10389 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10390 code unconditional.
10391 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10392 conditional code.
10393 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10394 unconditional.
10395 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10396 conditional code.
10397
842a39cd
AS
103982012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10399
10400 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10401 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10402 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10403 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10404 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10405 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10406 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10407 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10408 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10409 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10410 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10411 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10412 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10413 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10414 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10415 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10416 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10417 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10418 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10419 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10420 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10421 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10422 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10423
84b3fd84
FW
104242012-07-25 Florian Weimer <fweimer@redhat.com>
10425
10426 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10427 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10428 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10429 Introduce __libc_secure_getenv.
0c7936d5
FW
10430 * stdlib/Versions (2.17): Add secure_getenv
10431 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10432 * stdlib/secure-getenv.c: Rename __secure_getenv to
10433 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10434 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10435 * stdlib/tst-secure-getenv.c: New.
10436 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10437 * manual/startup.texi (Environment Access): Document
10438 secure_getenv.
84b3fd84
FW
10439 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10440 __libc_secure_getenv.
10441 * inet/ruserpass.c (ruserpass): Likewise.
10442 * malloc/mtrace.c (mtrace): Likewise.
10443 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10444 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10445 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10446 * sysdeps/posix/tempname.c: Likewise. Evaluate
10447 HAVE_SECURE_GETENV.
10448 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10449 __secure_getenv to __libc_secure_getenv.
84b3fd84 10450 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10452 Likewise.
10453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10454 Likewise.
10455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10457 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10462
56e49b71
JM
104632012-07-25 Joseph Myers <joseph@codesourcery.com>
10464
10465 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10466 (struct La_i86_retval): Likewise.
10467 (struct La_x86_64_regs): Likewise.
10468 (struct La_x86_64_retval): Likewise.
10469 (struct La_x32_regs): Likewise.
10470 (struct La_x32_retval): Likewise.
10471 (struct La_ppc32_regs): Likewise.
10472 (struct La_ppc32_retval): Likewise.
10473 (struct La_ppc64_regs): Likewise.
10474 (struct La_ppc64_retval): Likewise.
10475 (struct La_sh_regs): Likewise.
10476 (struct La_sh_retval): Likewise.
10477 (struct La_s390_32_regs): Likewise.
10478 (struct La_s390_32_retval): Likewise.
10479 (struct La_s390_64_regs): Likewise.
10480 (struct La_s390_64_retval): Likewise.
10481 (struct La_sparc32_regs): Likewise.
10482 (struct La_sparc32_retval): Likewise.
10483 (struct La_sparc64_regs): Likewise.
10484 (struct La_sparc64_retval): Likewise.
10485 (struct audit_ifaces): Remove architecture-specific pltenter and
10486 pltexit members.
10487 * sysdeps/i386/ldsodefs.h: New file.
10488 * sysdeps/powerpc/ldsodefs.h: Likewise.
10489 * sysdeps/s390/ldsodefs.h: Likewise.
10490 * sysdeps/sh/ldsodefs.h: Likewise.
10491 * sysdeps/sparc/ldsodefs.h: Likewise.
10492 * sysdeps/x86_64/ldsodefs.h: Likewise.
10493
354691b7
MP
104942012-07-25 Marek Polacek <polacek@redhat.com>
10495
10496 [BZ #6808]
10497 * math/libm-test.inc (yn_test): Add another test.
10498 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10499 to ERANGE when the result is +-Inf.
10500 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10501 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10502 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10503 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10504
bf9e2071
JM
105052012-07-24 Joseph Myers <joseph@codesourcery.com>
10506
10507 * conform/data/time.h-data (NULL): Use macro-constant. Require
10508 equal to 0.
10509 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10510 clock_t.
10511 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10512
57633811
TS
105132012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10514
10515 * configure.in <sysdeps resolving>: Correct printing
10516 Implies_before.
10517 * configure: Regenerate.
10518
c23c33b0
TS
105192012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10520
10521 * math/w_ilogb.c: Include <limits.h>.
10522 * math/w_ilogbl.c: Likewise.
10523
b5982523
JM
105242012-07-20 Joseph Myers <joseph@codesourcery.com>
10525
10526 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10527 va_copy. Document allowing for unavailable va_copy only as
10528 pre-C99 compatibility.
10529 * manual/string.texi (Copying and Concatenation): Use va_copy
10530 instead of __va_copy in concat example.
10531
ac4ea442
PT
105322012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10533
10534 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10535 (__sendto): Use create_address_port. Initialize APORT and deallocate
10536 it if not null.
10537
f98eafbd
PT
10538 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10539 with O_NOLINK passed to __file_name_lookup.
10540
898c7aab
PT
10541 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10542 with O_NOLINK passed to __file_name_lookup.
10543
0ced335a
PT
10544 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10545 negative N or less than NGIDS.
10546
b3404dbd
PT
10547 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10548 type to string_t. Set ERANGE as errno and return it if NAME is not big
10549 enough. Use memcpy instead of strncpy.
10550
0f48659e
JM
105512012-07-20 Joseph Myers <joseph@codesourcery.com>
10552
10553 * elf/Makefile (check-data): Remove.
10554 (localplt.data): New vpath directive.
10555 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10556 instead of $(check-data).
10557 * scripts/data/localplt-generic.data: Move to ...
10558 * sysdeps/generic/localplt.data: ... here.
10559 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10560 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10561 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10563 ... here.
10564 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10566 ... here.
10567 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10569 ... here.
10570 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10572 ... here.
10573 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10575 ... here.
10576 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10578 ... here.
10579
d37cbdaa
AZ
105802012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10581
10582 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10583 PPC32 and PPC64 files.
10584 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10585 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10586
46f85fc2
AK
105872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10588
10589 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10590 __makecontext_ret to ...
10591 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10592 ... here and call exit if uc_link is NULL. New file.
10593 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10594 __makecontext_ret.S.
10595 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10596 __makecontext_ret to ...
10597 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10598 ... here and call exit if uc_link is NULL. New file.
10599 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10600 __makecontext_ret.S.
10601
08f43f9b
AK
106022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10603
10604 * elf/elf.h (R_390_IRELATIVE): New definition.
10605 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10606 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10607 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10608 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10609 (elf_machine_lazy_rel): Likewise.
10610 * sysdeps/s390/dl-irel.h: New file.
10611 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10612 * sysdeps/s390/s390-64/memset.S: New asm code.
10613 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10614 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10615 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10616 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10617 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10618 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10619 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10620 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10621 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10622 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10623 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10624 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10625 * sysdeps/s390/s390-32/memset.S: New asm code.
10626 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10627
3b05db33
MP
106282012-07-17 Marek Polacek <polacek@redhat.com>
10629
10630 [BZ #14349]
10631 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10632 * sysdeps/s390/s390-64/configure.in: Likewise.
10633 * sysdeps/sparc/configure.in: Likewise.
10634 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10635 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10636 * sysdeps/i386/configure.in: Likewise.
10637 * sysdeps/x86_64/configure.in: Likewise.
10638 * sysdeps/sh/configure.in: Likewise.
10639 * sysdeps/s390/s390-32/configure: Regenerated.
10640 * sysdeps/s390/s390-64/configure: Likewise.
10641 * sysdeps/x86_64/configure: Likewise.
10642 * sysdeps/sh/configure: Likewise.
10643 * sysdeps/powerpc/powerpc64/configure: Likewise.
10644 * sysdeps/powerpc/powerpc32/configure: Likewise.
10645 * sysdeps/sparc/configure: Likwise.
10646 * sysdeps/i386/configure: Likewise.
10647
a66877c6
MP
10648 * elf/dl-open.c: Comment fixes.
10649
cfc82fd8
JM
106502012-07-17 Joseph Myers <joseph@codesourcery.com>
10651
bd29910a
JM
10652 * Makefile [CXX] (check-data): Remove.
10653 [CXX] (c++-types.data): New vpath directive.
10654 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10655 vpath. Do not allow for C++ type data being missing.
10656 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10657 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10658 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10659 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10660 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10661 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10662 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10664 ... here.
10665 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10667 ... here.
10668 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10670 ... here.
10671 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10673 ... here.
10674 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10676 ... here.
10677 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10679 ... here.
10680 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10682 ... here.
10683 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10685
cfc82fd8
JM
10686 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10687 definitions to architecture-specific files.
10688 (TLS_IE): Likewise.
10689 (TLS_LD): Likewise.
10690 (TLS_GD): Likewise.
10691 * sysdeps/i386/tls-macros.h: New file.
10692 * sysdeps/powerpc/tls-macros.h: Likewise.
10693 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10694 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10695 * sysdeps/sh/tls-macros.h: Likewise.
10696 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10697 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10698 * sysdeps/x86_64/tls-macros.h: Likewise.
10699
f7db3170
TS
107002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10701
07cbfc23
TS
10702 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10703 zero value for regular exit case.
10704
f7db3170
TS
10705 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10706 (__start_context): Preserve zero value for regular exit case.
10707
dc97c227
TS
107082012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10709 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10710
10711 * manual/setjmp.texi (setcontext): Clarify normal process
10712 termination when uc_link is the null pointer.
10713 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10714 exit call.
10715
d0cd7d02
AS
107162012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10717
10718 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10719 preprocessor. Test for each exception mask separately.
10720
dd318934
AJ
107212012-07-16 Andreas Jaeger <aj@suse.de>
10722
10723 * po/ru.po: Update from translation team.
10724
8048311a
JM
107252012-07-15 Joseph Myers <joseph@codesourcery.com>
10726
10727 * conform/data/string.h-data (NULL): Use macro-constant. Require
10728 equal to 0.
10729 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10730 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10731 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10732 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10733 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10734
b637d46e
AJ
107352012-07-13 Andreas Jaeger <aj@suse.de>
10736
10737 * po/fr.po: Update from translation team.
10738
541428fe
MP
107392012-07-12 Marek Polacek <polacek@redhat.com>
10740
10741 [BZ #14173]
10742 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10743 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10744 loop condition.
10745
ec332e94
JM
107462012-07-12 Joseph Myers <joseph@codesourcery.com>
10747
10748 [BZ #13717]
10749 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10750 Change to 2.4.1 where previously 2.4.0.
10751 * sysdeps/unix/sysv/linux/configure: Regenerated.
10752 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10753 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10754 version.
10755 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10756 (__ASSUME_AT_CLKTCK): Remove.
10757 (__ASSUME_AT_PAGESIZE): Likewise.
10758 (__ASSUME_AT_XID): Likewise.
10759 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10760 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10761 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10762 unconditionally.
10763 (HAVE_AUX_PAGESIZE): Likewise.
10764 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10765 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10766 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10767
7b6e99be
JB
107682012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10769
10770 [BZ #14307]
10771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10772 the temporary buffer used to invoke __gethostbyname2_r,
10773 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10774 host_data / struct gaih_addrtuple.
10775 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10776 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10777 header file nss/nsswitch.h.
10778 * nss/nsswitch.h (global scope): Add definition of implementation
10779 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10780 resolv/nss_dns/dns-host.c).
10781
608404eb
AJ
107822012-07-11 Andreas Jaeger <aj@suse.de>
10783
10784 * po/fr.po: Update from translation team.
10785
71220aca
AJ
10786 * po/sv.po: Update from translation team
10787 * po/fr.po: Another update from translation team.
10788
28cfe843
AZ
107892012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10790
10791 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10792 for subnormals or multiply small sinh result by itself.
10793 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10795
6b90f981
DM
107962012-07-11 David S. Miller <davem@davemloft.net>
10797
10798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10799
c6825772
AS
108002012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10801
10802 [BZ #14347]
10803 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10804 (INTERNAL_MARK): Shift it here.
10805
7b8e0d49
MP
108062012-07-10 Marek Polacek <polacek@redhat.com>
10807
10808 [BZ #14151]
10809 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10810 libc_cv_asm_global_directive with .globl.
10811 * configure: Regenerated.
10812 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10813 with .globl.
10814 * sysdeps/i386/configure: Regenerated.
10815 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10816 with .globl.
10817 * sysdeps/x86_64/configure: Regenerated.
10818 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10819 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10820 * elf/tst-unique2mod2.c: Likewise.
10821 * elf/tst-unique2mod1.c: Likewise.
10822 * elf/tst-unique1mod2.c: Likewise.
10823 * elf/tst-unique1mod1.c: Likewise.
10824 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10825 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10826 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10827 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10828 * sysdeps/mach/sysdep.h: Likewise.
10829 * sysdeps/i386/sysdep.h: Likewise.
10830 * sysdeps/i386/i386-mcount.S: Likewise.
10831 * sysdeps/x86_64/_mcount.S: Likewise.
10832 * sysdeps/x86_64/sysdep.h: Likewise.
10833 * sysdeps/sh/_mcount.S: Likewise.
10834 * sysdeps/sh/sysdep.h: Likewise.
10835 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10836 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10837 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10838 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10839 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10840 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10841 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10842 * locale/localeinfo.h: Likewise.
10843 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10844 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10845
6c55cda3
RM
108462012-07-09 Roland McGrath <roland@hack.frob.com>
10847
10848 [BZ #14336]
10849 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10850 system".
10851 * manual/message.texi (The Uniforum approach): Likewise.
10852 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10853 (glibc iconv Implementation): Likewise.
10854
638a572e
JM
108552012-07-09 Joseph Myers <joseph@codesourcery.com>
10856
10857 [BZ #14337]
10858 * math/s_clog.c (__clog): Avoid scaling a value down where that
10859 could result in underflow.
10860 * math/s_clog10.c (__clog10): Likewise.
10861 * math/s_clog10f.c (__clog10f): Likewise.
10862 * math/s_clog10l.c (__clog10l): Likewise.
10863 * math/s_clogf.c (__clogf): Likewise.
10864 * math/s_clogl.c (__clogl): Likewise.
10865 * math/libm-test.inc (clog_test): Add more tests.
10866 (clog10_test): Likewise.
10867 * sysdeps/i386/fpu/libm-test-ulps: Update.
10868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10869
261f4859
AS
108702012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10871
0abaf3e4
AS
10872 [BZ #14283]
10873 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10874 by 7 not 8 to examine high bit of fractional part.
10875
261f4859
AS
10876 [BZ #14042]
10877 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10878 for call to __mcount_internal.
10879 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10880 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10881 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10882
f17ac40d
JM
108832012-07-06 Joseph Myers <joseph@codesourcery.com>
10884
9ad63c23
JM
10885 [BZ #14154]
10886 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10887 approximation for values within 0x1p-13f of an odd multiple of
10888 pi/4.
10889 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10890 exception. Add more tests.
10891 * sysdeps/i386/fpu/libm-test-ulps: Update.
10892
f17ac40d
JM
10893 [BZ #6778]
10894 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10895 inputs and return -1 for them. Do not check for +Inf in case not
10896 reachable for +Inf.
10897 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10898 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10899 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10900 and return -1 for them. Do not check for +Inf in case not
10901 reachable for +Inf.
10902 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10903 define.
10904 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10905 and return -1 for them. Do not check for +Inf in case not
10906 reachable for +Inf.
10907 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10908 spurious underflow.
10909 * sysdeps/i386/fpu/libm-test-ulps: Update.
10910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10911
fb21f89b
MF
109122012-07-06 Mike Frysinger <vapier@gentoo.org>
10913
10914 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10915
cdfe2c5e
JM
109162012-07-05 Joseph Myers <joseph@codesourcery.com>
10917
10918 [BZ #14157]
10919 [BZ #14331]
10920 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10921 could result in spurious underflow. Scale down values above
10922 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10923 * math/s_csqrtf.c (__csqrtf): Likewise.
10924 * math/s_csqrtl.c (__csqrtl): Likewise.
10925 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10926 spurious underflow.
10927 * sysdeps/i386/fpu/libm-test-ulps: Update.
10928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10929
70d35b67
AS
109302012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10931
704bc459
AS
10932 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10933 xopen-msg.sed.
10934 * catgets/xopen-msg.awk: New file.
10935 * catgets/xopen-msg.sed: Removed.
10936
70d35b67
AS
10937 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10938 po2text.sed.
10939 * intl/po2test.awk: New file.
10940 * intl/po2test.sed: Removed.
10941
ca61cf32
JM
109422012-07-04 Joseph Myers <joseph@codesourcery.com>
10943
10944 [BZ #14328]
10945 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10946 or multiply small sinh result by itself.
10947 * math/s_ctanf.c (__ctanf): Likewise.
10948 * math/s_ctanh.c (__ctanh): Likewise.
10949 * math/s_ctanhf.c (__ctanhf): Likewise.
10950 * math/s_ctanhl.c (__ctanhl): Likewise.
10951 * math/s_ctanl.c (__ctanl): Likewise.
10952 * math/libm-test.inc (ctan_test_tonearest): New function.
10953 (ctan_test_towardzero): Likewise.
10954 (ctan_test_downward): Likewise.
10955 (ctan_test_upward): Likewise.
10956 (ctanh_test_tonearest): Likewise.
10957 (ctanh_test_towardzero): Likewise.
10958 (ctanh_test_downward): Likewise.
10959 (ctanh_test_upward): Likewise.
10960 (main): Call these new functions.
10961 * sysdeps/i386/fpu/libm-test-ulps: Update.
10962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10963
ca48a46a
MF
109642012-07-03 Mike Frysinger <vapier@gentoo.org>
10965
10966 * .gitignore: Delete /ports entry.
10967
9d63d37d
AJ
109682012-07-03 Andreas Jaeger <aj@suse.de>
10969
10970 * po/bg.po: Update from translation team.
10971 * po/cs.po: Likewise.
10972 * po/de.po: Likewise.
10973 * po/hr.po: Likewise.
10974 * po/nl.pl: Likewise.
10975 * po/pl.po: Likewise.
10976 * po/vi.po: Likewise.
10977
370ca3d2
JM
109782012-07-03 Joseph Myers <joseph@codesourcery.com>
10979
95f5a9a8
JM
10980 * Makeconfig [!+link] (+link-before-libc): New variable.
10981 [!+link] (+link-after-libc): Likewise.
10982 [!+link] (+link-tests): Likewise.
10983 [!+link] (+link): Define in terms of $(+link-before-libc) and
10984 $(+link-after-libc).
10985 [!+link-static] (+link-static-before-libc): New variable.
10986 [!+link-static] (+link-static-after-libc): Likewise.
10987 [!+link-static] (+link-static-tests): Likewise.
10988 [!+link-static] (+link-static): Define in terms of
10989 $(+link-static-before-libc) and $(+link-static-after-libc).
10990 [build-shared] (link-libc-before-gnulib): New variable.
10991 [build-shared] (link-libc-tests): Likewise.
10992 [build-shared] (link-libc): Define in terms of
10993 $(link-libc-before-gnulib).
10994 [!build-shared] (link-libc-tests): New variable.
10995 (link-libc-static-tests): New variable.
10996 [!gnulib] (gnulib-arch): New variable.
10997 [!gnulib] (gnulib-tests): Likewise.
10998 [!gnulib] (static-gnulib-arch): Likewise.
10999 [!gnulib] (static-gnulib-tests): Likewise.
11000 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11001 Define with "=" instead of ":=".
11002 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11003 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11004 * Rules (binaries-all-notests): New variable.
11005 (binaries-all-tests): Likewise.
11006 (binaries-static-notests): Likewise.
11007 (binaries-static-tests): Likewise.
11008 (binaries-all): Define using $(binaries-all-notests) and
11009 $(binaries-all-tests).
11010 (binaries-static): Define using $(binaries-static-notests) and
11011 $(binaries-static-tests).
11012 (binaries-shared-tests): New variable.
11013 (binaries-shared-notests): Likewise.
11014 (binaries-shared): Remove variable.
11015 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11016 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11017 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11018 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11019 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11020 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11021 * elf/Makefile (sln-modules): New variable.
11022 (extra-objs): Add $(sln-modules:=.o).
11023 (ldconfig-modules): Add static-stubs.
11024 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11025 * elf/static-stubs.c: New file.
11026
7a845b2c
JM
11027 [BZ #14283]
11028 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11029 by 7 not 8 to examine high bit of fractional part. Use volatile
11030 variables when splitting into final array of floats if
11031 __FLT_EVAL_METHOD__ != 0.
11032 * math/libm-test.inc (cos_test): Add another test.
11033 (sin_test): Likewise.
11034 * sysdeps/i386/fpu/libm-test-ulps: Update.
11035
e2283f38
JM
11036 [BZ #14273]
11037 * math/libm-test.inc (cosh_test): Add more tests.
11038
370ca3d2
JM
11039 * version.h (RELEASE): Set to "development".
11040 (VERSION): Set to "2.16.90".
11041
ee9247c3
CD
110422012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11043
11044 * NEWS: Update copyright. Remove last-updated date.
11045 Mention math library bug fixes and timezone data changes.
11046 * README: Mention GNU/Hurd, x32, and HPPA support status.
11047
4648c381
TS
110482012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11049
11050 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11051
aac78a43
AJ
110522012-06-27 Andreas Jaeger <aj@suse.de>
11053
11054 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11055
ed3dbfad
AJ
110562012-06-25 Andreas Jaeger <aj@suse.de>
11057
11058 * sysdeps/s390/fpu/libm-test-ulps: Update.
11059
4d0ee855
AS
110602012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11061 Thomas Schwinge <thomas@codesourcery.com>
11062
11063 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11064 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11065 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11066 fanotify_mark.
11067
af1bce34
TS
110682012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11069
a9fa33ba
TS
11070 * sysdeps/mach/start.c: Remove file.
11071 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11072 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11073 * sysdeps/sh/init-first.c: Likewise.
11074
58f902b8
TS
11075 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11076 registers for frame unwinding purposes, add CFI directives.
11077 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11078 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11079 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11080 Likewise.
11081
1518f58b
TS
11082 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11083 __fortify_fail returning.
11084 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11085
db9b5059
TS
11086 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11087 sysdeps/sh/____longjmp_chk.S.
11088 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11089 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11090 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11091 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11092
967705fe
TS
11093 * sysdeps/sh/abort-instr.h: New file.
11094 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11095 process in case exit returns.
11096
a9def8c4
TS
11097 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11098 initialize the GOT register before use.
11099
2a649725
TS
11100 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11101 calculation of ARGC > 4.
11102
af1bce34
TS
11103 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11104 meaningful names to some local labels.
11105
d230f50a
KK
111062012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11107 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11108
11109 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11110 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11111 (__arch_compare_and_exchange_val_16_acq): Likewise.
11112 (__arch_compare_and_exchange_val_32_acq): Likewise.
11113 (atomic_exchange_and_add): Fix gUSA sequence.
11114 (atomic_add): Likewise.
11115 (atomic_add_negative): Likewise.
11116 (atomic_add_zero): Likewise.
11117 (atomic_bit_test_set): Likewise.
11118
0479b305
AS
111192012-06-22 Andreas Schwab <schwab@redhat.com>
11120
11121 [BZ #13579]
11122 * include/link.h (struct link_map): Add l_free_initfini.
11123 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11124 l_initfini.
11125 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11126 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11127 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11128 set.
11129
0e3933b9
CD
111302012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11131
11132 * configure.in: Use AC_LANG_SOURCE.
11133 * configure: Regenerate.
11134
4248b1b1
RM
111352012-06-22 Roland McGrath <roland@hack.frob.com>
11136
11137 * configure.in (libc_cv_localstatedir): New substituted variable.
11138 * configure: Regenerated.
11139 * config.make.in (localstatedir): New variable, substituted from
11140 libc_cv_localstatedir.
11141 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11142 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11143 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11144 * sysdeps/gnu/configure: Regenerated.
11145
006dd861
JL
111462012-06-21 Jeff Law <law@redhat.com>
11147
11148 [BZ #14277]
11149 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11150 free. Simplify list management for _LIBC case.
11151
79662d42
JM
111522012-06-21 Joseph Myers <joseph@codesourcery.com>
11153
b7abb4bf
JM
11154 [BZ #14273]
11155 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11156 Clear sign bit of 64-bit integer value before comparing against
11157 overflow value.
11158
79662d42
JM
11159 * sysdeps/mach/configure: Regenerated.
11160
1f150908
L
111612012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11162
11163 [BZ #14278]
11164 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11165
28363bbf
JL
111662012-06-21 Jeff Law <law@redhat.com>
11167
11168 [BZ #13882]
11169 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11170 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11171 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11172 * elf/dl-open.c (dl_open_worker): Likewise.
11173
09615db4
CD
111742012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11175
11176 * scripts/list-sources.sh: Scan PORTS for translations.
11177 * po/libc.pot: Regenerated.
11178
2174c6dd
AJ
111792012-06-21 Andreas Jaeger <aj@suse.de>
11180
11181 [BZ #12194]
11182 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11183 warning.
11184 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11185 * bits/byteswap-16.h (__bswap_16): Likewise.
11186 * bits/byteswap.h (__bswap_constant_16): Likewise.
11187
3ee947b1
L
111882012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11189
11190 [BZ #14117]
a2f34833
L
11191 * sysdeps/i386/fpu_control.h: Removed.
11192 * sysdeps/x86_64/fpu_control.h: Moved to ...
11193 * sysdeps/x86/fpu_control.h: Here.
11194
3ee947b1
L
11195 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11196 (_FPU_SETCW): Likewise.
11197
ed1825f8
L
111982012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11199
25f1282a
L
11200 [BZ #14117]
11201 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11202 * sysdeps/x86/fpu/bits/mathinline.h: This.
11203 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11204
ed1825f8
L
11205 [BZ #14050]
11206 [BZ #14117]
11207 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11208 functions if __x86_64__ is defined.
11209
36d54b74
CLT
112102012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11211
11212 * string/endian.h: Add !__ASSEMBLER__ condition for including
11213 conversion interfaces.
11214
10285c21
JM
112152012-06-15 Joseph Myers <joseph@codesourcery.com>
11216
11217 [BZ #14241]
11218 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11219 of ABS(x) in calculating zero to negative powers other than odd
11220 integers.
11221 * math/libm-test.inc (pow_test): Add more tests.
11222
06c5abbd
AJ
112232012-06-15 Andreas Jaeger <aj@suse.de>
11224
11225 * manual/contrib.texi (Contributors): Update entry of Liubov
11226 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11227 Machado Filho.
11228
a3aeac40
CH
112292012-06-15 Cyril Hrubis <metan@ucw.cz>
11230
11231 * string/string.h: Add __wur to GNU version of strerror_r.
11232
49bdf4c1
L
112332012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11234
11235 [BZ #14229]
11236 * string/Makefile (tests): Add tst-strtok_r.
11237 * string/tst-strtok_r.c: New file.
11238 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11239 RAX_LP/RDX_LP on SAVE_PTR.
11240
834f9b8d
RM
112412012-06-14 Roland McGrath <roland@hack.frob.com>
11242
11243 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11244
75fa1921
JM
112452012-06-14 Joseph Myers <joseph@codesourcery.com>
11246
11247 * libm_test.inc (csqrt_test): Allow more spurious underflow
11248 exceptions.
11249 (j0_test): Likewise.
11250 (j1_test): Likewise.
11251 (y0_test): Likewise.
11252 (y1_test): Likewise.
11253
771766df
CD
112542012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11255
11256 * po/Makefile (libc.pot): Use UTF-8 charset.
11257
ceb9e56b
PP
112582012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11259
11260 [BZ #14210]
11261 Suppress sign-conversion warning from FD_SET.
11262 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11263 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11264 not unsigned long int.
11265 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11266
ddb28975
L
112672012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11268
11269 [BZ #14050]
11270 [BZ #14117]
11271 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11272 __extern_always_inline instead of __extern_inline.
11273 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11274 (__signbit): Likewise.
11275 (__signbitl): Support C++ namespace.
11276 (lrintf): New inline function.
11277 (lrint): Likewise.
11278 (llrintf): Likewise.
11279 (llrint): Likewise.
11280 (fmaxf): Likewise.
11281 (fmax): Likewise.
11282 (fminf): Likewise.
11283 (fmin): Likewise.
11284 (rint): Likewise.
11285 (rintf): Likewise.
11286 (ceil): Likewise.
11287 (ceilf): Likewise.
11288 (floor): Likewise.
11289 (floorf): Likewise.
11290 (nearbyint): Likewise.
11291 (nearbyintf): Likewise.
11292
d7b4fb26
TS
112932012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11294
11295 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11296 non-default versions.
11297
eb55f5c2
RM
112982012-06-11 Roland McGrath <roland@hack.frob.com>
11299
11300 [BZ #14218]
11301 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11302
366af02c
TS
113032012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11304
99ff6e5c
TS
11305 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11306 (FE_UPWARD, FE_DOWNWARD): Don't define.
11307 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11308 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11309
366af02c
TS
11310 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11311 reading it.
11312 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11313 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11314
793ea851
KK
113152012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11316
11317 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11318 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11319 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11320 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11321
a728a38f
L
113222012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11323
11324 [BZ #14117]
c08010c7
L
11325 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11326 * sysdeps/i386/fpu/Implies: New file.
11327 * sysdeps/x86_64/fpu/Implies: Likewise.
11328 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11329 * sysdeps/x86/fpu/bits/fenv.h: This.
11330
a728a38f
L
11331 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11332 __SSE_MATH__.
11333
6e230d11
SP
113342012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11335
11336 [BZ #14134]
11337 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11338 character 0xffff that matches the last element of the
11339 conversion table.
11340
1b671feb
AZ
113412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11342
11343 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11344 fmodl commit.
11345
6043738b
AZ
113462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11347
11348 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11349 values higher than 25.6283.
11350
34ae0b32
AZ
113512012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11352
11353 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11354 subnormal exponent extraction and add some __builtin_expect.
11355 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11356 Fix for subnormal mantissa calculation.
11357
1214ec8f
MF
113582012-06-04 Mike Frysinger <vapier@gentoo.org>
11359
11360 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11361 cpu2 is -1 and errno is not ENOSYS.
11362
f3d1f93c
L
113632012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11364
11365 [BZ #14117]
0e4a3cd7
L
11366 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11367 * sysdeps/x86/bits/string.h: This.
11368 * sysdeps/x86_64/bits/string.h: Removed.
11369
6704c645
L
11370 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11371 if not compiling for x86-64, but compiling for >= i486.
11372
48495318
L
11373 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11374 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11375
14adcbfc
L
11376 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11377 New macro from Linux kernel 3.4.0.
11378 (FP_XSTATE_MAGIC2): Likewise.
11379 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11380 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11381 (struct _fpx_sw_bytes): New struct.
11382 (struct _xsave_hdr): Likewise.
11383 (struct _ymmh_state): Likewise.
11384 (struct _xstate): Likewise.
11385
68e408ab
L
11386 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11387 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11388 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11389 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11390 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11391 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11392
f3d1f93c
L
11393 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11394 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11395 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11396 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11397 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11398 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11399
d9dc34cd
TMQMF
114002012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11401
11402 [BZ #13743]
11403 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11404 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11405 (sysdep_headers): Include sys/platform/ppc.h.
11406 * sysdeps/powerpc/test-gettimebase.c: Test for
11407 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11408 * manual/Makefile (appendices): Include platform.texi.
11409 * manual/contrib.texi (Contributors): Update @node pointers.
11410 * manual/maint.texi (Maintenance): Likewise.
11411 (Platform): New node.
11412 * manual/platform.texi: New file. Document the new features.
11413
4af3879c
SP
114142012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11415 Jakub Jelinek <jakub@redhat.com>
11416
11417 [BZ #14188]
11418 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11419 where __builtin_expect is unavailable.
11420
2fd6ff13
DM
114212012-06-03 David S. Miller <davem@davemloft.net>
11422
11423 * stdlib/longlong.h: Updated from GCC.
11424
173f7220
AS
114252012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11426
11427 [BZ #14042]
11428 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11429 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11430 __mcount_internal.
11431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11432 (GLIBC_2.16): Likewise.
11433
f34a1c6f
L
114342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11435
11436 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11437
88a4576f
JM
114382012-06-01 Joseph Myers <joseph@codesourcery.com>
11439
ea32bcdd
JM
11440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11441 (default-abi): New variable.
11442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11443 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11444 variable.
11445 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11446 Likewise.
11447 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11448 Likewise.
11449 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11450 Likewise.
11451
88a4576f
JM
11452 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11453 definition. Document in comment.
11454
402fe938
DM
114552012-06-01 David S. Miller <davem@davemloft.net>
11456
11457 * stdlib/longlong.h: Updated from GCC.
11458
3553723f
L
114592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11460
11461 [BZ #14117]
3bd872c4
L
11462 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11463 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11464 sys/debugreg.h sys/io.h here.
11465 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11466 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11467 sys/io.h.
11468 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11469 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11470 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11471 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11472 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11473 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11474
3553723f
L
11475 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11476 Define only if __x86_64__ is defined.
11477
4842e4fe
JM
114782012-06-01 Joseph Myers <joseph@codesourcery.com>
11479
c5bfe3d5
JM
11480 [BZ #14048]
11481 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11482 Use int64_t for variable i.
11483 * math/libm-test.inc (fmod_test): Add more tests.
11484
4842e4fe
JM
11485 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11486 z computation is not scheduled after fetestexcept.
11487 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11488 Use math_force_eval instead of asm to ensure calculation scheduled
11489 before exception test.
11490 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11491 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11492
efb73488
AJ
114932012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11494
11495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11496 computation is not scheduled after fetestexcept.
11497
29bcce7c
L
114982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11499
11500 [BZ #14117]
11501 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11502 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11503
73a68f94
AZ
115042012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11505
11506 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11507 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11508
67b6df78
L
115092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11510
edf2933a 11511 [BZ #14117]
ebc64a18
L
11512 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11513 <bits/wordsize.h>.
11514 (__WCHAR_MIN): Support __WORDSIZE == 64.
11515 (__WCHAR_MAX): Likewise.
11516
edf2933a
L
11517 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11518 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11519
57c6cf40
L
11520 [BZ #14183]
11521 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11522 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11523
67b6df78 11524 [BZ #14117]
8eb6281e
L
11525 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11526 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11527
aac639f4
L
11528 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11529 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11530
67b6df78
L
11531 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11532 Defined to 1 if __x86_64__ isn't defined.
11533 (_STAT_VER_LINUX_OLD): New.
11534 (st_atime): Remove duplicate.
11535 (st_mtime): Likewise.
11536 (st_ctime): Likewise.
11537
1c2cfe81
DM
115382012-05-31 David S. Miller <davem@davemloft.net>
11539
11540 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11541 entries.
11542
5be8418c
AS
115432012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11544
e7725326
AS
11545 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11546 gen-libm-test.pl.
11547
5be8418c
AS
11548 [BZ #14132]
11549 * elf/dl-reloc.c: Include <_itoa.h>.
11550 (_dl_reloc_bad_type): Remove use of INTUSE.
11551 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11552 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11553 * stdio-common/psiginfo.c (psiginfo): Likewise.
11554 * stdio-common/psignal.c (psignal): Likewise.
11555 * string/strsignal.c (strsignal): Likewise.
11556 * include/signal.h (_sys_siglist): Declare hidden proto.
11557 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11558 INTVARDEF with libc_hidden_data_def.
11559 * stdio-common/itoa-udigits.c: Likewise.
11560 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11561 (_itoa_lower_digits_internal): Remove declaration.
11562 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11563 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11564 (_sys_sigabbrev_internal): Remove aliases.
11565 (_sys_siglist): Define hidden alias.
11566
507352f1
MT
115672012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11568
11569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11570 bits/sysctl.h.
11571
42bbb1c3
L
115722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11573
11574 [BZ #14117]
6bd784b6
L
11575 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11576 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11577
8bca20f0
L
11578 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11579 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11580 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11581 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11582 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11583 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11584
f9e890a9
L
11585 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11586 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11587 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11588
471101a1
L
11589 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11590 with __addr.
11591 (insw): Likewise.
11592 (insl): Likewise.
11593 (outsb): Likewise.
11594 (outsw): Likewise.
11595 (outsl): Likewise.
11596
6451c862
L
11597 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11598 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11599 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11600
a254b8c9
L
11601 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11602 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11603 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11604 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11605 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11606 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11607
b8dfdd92
L
11608 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11609 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11610
578cd270
L
11611 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11612 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11613
de662f5f
L
11614 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11615 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11616 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11617
25653439
L
11618 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11619 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11620 to ...
11621 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11622
6bad24a0
L
11623 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11624 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11625 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11626
42bbb1c3
L
11627 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11628 for x86-64.
11629 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11630
2d10d547
JM
116312012-05-31 Joseph Myers <joseph@codesourcery.com>
11632
11633 * math/math.h (M_El): Use two more decimal places.
11634 (M_LOG2El): Likewise.
11635 (M_LOG10El): Likewise.
11636 (M_LN2l): Likewise.
11637 (M_LN10l): Likewise.
11638 (M_PIl): Likewise.
11639 (M_PI_2l): Likewise.
11640 (M_PI_4l): Likewise.
11641 (M_1_PIl): Likewise.
11642 (M_2_PIl): Likewise.
11643 (M_2_SQRTPIl): Likewise.
11644 (M_SQRT2l): Likewise.
11645 (M_SQRT1_2l): Likewise.
11646
f230c29b
DM
116472012-05-31 David S. Miller <davem@davemloft.net>
11648
11649 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11650 values between float registers.
11651 * sysdeps/sparc/sparc64/memset.S: Likewise.
11652 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11653
fed806c3
MF
116542012-05-31 Mike Frysinger <vapier@gentoo.org>
11655
11656 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11657 -D_FORTIFY_SOURCE=1.
11658 (CPPFLAGS-tst-longjmp_chk.c): Define.
11659 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11660 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11661 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11662 CFLAGS-tst-wchar-h.c.
11663
30917259
MP
116642012-05-31 Marek Polacek <polacek@redhat.com>
11665
11666 [BZ #14132]
11667 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11668 __endmntent_internal): Remove declaration.
11669 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11670 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11671 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11672
1c58d5dc
DM
116732012-05-30 David S. Miller <davem@davemloft.net>
11674
11675 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11676 (___Q_simulate_exceptions): Use real FP ops rather than writing
11677 into the %fsr.
11678 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11679 Likewise.
11680
7dc00e0d
L
116812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11682
11683 [BZ #14117]
0bd53985
L
11684 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11685 * sysdeps/x86/bits/xtitypes.h: This.
11686
3a257e66
L
11687 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11688 * sysdeps/x86/bits/wordsize.h: This.
11689
62f62904
L
11690 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11691 * sysdeps/x86/bits/huge_vall.h: This.
11692
404fe9d9
L
11693 * sysdeps/i386/bits/select.h: Removed.
11694 * sysdeps/x86_64/bits/select.h: Renamed to ...
11695 * sysdeps/x86/bits/select.h: This.
11696
d48d0446
L
11697 * sysdeps/i386/bits/setjmp.h: Removed.
11698 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11699 * sysdeps/x86/bits/setjmp.h: This.
11700
7dc00e0d
L
11701 * sysdeps/i386/bits/mathdef.h: Removed.
11702 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11703 * sysdeps/x86/bits/mathdef.h: This.
11704
03277f8f
AS
117052012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11706
11707 [BZ #14132]
11708 * include/sys/socket.h (__connect_internal)
11709 (__libc_sa_len_internal): Remove declaration.
11710 (__connect, __libc_sa_len): Declare hidden_proto.
11711 (SA_LEN): Remove use of INTUSE.
11712 * socket/connect.c: Add libc_hidden_def.
11713 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11714 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11715 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11716 alias.
11717 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11718 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11719 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11720 of adding _internal alias.
11721
13764867
L
117222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11723
11724 [BZ #14117]
6bd97696
L
11725 * sysdeps/i386/bits/link.h: Removed.
11726 * sysdeps/i386/bits/linkmap.h: Likewise.
11727 * sysdeps/x86_64/bits/link.h: Renamed to ...
11728 * sysdeps/x86/bits/link.h: This.
11729 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11730 * sysdeps/x86/bits/linkmap.h: This.
11731
f726f0bb
L
11732 * sysdeps/i386/bits/endian.h: Removed.
11733 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11734 * sysdeps/x86/bits/endian.h: This.
11735
13764867
L
11736 * sysdeps/i386/bits/byteswap.h: Removed.
11737 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11738 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11739 * sysdeps/x86/bits/byteswap.h: This.
11740 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11741 * sysdeps/x86/bits/byteswap-16.h: This.
11742 * sysdeps/i386/Implies: Add x86.
11743 * sysdeps/x86_64/Implies: Likewise.
11744
ae251b0b
DM
117452012-05-30 David S. Miller <davem@davemloft.net>
11746
11747 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11748 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11749 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11750 (FP_TRAPPING_EXCEPTIONS): Define.
11751 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11752 (FP_TRAPPING_EXCEPTIONS): Define.
11753 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11754 subnormals only when inexact has been signalled or underflow
11755 exceptions are enabled.
11756 (_FP_PACK_CANONICAL): Likewise.
11757
d5c90867
L
117582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11759
11760 [BZ #14183]
11761 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11762 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11763
63f1549e
RH
117642012-05-30 Richard Henderson <rth@twiddle.net>
11765
8d8f2279
RH
11766 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11767 with #ifndef NOT_IN_libc.
11768
63f1549e
RH
11769 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11770 marked to avoid plt entry.
11771
0ab0291b
L
117722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11773
11774 [BZ #14112]
11775 * Makeconfig (default-abi): New macro.
11776 (abi-includes): Likewise.
11777 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11778 $(abi-$(default-abi)-lib-soname) for soname if defined.
11779 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11780 abi-variants.
11781 * Makefile (installed-stubs): Likewise.
11782 * include/stubs-biarch.h: Removed.
11783 * scripts/lib-names.awk: Only handle one library at a time.
11784 * scripts/soversions.awk: Remove WORDSIZE support.
11785 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11786 entries.
11787 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11788 Removed.
11789 (syscall-list-default-condition): Likewise.
11790 (syscall-list-default-condition): Likewise.
11791 (syscall-list-includes): Likewise.
11792 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11793 syscall-list-* with abi-*. Handle undefined abi-variants.
11794 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11795 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11796 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11797 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11798 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11799 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11800 Removed.
11801 (syscall-list-32-options): Likewise.
11802 (syscall-list-32-condition): Likewise.
11803 (syscall-list-64-options): Likewise.
11804 (syscall-list-64-condition): Likewise.
11805 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11806 macro.
11807 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11808 Renamed to ...
11809 (abi-*): This.
11810 (abi-64-ld-soname): New macro.
11811 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11812 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11813 Renamed to ...
11814 (abi-*): This.
11815 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11816 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11817
4da0431d
JM
118182012-05-30 Joseph Myers <joseph@codesourcery.com>
11819
3a85279c
JM
11820 * sysdeps/unix/sysv/linux/kernel-features.h
11821 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11822 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11823 include <kernel-features.h>.
11824 [!__NR_ftruncate64]: Remove conditional code.
11825 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11826 [__NR_ftruncate64]: Make code unconditional.
11827 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11828 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11829 include <kernel-features.h>.
11830 [!__NR_ftruncate64]: Remove conditional code.
11831 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11832 [__NR_ftruncate64]: Make code unconditional.
11833 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11835 include <kernel-features.h>.
11836 [!__NR_ftruncate64]: Remove conditional code.
11837 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11838 [__NR_ftruncate64]: Make code unconditional.
11839 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11841 include <kernel-features.h>.
11842 [!__NR_ftruncate64]: Remove conditional code.
11843 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11844 [__NR_ftruncate64]: Make code unconditional.
11845 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11846
4da0431d
JM
11847 * configure.in (libc_cv_fpie): Weaken to a compile test using
11848 LIBC_TRY_CC_OPTION.
11849 * configure: Regenerated.
11850
11ef492c
AK
118512012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11852
11853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11857 Refreshed.
11858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11864 Refreshed.
11865
d66ef399
DM
118662012-05-27 David S. Miller <davem@davemloft.net>
11867
11868 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11869 (___Q_zero): New.
11870 (__Q_simulate_exceptions): Return void. Change to simulate
11871 exceptions by writing into the %fsr.
11872 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11873 (__Qp_handle_exceptions): Likewise.
11874 (numbers): Delete.
11875 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11876 __Qp_handle_exceptions.
11877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11878 __Qp_handle_exceptions.
11879 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11880 as unused and give dummy FP_RND_NEAREST initializer.
11881 (FP_INHIBIT_RESULTS): Define.
11882 (___Q_simulate_exceptions): Update declaration.
11883 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11884 formatting.
11885 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11886 as unused and give dummy FP_RND_NEAREST initializer.
11887 (__Qp_handle_exceptions): Update declaration.
11888 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11889 formatting.
11890
04fb54b5
TS
118912012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11892
11893 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11894 the temporary FPU control word.
11895 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11896 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11897 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11898 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11899 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11900 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11901 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11902 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11903 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11904 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11905 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11906
3f99608f
KK
119072012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11908
11909 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11910 fields.
11911
65a4de4e
CLT
119122012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11913
11914 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11915 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11916 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11917 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11918 Likewise.
11919 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11920 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11921 Likewise.
11922
15749d40
UD
119232012-05-27 Ulrich Drepper <drepper@gmail.com>
11924
11925 * po/h.po: Update from translation team.
11926
25dbcb27
AS
119272012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11928
3d3f8e55
AS
11929 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11930
25dbcb27
AS
11931 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11932 handling of denormals.
11933 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11934 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11935 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11936 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11937 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11938 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11939 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11940 Likewise.
11941
7ad47a80 119422012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11943
11944 [BZ #14152]
11945 * math/libm-test.inc (fma_test): Don't always expect underflow
11946 exception.
11947
9c6ea9fa
SP
119482012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11949
11950 [BZ #12416]
11951 * elf/tst-execstack.c: Include stackinfo.h.
11952 (do_test): Adjust test case to ensure that pthread_getattr_np
11953 behaviour remains the same after marking stack executable.
11954
a8239222
JM
119552012-05-25 Joseph Myers <joseph@codesourcery.com>
11956
11957 * sysdeps/unix/sysv/linux/kernel-features.h
11958 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11959 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11960 kernel-features.h.
11961 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11962 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11963 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11964 kernel-features.h.
11965 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11966 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11967
918b5606
L
119682012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11969
11970 * configure.in: Define the default includes to being none.
11971 * configure: Regenerated.
11972
3a097cc7
RM
119732012-05-25 Roland McGrath <roland@hack.frob.com>
11974
8422c9a5
RM
11975 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11976 * sysdeps/x86_64/setjmp.S: Likewise.
11977 * sysdeps/i386/bsd-setjmp.S: Likewise.
11978 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11979 * sysdeps/i386/setjmp.S: Likewise.
11980 * sysdeps/i386/__longjmp.S: Likewise.
11981 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11982 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11983
3a097cc7
RM
11984 * include/stap-probe.h: New file.
11985 * configure.in: Handle --enable-systemtap.
11986 * configure: Regenerated.
11987 * config.h.in (USE_STAP_PROBE): New #undef.
11988 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11989 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11990 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11991
21708942
JM
119922012-05-25 Joseph Myers <joseph@codesourcery.com>
11993
11994 [BZ #13717]
11995 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11996 to 2.4.0 where earlier.
11997 * sysdeps/unix/sysv/linux/configure: Regenerated.
11998 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11999 <kernel-features.h>.
12000 [__ASSUME_32BITUIDS]: Make code unconditional.
12001 [!__ASSUME_32BITUIDS]: Remove conditional code.
12002 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12003 <kernel-features.h>.
12004 [__ASSUME_32BITUIDS]: Make code unconditional.
12005 [!__ASSUME_32BITUIDS]: Remove conditional code.
12006 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12007 [__ASSUME_32BITUIDS]: Make code unconditional.
12008 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12009 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.c: Do not include
12034 <kernel-features.h>.
12035 [__ASSUME_32BITUIDS]: Make code unconditional.
12036 [!__ASSUME_32BITUIDS]: Remove conditional code.
12037 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12038 <kernel-features.h>.
12039 [__ASSUME_32BITUIDS]: Make code unconditional.
12040 [!__ASSUME_32BITUIDS]: Remove conditional code.
12041 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12042 <kernel-features.h>.
12043 [__ASSUME_32BITUIDS]: Make code unconditional.
12044 [!__ASSUME_32BITUIDS]: Remove conditional code.
12045 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12046 <kernel-features.h>.
12047 [__ASSUME_32BITUIDS]: Make code unconditional.
12048 [!__ASSUME_32BITUIDS]: Remove conditional code.
12049 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12050 <kernel-features.h>.
12051 [__NR_setresgid] (__setresgid): Do not declare.
12052 [__ASSUME_32BITUIDS]: Make code unconditional.
12053 [!__ASSUME_32BITUIDS]: Remove conditional code.
12054 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12055 <kernel-features.h>.
12056 [__NR_setresuid] (__setresuid): Do not declare.
12057 [__ASSUME_32BITUIDS]: Make code unconditional.
12058 [!__ASSUME_32BITUIDS]: Remove conditional code.
12059 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/i386/setresuid.c: Do not include
12084 <kernel-features.h>.
12085 [__ASSUME_32BITUIDS]: Make code unconditional.
12086 [!__ASSUME_32BITUIDS]: Remove conditional code.
12087 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12088 <kernel-features.h>.
12089 [__ASSUME_32BITUIDS]: Make code unconditional.
12090 [!__ASSUME_32BITUIDS]: Remove conditional code.
12091 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12092 <kernel-features.h>.
12093 [__ASSUME_32BITUIDS]: Make code unconditional.
12094 [!__ASSUME_32BITUIDS]: Remove conditional code.
12095 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12096 <kernel-features.h>.
12097 [__ASSUME_32BITUIDS]: Make code unconditional.
12098 [!__ASSUME_32BITUIDS]: Remove conditional code.
12099 * sysdeps/unix/sysv/linux/kernel-features.h
12100 (__ASSUME_SETRESUID_SYSCALL): Remove.
12101 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12102 (__ASSUME_32BITUIDS): Likewise.
12103 (__ASSUME_LDT_WORKS): Likewise.
12104 (__ASSUME_O_DIRECTORY): Likewise.
12105 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12106 architecture but not kernel version.
12107 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12108 (__ASSUME_MMAP2_SYSCALL): Likewise.
12109 (__ASSUME_STAT64_SYSCALL): Likewise.
12110 (__ASSUME_IPC64): Likewise.
12111 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12112 <kernel-features.h>.
12113 [__ASSUME_32BITUIDS]: Make code unconditional.
12114 [!__ASSUME_32BITUIDS]: Remove conditional code.
12115 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12116 <kernel-features.h>.
12117 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12118 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12119 132096]: Remove conditional code.
12120 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12121 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12122 <kernel-features.h>.
12123 [__ASSUME_32BITUIDS]: Make code unconditional.
12124 [!__ASSUME_32BITUIDS]: Remove conditional code.
12125 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12126 <kernel-features.h>.
12127 [__ASSUME_32BITUIDS]: Make code unconditional.
12128 [!__ASSUME_32BITUIDS]: Remove conditional code.
12129 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12130 <kernel-features.h>.
12131 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12132 unconditional.
12133 (__setresgid): Do not declare.
12134 [__ASSUME_32BITUIDS]: Make code unconditional.
12135 [!__ASSUME_32BITUIDS]: Remove conditional code.
12136 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12137 <kernel-features.h>.
12138 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12139 unconditional.
12140 (__setresuid): Do not declare.
12141 [__ASSUME_32BITUIDS]: Make code unconditional.
12142 [!__ASSUME_32BITUIDS]: Remove conditional code.
12143 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12144 <kernel-features.h>.
12145 [__ASSUME_32BITUIDS]: Make code unconditional.
12146 [!__ASSUME_32BITUIDS]: Remove conditional code.
12147 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12148 <kernel-features.h>.
12149 [__ASSUME_32BITUIDS]: Make code unconditional.
12150 [!__ASSUME_32BITUIDS]: Remove conditional code.
12151
a386f1cc
RH
121522012-05-25 Richard Henderson <rth@twiddle.net>
12153
12154 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12155 dl_hwcap to ifunc resolver.
12156 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12157 elf_ifunc_invoke.
12158 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12159 dl_hwcap to ifunc resolver.
12160 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12161
b6550497
JM
121622012-05-24 Joseph Myers <joseph@codesourcery.com>
12163
12164 [BZ #14153]
12165 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12166 for |x| <= 2**-26, not 2**-57.
12167 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12168 exception.
12169
b0bc23a1
JL
121702012-05-24 Jeff Law <law@redhat.com>
12171
12172 * stdio-common/Makefile (tests): Add bug25.
12173 * stdio-common/bug25.c: New test.
12174
347c92e9
L
121752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12176
12177 [BZ #13576]
12178 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12179 multiple of MALLOC_ALIGNMENT in size.
12180 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12181
6bcc8b3f
JM
121822012-05-24 Joseph Myers <joseph@codesourcery.com>
12183
12184 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12185 Require >= 256.
12186 (FILENAME_MAX): Use macro-int-constant.
12187 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12188 (_IOFBF): Use macro-int-constant.
12189 (_IOLBF): Likewise.
12190 (_IONBF): Likewise.
12191 (SEEK_CUR): Likewise.
12192 (SEEK_END): Likewise.
12193 (SEEK_SET): Likewise.
12194 (TMP_MAX): Likewise.
12195 (EOF): Use macro-int-constant. Require < 0.
12196 (NULL): Use macro-constant. Require == 0.
12197 (stdin): Require type to be FILE *.
12198 (stdout): Likewise.
12199 (stderr): Likewise.
12200 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12201 macro-int-constant.
12202 (EXIT_SUCCESS): Likewise.
12203 (NULL): Use macro-constant. Require == 0.
12204 (RAND_MAX): Use macro-int-constant.
12205 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12206 [C99-based standards] (strtof): Require function.
12207 [C99-based standards] (strtold): Likewise.
12208 [C99-based standards] (strtoll): Likewise.
12209 [C99-based standards] (strtoull): Likewise.
12210 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12211 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12212 [ISO || ISO99 || ISO11] (math.h): Likewise.
12213 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12214 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12215 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12216
d18ea0c5
AS
122172012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12218
12219 [BZ #14132]
56d25bb8
AS
12220 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12221 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12222 * intl/dgettext.c (DCGETTEXT): Likewise.
12223 * intl/gettext.c (DCGETTEXT): Likewise.
12224 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12225 * posix/regex_internal.h (gettext): Likewise.
12226 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12227 Remove declaration.
12228 * include/argz.h (__argz_count_internal)
12229 (__argz_stringify_internal): Remove declaration.
12230 (__argz_count, __argz_stringify): Declare hidden proto.
12231 * intl/dcgettext.c: Remove use of INTDEF.
12232 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12233 * string/argz-stringify.c: Likewise.
12234 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12235 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12236 Declare hidden proto.
d18ea0c5
AS
12237 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12238 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12239 Declare hidden proto.
12240 * include/stdio.h (__asprintf_internal): Don't declare.
12241 (__asprintf): Don't define as macro. Declare hidden proto.
12242 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12243 (__fsetlocking): Declare hidden proto.
12244 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12245 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12246 hidden proto.
12247 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12248 (_IO_setlinebuf): Remove use of INTUSE.
12249 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12250 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12251 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12252 Remove declaration.
12253 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12254 (_IO_do_flush): Remove use of INTUSE.
12255 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12256 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12257 (_IO_adjust_column, _IO_least_wmarker)
12258 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12259 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12260 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12261 (_IO_default_doallocate, _IO_wdefault_doallocate)
12262 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12263 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12264 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12265 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12266 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12267 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12268 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12269 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12270 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12271 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12272 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12273 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12274 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12275 proto.
12276 (_IO_flush_all_internal, _IO_adjust_column_internal)
12277 (_IO_default_uflow_internal, _IO_default_finish_internal)
12278 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12279 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12280 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12281 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12282 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12283 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12284 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12285 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12286 (_IO_file_close_internal, _IO_file_close_it_internal)
12287 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12288 (_IO_file_init_internal, _IO_file_attach_internal)
12289 (_IO_file_fopen_internal, _IO_file_read_internal)
12290 (_IO_file_sync_internal, _IO_file_seek_internal)
12291 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12292 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12293 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12294 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12295 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12296 (_IO_list_all_internal, _IO_link_in_internal)
12297 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12298 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12299 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12300 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12301 (_IO_do_write_internal, _IO_padn_internal)
12302 (_IO_getline_info_internal, _IO_getline_internal)
12303 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12304 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12305 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12306 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12307 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12308 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12309 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12310 with libc_hidden_ver, remove use of INTUSE.
12311 * libio/genops.c: Likewise.
12312 * libio/freopen.c: Likewise.
12313 * libio/freopen64.c: Likewise.
12314 * libio/iofclose.c: Likewise.
12315 * libio/iofdopen.c: Likewise.
12316 * libio/iofflush.c: Likewise.
12317 * libio/iofflush_u.c: Likewise.
12318 * libio/iofgets.c: Likewise.
12319 * libio/iofgets_u.c: Likewise.
12320 * libio/iofopen.c: Likewise.
12321 * libio/iofopncook.c: Likewise.
12322 * libio/iofread.c: Likewise.
12323 * libio/iofread_u.c: Likewise.
12324 * libio/ioftell.c: Likewise.
12325 * libio/iofwrite.c: Likewise.
12326 * libio/iogetline.c: Likewise.
12327 * libio/iogets.c: Likewise.
12328 * libio/iogetwline.c: Likewise.
12329 * libio/iopadn.c: Likewise.
12330 * libio/iopopen.c: Likewise.
12331 * libio/ioseekoff.c: Likewise.
12332 * libio/ioseekpos.c: Likewise.
12333 * libio/iosetbuffer.c: Likewise.
12334 * libio/iosetvbuf.c: Likewise.
12335 * libio/ioungetc.c: Likewise.
12336 * libio/ioungetwc.c: Likewise.
12337 * libio/iovdprintf.c: Likewise.
12338 * libio/iovsprintf.c: Likewise.
12339 * libio/iovsscanf.c: Likewise.
12340 * libio/memstream.c: Likewise.
12341 * libio/obprintf.c: Likewise.
12342 * libio/oldfileops.c: Likewise.
12343 * libio/oldiofclose.c: Likewise.
12344 * libio/oldiofdopen.c: Likewise.
12345 * libio/oldiofopen.c: Likewise.
12346 * libio/oldiopopen.c: Likewise.
12347 * libio/oldstdfiles.c: Likewise.
12348 * libio/putc.c: Likewise.
12349 * libio/setbuf.c: Likewise.
12350 * libio/setlinebuf.c: Likewise.
12351 * libio/stdfiles.c: Likewise.
12352 * libio/strops.c: Likewise.
12353 * libio/vasprintf.c: Likewise.
12354 * libio/vscanf.c: Likewise.
12355 * libio/vsnprintf.c: Likewise.
12356 * libio/vswprintf.c: Likewise.
12357 * libio/wfiledoalloc.c: Likewise.
12358 * libio/wfileops.c: Likewise.
12359 * libio/wgenops.c: Likewise.
12360 * libio/wmemstream.c: Likewise.
12361 * libio/wstrops.c: Likewise.
12362 * libio/__fpurge.c: Likewise.
12363 * libio/__fsetlocking.c: Likewise.
12364 * assert/assert.c: Likewise.
12365 * debug/fgets_chk.c: Likewise.
12366 * debug/fgets_u_chk.c: Likewise.
12367 * debug/fread_chk.c: Likewise.
12368 * debug/fread_u_chk.c: Likewise.
12369 * debug/gets_chk.c: Likewise.
12370 * debug/obprintf_chk.c: Likewise.
12371 * debug/vasprintf_chk.c: Likewise.
12372 * debug/vdprintf_chk.c: Likewise.
12373 * debug/vsnprintf_chk.c: Likewise.
12374 * debug/vsprintf_chk.c: Likewise.
12375 * malloc/mtrace.c: Likewise.
12376 * misc/error.c: Likewise.
12377 * misc/syslog.c: Likewise.
12378 * stdio-common/asprintf.c: Likewise.
12379 * stdio-common/fxprintf.c: Likewise.
12380 * stdio-common/getw.c: Likewise.
12381 * stdio-common/isoc99_fscanf.c: Likewise.
12382 * stdio-common/isoc99_scanf.c: Likewise.
12383 * stdio-common/isoc99_vfscanf.c: Likewise.
12384 * stdio-common/isoc99_vscanf.c: Likewise.
12385 * stdio-common/isoc99_vsscanf.c: Likewise.
12386 * stdio-common/printf-prs.c: Likewise.
12387 * stdio-common/printf_fp.c: Likewise.
12388 * stdio-common/printf_fphex.c: Likewise.
12389 * stdio-common/printf_size.c: Likewise.
12390 * stdio-common/putw.c: Likewise.
12391 * stdio-common/scanf.c: Likewise.
12392 * stdio-common/sprintf.c: Likewise.
12393 * stdio-common/tmpfile.c: Likewise.
12394 * stdio-common/vfprintf.c: Likewise.
12395 * stdio-common/vfscanf.c: Likewise.
12396 * stdlib/strfmon_l.c: Likewise.
12397 * sunrpc/openchild.c: Likewise.
12398 * sunrpc/xdr_stdio.c: Likewise.
12399 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12400 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12401
d6c33fda
RM
124022012-05-24 Roland McGrath <roland@hack.frob.com>
12403
c1487492
RM
12404 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12405
12406 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12407 in the third column, to generate for the shared library an IFUNC
12408 that uses _dl_vdso_vsym.
12409 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12410 * Makeconfig (object-suffixes-noshared): New variable.
12411
12412 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12413 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12414 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12415 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12416
d6c33fda
RM
12417 [BZ #14132]
12418 * include/sys/time.h (__gettimeofday): Remove macro.
12419 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12420 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12421 Remove INTDEF.
12422 (__gettimeofday): Add libc_hidden_def.
12423 (gettimeofday): Add libc_hidden_weak.
12424 * sysdeps/mach/gettimeofday.c: Likewise.
12425 * sysdeps/posix/gettimeofday.c: Likewise.
12426 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12427 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12428 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12429 (__gettimeofday_internal): Remove strong_alias.
12430 (__gettimeofday): Add libc_hidden_def.
12431 (gettimeofday): Add libc_hidden_weak.
12432 * sysdeps/unix/syscalls.list (gettimeofday):
12433 Remove __gettimeofday_internal alias.
12434
b5a2bbe6
L
124352012-05-24 Daniel Jacobowitz <drow@false.org>
12436 H.J. Lu <hongjiu.lu@intel.com>
12437
12438 [BZ #12495]
12439 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12440 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12441 (largebin_index_32_big): New.
12442 (largebin_index): Use it for 16-byte alignment.
12443 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12444 correction with front_misalign.
12445
cfba4fda
L
124462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12447
7f907421
L
12448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12450 Likewise.
12451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12452 Likewise.
12453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12454 Likewise.
12455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12456 Likewise.
12457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12458 Likewise.
12459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12460 Likewise.
12461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12462 Likewise.
12463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12464 Likewise.
12465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12466 Likewise.
12467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12468 Likewise.
12469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12470 Likewise.
12471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12472 Likewise.
12473
cfba4fda
L
12474 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12475 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12476
80bad0cc
JM
124772012-05-24 Joseph Myers <joseph@codesourcery.com>
12478
7a25eb06
JM
12479 [BZ #10846]
12480 [BZ #14036]
12481 * math/libm-test.inc (exp_test): Add test from bug 14036.
12482 (pow_test): Add test from bug 10846.
12483
795405f9
JM
12484 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12485 and other flags.
12486 (special_function): Do not include flags in test name.
12487 (parse_args): Likewise.
12488 * sysdeps/i386/fpu/libm-test-ulps: Update.
12489 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12490 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12491 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12493
80bad0cc
JM
12494 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12495 exceptions.
12496 * math/libm-test.inc ("Philosophy"): Update comment about
12497 exception testing.
12498 (UNDERFLOW_EXCEPTION): New macro.
12499 (UNDERFLOW_EXCEPTION_OK): Likewise.
12500 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12501 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12502 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12503 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12504 (INVALID_EXCEPTION_OK): Update value.
12505 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12506 (OVERFLOW_EXCEPTION_OK): Likewise.
12507 (IGNORE_ZERO_INF_SIGN): Likewise.
12508 (test_exceptions): Handle underflow exceptions.
12509 (acos_test): Update for underflow exception expectations.
12510 (cexp_test): Likewise.
12511 (clog_test): Likewise.
12512 (clog10_test): Likewise.
12513 (csqrt_test): Likewise.
12514 (ctan_test): Likewise.
12515 (ctanh_test): Likewise.
12516 (exp_test): Likewise.
12517 (exp10_test): Likewise.
12518 (exp2_test): Likewise.
12519 (expm1_test): Likewise.
12520 (fma_test): Likewise.
12521 (j0_test): Likewise.
12522 (jn_test): Likewise.
12523 (nexttoward_test): Likewise.
12524 (pow_test): Likewise.
12525 (scalbn_test): Likewise.
12526 (scalbln_test): Likewise.
12527 (tan_test): Likewise.
12528 (y1_test): Likewise.
12529 * sysdeps/i386/fpu/libm-test-ulps: Update.
12530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12531
9e0e3d0b
DM
125322012-05-23 David S. Miller <davem@davemloft.net>
12533
12534 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12535 (__libc_sigaction): Remove unused local variables.
12536
ccd0a08f
L
125372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12538
12539 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12540
62bdf9a6
PE
125412012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12542
f8591f80
PE
12543 mktime: avoid signed integer overflow
12544 * time/mktime.c (__mktime_internal): Do not mishandle the case
12545 where diff == INT_MIN.
12546
94c7d826
PE
12547 mktime: simplify computation of average
12548 * time/mktime.c (ranged_convert): Use new time_t_avg function
12549 instead of rolling our own (probably-slower) code.
12550
ce73d683
PE
12551 mktime: do not assume signed right shift propagates sign bit
12552 * time/mktime.c (isdst_differ): New static function.
12553 (__mktime_internal): No need to normalize tm_isdst now.
12554 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12555 tm_isdst values.
12556
72a22e59
PE
12557 mktime: merge another wrapv change from gnulib
12558 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12559 from some compilers.
12560
68605433
PE
12561 mktime: remove incorrect attempt at unusual arithmetics
12562 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12563 The code didn't really work on such machines anyway.
12564 (TYPE_MINIMUM): Assume two's complement.
12565 (twos_complement_arithmetic): Verify that long_int and time_t
12566 are two's complement (or unsigned, in the latter case).
12567
03cf7fe3
PE
12568 mktime: check signed shifts on long_int and time_t, too
12569 * time/mktime.c (SHR): Check that shifts work as desired
12570 on the types long_int and time_t too, as SHR is used on
12571 such types.
12572
f04dfbc2
PE
12573 mktime: do not assume 'long' is wide enough
12574 * time/mktime.c (verify): Move decl up.
12575 (long_int): New type.
12576 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12577 to remove assumption in the code that 'long' is wide enough to
12578 store year values. This assumption is not true on x32 and on
12579 some non-glibc platforms.
12580
62bdf9a6
PE
12581 mktime: merge wrapv change from gnulib
12582 * time/mktime.c (WRAPV): New macro.
12583 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12584 (guess_time_tm, __mktime_internal): Do not assume that signed
12585 integer overflow wraps around; modern compilers generate code
12586 where this assumption is no longer valid.
12587
5e292e4f
L
125882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12589
12590 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12591 Replace "jmp L(pseudo_end)" with "ret".
12592 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12593 Likewise.
12594
8caf8c87
AJ
125952012-05-23 Andreas Jaeger <aj@suse.de>
12596
12597 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12598 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12599
1a09dc56
AJ
126002012-05-23 Andreas Jaeger <aj@suse.de>
12601 Maximilian Attems <max@stro.at>
12602
12603 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12604 New macros.
12605
1c87aba0
L
126062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12607
12608 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12609 code so that pseudo_end is just ret and the stack pointer is
12610 correct also for static library in error case.
12611
40e45bd5
JM
126122012-05-23 Joseph Myers <joseph@codesourcery.com>
12613
c2670533
JM
12614 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12615 move to syscalls.list.
12616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12620
40e45bd5
JM
12621 * manual/install.texi (Running make install): Do not mention Linux
12622 kernel version for which pt_chown is not needed.
12623 (Linux): Do not mention problems with nscd with 2.0 kernels.
12624 * INSTALL: Regenerated.
12625
be08eda5
AJ
126262012-05-23 Andreas Jaeger <aj@suse.de>
12627
12628 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12629 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12630 macro.
12631 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12632 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12633 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12634 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12635 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12636 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12637 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12638 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12639 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12640 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12641 * sysdeps/unix/sysv/linux/bits/in.h
12642 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12643
a6a056bb
RM
126442012-05-22 Roland McGrath <roland@hack.frob.com>
12645
12646 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12647 (PREPARE_VERSION): Just use assert instead, it will be elided
12648 under [NDEBUG] anyway.
12649
c9009328
L
126502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12651
12652 * sysdeps/unix/sysv/linux/Makefile: Include
12653 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12654 (sysdep_routines): Remove sysctl.
c9009328
L
12655 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12656 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12657 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12658 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12659 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12660
73338355
AJ
126612012-05-22 Andreas Jaeger <aj@suse.de>
12662
12663 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12664 that pseudo_end is just ret and the stack pointer is correct also
12665 for static library in error case.
12666
d44638b0
PP
126672012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12668
12669 [BZ #14122]
12670 * nss/nsswitch.c (defconfig_entries): New variable.
12671 (__nss_database_lookup): Don't leak defconfig entries.
12672 (nss_parse_service_list): Don't leak on error paths.
12673 (free_database_entries): New function.
12674 (free_defconfig): New function.
12675 (free_mem): Move common code to free_database_entries.
12676
31a39bd8
L
126772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12678
da0331a8
L
12679 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12680 Add arch_prctl.
12681 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12682
31a39bd8
L
12683 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12684 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12686 New macro.
12687 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12688 (INTERNAL_SYSCALL_TYPES): Likewise.
12689 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12690 (LOAD_REGS_TYPES_[1-6]): Likewise.
12691 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12692 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12693
45470df3
AZ
126942012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12695
12696 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12697 copysignl for GLIBC_2_0.
12698 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12699 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12700 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12701 logbl for GLIBC_2_0.
12702 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12703 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12704
98a61bcb
L
127052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12706
a4f6e481
L
12707 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12708 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12709
f63d5db6
L
12710 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12711 Use "neg %eax".
12712
98a61bcb
L
12713 * time/mktime.c: Update copyright years.
12714
95770f14
PE
127152012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12716
6226efbd
PE
12717 mktime: merge comment-quoting-style change from gnulib
12718 * time/mktime.c: Quote 'like this' in comments.
12719 The GNU coding standards suggest that we no longer quote `like this',
12720 as "`" and "'" are typically rendered asymmetrically nowadays.
12721 The typical gnulib style is to quote 'like this' when quoting
12722 code, and "like this" when quoting English.
12723
b99e4f78
PE
12724 * time/mktime.c (compile-command): Add "-I.".
12725
643e01e6
PE
12726 mktime: merge mktime-internal.h change from gnulib
12727 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12728
2554247d
PE
12729 mktime: merge time_r change from gnulib
12730 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12731
826dd0ab
PE
12732 mktime: merge DEBUG change from gnulib
12733 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12734 case system <time.h> has a #define.
12735
bd83aabe
PE
12736 mktime: merge <sys/types.h> change from gnulib
12737 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12738 since <time.t> is now guaranteed to define time_t.
12739
95770f14
PE
12740 mktime: merge HAVE_CONFIG_H change from gnulib
12741 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12742
5e1a27a9
L
127432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12744
0e44a77e
L
12745 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12746 Use "neg %eax".
12747
5e1a27a9
L
12748 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12749 __rlim_t cast.
12750 (struct rusage): Use anonymous union to pad each field to
12751 __syscall_slong_t.
12752
46259bec
DM
127532012-05-21 David S. Miller <davem@davemloft.net>
12754
12755 * Makefules (o-iterator): Remove .s cases.
12756 (compile-command.s): Delete.
12757 (COMPILE.s): Delete.
12758 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12759
59f0c22e
JM
127602012-05-21 Joseph Myers <joseph@codesourcery.com>
12761
12762 * configure.in (libc_cv_predef_stack_protector): Only consider
12763 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12764 * configure: Regenerated.
12765
20c07380
L
127662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12767
bbb3154b
L
12768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12769 New macro. Use R*LP on int and pointer.
12770 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12771 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12772 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12773 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12774
20c07380
L
12775 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12776 [__WORDSIZE_TIME64_COMPAT32] instead of
12777 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12778 (struct utmp): Likewise.
12779 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12780 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12781 Renamed to ...
12782 (__WORDSIZE_TIME64_COMPAT32): This.
12783 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12784 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12785 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12786 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12787 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12788 (__WORDSIZE_TIME64_COMPAT32): New macro.
12789
d8d1017e
AJ
127902012-05-21 Andreas Jaeger <aj@suse.de>
12791
12792 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12793 only if [SHARED]. Add prototype for __wcschr_ia32.
12794
6c7fb145
RM
127952012-05-21 Roland McGrath <roland@hack.frob.com>
12796
12797 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12798 of %rbp unmolested in the jmp_buf while mangling the low bits.
12799 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12800 unmolested high bits of %rbp while demangling the low bits.
12801 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12802
66274218
AJ
128032012-05-21 Andreas Jaeger <aj@suse.de>
12804
07c58f8f
AJ
12805 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12806 * sunrpc/svc_simple.c: Use it for registerrpc.
12807 * sunrpc/xcrypt.c: Use it for passwd2des.
12808
66274218
AJ
12809 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12810
61f65140
L
128112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12812
12813 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12814 Don't define if [__SYSCALL_WORDSIZE != 32].
12815 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12816 New macro.
12817
5fefb436
AJ
128182012-05-21 Bruno Haible <bruno@clisp.org>
12819 Andreas Jaeger <aj@suse.de>
12820
12821 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12822 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12823 inptr and inend for must_buffer_ch.
12824 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12825 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12826 * stdio-common/Makefile (tests): Remove bug15.
12827 (bug15-ENV): Remove macro.
12828 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12829 anymore.
12830
d8e272ab
AJ
128312012-05-19 Andreas Jaeger <aj@suse.de>
12832 Roland McGrath <roland@hack.frob.com>
12833
12834 * manual/contrib.texi: Completely rewritten. It contains now an
12835 alphabetical list of contributors and their contributions.
12836
4a56a162
RH
128372012-05-21 Richard Henderson <rth@twiddle.net>
12838
12839 * misc/getauxval.c (__getauxval): Use unsigned long int.
12840 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12841 (getauxval): Use unsigned long int.
12842
d024d23c
L
128432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12844
12845 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12846
cbc00a03
RM
128472012-05-21 Roland McGrath <roland@hack.frob.com>
12848
12849 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12850 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12851 __alignof__ (long double).
12852
478143fa
AZ
128532012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12854
12855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12856
c7683a6d
RH
128572012-05-20 Richard Henderson <rth@twiddle.net>
12858
12859 * misc/getauxval.c: New file.
12860 * misc/sys/auxv.h: New file.
12861 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12862 (routines): Add getauxval.
12863 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12864 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12865 * elf/dl-sysdep.c (_dl_auxv): Remove.
12866 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12867 * elf/dl-support.c (_dl_auxv): New variable.
12868 (_dl_aux_init): Initialize it.
12869 * manual/startup.texi (Auxiliary Vector): New node.
12870 * sysdeps/generic/bits/hwcap.h: New file.
12871 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12872 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12873 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12874 * sysdeps/sparc/sysdep.h: ... here. Include it.
12875 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12876 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12878 Update.
c7683a6d
RH
12879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12882 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12887
a6f1845d
AZ
128882012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12889
12890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12891
cbcbe830
DM
128922012-05-19 David S. Miller <davem@davemloft.net>
12893
12894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12895
e0b16cc2
JM
128962012-05-19 Joseph Myers <joseph@codesourcery.com>
12897
12898 [BZ #14123]
12899 * math/s_ccosh.c: Include <float.h>
12900 (__ccosh): Avoid internal overflow calculating sinh and cosh
12901 values before multiplying by sin and cos values.
12902 * math/s_ccoshf.c: Likewise.
12903 * math/s_ccoshl.c: Likewise.
12904 * math/s_csin.c: Likewise.
12905 * math/s_csinf.c: Likewise.
12906 * math/s_csinl.c: Likewise.
12907 * math/s_csinh.c: Likewise.
12908 * math/s_csinhf.c: Likewise.
12909 * math/s_csinhl.c: Likewise.
12910 * math/libm-test.inc (ccos_test): Add more tests.
12911 (ccosh_test): Likewise.
12912 (csin_test): Likewise.
12913 (csinh_test): Likewise.
12914 * sysdeps/i386/fpu/libm-test-ulps: Update.
12915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12916
6ad13e08
L
129172012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12918
f66f0ce8
L
12919 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12920 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12921
6ad13e08
L
12922 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12923
b1d072a7
JM
129242012-05-19 Joseph Myers <joseph@codesourcery.com>
12925
12926 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12927 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12928 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12929 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12930 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12931 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12932 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12933 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12934 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12935 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12936 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12937 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12938 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12939 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12940 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12941 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12942 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12943 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12944 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12945 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12946 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12947 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12948 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12949 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12950 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12951 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12952 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12953 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12954 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12955 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12956 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12957
9eae47cb
AJ
129582012-05-18 Andreas Jaeger <aj@suse.de>
12959
12960 * csu/.gitignore: Delete.
12961
bb07f69f
L
129622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12963
12964 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12965 (timex): Use __syscall_slong_t.
12966
e6bdb741
AJ
129672012-05-18 Andreas Jaeger <aj@suse.de>
12968 Carlos O'Donell <carlos_odonell@mentor.com>
12969
12970 * manual/install.texi (Configuring and compiling): Update
12971 description about files modified in the source directory.
d6c33fda 12972 * INSTALL: Regenerated.
e6bdb741 12973
1b74487e
L
129742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12975
12976 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12977 value. Use "or" to set return value to -1.
12978 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12979 negate return value.
12980
a88b64b9
TMQMF
129812012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12982
12983 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12984 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12985 failure if the compiler has Graphite support disabled.
12986 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12987 Likewise.
12988 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12989 CFLAGS-memmove.c): Likewise.
12990 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12991 Likewise.
12992
3707636e
L
129932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12994
610b8622
L
12995 * sysdeps/x86_64/x32/_itoa.h: New file.
12996
7cd195df
L
12997 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12998 getdents system call only if kernel and user dirents have the
12999 same d_ino and d_off.
13000
94b07d20
L
13001 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13002 LLONG_MAX != LONG_MAX.
13003 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13004 (_fitoa_word): Likewise.
13005
18298070
L
13006 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13007 years.
13008 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13009 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13010 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13011
553c7ea4
L
13012 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13013 include <bits/wordsize.h>. Check __x86_64__ instead of
13014 __WORDSIZE.
13015 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13016 if __x86_64__ is defined. Use anonymous union on fpstate.
13017
3707636e
L
13018 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13019 anonymous union.
13020
b53ef01a
AS
130212012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13022
37fb1dc0
AS
13023 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13024 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13025 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13026 Refer to _rtld_local_ro instead of _rtld_global_ro.
13027 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13028 Likewise.
13029 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13030 Likewise.
13031 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13032 Likewise.
13033 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13034 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13035 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13036
b53ef01a
AS
13037 * sysdeps/powerpc/powerpc32/dl-machine.c
13038 (__elf_machine_runtime_setup) [PROF]: Don't reference
13039 _dl_prof_resolve.
13040
7a185db2
AJ
130412012-05-18 Andreas Jaeger <aj@suse.de>
13042
13043 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13044 function only available for GCCs before 3.4 since GCC 3.4
13045 introduced a builtin.
13046 (lrint): Likewise.
13047 (llrintf): Likewise.
13048 (llrint): Likewise.
13049 (fmaxf): Likewise.
13050 (fmax): Likewise.
13051 (fminf): Likewise.
13052 (fmin): Likewise.
13053 (rint): Likewise.
13054 (rintf): Likewise.
13055 (nearbyint): Likewise.
13056 (nearbyintf): Likewise.
13057 (ceil): Likewise.
13058 (ceilf): Likewise.
13059 (floor): Likewise.
13060 (floorf): Likewise.
13061
3e5aef87
L
130622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13063
428bd707
L
13064 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13065 on both fields and cast pointer to __syscall_ulong_t.
13066
3e5aef87
L
13067 * bits/types.h (__fsword_t): New type.
13068 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13069 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13070 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13071 (__FSWORD_T_TYPE): Likewise.
13072 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13073 (__FSWORD_T_TYPE): Likewise.
13074 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13075 (__FSWORD_T_TYPE): Likewise.
13076 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13077 (__FSWORD_T_TYPE): Likewise.
13078 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13079 __SWORD_TYPE with __fsword_t.
13080 (statfs64): Likewise.
13081
1ba7c3dc
DM
130822012-05-17 David S. Miller <davem@davemloft.net>
13083
13084 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13085
59910343
AJ
130862012-05-17 Andreas Jaeger <aj@suse.de>
13087
13088 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13089 warning.
13090
2e4c1e9e
L
130912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13092
13093 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13094
de7f5ce7
AJ
130952012-05-17 Andreas Jaeger <aj@suse.de>
13096
13097 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13098 when it is used.
13099
286abc3d
CM
131002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13101
13102 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13103
477cc68e
L
131042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13105
13106 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13107 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13108
1a0994f5
CD
131092012-05-17 Andreas Jaeger <aj@suse.de>
13110 Carlos O'Donell <carlos_odonell@mentor.com>
13111
13112 [BZ #14059]
13113 * sysdeps/x86_64/multiarch/init-arch.h
13114 (bit_YMM_Usable): Rename to...
13115 (bit_AVX_Usable): ... this.
13116 (bit_FMA4_Usable): New macro.
13117 (bit_XMM_state): New macro.
13118 (bit_YMM_state): New macro.
13119 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13120 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13121 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13122 (CPUID_OSXSAVE): New macro.
13123 (CPUID_AVX): New macro.
13124 (CPUID_FMA4): New macro.
13125 (index_YMM_Usable): Rename to...
13126 (index_AVX_Usable): ... this.
13127 (HAS_AVX): Use HAS_ARCH_FEATURE.
13128 (HAS_FMA4): Likewise.
13129 (HAS_YMM_USABLE): Remove.
13130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13131 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13132 are present.
13133 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13134 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13135 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13136 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13137 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13138
0af797de
CM
131392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13140
13141 * math/libm-test.c: Support platforms without multiple rounding modes.
13142 * math/bug-nextafter.c: Support platforms without FP exceptions.
13143 * math/bug-nexttoward.c: Likewise.
13144 * math/test-fenv.c: Likewise.
13145 * math/test-misc.c: Likewise.
13146 * stdlib/bug-getcontext.c: Likewise.
13147
e39745ff
AJ
131482012-05-17 Andreas Jaeger <aj@suse.de>
13149
13150 * manual/examples/search.c (critter_cmp): Change signature to
13151 avoid warnings.
13152 * manual/string.texi (Collation Functions): Likewise.
13153
48970aba
L
131542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13155
13156 * bits/types.h: Fold copyright years.
13157 * bits/typesizes.h: Likewise.
13158 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13159 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13160 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13161 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13162 * time/time.h: Likewise.
13163
bedee953
PP
131642012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13165
13166 [BZ #208]
13167 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13168 in instead of returning them. Return void.
13169 (__libc_mallinfo): Accumulate over all arenas.
13170 (__malloc_stats): Adjust for change in int_mallinfo interface.
13171
61653dfb
RM
131722012-05-16 Roland McGrath <roland@hack.frob.com>
13173
30b99d79
RM
13174 [BZ #10375]
13175 * configure.in (NM): Add AC_CHECK_TOOL for it.
13176 (libc_extra_cflags): New substituted variable.
13177 Check for -fstack-protector being used implicitly.
13178 * configure: Regenerated.
13179 * config.make.in (config-extra-cflags): New variable,
13180 gets @libc_extra_cflags@.
13181 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13182
61653dfb
RM
13183 [BZ #10375]
13184 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13185 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13186 * configure: Regenerated.
13187 * config.make.in (CPPUNDEFS): New substituted variable.
13188 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13189 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13190 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13191
661768bb
L
131922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13193
13194 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13195 (mq_attr): Use __syscall_slong_t.
13196
d4261567
L
131972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13198
13199 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13200 Check __x86_64__ instead of __WORDSIZE.
13201 (_STAT_VER_LINUX): Likewise.
13202 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13203 __syscall_ulong_t and __syscall_slong_t.
13204 (stat64): Likewise.
13205
cf3ff365
L
132062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13207
13208 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13209
76cf3e4d
L
132102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13211
13212 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13213
a637753a
L
132142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13215
13216 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13217 __syscall_ulong_t.
13218
d5e05119
L
13219 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13220 include <bits/wordsize.h>. Check __x86_64__ instead of
13221 __WORDSIZE.
13222 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13223 defined.
13224 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13225
f62ee380
L
13226 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13227 include <bits/wordsize.h>. Check __x86_64__ instead of
13228 __WORDSIZE.
13229 (user_regs_struct): Use "__extension__ unsigned long long"
13230 instead of "unsigned long" if __x86_64__ is defined.
13231 (user): Likewise. Pad after pointer field if __ILP32__ is
13232 defined.
13233
4e124ced
JM
132342012-05-16 Joseph Myers <joseph@codesourcery.com>
13235
6a3951a0
JM
13236 * configure.in (makeinfo): Require version 4.5 or later. Allow
13237 versions 5 to 9.
13238 * configure: Regenerated.
13239 * manual/install.texi (texinfo): Increase version requirement to
13240 4.5 or later.
13241 * INSTALL: Regenerated.
13242
4e124ced
JM
13243 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13244
953ca31a
L
132452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13246
13247 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13248
617aca05
L
13249 * sysdeps/x86_64/x32/ffs.c: New file.
13250
5762f7ae
L
13251 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13252 __syscall_ulong_t.
13253 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13254 defined. Use __syscall_ulong_t.
13255 (shminfo): Use __syscall_ulong_t.
13256 (shm_info): Likewise.
13257
a26b6856
L
13258 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13259 __syscall_ulong_t.
13260
cb2b9ef7
L
13261 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13262 <bits/wordsize.h>.
13263 (msgqnum_t): Use __syscall_ulong_t.
13264 (msglen_t): Likewise.
13265 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13266 __syscall_ulong_t.
13267
34683bb0
L
13268 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13269 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13270
84a68786
L
13271 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13272
48baa5f1
L
13273 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13274 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13275
180be88b
L
13276 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13277 __syscall_slong_t.
13278
5e90c8ad
L
13279 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13280 include <bits/wordsize.h>. Check __x86_64__ instead of
13281 __WORDSIZE.
13282
23dfb58b
L
13283 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13284 "unsigned long long int" if __x86_64__ is defined.
13285 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13286
ce5d54b0
L
13287 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13288 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13289 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13290
13dc9eac
L
13291 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13292 <stdint.h>.
13293 (GET_PC): Cast to uintptr_t first.
13294 (GET_FRAME): Likewise.
13295 (GET_STACK): Likewise.
13296
a7895d15
L
13297 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13298 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13299 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13300 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13301 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13302 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13303 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13304 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13305 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13306 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13307 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13308 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13309 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13310 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13311 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13312 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13313 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13314 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13315 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13316 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13317 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13318 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13319 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13320 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13321 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13322 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13323 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13324 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13325 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13326
656416c9
AS
133272012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13328
5bd66283
AS
13329 * Makerules (+depfiles): Also collect depfiles from .oS in
13330 $(extra-objs).
13331 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13332 .oS, $(libnldbl-routines)).
13333
656416c9
AS
13334 * Makerules (native-compile-mkdep-flags): Define.
13335 * sunrpc/Makefile (extra-objs): Add $(addprefix
13336 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13337 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13338 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13339 calling $(make-target-directory).
13340
a46f2169
L
133412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13342
13343 * bits/types.h (__snseconds_t): Removed.
13344 * time/time.h (struct timespec): Replace __snseconds_t with
13345 __syscall_slong_t.
13346 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13347 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13348 Likewise.
13349 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13350 (__SNSECONDS_T_TYPE): Likewise.
13351 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13352 (__SNSECONDS_T_TYPE): Likewise.
13353 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13354 (__SNSECONDS_T_TYPE): Likewise.
13355
6af6528b
L
133562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13357
13358 * sysdeps/mach/hurd/bits/typesizes.h
13359 (__SYSCALL_SLONG_TYPE): New macro.
13360 (__SYSCALL_ULONG_TYPE): Likewise.
13361
de986b56
L
133622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13363
13364 * bits/types.h (__syscall_slong_t): New type.
13365 (__syscall_ulong_t): Likewise.
13366
13367 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13368 (__SYSCALL_ULONG_TYPE): Likewise.
13369 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13370 (__SYSCALL_SLONG_TYPE): Likewise.
13371 (__SYSCALL_ULONG_TYPE): Likewise.
13372 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13373 (__SYSCALL_SLONG_TYPE): Likewise.
13374 (__SYSCALL_ULONG_TYPE): Likewise.
13375 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13376 (__SYSCALL_SLONG_TYPE): Likewise.
13377 (__SYSCALL_ULONG_TYPE): Likewise.
13378
85736dc7
L
133792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13380
13381 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13382 Add sigaltstack-offsets.sym.
13383 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13384 <sigaltstack-offsets.h>.
13385 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13386 longjmp_msg pointer.
13387 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13388 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13389 signal stack.
13390 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13391
cc03b296
JM
133922012-05-15 Joseph Myers <joseph@codesourcery.com>
13393
a9538892
JM
13394 * elf/stackguard-macros.h: Remove file.
13395 * sysdeps/generic/stackguard-macros.h: New file.
13396 * sysdeps/i386/stackguard-macros.h: Likewise.
13397 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13398 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13399 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13400 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13401 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13402 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13403 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13404 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13405 <elf/stackguard-macros.h>.
13406
cc03b296
JM
13407 [BZ #14109]
13408 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13409 __aligned__ in attribute.
13410 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13411 (gregset_t): Likewise.
13412
93171016
L
134132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13414
13415 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13416 * sysdeps/x86_64/64/Implies-after: Here. New file.
13417 * sysdeps/x86_64/x32/Implies-after: New file.
13418
d86813a0
L
134192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13420
13421 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13422 and access return value for _dl_profile_fixup. Use R10_LP to
13423 load frame size.
13424
2953ec75
L
134252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13426
13427 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13428
3b550e9e
L
134292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13430
13431 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13432 * sysdeps/x86_64/x32/sysdep.h: New file.
13433
eda41706
L
134342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13435
13436 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13437 * sysdeps/x86_64/setjmp.S: Likewise.
13438
9ea01d93
AZ
134392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13440
13441 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13442 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13443 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13444 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13445 remove unused global constant.
13446
02a91938
CM
134472012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13448
13449 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13450 include of <not-cancel.h>.
13451
6540185f
RM
134522012-05-15 Roland McGrath <roland@hack.frob.com>
13453
13454 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13455
509072a0
AJ
134562012-05-15 Jeff Law <law@redhat.com>
13457 Andreas Jaeger <aj@suse.de>
13458
13459 [BZ #13594]
13460 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13461 out from...
13462 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13463 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13464 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13465 code changing __hst_map_handle.map.
13466
ba75122d
RM
134672012-05-15 Roland McGrath <roland@hack.frob.com>
13468
13469 * configure.in (sysnames): Look for Implies-before and Implies-after
13470 files.
13471 * configure: Regenerated.
13472
890d8bd8
L
134732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13474
13475 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13476 8-byte data alignment with LP_SIZE alignment.
13477
f6ee6623
L
134782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13479
13480 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13481 into R10_LP.
13482
ea2626f6
L
134832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13484
13485 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13486
085f715e
L
134872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13488
13489 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13490 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13491 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13492 Likewise.
13493 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13494
be8498fc
L
134952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13496
13497 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13498 (stackinfo_sub_sp): Likewise.
13499
70bc83b9
L
135002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13501
13502 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13503 RAX_LP.
13504
9bc0b730
L
135052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13506
13507 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13508 into R*_LP.
13509
6d2850e7
L
135102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13511
13512 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13513 sizes into R*_LP.
13514
3cb84561
L
135152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13516
13517 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13518
54e2ed81
L
135192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13520
13521 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13522 into R11_LP and load __x86_64_shared_cache_size_half into
13523 R8_LP.
13524
8a17f349
L
135252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13526
13527 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13528 R8_LP.
13529
777b1eea
AZ
135302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13531
13532 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13533 logb for POWER7.
13534 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13535 logbf for POWER7.
13536 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13537 logbl for POWER7.
13538 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13539 powerpc32/power7/fpu/s_logb.c via #include.
13540 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13541 powerpc32/power7/fpu/s_logbf.c via #include.
13542 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13543 powerpc32/power7/fpu/s_logbl.c via #include.
13544
d20d4ac2
JM
135452012-05-15 Joseph Myers <joseph@codesourcery.com>
13546
13547 * README.libm: Remove file.
13548
6cdef1ab
L
135492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13550
13551 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13552 count for x32. Use R*_LP and omit operand-size suffix.
13553
0b254d8f
L
135542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13555
13556 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13557 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13558 * sysdeps/x86_64/x32/shlib-versions: New file.
13559
ceb809dc
RM
135602012-05-14 Roland McGrath <roland@hack.frob.com>
13561
13562 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13563 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13564 Use _dl_fatal_printf instead.
13565
37f1abd4
JM
135662012-05-14 Joseph Myers <joseph@codesourcery.com>
13567
13568 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13569 set if not set by the user. Do not allow for being unset.
13570 * sysdeps/unix/sysv/linux/configure: Regenerated.
13571
11de3a33
L
135722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13573
13574 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13575 the `q' suffix from lea and replace .quad with ASM_ADDR.
13576
e02f153a
L
135772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13578
13579 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13580 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13581 instead of $17.
13582 (PTR_DEMANGLE): Likewise.
13583
520ae0fd
L
135842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13585
13586 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13587 (LP_OP): Likewise.
13588 (ASM_ADDR): Likewise.
13589 (RAX_LP): Likewise.
13590 (RBP_LP): Likewise.
13591 (RBX_LP): Likewise.
13592 (RCX_LP): Likewise.
13593 (RDI_LP): Likewise.
13594 (RSI_LP): Likewise.
13595 (RSP_LP): Likewise.
13596 (R8_LP): Likewise.
13597 (R9_LP): Likewise.
13598 (R10_LP): Likewise.
13599 (R10_LP): Likewise.
13600 (R11_LP): Likewise.
13601 (R12_LP): Likewise.
13602 (R13_LP): Likewise.
13603 (R14_LP): Likewise.
13604 (R15_LP): Likewise.
13605
b985be81
L
136062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13607
13608 * sysdeps/x86_64/x32/dl-machine.h: New file.
13609
6a4888ff
AJ
136102012-05-14 Andreas Jaeger <aj@suse.de>
13611
13612 * manual/Makefile (subdir): Remove export of subdir.
13613 (all): Remove target.
13614 (.PHONY): Remove all from list.
13615 (mkinstalldirs): Remove.
13616 (.PHONY): Remove installdirs from list.
13617 ($(inst_infodir)/libc.info): Use make-target-directory.
13618 (installdirs): Remove.
13619 (subdir_%): Remove.
13620 (glibc-targets): Remove.
13621 (lib): Remove.
13622 (stubs): Remove.
13623 ($(objpfx)stubs ../po/manual.pot): Remove.
13624 ($(objpfx)stamp%): Remove.
13625 (make-target-directory): Remove.
13626 (subdir_install): Remove.
13627 (routines): Remove.
13628 (aux): Remove.
13629 (sources): Remove.
13630 (objects): Remove.
13631 (headers): Remove.
13632
13633 [BZ #13750]
13634 * manual/.gitignore: Remove, it's not needed anymore.
13635 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13636 all files in it.
13637 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13638 directory.
13639 (texis): Renamed to $(objpfx)texis.
13640 (texis-path): New, contains path to generated files.
13641 (chapters.%): Use texis-path for complete path, add extra argument
13642 libc-texinfo.sh.
13643 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13644 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13645 (summary,texi, stamp-summary): Use complete path of
13646 files. Generate files in build dir.
13647 (dir-add.texi): Build in build dir.
13648 (libm-err.texi,stamp-libm-err): Likewise.
13649 (version.texi, stamp-version): Likewise.
13650 (.%c.texi): Likewise.
13651 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13652 (mostlyclean): Remove target.
13653 (realclean): Remove target.
13654 (generated): Add new variable with contents from mostlyclean and
13655 realclean, remove entries duplicated in common-mostlyclean, add
13656 stamp-libm-err and stamp-version.
13657 (generated-dirs): Add libc directory.
13658 ($(inst_infodir)/libc.info): Install files from build dir.
13659
13660 * manual/install.texi (Configuring and compiling): Adjust since
13661 the info files are not part of the tar ball anymore.
13662
7ac77294
AJ
136632012-05-14 Andreas Jaeger <aj@suse.de>
13664
13665 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13666 variable.
13667
ffb7875d
JM
136682012-05-14 Joseph Myers <joseph@codesourcery.com>
13669
13670 [BZ #13717]
13671 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13672 to 2.2.0 where earlier.
13673 * sysdeps/unix/sysv/linux/configure: Regenerated.
13674 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13675 Remove conditional code.
13676 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13677 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13678 Remove conditional code.
13679 [!__NR_lchown]: Likewise.
13680 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13681 [__NR_lchown]: Likewise.
13682 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13683 comment referencing __ASSUME_LCHOWN_SYSCALL.
13684 * sysdeps/unix/sysv/linux/i386/sigaction.c
13685 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13686 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13687 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13688 Remove conditional code.
13689 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13690 (__protocol_available): Remove #if 0 code.
13691 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13692 conditional code.
13693 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13694 * sysdeps/unix/sysv/linux/kernel-features.h
13695 (__ASSUME_GETCWD_SYSCALL): Don't define.
13696 (__ASSUME_REALTIME_SIGNALS): Likewise.
13697 (__ASSUME_PREAD_SYSCALL): Likewise.
13698 (__ASSUME_PWRITE_SYSCALL): Likewise.
13699 (__ASSUME_POLL_SYSCALL): Likewise.
13700 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13701 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13702 non-SPARC.
13703 (__ASSUME_SIOCGIFNAME): Don't define.
13704 (__ASSUME_MSG_NOSIGNAL): Likewise.
13705 (__ASSUME_SENDFILE): Define unconditionally.
13706 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13707 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13708 conditional code.
13709 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13710 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13711 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13712 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13713 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13714 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13715 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13717 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13718 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13720 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13721 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13723 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13724 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13726 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13727 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13729 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13730 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13732 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13733 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13735 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13736 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13738 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13739 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13740 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13741 Remove conditional code.
13742 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13743 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13744 Remove conditional code.
13745 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13746 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13747 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13748 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13749 Remove conditional code.
13750 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13751 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13752 Remove conditional code.
13753 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13754 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13755 Remove conditional code.
13756 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13757 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13758 Remove conditional code.
13759 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13760 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13761 Remove conditional code.
13762 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13763 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13764 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13765 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13766 * sysdeps/unix/sysv/linux/sigaction.c
13767 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13768 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13769 * sysdeps/unix/sysv/linux/sigpending.c
13770 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13771 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13772 * sysdeps/unix/sysv/linux/sigprocmask.c
13773 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13774 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13775 * sysdeps/unix/sysv/linux/sigsuspend.c
13776 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13777 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13778 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13779 (__libc_missing_rt_sigs): Remove.
13780 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13781 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13782 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13783 Remove conditional code.
13784 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13785 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13786 return 1.
13787 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13788 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13789 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13790 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13791
1bfb7291
AJ
137922012-05-14 Andreas Jaeger <aj@suse.de>
13793
caae5a81
AJ
13794 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13795 it's not used in glibc.
13796 (__coshm1): Likewise.
13797 (__acosh1p): Likewise.
13798 (__sgn): Likewise.
13799
1bfb7291
AJ
13800 * manual/string.texi (Copying and Concatenation): Add missing
13801 variable in concat example.
13802 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13803
c044d724
L
138042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13805
144c5467 13806 [BZ #14103]
c044d724
L
13807 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13808 __builtin_clzl with __builtin_clzll.
13809
2523c62b
L
138102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13811
13812 [BZ #14104]
13813 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13814 libc_freeres_ptr.
13815
d7bb4c42
LD
138162012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13817
13818 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13819 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13820 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13821 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13822
9dc4e1fb
MF
138232012-05-14 Mike Frysinger <vapier@gentoo.org>
13824
13825 * NEWS: Update ia64 info.
13826
c7df0112
AS
138272012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13828
13829 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13830 used as bcopy.
13831
dc70356c
TS
138322012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13833
13834 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13835 * sysdeps/unix/syscalls.list (dup3): Likewise.
13836 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13837 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13838
9fb1a21f
L
138392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13840
13841 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13842 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13843
4822a2a5
L
138442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13845
13846 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13847 thread pointer.
13848 (TLS_IE): Use mov/add instead of movq/addq to load thread
13849 pointer.
13850 (TLS_GD_PREFIX): New.
13851 (TLS_GD): Use it.
13852
842b81d6
DM
138532012-05-11 David S. Miller <davem@davemloft.net>
13854
13855 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13856 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13857 (_FPU_SETCW): Likewise.
13858
1cf463cd
L
138592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13860
13861 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13862 is 32-byte aligned.
13863
60cc4a18
AS
138642012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13865
13866 [BZ #11837]
13867 * iconvdata/gb18030.c: Update tables.
13868 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13869 characters specially.
13870 (BODY for TO_LOOP): Add encoding of missing ranges.
13871
febb44a4
TS
138722012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13873
13874 [BZ #13673]
13875 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13876 * sysdeps/mach/hurd/dup3.c: Likewise.
13877 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13878 * sysdeps/powerpc/memmove.c:: Likewise.
13879
0a10fb9e
L
138802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13881
13882 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13883 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13884
df8a552f
L
138852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13886
13887 * elf/elf.h (R_X86_64_RELATIVE64): New.
13888 (R_X86_64_NUM): Updated.
13889 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13890 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13891 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13892 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13893 tst-quad1pie tst-quad2pie
13894 (modules-names): Add tst-quadmod1 tst-quadmod2.
13895 ($(objpfx)tst-quad1): New dependency.
13896 ($(objpfx)tst-quad2): Likewise.
13897 ($(objpfx)tst-quad1pie): Likewise.
13898 ($(objpfx)tst-quad2pie): Likewise.
13899 * sysdeps/x86_64/tst-quad1.c: New file.
13900 * sysdeps/x86_64/tst-quad1pie.c: New file.
13901 * sysdeps/x86_64/tst-quad2.c: Likewise.
13902 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13903 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13904 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13905 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13906 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13907
f34d6f84
ST
139082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13909
f42d41d1
ST
13910 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13911 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13912 * streams/stropts.h (t_scalar_t): Define type.
13913
3c3571fc
ST
13914 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13915 (_PATH_PRESERVE): Set to "/var/lib".
13916 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13917
61f06bd3
ST
13918 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13919 instead of int.
13920
918d4d71
ST
13921 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13922 if __dir_mkfile succeeded.
13923
f34d6f84
ST
13924 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13925 checking for _hurd_dtablesize. Unlock it right after having
13926 finished _hurd_dtable allocation.
13927
10589b4a
TS
139282012-05-10 Thomas Schwinge <thomas@schwinge.name>
13929
674cdbc7
TS
13930 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13931 * sysdeps/mach/hurd/configure: Regenerated.
13932 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13933 special-casing to...
13934 * sysdeps/gnu/configure.in: ... this new file.
13935 * sysdeps/unix/sysv/linux/configure: Regenerated.
13936 * sysdeps/gnu/configure: New generated file.
13937
8e41b99f
TS
13938 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13939 for Linux: use nsec instead of usec, as well as:
13940 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13941 members of type struct timespec.
13942 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13943 New macros.
13944 (struct stat64): Likewise.
13945 (_STATBUF_ST_NSEC): New macro.
13946 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13947
10589b4a
TS
13948 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13949 __strtoul_internal rather than strtoul.
13950
63643c85
PT
139512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13952
13953 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13954 and reject them.
13955
3faebe6a
ST
139562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13957
13958 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13959 which preserves existing values.
13960 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13961
c6474b07
PT
139622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13963
13964 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13965 TIMEOUT values. Return EINVAL for NFDS values either negative or
13966 greater than FD_SETSIZE.
13967
1043890b
ST
139682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13969
13970 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13971 allocated, call __vm_protect to finish enabling the existing space, and
13972 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13973 allocate the remainder.
13974
37ed8b9b
PT
139752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13976
13977 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13978 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13979
db653660
ST
139802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13981
37ed8b9b
PT
13982 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13983 sysdeps/mach/hurd/readlink.c.
b29d4053 13984
db653660
ST
13985 * posix/tst-sysconf.c (posix_options): Only use
13986 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13987 _POSIX_SYNCHRONIZED_IO when they are defined
13988 * sysdeps/mach/hurd/bits/posix_opt.h:
13989 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13990 (_XOPEN_REALTIME): Undefine macro.
13991 (_XOPEN_REALTIME_THREADS): Undefine macro.
13992 (_XOPEN_SHM): Undefine macro.
13993 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13994 macro to -1.
13995 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13996 macro to -1.
13997 (_POSIX_ASYNC_IO): Undefine macro.
13998 (_POSIX_PRIORITIZED_IO): Undefine macro.
13999 (_POSIX_SPIN_LOCKS): Define macro to -1.
14000
ee16e894
ST
14001 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14002 SA_NODEFER, SA_RESETHAND.
14003 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14004 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14005 F_DUPFD_CLOEXEC.
14006
6103ae3b
TS
140072012-05-10 Thomas Schwinge <thomas@schwinge.name>
14008
14009 * elf/Makefile (pldd-modules): Define unconditionally.
14010
80b4e5f3
TS
140112012-05-10 Thomas Schwinge <thomas@schwinge.name>
14012
14013 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14014
edadcbd6
ST
140152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14016
14017 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14018 Return ENOENT when name is empty.
14019 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14020
80694780
TS
140212012-05-10 Thomas Schwinge <thomas@schwinge.name>
14022
1792c087
TS
14023 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14024
80694780
TS
14025 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14026
6b645f0d
ST
140272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14028
80694780
TS
14029 Fix mlock in all cases except non-readable pages.
14030 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14031 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14032
6b645f0d
ST
14033 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14034 (__mkdir): When path is `/', just fail with EEXIST.
14035 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14036
e468f8a3
TS
140372012-05-10 Thomas Schwinge <thomas@schwinge.name>
14038
14039 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14040 <sys/uio.h> (for writev).
14041 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14042 and <sys/param.h> (for MIN).
14043
a4186cff
PT
140442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14045
14046 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14047 REQUESTED_TIME. Properly set the remaining time and return EINTR
14048 if interrupted.
14049
510bbf14
TS
140502012-05-10 Thomas Schwinge <thomas@schwinge.name>
14051
14052 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14053 Depend on against $(link-rpcuserlibs).
14054
5d5722e8
ST
140552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14056
a4186cff
PT
14057 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14058 (__libc_stack_end): Do not use attribute_relro.
14059 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14060 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14061 to libthread-provided value.
a4186cff
PT
14062 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14063 attribute_relro.
5d5722e8 14064
37233df9
TS
140652012-05-10 Thomas Schwinge <thomas@schwinge.name>
14066
be971a2b
TS
14067 [BZ #3748]
14068 * bits/libc-lock.h (__libc_once_get): New macro.
14069 * sysdeps/mach/bits/libc-lock.h: Likewise.
14070 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14071 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14072 instead of using implementation details.
14073
37233df9
TS
14074 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14075 * libio/freopen.c: Likewise.
14076 * libio/freopen64.c: Likewise.
14077 * misc/syslog.c: Likewise.
14078 * nscd/connections.c: Likewise.
14079 * nscd/netgroupcache.c: Likewise.
14080 * sysdeps/posix/getcwd.c: Likewise.
14081
38de94a5
RM
140822012-05-10 Roland McGrath <roland@hack.frob.com>
14083
14084 * math/w_ilogbf.c: Add #include <limits.h>.
14085
67530489
ST
140862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14087
a4186cff 14088 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14089 path instead of returning without unlocking.
14090
67530489
ST
14091 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14092 immediate-write ioctls.
14093 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14094
5aa3a74a
TS
140952012-05-10 Thomas Schwinge <thomas@schwinge.name>
14096
18bad2ae
TS
14097 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14098 __builtin_frame_address instead of making assumptions about the
14099 location of the return address relative to DATA. Force early load of
14100 the return address.
14101 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14102 __builtin_frame_address.
14103
5aa3a74a
TS
14104 dup3 for GNU Hurd.
14105 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14106 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14107 implement dup3 and do some further code clean-ups.
14108 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14109 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14110
ecd0de9a
ST
141112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14112
cd9fa985
ST
14113 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14114
a4186cff
PT
14115 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14116 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14117 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14118 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14119 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14120 d->port.lock.
802ca5a5 14121
a4186cff
PT
14122 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14123 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14124 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14125
bcf55240
TS
141262012-05-10 Thomas Schwinge <thomas@schwinge.name>
14127
6960eb42
TS
14128 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14129 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14130 definitions.
14131
eb43375f
TS
14132 accept4 for GNU Hurd.
14133 * include/sys/socket.h (__libc_accept4): New prototype.
14134 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14135 to implement __libc_accept4.
14136 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14137 __libc_accept4.
14138 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14139
bcf55240
TS
14140 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14141 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14142 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14143 signal-defines.sym.
14144
6178c55b
ST
141452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14146
a4186cff 14147 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14148
6f080c2f
TS
141492012-05-10 Thomas Schwinge <thomas@schwinge.name>
14150
14151 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14152 assertion on O_CLOEXEC flag.
14153 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14154 * hurd/intern-fd.c: Likewise.
14155 * hurd/port2fd.c: Likewise.
14156
bcfe3a54
ST
141572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14158
14159 [BZ #3906]
14160 * bits/in.h (IPV6_PKTINFO): Define new macro.
14161 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14162
89c9aa49
AZ
141632012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14164
14165 [BZ #13954]
14166 [BZ #13955]
14167 [BZ #13956]
14168 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14169 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14170 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14171 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14172 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14173 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14174 * math/libm-test.inc (logb_test) : Additional logb tests.
14175
021db4be
AJ
141762012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14177 Andreas Jaeger <aj@suse.de>
14178
14179 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14180 * configure: Regenerated.
14181 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14182 * config.make.in (link-obsolete-rpc): New substituted variable.
14183 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14184 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14185 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14186 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14187 so that libc.a contains the symbols.
14188 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14189 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14190 * sunrpc/auth_none.c: Likewise.
14191 * sunrpc/auth_unix.c: Likewise.
14192 * sunrpc/authdes_prot.c: Likewise.
14193 * sunrpc/authuxprot.c: Likewise.
14194 * sunrpc/clnt_gen.c: Likewise.
14195 * sunrpc/clnt_perr.c: Likewise.
14196 * sunrpc/clnt_raw.c: Likewise.
14197 * sunrpc/clnt_simp.c: Likewise.
14198 * sunrpc/clnt_tcp.c: Likewise.
14199 * sunrpc/clnt_udp.c: Likewise.
14200 * sunrpc/clnt_unix.c: Likewise.
14201 * sunrpc/des_crypt.c: Likewise.
14202 * sunrpc/des_soft.c: Likewise.
14203 * sunrpc/get_myaddr.c: Likewise.
14204 * sunrpc/key_call.c: Likewise.
14205 * sunrpc/key_prot.c: Likewise.
14206 * sunrpc/netname.c: Likewise.
14207 * sunrpc/pm_getmaps.c: Likewise.
14208 * sunrpc/pm_getport.c: Likewise.
14209 * sunrpc/pmap_clnt.c: Likewise.
14210 * sunrpc/pmap_prot.c: Likewise.
14211 * sunrpc/pmap_prot2.c: Likewise.
14212 * sunrpc/pmap_rmt.c: Likewise.
14213 * sunrpc/publickey.c: Likewise.
14214 * sunrpc/rpc_cmsg.c: Likewise.
14215 * sunrpc/rpc_common.c: Likewise.
14216 * sunrpc/rpc_dtable.c: Likewise.
14217 * sunrpc/rpc_prot.c: Likewise.
14218 * sunrpc/rpc_thread.c: Likewise.
14219 * sunrpc/rtime.c: Likewise.
14220 * sunrpc/svc.c: Likewise.
14221 * sunrpc/svc_auth.c: Likewise.
14222 * sunrpc/svc_raw.c: Likewise.
14223 * sunrpc/svc_run.c: Likewise.
14224 * sunrpc/svc_tcp.c: Likewise.
14225 * sunrpc/svc_udp.c: Likewise.
14226 * sunrpc/svc_unix.c: Likewise.
14227 * sunrpc/svcauth_des.c: Likewise.
14228 * sunrpc/xcrypt.c: Likewise.
14229 * sunrpc/xdr.c: Likewise.
14230 * sunrpc/xdr_array.c: Likewise.
14231 * sunrpc/xdr_float.c: Likewise.
14232 * sunrpc/xdr_intXX_t.c: Likewise.
14233 * sunrpc/xdr_mem.c: Likewise.
14234 * sunrpc/xdr_rec.c: Likewise.
14235 * sunrpc/xdr_ref.c: Likewise.
14236 * sunrpc/xdr_sizeof.c: Likewise.
14237 * sunrpc/xdr_stdio.c: Likewise.
14238
b5c086a2
RM
142392012-05-10 Roland McGrath <roland@hack.frob.com>
14240
14241 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14242 change. Update copyright years.
14243
6d74dd09
JM
142442012-05-10 Joseph Myers <joseph@codesourcery.com>
14245
14246 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14247
28e72501
MK
142482012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14249 Joseph Myers <joseph@codesourcery.com>
14250 Paul Pluzhnikov <ppluzhnikov@google.com>
14251
14252 [BZ #14012]
14253 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14254 requiring rpcgen.
14255 [cross-compiling] (extra-libs): Likewise.
14256 [cross-compiling] (extra-libs-others): Likewise.
14257 [cross-compiling] (librpcsvc-routines): Likewise.
14258 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14259 [cross-compiling] (omit-deps): Likewise.
14260 (sunrpc-CPPFLAGS): New variable.
14261 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14262 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14263 (cross-rpcgen-objs): New variable.
14264 (extra-objs): Append $(cross-rpcgen-objs).
14265 ($(cross-rpcgen-objs)): New rule.
14266 ($(objpfx)cross-rpcgen): Likewise.
14267 (rpcgen-cmd): Define to use $(built-program-file). Expand
14268 comment.
14269 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14270 ($(objpfx)x%.stmp): Likewise.
14271 * sunrpc/proto.h [IS_IN_build] (_): Define.
14272 [IS_IN_build] (_libc_intl_domainname): Likewise.
14273
c8c59454
L
142742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14275
14276 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14277 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14278 and R_X86_64_TPOFF64.
14279
6f27cd16
JM
142802012-05-10 Joseph Myers <joseph@codesourcery.com>
14281
14282 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14283 sysdeps/unix/sysv/syscalls.list.
14284 (stime): Likewise.
14285 (utime): Likewise.
14286 * sysdeps/unix/sysv/syscalls.list: Remove file.
14287
02467e1c
PE
142882012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14289
14290 [BZ #3440]
14291 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14292 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14293 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14294 (__LC_IDENTIFICATION): Make these macros useful in #if
14295 expressions, as required by C99.
14296
da392631
AS
142972012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14298
14299 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14300 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14301 after this.
14302
8115f29b
L
143032012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14304
14305 * stdlib/longlong.h: Updated from GCC.
14306
bdd74070
AJ
143072012-05-09 Andreas Jaeger <aj@suse.de>
14308
edfe0dbe
AJ
14309 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14310 default is first entry.
14311 (run_mode): Set type.
14312 (main): Remove informal message about syslog.
14313 (options): Fix typo.
14314
bcfe3a54
ST
14315 [BZ #14053]
14316 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14317 to asm.
bcfe3a54
ST
14318 (lrint): Likewise.
14319 (llrintf): Likewise.
14320 (llrint): Likewise.
14321 (rint): Likewise.
14322 (rintf): Likewise.
14323 (nearbyint): Likewise.
14324 (nearbyintf): Likewise.
bdd74070 14325
91d8d69e
AJ
143262012-05-09 Andreas Jaeger <aj@suse.de>
14327 Pedro Alves <palves@redhat.com>
14328
14329 * nscd/nscd.c (run_mode): Use enum.
14330 (main): Cleanup coding style issue.
14331
bb90b80b
AJ
143322012-05-09 Alexandre Oliva <aoliva@redhat.com>
14333 Andreas Jaeger <aj@suse.de>
14334
bcfe3a54
ST
14335 * nscd/nscd.c (go_background): Replaced with...
14336 (run_mode): ... this.
bb90b80b 14337 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14338 (options): Add -F --foreground.
14339 (main): Implement it.
14340 (parse_opt): Parse it.
bb90b80b 14341
1a4b75a1
AJ
143422012-05-09 Andreas Jaeger <aj@suse.de>
14343
14344 [BZ #14083]
14345 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14346 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14347 -Wconversion warning.
14348 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14349 Likewise.
14350
b1cc2472
JM
143512012-05-09 Joseph Myers <joseph@codesourcery.com>
14352
14353 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14354 == 0.
14355 (LC_ALL): Use macro-int-constant.
14356 (LC_COLLATE): Likewise.
14357 (LC_CTYPE): Likewise.
14358 (LC_MESSAGES): Likewise.
14359 (LC_MONETARY): Likewise.
14360 (LC_NUMERIC): Likewise.
14361 (LC_TIME): Likewise.
14362 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14363 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14364 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14365 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14366 Specify type.
14367 [C99-based standards] (float_t): Expect type.
14368 [C99-based standards] (double_t): Expect type.
14369 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14370 type.
14371 [C99-based standards] (HUGE_VALL): Likewise.
14372 [C99-based standards] (INFINITY): Likewise.
14373 [C99-based standards] (NAN): Likewise.
14374 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14375 [C99-based standards] (FP_NAN): Likewise.
14376 [C99-based standards] (FP_NORMAL): Likewise.
14377 [C99-based standards] (FP_SUBNORMAL): Likewise.
14378 [C99-based standards] (FP_ZERO): Likewise.
14379 [C99-based standards] (FP_FAST_FMA): Use
14380 optional-macro-int-constant. Specify type. Require == 1.
14381 [C99-based standards] (FP_FAST_FMAF): Likewise.
14382 [C99-based standards] (FP_FAST_FMAL): Likewise.
14383 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14384 [C99-based standards] (FP_ILOGBNAN): Likewise.
14385 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14386 Specify type.
14387 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14388 [C99-based standards] (math_errhandling): Specify type.
14389 [ISO99 || ISO11] (signgam): Do not allow.
14390 [non-C99-based standards] (copysignf): Do not allow.
14391 [non-C99-based standards] (exp2f): Likewise.
14392 [non-C99-based standards] (log2f): Likewise.
14393 [non-C99-based standards] (modff): Allow.
14394 [non-C99-based standards] (erff): Do not allow.
14395 [non-C99-based standards] (erfcf): Likewise.
14396 [non-C99-based standards] (gammaf): Likewise.
14397 [non-C99-based standards] (hypotf): Likewise.
14398 [non-C99-based standards] (j0f): Likewise.
14399 [non-C99-based standards] (j1f): Likewise.
14400 [non-C99-based standards] (jnf): Likewise.
14401 [non-C99-based standards] (lgammaf): Likewise.
14402 [non-C99-based standards] (tgammaf): Likewise.
14403 [non-C99-based standards] (y0f): Likewise.
14404 [non-C99-based standards] (y1f): Likewise.
14405 [non-C99-based standards] (ynf): Likewise.
14406 [non-C99-based standards] (isnanf): Likewise.
14407 [non-C99-based standards] (acoshf): Likewise.
14408 [non-C99-based standards] (asinhf): Likewise.
14409 [non-C99-based standards] (atanhf): Likewise.
14410 [non-C99-based standards] (cbrtf): Likewise.
14411 [non-C99-based standards] (expm1f): Likewise.
14412 [non-C99-based standards] (ilogbf): Likewise.
14413 [non-C99-based standards] (log1pf): Likewise.
14414 [non-C99-based standards] (logbf): Likewise.
14415 [non-C99-based standards] (nextafterf): Likewise.
14416 [non-C99-based standards] (remainderf): Likewise.
14417 [non-C99-based standards] (rintf): Likewise.
14418 [non-C99-based standards] (scalbf): Likewise.
14419 [non-C99-based standards] (copysignl): Likewise.
14420 [non-C99-based standards] (exp2l): Likewise.
14421 [non-C99-based standards] (log2l): Likewise.
14422 [non-C99-based standards] (modfl): Allow.
14423 [non-C99-based standards] (erfl): Do not allow.
14424 [non-C99-based standards] (erfcl): Likewise.
14425 [non-C99-based standards] (gammal): Likewise.
14426 [non-C99-based standards] (hypotl): Likewise.
14427 [non-C99-based standards] (j0l): Likewise.
14428 [non-C99-based standards] (j1l): Likewise.
14429 [non-C99-based standards] (jnl): Likewise.
14430 [non-C99-based standards] (lgammal): Likewise.
14431 [non-C99-based standards] (tgammal): Likewise.
14432 [non-C99-based standards] (y0l): Likewise.
14433 [non-C99-based standards] (y1l): Likewise.
14434 [non-C99-based standards] (ynl): Likewise.
14435 [non-C99-based standards] (isnanl): Likewise.
14436 [non-C99-based standards] (acoshl): Likewise.
14437 [non-C99-based standards] (asinhl): Likewise.
14438 [non-C99-based standards] (atanhl): Likewise.
14439 [non-C99-based standards] (cbrtl): Likewise.
14440 [non-C99-based standards] (expm1l): Likewise.
14441 [non-C99-based standards] (ilogbl): Likewise.
14442 [non-C99-based standards] (log1pl): Likewise.
14443 [non-C99-based standards] (logbl): Likewise.
14444 [non-C99-based standards] (nextafterl): Likewise.
14445 [non-C99-based standards] (remainderl): Likewise.
14446 [non-C99-based standards] (rintl): Likewise.
14447 [non-C99-based standards] (scalbl): Likewise.
14448 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14449 [non-C99-based standards] (FP_*): Do not allow.
14450 [C99-based standards] (FP_*): Change to
14451 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14452 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14453 allow.
14454 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14455 (SIG_ERR): Likewise.
14456 [X/Open-based standards] (SIG_HOLD): Likewise.
14457 (SIG_IGN): Likewise.
14458 (SIGABRT): Use macro-int-constant. Specify type. Require
14459 positive value.
14460 (SIGFPE): Likewise.
14461 (SIGILL): Likewise.
14462 (SIGINT): Likewise.
14463 (SIGSEGV): Likewise.
14464 (SIGTER): Likewise.
14465 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14466 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14467 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14468 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14469 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14470 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14471 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14472 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14473 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14474 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14475 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14476 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14477 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14478 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14479 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14480 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14481 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14482 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14483 [X/Open-based standards] (SIGTRAP): Likewise.
14484 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14485 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14486 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14487 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14488 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14489 allow.
14490
b9f1922d
IW
144912012-05-08 Ian Wienand <ianw@vmware.com>
14492
14493 [BZ #14080]
14494 * time/tzset.c (__tzset_parse_tz): Update default rules for
14495 daylight time changes in the Energy Policy Act of 2005.
14496
1db86e88
AJ
144972012-05-09 Andreas Jaeger <aj@suse.de>
14498
14499 [BZ #13983]
14500 * elf/ldconfig.c (parse_conf): Change string to make clear that
14501 ldconfig only issued a warning if ld.so.conf does not exist.
14502
dee4a4e3
DM
145032012-05-08 David S. Miller <davem@davemloft.net>
14504
ee0db190
DM
14505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14506 movxtod instead of popping the value on the stack.
14507
dee4a4e3
DM
14508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14509
6a43ec98
CD
145102012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14511
14512 * config.h.in: Add HAVE_ARM_PCS_VFP.
14513
05c2c961
RMG
145142012-05-08 Roland Mc Grath <roland@hack.frob.com>
14515
bcfe3a54
ST
14516 [BZ #13979]
14517 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14518 checking but the checks are disabled for any reason.
05c2c961 14519
4b30f61a
L
145202012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14521
14522 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14523 and ELF64_R_TYPE with ELFW(R_TYPE).
14524
eee2bc67
JM
145252012-05-08 Joseph Myers <joseph@codesourcery.com>
14526
7ea5391a
JM
14527 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14528 (ulimit): Likewise.
14529
eee2bc67
JM
14530 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14531 (settimeofday): Likewise.
14532
abb66a67
MF
145332012-05-08 Mike Frysinger <vapier@gentoo.org>
14534
14535 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14536 a struct th_u2 inside the union, and move tu_block/tu_code into
14537 a new th_u3 union of tu_block/tu_code inside of that. Move
14538 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14539 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14540 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14541 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14542 (th_stuff): Change to th_u1.tu_stuff.
14543 (th_data): Define.
14544 (th_msg): Change to th_u1.th_u2.tu_data.
14545
7f18b530
DM
145462012-05-07 David S. Miller <davem@davemloft.net>
14547
05760585
DM
14548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14549
7f18b530
DM
14550 [BZ #14074]
14551 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14552 (SETUP_PIC_REG): Use it.
14553 (SETUP_PIC_REG_LEAF): Use it.
14554
495fd99f
JM
145552012-05-07 Joseph Myers <joseph@codesourcery.com>
14556
14557 [BZ #13885]
14558 [BZ #13923]
14559 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14560 USE_AS_EXPM1L.
14561 (EXPL_FINITE): Likewise.
14562 (FLDLOG): Likewise.
14563 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14564 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14565 e_expl.S.
14566 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14567 USE_AS_EXPM1L.
14568 (EXPL_FINITE): Likewise.
14569 (FLDLOG): Likewise.
14570 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14571 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14572 e_expl.S.
14573 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14574 test of -max_value argument for long double.
14575 * sysdeps/i386/fpu/libm-test-ulps: Update.
14576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14577
6693d694
DM
145782012-05-06 David S. Miller <davem@davemloft.net>
14579
14580 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14581 quad soft-float symbols whose references which are compiler
14582 generated.
14583 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14584
6c23e11c
JM
145852012-05-06 Joseph Myers <joseph@codesourcery.com>
14586
d8b82cad
JM
14587 [BZ #13884]
14588 [BZ #13914]
14589 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14590 USE_AS_EXP10L.
14591 (EXPL_FINITE): Likewise.
14592 (FLDLOG): Likewise.
14593 (c0): Likewise.
14594 (c1): Likewise.
14595 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14596 Adjust comments for base varying.
14597 (__expl_finite): Change alias to EXPL_FINITE.
14598 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14599 e_expl.S.
14600 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14601 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14602 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14603 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14604 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14605 USE_AS_EXP10L.
14606 (EXPL_FINITE): Likewise.
14607 (FLDLOG): Likewise.
14608 (c0): Likewise.
14609 (c1): Likewise.
14610 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14611 Adjust comments for base varying.
14612 (__expl_finite): Change alias to EXPL_FINITE.
14613 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14614 tests for bugs.
14615 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14616
6c23e11c
JM
14617 [BZ #14064]
14618 * math/libm-test.inc (check_float_internal): Correct ulp
14619 calculation for subnormal expected results.
14620
29ba805c
AJ
146212012-05-06 Andreas Jaeger <aj@suse.de>
14622
14623 * Makeconfig (+math-flags): New, set to -frounding-math.
14624 (+cflags): Add +math-flags so that all of glibc gets compiled with
14625 it.
14626
14627 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14628
7b17aeda
JM
146292012-05-05 Joseph Myers <joseph@codesourcery.com>
14630
5779f134
JM
14631 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14632 Disable one test.
14633
41498f4d
JM
14634 [BZ #13787]
14635 [BZ #13922]
14636 [BZ #14036]
14637 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14638 (__ieee754_expl): Allow for and saturate large arguments.
14639 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14640 (u_threshold): Likewise.
14641 (__exp): Call __ieee754_exp before checking for overflow and
14642 underflow.
14643 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14644 (u_threshold): Likewise.
14645 (__expf): Call __ieee754_expf before checking for overflow and
14646 underflow.
14647 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14648 (u_threshold): Likewise.
14649 (__expl): Call __ieee754_expl before checking for overflow and
14650 underflow.
14651 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14652 (__ieee754_expl): Allow for and saturate large arguments.
14653 * math/libm-test.inc (exp_test): Add another test. Do not allow
14654 missing overflow exception on overflow.
14655 (expm1_test): Do not allow missing overflow exception on overflow.
14656
6698b8bf
JM
14657 * sysdeps/i386/fpu/e_expl.c: Move to ...
14658 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14659 rather than using inline asm.
14660 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14661 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14662 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14663
7b17aeda
JM
14664 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14665 (nice): Likewise.
14666 (poll): Likewise.
14667 (signal): Likewise.
14668 (time): Likewise.
14669 (times): Likewise.
14670
f7c85819
JM
146712012-05-04 Joseph Myers <joseph@codesourcery.com>
14672
14673 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14674 sysdeps/unix/common/syscalls.list.
14675 (fchmod): Likewise.
14676 (fchown): Likewise.
14677 (ftruncate): Likewise.
14678 (getrusage): Likewise.
14679 (gettimeofday): Likewise.
14680 (setpgid): Likewise.
14681 (setregid): Likewise.
14682 (setreuid): Likewise.
14683 (sigaction): Likewise.
14684 (truncate): Likewise.
14685 (vhangup): Likewise.
14686 * sysdeps/unix/common/syscalls.list: Remove file.
14687 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14688 * sysdeps/unix/sysv/linux/Implies: Likewise.
14689
336270d0
L
146902012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14691
14692 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14694 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14695 Moved to ...
14696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14697 Here.
14698 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14699 to ...
14700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14701 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14702 to ...
14703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14704 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14705 to ...
14706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14707 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14708 to ...
14709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14710 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14711 to ...
14712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14713 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14714 to ...
14715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14716 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14717 to ...
14718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14719 Here.
14720 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14721 to ...
14722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14723 Here.
14724 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14725 to ...
14726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14727 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14728 Moved to ...
14729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14730 Here.
14731 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14732 to ...
14733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14734
d128e450
JM
147352012-05-04 Joseph Myers <joseph@codesourcery.com>
14736
fa8ee516
JM
14737 * sysdeps/unix/common/bits/dirent.h: Remove file.
14738 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14739
d128e450
JM
14740 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14741 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14742 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14743 * sysdeps/unix/bsd/isatty.c: Likewise.
14744 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14745 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14746 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14747
ff8faaf0 147482012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14749
62881be4 14750 [BZ #13563]
31dc8730
AZ
14751 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14752 long double comparison inaccuracies.
14753 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14755
6fef930c
AS
147562012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14757
14758 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14759 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14760
8f203e6c
JM
147612012-05-04 Joseph Myers <joseph@codesourcery.com>
14762
14763 [BZ #14049]
14764 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14765 nonzero digits before rounding a hex value.
14766 * stdlib/tst-strtod.c (tests): Add another test.
14767
5197d9c2
AK
147682012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14769
14770 * sysdeps/s390/fpu/libm-test-ulps: Update.
14771
f0c1dedf
AJ
147722012-05-03 Andreas Jaeger <aj@suse.de>
14773
14774 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14775 does not get optimized out.
14776 (malloc_opt_barrier): New.
14777
a65ef2ae 147782012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14779 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14780
2b942cb7 14781 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14782 intermediate file deletion.
2b942cb7 14783 (generated): Add .symlist files.
a65ef2ae 14784
54b71e02
JM
147852012-05-03 Joseph Myers <joseph@codesourcery.com>
14786
14787 [BZ #13775]
14788 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14789 Redirect under this condition.
14790 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14791 [__USE_GNU] (__dprintf_chk): Not under this condition.
14792 [__USE_GNU] (__vdprintf_chk): Likewise.
14793 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14794 under this condition.
14795 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14796 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14797 [__USE_XOPEN2K8] (vdprintf): Likewise.
14798 [__USE_GNU] (__dprintf_chk): Not under this condition.
14799 [__USE_GNU] (__vdprintf_chk): Likewise.
14800 [__USE_GNU] (dprintf): Likewise.
14801 [__USE_GNU] (vdprintf): Likewise.
14802
d3dfcc41
RM
148032012-05-03 Roland McGrath <roland@hack.frob.com>
14804
14805 * elf/Makefile (common-generated): Set this instead of generated for
14806 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14807 $(all-built-dso)-derived lists.
14808
7ac30cc5
AJ
148092012-05-03 Andreas Jaeger <aj@suse.de>
14810
0c51e550
AJ
14811 * sysdeps/i386/fpu/libm-test-ulps: Update.
14812
7ac30cc5
AJ
14813 * FAQ: Removed.
14814 * FAQ.in: Likewise.
14815 * scripts/gen-FAQ.pl: Likewise.
14816 * manual/install.texi (Installation): Point to online location of
14817 FAQ.
14818 * Makefile (files-for-dist): Remove FAQ.
14819 (FAQ): Remove.
14820
d4c2917f
AM
148212012-05-02 Allan McRae <allan@archlinux.org>
14822
14823 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14824 (LDFLAGS-reldepmod5.so): Likewise.
14825 (LDFLAGS-reldep6mod1.so): Likewise.
14826 (LDFLAGS-reldep6mod4.so): Likewise.
14827 (LDFLAGS-reldep8mod3.so): Likewise.
14828 (LDFLAGS-unload4mod1.so): Likewise.
14829 (LDFLAGS-unload4mod2.so): Likewise.
14830 (LDFLAGS-tst-initorder): Likewise.
14831 (LDFLAGS-tst-initordera2.so): Likewise.
14832 (LDFLAGS-tst-initordera3.so): Likewise.
14833 (LDFLAGS-tst-initordera4.so): Likewise.
14834 (LDFLAGS-tst-initorderb2.so): Likewise.
14835 (LDFLAGS-noload): Likewise.
14836 (LDFLAGS-next): Likewise.
14837 (LDFLAGS-order2mod1.so): Likewise.
14838 (LDFLAGS-order2mod2.so): Likewise.
14839 (LDFLAGS-tst-initorder2): Likewise.
14840 (LDFLAGS-tst-initorder2a.so): Likewise.
14841 (LDFLAGS-tst-initorder2b.so): Likewise.
14842 (LDFLAGS-tst-initorder2c.so): Likewise.
14843 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14844
d77f993f
DM
148452012-05-02 David S. Miller <davem@davemloft.net>
14846
14847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14848
171a70b4
PP
148492012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14850
14851 [BZ #14055]
14852 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14853
0be196ad
AJ
148542012-05-02 Andreas Jaeger <aj@suse.de>
14855
14856 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14857 since we manipulate rounding mode.
14858 (CPPFLAGS-test-idouble.c): Likewise.
14859 (CPPFLAGS-test-ifloat.c): Likewise.
14860 (CFLAGS-test-ldouble.c): Likewise.
14861 (CFLAGS-test-double.c): Likewise.
14862 (CFLAGS-test-float.c): Likewise.
14863 (CFLAGS-test-misc.c): Likewise.
14864 (CFLAGS-test-test-fenv.c): Likewise.
14865
4f9d04aa
AZ
148662012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14867
2b942cb7
RM
14868 [BZ #2550]
14869 [BZ #2570]
14870 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14871 comparisons to determine direction to adjust input.
4f9d04aa 14872
82a79e7d
RM
148732012-05-01 Roland McGrath <roland@hack.frob.com>
14874
f5a01ca9
RM
14875 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14876 output to the target.
14877
90fe4186
RM
14878 * scripts/localplt.awk: New file.
14879 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14880 (check-localplt-CFLAGS): Variable removed.
14881 ($(all-built-dso:=.jmprel)): New static pattern rule.
14882 (generated): Add those targets.
14883 (localplt-built-dso): New variable.
14884 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14885
14886 * elf/check-localplt.c: File removed.
14887
82397ed6
RM
14888 * scripts/check-execstack.awk: New file.
14889 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14890 (check-execstack-CFLAGS): Variable removed.
14891 ($(objpfx)check-execstack.h): Target removed.
14892 ($(objpfx)execstack-default): New target.
14893 (generated): Add that instead of check-execstack.h.
14894 ($(all-built-dso:=.phdr)): New static pattern rule.
14895 (generated): Add those targets.
14896 * elf/check-execstack.c: File removed.
14897
82a79e7d
RM
14898 * scripts/check-textrel.awk: New file.
14899 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14900 (check-textrel-CFLAGS): Variable removed.
14901 (all-built-dso): Use := to define.o
14902 ($(all-built-dso:=.dyn)): New static pattern rule.
14903 (generated): Add those targets.
14904 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14905 * config.make.in (READELF): New substituted variable.
14906 * elf/check-textrel.c: File removed.
14907
62fde54f 149082012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14909
615605c9
JM
14910 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14911 allow.
14912 * conform/data/ctype.h-data [C99-based standards] (isblank):
14913 Expect function.
14914 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14915 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14916 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14917 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14918 Specify type. Require positive value.
14919 (EILSEQ): Likewise.
14920 (ERANGE): Likewise.
14921 [ISO || POSIX] (EILSEQ): Do not expect.
14922 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14923 Specify type. Require positive value.
14924 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14925 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14926 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14927 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14928 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14929 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14930 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14931 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14932 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14933 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14934 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14935 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14936 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14937 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14938 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14939 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14940 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14941 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14942 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14943 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14944 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14945 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14946 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14947 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14948 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14949 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14950 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14951 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14952 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14953 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14954 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14955 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14956 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14957 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14958 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14959 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14960 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14961 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14962 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14963 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14964 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14965 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14966 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14967 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14968 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14969 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14970 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14971 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14972 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14973 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14974 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14975 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14976 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14977 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14978 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14979 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14980 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14981 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14982 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14983 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14984 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14985 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14986 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14987 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14988 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14989 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14990 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14991 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14992 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14993 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14994 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14995 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14996 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14997 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14998 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14999 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15000 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15001 Require >= 2.
15002 (FLT_ROUNDS): Expect as macro, not constant.
15003 (FLT_MANT_DIG): Use macro-int-constant.
15004 (DBL_MANT_DIG): Likewise.
15005 (LDBL_MANT_DIG): Likewise.
15006 (FLT_DIG): Likewise.
15007 (DBL_DIG): Likewise.
15008 (LDBL_DIG): Likewise.
15009 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15010 (DBL_MIN_EXP): Likewise.
15011 (LDBL_MIN_EXP): Likewise.
15012 (FLT_MAX_EXP): Use macro-int-constant.
15013 (DBL_MAX_EXP): Likewise.
15014 (LDBL_MAX_EXP): Likewise.
15015 (FLT_MAX_10_EXP): Likewise.
15016 (DBL_MAX_10_EXP): Likewise.
15017 (LDBL_MAX_10_EXP): Likewise.
15018 (FLT_MAX): Use macro-constant.
15019 (DBL_MAX): Likewise.
15020 (LDBL_MAX): Likewise.
15021 (FLT_EPSILON): Use macro-constant. Give upper bound.
15022 (DBL_EPSILON): Likewise.
15023 (LDBL_EPSILON): Likewise.
15024 (FLT_MIN): Likewise.
15025 (DBL_MIN): Likewise.
15026 (LDBL_MIN): Likewise.
15027 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15028 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15029 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15030 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15031 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15032 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15033 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15034 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15035 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15036 [ISO11] (FLT_TRUE_MIN): Likewise.
15037 [ISO11] (LDBL_TRUE_MIN): Likewise.
15038 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15039 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15040 (SCHAR_MIN): Use macro-int-constant. Specify type.
15041 (SCHAR_MAX): Likewise.
15042 (UCHAR_MAX): Likewise.
15043 (CHAR_MIN): Likewise.
15044 (CHAR_MAX): Likewise.
15045 (MB_LEN_MAX): Use macro-int-constant.
15046 (SHRT_MIN): Use macro-int-constant. Specify type.
15047 (SHRT_MAX): Likewise.
15048 (USHRT_MAX): Likewise.
15049 (INT_MAX): Likewise.
15050 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15051 bound negative.
15052 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15053 bound with "U".
15054 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15055 bound with "L".
15056 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15057 bound negative. Suffix upper bound with "L".
15058 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15059 bound with "UL".
15060 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15061 Specify type.
15062 [C99-based standards] (LLONG_MAX): Likewise.
15063 [C99-based standards] (ULLONG_MAX): Likewise.
15064 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15065 == 0.
15066 [ISO11] (max_align_t): Require type.
15067 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15068
c9140a62
JM
15069 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15070 from $CFLAGS, without defining away __attribute__ calls.
15071 (checknamespace): Use $CFLAGS_namespace.
15072
9af0bf29
JM
15073 * conform/conformtest.pl (@keywords): Only include C99 keywords
15074 for standards based on C99 or C11.
15075
343222a2
JM
15076 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15077 Disable tests.
15078 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15079 UNIX98]: Likewise.
15080
661f8cf0
JM
15081 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15082 usability of symbols in #if.
15083
ee74b9cb
JM
15084 * conform/conformtest.pl: If macro or constant types start
15085 "promoted:", expect the symbol to be of the following type
15086 promoted by the integer promotions.
62fde54f 15087
aafc49b3
JM
15088 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15089 in one place. Also handle "macro-constant".
15090
fefdf574
JM
15091 * conform/conformtest.pl: Only accept expected macro values with
15092 "==". Parse all "macro" lines in one place.
15093 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15094
f2d922fe
JM
15095 * conform/conformtest.pl: Handle braced types on "constant" lines
15096 instead of handling "typed-constant".
15097 * conform/data/signal.h-data: Use "constant" instead of
15098 "typed-constant".
15099
d22956c9
JM
15100 * conform/conformtest.pl: Handle "optional-" at start of lines in
15101 one place rather than duplicating several cases. Handle each
15102 format of "macro" line with initial "optional-".
15103
028e2e38
JM
15104 * conform/conformtest.pl: Only accept expected constant or
15105 optional-constant values with "==". Parse all "constant" lines in
15106 one place. Parse all "optional-constant" lines in one place.
15107 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15108 * conform/data/fmtmsg.h-data: Likewise.
15109 * conform/data/netinet/in.h-data: Likewise.
15110 * conform/data/tar.h-data: Likewise.
15111 * conform/data/limits.h-data: Use "==" form on "constant" and
15112 "optional-constant" lines.
15113
1b8f2850
JM
15114 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15115 Use -std=c99 for XOPEN2K.
15116 (@knownproblems): Remove.
15117 (newtoken): Don't check %isknown.
15118
a05a144b
JM
15119 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15120 Do not expect macro.
15121 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15122 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15123 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15124 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15125 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15126 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15127 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15128 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15129 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15130 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15131 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15132 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15133 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15134 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15135 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15136 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15137 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15138 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15139 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15140 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15141 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15142 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15143 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15144 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15145 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15146 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15147 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15148 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15149 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15150 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15151 [XPG3] (acosh): Likewise.
15152 [XPG3] (asinh): Likewise.
15153 [XPG3] (atanh): Likewise.
15154 [XPG3] (cbrt): Likewise.
15155 [XPG3] (expm1): Likewise.
15156 [XPG3] (ilogb): Likewise.
15157 [XPG3] (log1p): Likewise.
15158 [XPG3] (logb): Likewise.
15159 [XPG3] (nextafter): Likewise.
15160 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15161 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15162 [XPG3] (remainder): Likewise.
15163 [XPG3] (rint): Likewise.
15164 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15165 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15166 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15167 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15168 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15169 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15170 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15171 [UNIX98 || XOPEN2K] (scalb): Expect.
15172 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15173 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15174 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15175 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15176 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15177 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15178 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15179 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15180 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15181 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15182 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15183 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15184 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15185 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15186 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15187 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15188 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15189 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15190 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15191 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15192 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15193 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15194 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15195 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15196 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15198 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15199 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15200 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15201 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15202 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15203 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15204 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15205 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15207 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15208 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15209 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15210 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15211 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15212 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15213 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15214 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15215 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15216 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15217 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15218 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15219 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15220 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15221 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15222 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15223 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15224 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15225 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15226 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15227 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15228 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15229 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15230 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15231 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15232 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15233 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15234 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15235 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15236 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15237 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15238 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15239 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15240 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15241 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15242 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15243 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15244 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15245 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15246 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15247 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15248 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15249 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15250 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15251 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15252 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15253 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15254 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15255 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15256 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15257 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15258 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15259 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15260 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15261 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15262 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15263 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15264 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15265 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15266 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15267 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15268 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15269 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15270 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15271 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15272 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15273 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15274 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15275 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15276 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15277 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15278 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15279 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15280 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15281 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15282 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15283 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15284 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15285 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15286 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15287 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15288 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15289 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15290 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15291 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15292 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15293 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15294 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15295 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15296 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15297 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15298 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15299 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15300 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15301 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15302 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15303 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15304 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15305 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15306 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15307 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15308 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15309
73c5ebe3
JM
15310 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15311 _XOPEN_SOURCE_EXTENDED for XPG4.
15312
39c33b6c
JM
15313 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15314
62fde54f
JM
15315 * Makeconfig (localtime): Remove variable.
15316 (inst_localtime-file): Likewise.
15317
0741d64c
AS
153182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15319
15320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15321 Update.
15322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15323 Update.
15324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15325 Update.
15326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15327 Update.
15328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15329 Update.
15330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15331 Update.
15332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15333 Update.
15334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15335 Update.
15336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15337 Update.
15338
7cb029ee
JM
153392012-05-01 Joseph Myers <joseph@codesourcery.com>
15340
15341 [BZ #2550]
15342 [BZ #2570]
15343 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15344 comparisons to determine direction to adjust input.
15345 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15346 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15347 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15348 Likewise.
15349 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15350 Likewise.
15351 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15352 Likewise.
15353 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15354 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15355 Likewise.
15356 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15357 Likewise.
15358 * math/libm-test.inc (nexttoward_test): Add more tests.
15359
412bd966
AS
153602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15361
15362 [BZ #14040]
15363 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15364 in version GLIBC_2.1, not GLIBC_2.0.
15365 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15366 Likewise.
15367
9568c0c2
JM
153682012-04-30 Joseph Myers <joseph@codesourcery.com>
15369
adfbc8ac
JM
15370 [BZ #13942]
15371 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15372 (1 - x) * (1 + x).
15373 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15374 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15375 * math/libm-test.inc (acos_test): Add more tests.
15376 (asin_test): Likewise.
15377 * sysdeps/i386/fpu/libm-test-ulps: Update.
15378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15379
5ba3cc69
JM
15380 [BZ #14034]
15381 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15382 of square root.
15383 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15384 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15385 * math/libm-test.inc (acos_test_tonearest): New function.
15386 (acos_test_towardzero): Likewise.
15387 (acos_test_downward): Likewise.
15388 (acos_test_upward): Likewise.
15389 (asin_test_tonearest): Likewise.
15390 (asin_test_towardzero): Likewise.
15391 (asin_test_downward): Likewise.
15392 (asin_test_upward): Likewise.
15393 (main): Call the new functions.
15394 * sysdeps/i386/fpu/libm-test-ulps: Update.
15395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15396
9568c0c2
JM
15397 [BZ #13884]
15398 [BZ #13924]
15399 * math/e_exp10.c: Include <float.h>.
15400 (__ieee754_exp10): Handle underflow here rather than multiplying
15401 large negative argument by M_LN10.
15402 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15403 of __ieee754_expf.
15404 * math/e_exp10l.c: Include <float.h>.
15405 (__ieee754_exp10l): Handle underflow here rather than multiplying
15406 large negative argument by M_LN10l.
15407 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15408 spurious overflow exception on underflow.
15409
5ac3ea17
MP
154102012-04-29 Marek Polacek <polacek@redhat.com>
15411
15412 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15413 (__fortify_function): New macro.
15414 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15415 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15416 __extern_always_inline.
15417 * libio/bits/stdio2.h: Likewise.
15418 * libio/bits/stdio.h: Likewise.
15419 * string/string.h: Likewise.
15420 * string/bits/string3.h: Likewise.
15421 * include/stdio.h: Likewise.
15422 * stdlib/bits/stdlib.h: Likewise.
15423 * stdlib/stdlib.h: Likewise.
15424 * rt/bits/mqueue2.h: Likewise.
15425 * rt/mqueue.h: Likewise.
15426 * posix/bits/unistd.h: Likewise.
15427 * posix/unistd.h: Likewise.
15428 * io/bits/poll2.h: Likewise.
15429 * io/bits/fcntl2.h: Likewise.
15430 * io/fcntl.h: Likewise.
15431 * io/sys/poll.h: Likewise.
15432 * misc/bits/syslog.h: Likewise.
15433 * misc/bits/syslog-ldbl.h: Likewise.
15434 * misc/sys/syslog.h: Likewise.
15435 * socket/bits/socket2.h: Likewise.
15436 * socket/sys/socket.h: Likewise.
15437 * debug/tst-chk1.c: Likewise.
15438 * wcsmbs/bits/wchar2.h: Likewise.
15439 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15440 * wcsmbs/wchar.h: Likewise.
15441
ecf0ebfb
AJ
154422012-04-29 Andreas Jaeger <aj@suse.de>
15443
15444 * Makerules (tests): Remove enable-check-abi protection.
15445 (check-abi-warn): Remove.
15446 (check-abi-%): Remove check-abi-warn usage.
15447
15448 * configure.in: Remove check-abi configure option.
15449 * configure: Regenerated.
15450 * config.make.in (enable-check-abi): Remove.
15451
6d5c57fa
AS
154522012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15453
24c5d07e 15454 [BZ #14033]
ded5180a
AS
15455 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15456 double functions to double *_finite functions.
15457
7e0d315d
AS
15458 [BZ #13941]
15459 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15460 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15461 LDBL_MIN_EXP.
15462 * stdio-common/Makefile (tests): Add tst-sprintf3.
15463 * stdio-common/tst-sprintf3.c: New file.
15464
6d5c57fa
AS
15465 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15466 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15467
0749ff8b
JM
154682012-04-28 Joseph Myers <joseph@codesourcery.com>
15469
15470 * conform/conformtest.pl: Remove duplicate typed-constant
15471 handling.
15472
8dbd5d7b
DM
154732012-04-28 David S. Miller <davem@davemloft.net>
15474
15475 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15476 (check-abi-%): Remove AWK script prerequisite and explicit
15477 abilist directory.
15478 (check-abi): Rewrite to just diff the symlist with the abilist.
15479 (config-tls, config-abi-config): Delete, no longer used.
15480 (update-abi-%): Remove AWK script and explicit abilist directory.
15481 (update-abi): Rewrite to simply compare and conditionally copy the
15482 symlist and the sysdep abilist file. Remove update-abi-config
15483 checks.
15484 * abilist/ld.abilist: Remove.
15485 * abilist/libBrokenLocale.abilist: Remove.
15486 * abilist/libanl.abilist: Remove.
15487 * abilist/libcrypt.abilist: Remove.
15488 * abilist/libdl.abilist: Remove.
15489 * abilist/librt.abilist: Remove.
15490 * abilist/libthread_db.abilist: Remove.
15491 * abilist/libutil.abilist: Remove.
15492 * scripts/extract-abilist.awk: Remove.
15493 * scripts/merge-abilist.awk: Remove.
15494 * sysdeps/generic/libcidn.abilist: New file.
15495 * sysdeps/generic/libnss_compat.abilist: New file.
15496 * sysdeps/generic/libnss_db.abilist: New file.
15497 * sysdeps/generic/libnss_dns.abilist: New file.
15498 * sysdeps/generic/libnss_files.abilist: New file.
15499 * sysdeps/generic/libnss_hesiod.abilist: New file.
15500 * sysdeps/generic/libnss_nis.abilist: New file.
15501 * sysdeps/generic/libnss_nisplus.abilist: New file.
15502 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15503 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15504 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15505 file.
15506 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15507 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15508 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15509 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15510 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15511 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15512 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15513 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15514 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15515 file.
15516 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15517 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15518 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15519 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15520 file.
15521 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15522 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15523 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15524 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15525 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15526 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15527 file.
15528 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15529 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15530 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15531 file.
15532 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15534 New file.
15535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15536 New file.
15537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15538 New file.
15539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15540 New file.
15541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15542 New file.
15543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15544 New file.
15545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15546 New file.
15547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15548 New file.
15549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15550 New file.
15551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15552 New file.
15553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15554 New file.
15555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15556 New file.
15557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15558 New file.
15559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15560 file.
15561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15562 New file.
15563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15564 New file.
15565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15566 file.
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15568 New file.
15569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15570 New file.
15571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15572 file.
15573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15574 New file.
15575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15576 New file.
15577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15578 New file.
15579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15580 New file.
15581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15582 New file.
15583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15584 New file.
15585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15587 file.
15588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15589 New file.
15590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15591 file.
15592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15593 file.
15594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15595 file.
15596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15597 file.
15598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15599 file.
15600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15601 New file.
15602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15603 file.
15604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15605 file.
15606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15607 New file.
15608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15609 file.
15610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15612 file.
15613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15614 New file.
15615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15616 file.
15617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15618 file.
15619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15620 file.
15621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15622 file.
15623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15624 file.
15625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15626 New file.
15627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15628 file.
15629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15630 file.
15631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15632 New file.
15633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15634 file.
15635 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15636 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15637 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15638 file.
15639 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15640 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15641 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15642 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15643 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15644 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15645 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15646 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15647 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15648 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15651 file.
15652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15653 New file.
15654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15655 file.
15656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15657 file.
15658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15659 file.
15660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15661 file.
15662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15663 file.
15664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15665 New file.
15666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15667 New file.
15668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15669 file.
15670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15671 New file.
15672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15673 file.
15674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15676 file.
15677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15678 New file.
15679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15680 file.
15681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15682 file.
15683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15684 file.
15685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15686 file.
15687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15688 file.
15689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15690 New file.
15691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15692 New file.
15693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15694 file.
15695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15696 New file.
15697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15698 file.
15699
41d73a1b
JM
157002012-04-28 Joseph Myers <joseph@codesourcery.com>
15701
15702 * conform/conformtest.pl: Fix typo in handling typed-constant from
15703 allow-header.
15704
28aeeda4
JM
157052012-04-27 Joseph Myers <joseph@codesourcery.com>
15706
adae8f5e
JM
15707 * README: Cut down references to pre-2.6 Linux kernels and
15708 Linuxthreads. Update lists of configurations in libc and ports
15709 and sort alphabetically. Say "or newer" with Linux kernel version
15710 requirements.
15711
28aeeda4
JM
15712 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15713
a462cb63
RA
157142012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15715
15716 [BZ #887]
15717 * math/libm-test.inc (logb_test_downward): New test to expose
15718 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15719 rounding mode.
15720
6ad3493e
JM
157212012-04-27 Joseph Myers <joseph@codesourcery.com>
15722
15723 [BZ #14027]
15724 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15725 to be done.
15726 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15727 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15728
2ce4f015
JM
157292012-04-26 Joseph Myers <joseph@codesourcery.com>
15730
5aeb141a
JM
15731 * sysdeps/unix/i386/brk.S: Remove file.
15732 * sysdeps/unix/i386/dl-brk.S: Likewise.
15733 * sysdeps/unix/i386/pipe.S: Likewise.
15734 * sysdeps/unix/i386/sigreturn.S: Likewise.
15735 * sysdeps/unix/i386/syscall.S: Likewise.
15736 * sysdeps/unix/i386/vfork.S: Likewise.
15737 * sysdeps/unix/i386/wait.S: Likewise.
15738
7143acae
JM
15739 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15740 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15741
2ce4f015
JM
15742 * configure.in (arm*-none*): Do not allow without
15743 --enable-hacker-mode.
15744 (netbsd*): Remove case setting base_os.
15745 (386bsd*): Likewise.
15746 (freebsd*): Likewise.
15747 (bsdi*): Likewise.
15748 (osf*): Likewise.
15749 (sunos*): Likewise.
15750 (ultrix*): Likewise.
15751 (newsos*): Likewise.
15752 (dynix*): Likewise.
15753 (*bsd*): Likewise.
15754 (sysv*): Likewise.
15755 (isc*): Likewise.
15756 (esix*): Likewise.
15757 (sco*): Likewise.
15758 (minix*): Likewise.
15759 (irix4*): Likewise.
15760 (irix6*): Likewise.
15761 (solaris[2-9]*): Likewise.
15762 (none): Likewise.
15763 * configure: Regenerated.
15764
0ac229c8
AZ
157652012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15766
15767 [BZ #11521]
15768 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15769 overflow or cancellation in calculating denominator.
15770 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15771 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15772 down expression to avoid unexpected rounding in newer GCCs.
15773 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15774
33f244f4
DM
157752012-04-26 David S. Miller <davem@davemloft.net>
15776
15777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15778 long-double compat symbols.
15779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15792
cfa1f3e8
DM
157932012-04-25 David S. Miller <davem@davemloft.net>
15794
15795 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15796 HWCAP_* values only after the memory barriers have been defined.
15797 (atomic_full_barrier): Define.
15798 (atomic_read_barrier): Define.
15799 (atomic_write_barrier): Define.
15800
6e236b92
SP
158012012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15802
15803 * shlib-versions: Add libgcc_s version information.
15804 * sysdeps/generic/libgcc_s.h: Remove.
15805 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15806 libgcc_s.h.
15807 * sysdeps/gnu/unwind-resume.c: Likewise.
15808 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15809
aab39a09
DM
158102012-04-25 David S. Miller <davem@davemloft.net>
15811
15812 * sysdeps/unix/sparc/brk.S: Delete.
15813 * sysdeps/unix/sparc/dl-brk.S: Delete.
15814 * sysdeps/unix/sparc/pipe.S: Delete.
15815 * sysdeps/unix/sparc/sysdep.S: Delete.
15816 * sysdeps/unix/sparc/sysdep.h: Delete.
15817 * sysdeps/unix/sparc/vfork.S: Delete.
15818 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15819 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15820 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15821 ret_ERRVAL, r0, r1, MOVE): Define.
15822 (JUMPTARGET): Remove.
15823 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15824 sysdeps/unix/sparc/sysdep.h
15825 (ENTRY, END): Remove.
15826 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15827
a3cc4f48
JM
158282012-04-25 Joseph Myers <joseph@codesourcery.com>
15829
2ed8cda2
JM
15830 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15831 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15832 -DIS_IN_build.
15833
35d76d59
JM
15834 * timezone/README: Update upstream location and email address for
15835 tzcode and tzdata.
15836 * timezone/zdump.c: Update from tzcode 2012b.
15837 * timezone/zic.c: Likewise.
15838
a3cc4f48
JM
15839 * configure.in (libc_cv_as_needed): Remove test.
15840 * configure: Regenerated.
15841 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15842 conditional definition.
15843 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15844 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15845 * config.make.in (have-as-needed): Remove variable.
15846
ceab42c3
SP
158472012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15848 Paul Pluzhnikov <ppluzhnikov@google.com>
15849
15850 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15851 strings correctly.
15852
3ce2865f
CLT
158532012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15854
15855 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15856 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15857 * sysdeps/sh/strlen.S: Likewise.
15858
f37e0d68
JM
158592012-04-24 Joseph Myers <joseph@codesourcery.com>
15860
ae186e9a
JM
15861 * sysdeps/unix/fork.S: Remove file.
15862 * sysdeps/unix/i386/fork.S: Likewise.
15863 * sysdeps/unix/sparc/fork.S: Likewise.
15864
b96914af
JM
15865 * sysdeps/unix/system.c: Remove file.
15866 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15867
f37e0d68
JM
15868 * sysdeps/unix/getegid.S: Remove file.
15869 * sysdeps/unix/geteuid.S: Likewise.
15870
87ef29ca
RM
158712012-04-24 Roland McGrath <roland@hack.frob.com>
15872
83bcd236
RM
15873 * scripts/check-localplt.awk: New file.
15874 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15875 of diff.
15876 * scripts/data/localplt-generic.data: Add a comment.
15877
87ef29ca
RM
15878 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15879 NODE when __dir_mkfile failed.
15880 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15881 Reported by Ludovic Courtès <ludo@gnu.org>.
15882
e5a6e567
AJ
158832012-04-24 Andreas Jaeger <aj@suse.de>
15884
15885 * Makerules (common-clean): Also remove gen-as-const-headers
15886 files.
15887
c1820385
JM
158882012-04-24 Joseph Myers <joseph@codesourcery.com>
15889
15890 * Makerules (native-compile): Do not change working directory for
15891 build. Use $(OUTPUT_OPTION) in command.
15892 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15893
94e02fc4
AZ
158942012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15895
15896 [BZ #13886]
15897 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15898 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15899 * math/libm-test.inc (floor_test): Add more tests.
15900 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15901
3a533ca3
JM
159022012-04-24 Joseph Myers <joseph@codesourcery.com>
15903
940ab4b3
JM
15904 * sysdeps/unix/getdents.c: Remove file.
15905 * sysdeps/unix/sysv/getdents.c: Likewise.
15906 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15907
90e037bd
JM
15908 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15909 sysdeps/unix/mman/syscalls.list.
15910 (mmap): Likewise.
15911 (mprotect): Likewise.
15912 (msync): Likewise.
15913 (munmap): Likewise.
15914 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15915 * sysdeps/unix/mman/syscalls.list: Remove.
15916 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15917
3a533ca3
JM
15918 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15919 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15920 * configure: Regenerated.
15921 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15922 $(libgcc_s_suffix).
15923 * config.make.in (libgcc_s_suffix): Remove variable.
15924
1ad743de
JM
159252012-04-23 Joseph Myers <joseph@codesourcery.com>
15926
4ad451e2
JM
15927 * sysdeps/unix/sysv/gethostname.c: Move to ...
15928 * sysdeps/posix/gethostname.c: ... here.
15929
5e37ce39
JM
15930 * sysdeps/unix/execve.S: Remove file.
15931
1ad743de
JM
15932 * sysdeps/unix/_exit.S: Remove file.
15933
4e681b5b
AJ
159342012-04-23 Andreas Jaeger <aj@suse.de>
15935
15936 [BZ #13739]
15937 * manual/Makefile: Remove make dist support, there's no
15938 need for a stand-alone documentation tar ball.
15939 (TEXI2DVI): Define always, it's not in Makeconfig.
15940 (dist): Removed.
15941 (tar-it): Removed.
15942 (edition): Removed.
15943 (glibc-doc-$(edition).tar): Removed
15944 (%.Z): Removed.
15945 (%.gz): Removed.
15946 (%.uu): Removed.
15947 (ETAGS): Remove, it's in Makeconfig.
15948 (move-if-change): Remove, it's in Makeconfig.
15949
38686a03 159502012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15951
15952 [BZ #13970]
15953 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15954 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15955 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15956 (strtod_l, strtof_l, strtold_l): Remove __wur.
15957 It is not necessarily an error to ignore strtol's return value.
15958 One can reliably look at the stored endptr to decide whether
15959 the number had valid syntax.
15960
7c0616fa
AJ
159612012-04-21 Andreas Jaeger <aj@suse.de>
15962
803cb6b7 15963 [BZ #13739]
7c0616fa
AJ
15964 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15965
b0fe253f
JM
159662012-04-21 Joseph Myers <joseph@codesourcery.com>
15967
15968 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15969 * sysdeps/unix/sysv/Versions: Remove file.
15970
8280f22d
MT
159712012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15972
15973 [BZ #13927]
15974 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15975
75ce411f 159762012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15977
15978 [BZ #7064]
15979 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15980 version from __vm86.
15981
097d59fa
JM
159822012-04-20 Joseph Myers <joseph@codesourcery.com>
15983
a90f3bcb
JM
15984 * sysdeps/unix/common/lxstat.c: Remove file.
15985 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15986
edc7ea78
JM
15987 * sysdeps/unix/sysv/Makefile: Remove file.
15988
cb78c221
JM
15989 * sysdeps/unix/sysv/direct.h: Remove file.
15990
efa6a45f
JM
15991 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15992 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15993 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15994 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15995 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15996 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15997 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15998
9c9f2d0c
JM
15999 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16000
4541c83b
JM
16001 * sysdeps/unix/xmknod.c: Remove file.
16002 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16003
f5d153a0
JM
16004 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16005
aa746595
JM
16006 * sysdeps/unix/sysv/i386/time.S: Remove file.
16007
cce5905e
JM
16008 * sysdeps/unix/fxstat.c: Remove file.
16009 * sysdeps/unix/xstat.c: Likewise.
16010 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16011
37fa3841
JM
16012 * sysdeps/unix/sysv/sigaction.c: Remove file.
16013
ff1962a3
JM
16014 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16015 (sysdep_headers): Remove variable.
16016 [termio.h not in sysdep_headers] (generated): Likewise.
16017 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16018 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16019 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16020 * sysdeps/unix/sysv/tcflow.c: Likewise.
16021 * sysdeps/unix/sysv/tcflush.c: Likewise.
16022 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16023 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16024 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16025 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16026 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16027
e7740d31
JM
16028 * sysdeps/unix/siglist.c: Remove file.
16029
ee06f18b
JM
16030 * sysdeps/unix/getppid.S: Remove file.
16031
097d59fa
JM
16032 * sysdeps/unix/mkdir.c: Remove file.
16033 * sysdeps/unix/rmdir.c: Likewise.
16034
ff3d51ec
AS
160352012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16036
16037 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16038 ERR_MAX value.
16039 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16040 errlist-compat value.
16041
50f81fd7
DM
160422012-04-18 David S. Miller <davem@davemloft.net>
16043
16044 * sysdeps/generic/memcopy.h (reg_char): Delete.
16045 * debug/strcat_chk.c: Use char, not reg_char.
16046 * debug/strcpy_chk.c: Likewise.
16047 * debug/strncat_chk.c: Likewise.
16048 * debug/strncpy_chk.c: Likewise.
16049 * string/memchr.c: Likewise.
16050 * string/memrchr.c: Likewise.
16051 * string/rawmemchr.c: Likewise.
16052 * string/strcat.c: Likewise.
16053 * string/strchr.c: Likewise.
16054 * string/strchrnul.c: Likewise.
16055 * string/strcmp.c: Likewise.
16056 * string/strcpy.c: Likewise.
16057 * string/strncat.c: Likewise.
16058 * string/strncmp.c: Likewise.
16059 * string/strncpy.c: Likewise.
16060
8ff41c46
WS
160612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16062
16063 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16064 __builtin_memcopy is called when src and dest ranges are known to not
16065 overlap.
16066
6b652f46
WS
160672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16068
16069 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16070 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16071 fwd_align_merge macro call.
16072 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16073 bwd_align_merge macro call.
16074 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16075
b282631e
WS
160762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16077
16078 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16079 bwd_align_merge macros.
16080 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16081 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16082 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16083
95aa737c
DM
160842012-04-18 David S. Miller <davem@davemloft.net>
16085
16086 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16087
7a99a614
AJ
160882012-04-18 Andreas Jaeger <aj@suse.de>
16089
16090 [BZ# 6794]
16091 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16092 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16093 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16094
16095 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16096 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16097 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16098
16099 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16100 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16101 Adjust for changed ldbl-128 files.
16102
16103 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16104 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16105 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16106
e5270c23
DM
161072012-04-17 David S. Miller <davem@davemloft.net>
16108
16109 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16110
fb5e92c9
AS
161112012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16112
16113 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16114 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16115 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16116 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16117 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16118 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16119
76da7265
AZ
161202012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16121
16122 [BZ #6794]
16123 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16124 * math/libm-test.inc: Add ilogb errno and exception tests.
16125 * math/w_ilogb.c: New file: ilogb wrapper.
16126 * math/w_ilogbf.c: New file: ilogbf wrapper.
16127 * math/w_ilogbl.c: New file: ilogbl wrapper.
16128 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16129 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16130 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16131 exception being thrown with 0.0 as argument.
16132 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16133 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16134 exception being thrown with 0.0 as argument.
16135 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16136 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16137 exception being thrown with 0.0 as argument.
16138 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16139 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16140 exception being thrown with 0.0 as argument.
16141 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16142 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16143 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16144 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16145 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16146 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16147 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16148 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16149 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16150
0396e69d
PB
161512012-04-17 Petr Baudis <pasky@ucw.cz>
16152
16153 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16154 with altivec.
16155
750b5926
MP
161562012-04-16 Marek Polacek <polacek@redhat.com>
16157
16158 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16159
751728a1
MP
161602012-04-16 Marek Polacek <polacek@redhat.com>
16161
16162 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16163 operands of fdivp instruction.
16164
34a27407
L
161652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16166
16167 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16168 * elf/tst-auditmod3b.c: Likewise.
16169 * elf/tst-auditmod4b.c: Likewise.
16170 * elf/tst-auditmod5b.c: Likewise.
16171 * elf/tst-auditmod6b.c: Likewise.
16172 * elf/tst-auditmod6c.c: Likewise.
16173 * elf/tst-auditmod7b.c: Likewise.
16174 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16175 * sysdeps/x86_64/preconfigure.in: Likewise.
16176 * sysdeps/x86_64/preconfigure: Regenerated.
16177
7e73e17d
L
161782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16179
16180 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16181 __ILP32__.
16182
c7a6ab72
AB
161832012-04-13 Antoine Balestrat <merkil33@gmail.com>
16184
16185 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16186 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16187
a9e8e0e0
CL
161882012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16189
16190 [BZ #13973]
16191 * locale/iso-639.def: Fix gl language name. Spotted by
16192 Yaron Shahrabani.
16193
ec98af7d
RM
161942012-04-12 Roland McGrath <roland@hack.frob.com>
16195
16196 [BZ #2074]
16197 * libio/libio.h (__io_write_fn): Update comment.
16198
247c3ede
PB
161992012-04-12 Petr Baudis <pasky@ucw.cz>
16200
16201 [BZ #2074]
16202 * stdio.texi (Hook Functions): The user provided writer function
16203 is not allowed to return -1.
16204
55939d6d
DM
162052012-04-11 David S. Miller <davem@davemloft.net>
16206
16207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16208
90020f5a
MF
162092012-04-11 Mike Frysinger <vapier@gentoo.org>
16210
16211 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16212 Add a leading slash to rtkaio.
16213
288f9098
JM
162142012-04-11 Jim Meyering <meyering@redhat.com>
16215
90020f5a
MF
16216 [BZ #11959]
16217 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16218 It is not necessarily an error to ignore fwrite's return
16219 value. One can reliably use ferror to test for errors after
16220 the fact.
288f9098 16221
4be2b570
L
162222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16223
16224 * bits/types.h (__snseconds_t): New type.
16225 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16226
16227 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16228 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16229 (__SNSECONDS_T_TYPE): Likewise.
16230 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16231 (__SNSECONDS_T_TYPE): Likewise.
16232 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16233 (__SNSECONDS_T_TYPE): Likewise.
16234
288f9098 162352012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16236
16237 [BZ #2636]
16238 * manual/time.texi (Processor Time): Return type of times is
16239 elapsed real time since an arbitrary point in the past.
16240 (CPU Time): Move CLK_TCK from here...
16241 (Processor Time): ...to here. Correct description.
16242 * manual/conf.texi (Constants for Sysconf): Correct description of
16243 _SC_CLK_TCK.
16244
d7dd4413
DM
162452012-04-10 David S. Miller <davem@davemloft.net>
16246
16247 [BZ #13967]
16248 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16249 where the is a gap between DT_REL(A) and DT_JMPREL.
16250
b46068fc
L
162512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16252
16253 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16254 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16255 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16256
73d65cc3
SP
162572012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16258
16259 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16260 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16261 (dl_main): Handle --inhibit-cache.
16262 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16263 _dl_inhibit_cache.
16264 * elf/dl-load.c (_dl_map_object): Use it.
16265 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16266
bcc8d661
JM
162672012-04-09 Joseph Myers <joseph@codesourcery.com>
16268
8f9a2fae
JM
16269 [BZ #13872]
16270 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16271 (__ieee754_powl): Saturate large exponents rather than testing for
16272 overflow of y*log2(x).
16273 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16274 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16275 exceptions.
16276
bcc8d661
JM
16277 [BZ #11521]
16278 * math/s_ctan.c: Include <float.h>.
16279 (__ctan): Avoid internal overflow or cancellation in calculating
16280 denominator.
16281 * math/s_ctanf.c: Likewise.
16282 * math/s_ctanl.c: Likewise.
16283 * math/s_ctanh.c: Likewise.
16284 * math/s_ctanhf.c: Likewise.
16285 * math/s_ctanhl.c: Likewise.
16286 * math/libm-test.inc (ctan_test): Add more tests.
16287 (ctanh_test): Likewise.
16288 * sysdeps/i386/fpu/libm-test-ulps: Update.
16289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16290
823fbbb4
AJ
162912012-04-09 Andreas Jaeger <aj@suse.de>
16292
03879793
AJ
16293 [BZ #6894]
16294 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16295 is an optional BSD extension.
16296
823fbbb4
AJ
16297 [BZ #10254]
16298 * manual/stdio.texi (Opening Streams): Document additional fopen
16299 parameters.
16300
8de131cb
RM
163012012-04-09 Roland McGrath <roland@hack.frob.com>
16302
16303 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16304 %eax without telling the compiler.
16305
c0ed9d7d
CD
163062012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16307
16308 [BZ # 13963]
16309 * manual/install.texi: Use sourceware.org.
16310
c483f6b4
JM
163112012-04-09 Joseph Myers <joseph@codesourcery.com>
16312
d7dd9453
JM
16313 [BZ #13873]
16314 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16315 (__ieee754_pow): Generate overflow and underflow using huge*huge
16316 and tiny*tiny rather than just returning constant infinity or zero
16317 for large exponents.
16318 * math/libm-test.inc (pow_test): Require overflow exceptions for
16319 applicable cases of large exponents.
16320
c483f6b4
JM
16321 [BZ #706]
16322 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16323 (__ieee754_pow): Use iterative multiplication algorithm only for
16324 integer exponents with absolute value below 1024. Check for odd
16325 integer exponents when using algorithm for real exponents.
16326 * math/libm-test.inc (pow_test): Add more tests.
16327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16328
d2de7579
JM
163292012-04-08 Joseph Myers <joseph@codesourcery.com>
16330
16331 [BZ #13705]
16332 * math/libm-test.inc (exp_test): Do not allow overflow exception
16333 on underflow test.
16334
f77f1232
AJ
163352012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16336
16337 [BZ #13705]
16338 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16339 instead of __kernel_standard_f.
16340
3884932b
MF
163412012-04-08 Mike Frysinger <vapier@gentoo.org>
16342
16343 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16344 * sysdeps/x86_64/memset_chk.S: Likewise.
16345
54472e9c
AJ
163462012-04-08 Andreas Jaeger <aj@suse.de>
16347
6ab0fbfc
AJ
16348 [BZ #10153]
16349 * manual/startup.texi (Environment Access): Describe return value
16350 for putenv and setenv.
16351
61efba8c
AJ
16352 [BZ #6895]
16353 * manual/filesys.texi (Directory Entries): Add description for
16354 DT_LNK.
16355
95c3f29a
AJ
16356 [BZ #6890]
16357 * manual/filesys.texi (Directory Entries): Clarify that it's file
16358 system not operating system in the description of DT_UNKNOWN.
16359
54472e9c
AJ
16360 [BZ #6578]
16361 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16362
624254b1
SC
163632012-04-08 Stephen Compall <s11@member.fsf.org>
16364
16365 [BZ #6649]
16366 * manual/llio.texi (Opening and Closing Files): Add cross
16367 reference to explain mode argument.
16368
1e4920e0
MF
163692012-04-07 Mike Frysinger <vapier@gentoo.org>
16370
16371 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16372 * sysdeps/x86_64/memset_chk.S: Likewise.
16373
5ed848f3
DM
163742012-04-07 David S. Miller <davem@davemloft.net>
16375
16376 * elf/elf.h (R_SPARC_WDISP10): Define.
16377 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16378 R_SPARC_SIZE32.
16379 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16380 R_SPARC_SIZE64 and R_SPARC_H34.
16381
96154cd8
CD
163822012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16383
16384 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16385 conditions and remove no longer applicable assertion.
16386
9904dc47
L
163872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16388
16389 * bits/byteswap.h: Include <features.h>.
16390 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16391 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16392
f8887d0a
L
163932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16394
16395 * bits/byteswap.h (__bswap_16): Removed.
16396 Include <bits/byteswap-16.h> to get __bswap_16.
16397 * sysdeps/i386/bits/byteswap.h: Likewise.
16398 * sysdeps/s390/bits/byteswap.h: Likewise.
16399 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16400 * bits/byteswap-16.h: New file.
16401 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16402 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16403 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16404 * string/Makefile (headers): Add bits/byteswap-16.h.
16405
62470f60
PP
164062012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16407
16408 [BZ #13895]
16409 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16410 extra indirection.
16411 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16412 * nss/tst-nss-static.c: New.
16413
4dad7bab
RM
164142012-04-06 Robert Millan <rmh@gnu.org>
16415
16416 [BZ #6486]
16417 * manual/llio.texi (File Position Primitive): lseek
16418 refers to WHENCE when it really means OFFSET.
16419
e9142a17
AJ
164202012-04-06 Andreas Jaeger <aj@suse.de>
16421
2c040eff
AJ
16422 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16423 strncmp declarations.
16424
e9142a17
AJ
16425 * abilist/libc.abilist: Add __poll and __ppoll.
16426
ff9f1c5f
DM
164272012-04-05 David S. Miller <davem@davemloft.net>
16428
dcd2ae90
DM
16429 * scripts/check-local-headers.sh: Accept a host triplet in the
16430 path matched by the exclude regexp.
16431
993eb054
DM
16432 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16433 definition.
16434 * sysdeps/powerpc/powerpc32/dl-machine.h
16435 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16436 * sysdeps/s390/s390-32/dl-machine.h
16437 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16438 * sysdeps/sparc/sparc32/dl-machine.h
16439 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16440 * sysdeps/sparc/sparc64/dl-machine.h
16441 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16442
ff9f1c5f
DM
16443 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16444 lazy binding.
48e2e132 16445 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16446 undefined symbol errors.
16447
48e2e132 16448 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16449 DT_NEEDED entries.
16450
e80d6f94
MM
164512012-04-05 Michael Matz <matz@suse.de>
16452
16453 [BZ #13592]
16454 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16455
349fa79f
AJ
164562012-04-05 Andreas Jaeger <aj@suse.de>
16457
16458 [BZ #13908]
16459 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16460 comment.
16461
f402708f
KK
164622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16463
16464 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16465 which ROUND is no valid rounding mode.
16466
2ecccfc9
KK
164672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16468
16469 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16470 read again.
16471 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16472
8a53f50f
KK
164732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16474
16475 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16476 an exception using FPU order intentionally.
16477
164782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16479
16480 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16481 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16482 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16483 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16484
d653abb7
SJ
164852012-04-05 Simon Josefsson <simon@josefsson.org>
16486
16487 [BZ #12340]
16488 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16489 EINVAL when BUFLEN is too smal.
16490
c3b1bf7d
TS
164912012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16492
16493 [BZ #13553]
16494 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16495 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16496
b1aa60f3
AJ
164972012-04-03 Andreas Jaeger <aj@suse.de>
16498
c3b1bf7d 16499 [BZ #13938]
67f60a26
AJ
16500 * manual/setjmp.texi (System V contexts): Fix sentence.
16501
b1aa60f3
AJ
16502 [BZ #13926]
16503 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16504 New macro for this case.
16505 [!__GNUC__] (__bswap_64): New inline function for this case.
16506 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16507 * bits/byteswap.h: Likewise.
16508 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16509 ull, guard with __GLIBC_HAVE_LONG_LONG.
16510
16511 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16512 __GLIBC_HAVE_LONG_LONG.
16513
16514 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16515 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16516
39c59c35
TMQMF
165172012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16518
16519 [BZ #13691]
16520 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16521 inptr and inend, rather than using last_ch.
16522
135ffda8
DM
165232012-04-02 David S. Miller <davem@davemloft.net>
16524
16525 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16526 * stdio-common/printf-parse.h (read_int): Change return type to
16527 'int', return -1 on INT_MAX overflow.
16528 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16529 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16530 overflows INT_MAX. Check for overflow of in-format-string precision
16531 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16532 SIZE_MAX not INT_MAX for integer overflow test.
16533 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16534 skip the construct in the format string but do not record anything.
16535 * stdio-common/bug22.c: Adjust to test both width/prevision
16536 INT_MAX overflow as well as total length INT_MAX overflow. Check
16537 explicitly for proper errno values.
16538
228c019e
TS
165392012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16540
302cadd3
TS
16541 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16542 CHAR_MAX.
16543 * string/test-strcmp.c [! WIDE]: Likewise.
16544 * time/tst-mktime2.c: Likewise for INT_MAX.
16545 * string/test-string.h: #include <sys/param.h> for MIN.
16546
228c019e
TS
16547 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16548 * sysdeps/i386/init-first.c (init): Likewise.
16549 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16550 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16551 * sysdeps/sh/init-first.c (init): Likewise.
16552
cfa633f5
UD
165532012-04-01 Ulrich Drepper <drepper@gmail.com>
16554
16555 * po/ru.po: Update from translation team.
d1635ef8 16556 * po/vi.po: Likewise.
cfa633f5 16557
6cd0a5ea
SP
165582012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16559
16560 * resolv/nss_dns/dns-host.c: Merge copyright years.
16561
4b43400f
LD
165622012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16563
16564 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16565 Optimize memcpy with prefetch if
16566 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16567 src, dst pointers have unequal 16 byte alignments.
16568
48c41d04
SP
165692012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16570
16571 [BZ #13928]
16572 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16573 from a CNAME entry and return the minimum ttl for the query.
16574 (gaih_getanswer_slice): Likewise.
16575
b8dc394d
JL
165762012-03-30 Jeff Law <law@redhat.com>
16577
16578 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16579 due to long keys.
16580 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16581 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16582
2f5a5ed0
JL
16583 * resolv/nss_dns/dns-host.c: Update copyright year.
16584
1d39e359
UD
165852012-03-30 Ulrich Drepper <drepper@gmail.com>
16586
c030f70c 16587 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16588 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16589
1d39e359
UD
16590 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16591 comments for sendmmsg.
16592
165932012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16594
16595 [BZ #13691]
16596 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16597 with only 1 character between 0x0041 and 0x01b0.
16598 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16599 * wcsmbs/tst-mbsnrtowcs.c: New file.
16600
20fde227
DM
166012012-03-29 David S. Miller <davem@davemloft.net>
16602
16603 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16604 small copies by hand.
16605
984a4237
JL
166062012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16607
16608 [BZ #13761]
16609 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16610 _nss_compat_initgroups_dyn): Fall back to malloc/free
16611 for large group memberships.
16612
18c9d62b
DM
166132012-03-28 David S. Miller <davem@davemloft.net>
16614
88d85d4f
DM
16615 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16616 that branches into memcpy.
16617 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16618 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16619 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16620 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16621 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16622 bits.
16623 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16624 implementation too.
16625 * sysdeps/sparc/mempcpy.S: New file.
16626
e5aa83e1
DM
16627 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16628 the IFUNC routine in the libc case.
16629 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16630
88570753
DM
16631 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16632 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16633 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16634 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16635 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16636 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16637 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16638 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16639
249d7567
DM
16640 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16641 loop to 256 bytes instead of 64 bytes and fix test signedness.
16642
18c9d62b
DM
16643 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16644 * sysdeps/sparc/sparc32/Makefile: rather than here...
16645 * sysdeps/sparc/sparc64/Makefile: and here.
16646
05f3d1f6
UD
166472012-03-28 Ulrich Drepper <drepper@gmail.com>
16648
16649 * malloc/mallocbug.c: Avoid warnings about unused variables.
16650
86ae07a8
JL
166512012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16652
16653 [BZ #13760]
16654 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16655 in the right place. Discard and retry query if response is
16656 larger than input buffer size.
16657
41bf21a1
JM
166582012-03-28 Joseph Myers <joseph@codesourcery.com>
16659
d6270972
JM
16660 [BZ #369]
16661 [BZ #2678]
16662 [BZ #3866]
16663 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16664 x for large integer exponent.
16665 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16666 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16667 sign of result as needed afterwards.
16668 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16669 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16670 result for underflowing pow the same as for overflow.
16671 (__kernel_standard_l): Handle powl overflow and underflow here
16672 rather than calling __kernel_standard.
16673 * math/libm-test.inc (pow_test): Add more tests.
16674
414fca03 16675 [BZ #3868]
41bf21a1
JM
16676 [BZ #13879]
16677 [BZ #13910]
16678 [BZ #13911]
16679 [BZ #13912]
16680 [BZ #13913]
16681 [BZ #13915]
16682 [BZ #13916]
16683 [BZ #13917]
16684 [BZ #13918]
16685 [BZ #13919]
16686 [BZ #13920]
16687 [BZ #13921]
16688 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16689 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16690 (__kernel_standard_l): New function.
16691 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16692 __kernel_standard.
16693 * math/w_acosl.c (__acosl): Likewise.
16694 * math/w_asinl.c (__asinl): Likewise.
16695 * math/w_atan2l.c (__atan2l): Likewise.
16696 * math/w_atanhl.c (__atanhl): Likewise.
16697 * math/w_coshl.c (__coshl): Likewise.
16698 * math/w_exp10l.c (__exp10l): Likewise.
16699 * math/w_exp2l.c (__exp2l): Likewise.
16700 * math/w_fmodl.c (__fmodl): Likewise.
16701 * math/w_hypotl.c (__hypotl): Likewise.
16702 * math/w_j0l.c (__j0l, __y0l): Likewise.
16703 * math/w_j1l.c (__j1l, __y1l): Likewise.
16704 * math/w_jnl.c (__jnl, __ynl): Likewise.
16705 * math/w_lgammal.c (__lgammal): Likewise.
16706 * math/w_log10l.c (__log10l): Likewise.
16707 * math/w_log2l.c (__log2l): Likewise.
16708 * math/w_logl.c (__logl): Likewise.
16709 * math/w_powl.c (__powl): Likewise.
16710 * math/w_remainderl.c (__remainderl): Likewise.
16711 * math/w_scalbl.c (sysv_scalbl): Likewise.
16712 * math/w_sinhl.c (__sinhl): Likewise.
16713 * math/w_sqrtl.c (__sqrtl): Likewise.
16714 * math/w_tgammal.c (__tgammal): Likewise.
16715 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16716 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16717 * math/libm-test.inc (acos_test): Add more tests.
16718 (acosh_test): Likewise.
16719 (asin_test): Likewise.
16720 (atanh_test): Likewise.
16721 (exp_test): Likewise.
16722 (exp10_test): Likewise.
16723 (exp2_test): Likewise.
16724 (expm1_test): Likewise.
16725 (lgamma_test): Likewise.
16726 (log_test): Likewise.
16727 (log10_test): Likewise.
16728 (log1p_test): Likewise.
16729 (log2_test): Likewise.
16730 (pow_test): Do not allow some spurious overflow exceptions.
16731 (sqrt_test): Add more tests.
16732 (tgamma_test): Likewise.
16733 (y0_test): Likewise.
16734 (y1_test): Likewise.
16735 (yn_test): Likewise.
16736
dd62fda6
AB
167372012-03-27 Anton Blanchard <anton@samba.org>
16738
16739 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16740 MAP_HUGETLB.
16741 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16742 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16743 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16744
1e3cdfda
AJ
167452012-03-27 David S. Miller <davem@davemloft.net>
16746
b855ab85
DM
16747 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16748
1e3cdfda
AJ
16749 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16750 have-as-vis3 check.
16751
167522012-03-27 Andreas Jaeger <aj@suse.de>
16753
16754 * sysdeps/x86_64/elf/configure.in: Moved to ...
16755 * sysdeps/x86_64/configure.in: ... here.
16756 * sysdeps/x86_64/elf/start.S: Moved to ...
16757 * sysdeps/x86_64/start.S: ... here.
16758 * sysdeps/x86_64/elf/configure: Delete.
16759
16760 * sysdeps/x86_64/configure.in: Merge contents from
16761 sysdeps/i386/configure.in (without i686 check).
16762
16763 * sysdeps/i386/elf/Versions: Merge into ...
16764 * sysdeps/i386/Versions: ... this.
16765 * sysdeps/i386/elf/Versions: Delete file.
16766 * sysdeps/i386/elf/start.S: Moved to ...
16767 * sysdeps/i386/start.S: ...here.
16768 * sysdeps/i386/elf/configure.in: Merge into...
16769 * sysdeps/i386/configure.in: ...here.
16770 * sysdeps/i386/elf/configure.in: Delete file.
16771 * sysdeps/i386/elf/configure: Delete file.
16772
16773 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16774 * debug/backtracesyms.c: ... here.
16775 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16776 * debug/backtracesymsfd.c: ... here.
16777 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16778 * sysdeps/generic/ifunc-sel.h: ... here.
16779
16780 * sysdeps/unix/i386/start.c: Delete file.
16781 * sysdeps/unix/sparc/start.c: Delete file.
16782 * sysdeps/unix/start.c: Delete file.
16783
16784 * sysdeps/sh/elf/configure.in: Moved to ...
16785 * sysdeps/sh/configure.in: ... here.
16786 * sysdeps/sh/elf/start.S: Moved to ...
16787 * sysdeps/sh/start.S: ... here.
16788 * sysdeps/sh/elf/configure: Delete file.
16789
16790 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16791 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16792 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16793 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16794 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16795 * sysdeps/powerpc/powerpc64/start.S: here.
16796 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16797 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16798 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16799 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16800 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16801
16802 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16803 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16804 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16805 * sysdeps/powerpc/powerpc32/start.S: ... here.
16806 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16807 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16808 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16809
16810 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16811 * sysdeps/powerpc/ifunc-sel.h: ... here.
16812 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16813 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16814
16815 * sysdeps/sparc/elf/configure.in: Moved to ...
16816 * sysdeps/sparc/configure.in: ... here.
16817 * sysdeps/sparc/elf/configure: Delete file.
16818 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16819 * sysdeps/sparc/sparc32/start.S: ... here.
16820 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16821 * sysdeps/sparc/sparc64/start.S: ... here.
16822 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16823 * sysdeps/sparc/sparc32/Makefile: ... this.
16824 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16825 * sysdeps/sparc/sparc64/Makefile: ... this.
16826
16827 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16828 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16829 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16830 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16831 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16832 * sysdeps/s390/s390-32/setjmp.S: ... here.
16833 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16834 * sysdeps/s390/s390-32/configure.in: ... here.
16835 * sysdeps/s390/s390-32/elf/configure: Delete file.
16836 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16837 * sysdeps/s390/s390-32/start.S: ... here.
16838
16839 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16840 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16841 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16842 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16843 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16844 * sysdeps/s390/s390-64/setjmp.S: ... here.
16845 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16846 * sysdeps/s390/s390-64/configure.in: ... here
16847 * sysdeps/s390/s390-64/elf/configure: Delete file.
16848 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16849 * sysdeps/s390/s390-64/start.S: ... here.
16850 * sysdeps/s390/s390-64/elf/configure: Delete.
16851
16852 * configure.in: Remove support for elf directories in sysdeps.
16853
16854 * configure: Regenerated.
16855 * sysdeps/i386/configure: Regenerated.
16856 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16857 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16858 * sysdeps/s390/s390-32/configure: Regenerated.
16859 * sysdeps/s390/s390-64/configure: Regenerated.
16860 * sysdeps/sh/configure: Regenerated.
16861 * sysdeps/sparc/configure: Regenerated.
16862 * sysdeps/x86_64/configure: Regenerated.
16863
a3f61311
AS
168642012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16865
c876e002
AS
16866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16867
a3f61311
AS
16868 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16869 denormal result into account.
16870
ac4c54f0
RM
168712012-03-25 Roland McGrath <roland@hack.frob.com>
16872
16873 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16874 Reported by Allan McRae <allan@archlinux.org>.
16875
6a9b9c02
JL
168762012-03-23 Jeff Law <law@redhat.com>
16877
16878 * nss/getnssent.c (__nss_getent): Fix typo.
16879
4c42a0c1
DM
168802012-03-23 David S. Miller <davem@davemloft.net>
16881
16882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16883
1532c7ac
L
168842012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16885
16886 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16887 to pad to uint64_t for each field.
16888 (dl_tls_index): Replace unsigned long with uint64_t.
16889
3ff42526
PP
168902012-03-23 Daniel Jacobowitz <dmj@google.com>
16891 Paul Pluzhnikov <ppluzhnikov@google.com>
16892
16893 [BZ #6528]
16894 * grp/Makefile (otherlibs): Don't set it.
16895 * inet/Makefile (otherlibs): Likewise.
16896 * login/Makefile (otherlibs): Likewise.
16897 * nscd/Makefile (otherlibs): Likewise.
16898 * posix/Makefile (otherlibs): Likewise.
16899 * pwd/Makefile (otherlibs): Likewise.
16900 * rt/Makefile (otherlibs): Likewise.
16901 * sunrpc/Makefile (otherlibs): Likewise.
16902 * nss/Makefile (otherlibs): Likewise.
16903 Add libnss_files to routines and static-only-routines.
16904 ($(objpfx)getent): Remove rule.
16905 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16906 static-only-routines.
16907
7c69cd14
JM
169082012-03-22 Joseph Myers <joseph@codesourcery.com>
16909
16910 [BZ #13892]
16911 * math/s_cexp.c: Include <float.h>.
16912 (__cexp): Handle exp result overflowing not necessarily
16913 overflowing both real and imaginary parts of result.
16914 * math/s_cexpf.c: Likewise.
16915 * math/s_cexpl.c: Likewise.
16916 * math/libm-test.inc (cexp_test): Add more tests.
16917 * sysdeps/i386/fpu/libm-test-ulps: Update.
16918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16919
81b035fe
L
169202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16921
16922 * include/link.h (ELFW): New macro.
16923 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16924 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16925
1da7940c
L
169262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16927
16928 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16929 with uint64_t.
16930
b749dbb9
L
169312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16932
16933 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16934 declaration.
16935 (struct La_x32_retval): Likewise.
16936
2ff87f3f
L
169372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16938
16939 * sysdeps/x86_64/preconfigure.in: New file.
16940 * sysdeps/x86_64/preconfigure: New generated file.
16941
c0df8e69
JM
169422012-03-22 Joseph Myers <joseph@codesourcery.com>
16943
48e44791
JM
16944 [BZ #13824]
16945 * math/e_exp2l.c: Include <float.h>.
16946 (__ieee754_exp2l): Handle overflow and underflow cases
16947 separately. Only pass fractional part of argument to
16948 __ieee754_expl.
16949 * math/libm-test.inc (exp2_test): Add more tests.
16950
c0df8e69
JM
16951 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16952 negating x to take absolute value.
16953 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16954 Likewise.
16955 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16956 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16957 Likewise.
16958 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16959 computing low part if x was negated.
16960 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16961
c8e43ba7
L
169622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16963
16964 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16965 la_x32_gnu_pltexit.
16966 (pltexit): Cast int_retval to ptrdiff_t.
16967 * elf/tst-auditmod3b.c: Likewise.
16968 * elf/tst-auditmod4b.c: Likewise.
16969 * elf/tst-auditmod5b.c: Likewise.
16970 * elf/tst-auditmod6b.c: Likewise.
16971 * elf/tst-auditmod6c.c: Likewise.
16972 * elf/tst-auditmod7b.c: Likewise.
16973
16974 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16975 and x32_gnu_pltexit.
16976
16977 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16978 __ELF_NATIVE_CLASS.
16979 (La_x32_regs): New macro.
16980 (La_x32_retval): Likewise.
16981 (la_x32_gnu_pltenter): New function prototype.
16982 (la_x32_gnu_pltexit): Likewise.
16983
7998fa78
AS
169842012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16985
dcb33988
AS
16986 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16987 exponent.
16988
233fc563
AS
16989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16990
7998fa78
AS
16991 * configure.in (libc_cv_cc_nofma): Check for option to disable
16992 generation of FMA instructions.
16993 * configure: Regenerate.
16994 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16995 * sysdeps/ieee754/dbl-64/Makefile: New file.
16996 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16997 Remove brandred-fma4.
16998 (CFLAGS-brandred-fma4.c): Remove.
16999 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17000 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17001 define.
17002 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17003 define.
17004
8e95c99a
L
170052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17006
17007 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17008 LLONG_MAX != LONG_MAX.
17009 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17010 (_fitoa_word): Likewise.
17011 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17012 LLONG_MAX != LONG_MAX.
17013 * stdio-common/_itowa.h: Include <_itoa.h>.
17014 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17015 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17016 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17017 only if not defined.
17018 (_ITOA_WORD_TYPE): Likewise.
17019 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17020 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17021
6f4db457
DM
170222012-03-21 David S. Miller <davem@davemloft.net>
17023
17024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17025
7785fe5a
L
170262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17027
17028 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17029 of x86_64 when setting libc_cv_slibdir, libdir and
17030 libc_cv_localedir.
17031 * sysdeps/unix/sysv/linux/configure: Regenerated.
17032
4535cd55
JM
170332012-03-21 Joseph Myers <joseph@codesourcery.com>
17034
17035 * manual/lang.texi (Old Varargs): Remove section.
17036 (How Variadic): Update menu.
17037 (va_start): Do not mention varargs.h.
17038
17228132
TS
170392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17040 Joseph Myers <joseph@codesourcery.com>
17041
17042 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17043 link test.
17044 * configure: Regenerated.
17045
8149f976
TS
170462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17047
05f3d1f6
UD
17048 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17049 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17050 conformtest.pl
8149f976 17051
1a4ac776
JM
170522012-03-21 Joseph Myers <joseph@codesourcery.com>
17053
be22ce65
JM
17054 * NOTES: Remove.
17055 * Makefile (files-for-dist): Remove NOTES.
17056 (NOTES): Remove rule.
17057 * README: Don't refer to NOTES.
17058 * manual/creature.texi: Don't include macros.texi.
17059 * manual/intro.texi (creature.texi): Remove comment referring to
17060 NOTES.
17061
40b601fb
JM
17062 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17063 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17064 * configure: Regenerated.
17065 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17066 LIBC_TRY_CC_OPTION.
17067 (libc_cv_as_i686): Likewise.
17068 (libc_cv_cc_avx): Likewise.
17069 (libc_cv_cc_sse2avx): Likewise.
17070 (libc_cv_cc_fma4): Likewise.
17071 (libc_cv_cc_novzeroupper): Likewise.
17072 * sysdeps/i386/configure: Regenerated.
17073
1a4ac776
JM
17074 [BZ #13883]
17075 * sysdeps/i386/fpu/s_cexp.S: Remove.
17076 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17077 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17078 * math/libm-test.inc (cexp_test): Add more tests.
17079 * sysdeps/i386/fpu/libm-test-ulps: Update.
17080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17081
a458e7fe
AM
170822012-03-21 Allan McRae <allan@archlinux.org>
17083
17084 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17085
0cb7efc5
JM
170862012-03-21 Joseph Myers <joseph@codesourcery.com>
17087
17088 [BZ #13871]
17089 * math/w_exp2.c: Do not include <float.h>.
17090 (o_threshold, u_threshold): Remove.
17091 (__exp2): Calculate result before checking finiteness and calling
17092 __kernel_standard.
17093 * math/w_exp2f.c: Likewise.
17094 * math/w_exp2l.c: Likewise.
17095 * math/libm-test.inc (exp2_test): Require overflow exception for
17096 1e6 input.
2460d3aa
JM
17097
17098 [BZ #3866]
17099 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17100 range of signed 64-bit integers before using fistpll. Remove
17101 checks for whether integers fit in mantissa bits.
17102 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17103 the range of signed 32-bit integers before using fistpl. Remove
17104 checks for whether integers fit in mantissa bits.
17105 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17106 (__ieee754_powl): Test for y outside the range of signed 64-bit
17107 integers before using fistpll. Reduce 64-bit values to 63-bit
17108 ones as needed.
17109 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17110 divide-by-zero is raised for zero to large negative powers.
17111 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17112 (__ieee754_powl): Test for y outside the range of signed 64-bit
17113 integers before using fistpll. Reduce 64-bit values to 63-bit
17114 ones as needed.
17115 * math/libm-test.inc (pow_test): Add more tests.
17116
eb96ffb0
L
171172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17118
17119 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17120 <stdio-common/_itoa.h>.
17121 * debug/segfault.c: Likewise.
17122 * elf/dl-cache.c: Likewise.
17123 * elf/dl-minimal.c: Likewise.
17124 * elf/dl-misc.c: Likewise.
17125 * elf/dl-sysdep.c: Likewise.
17126 * elf/dl-version.c: Likewise.
17127 * elf/rtld.c: Likewise.
17128 * hurd/hurdsock.c: Likewise.
17129 * hurd/lookup-retry.c: Likewise.
17130 * malloc/malloc.c: Likewise.
17131 * malloc/mtrace.c: Likewise.
17132 * nscd/nscd_getgr_r.c: Likewise.
17133 * nscd/nscd_getpw_r.c: Likewise.
17134 * nscd/nscd_getserv_r.c: Likewise.
17135 * posix/getopt_init.c: Likewise.
17136 * posix/wordexp.c: Likewise.
17137 * stdio-common/_itoa.c: Likewise.
17138 * stdio-common/printf_fphex.c: Likewise.
17139 * stdio-common/vfprintf.c: Likewise.
17140 * string/_strerror.c: Likewise.
17141 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17142 * sysdeps/i386/i686/hp-timing.h: Likewise.
17143 * sysdeps/mach/_strerror.c: Likewise.
17144 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17145 * sysdeps/mach/hurd/sethostid.c: Likewise.
17146 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17147 * sysdeps/mach/xpg-strerror.c: Likewise.
17148 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17149 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17150 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17151 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17152 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17153 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17154 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17155 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17156 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17157 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17158 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17159 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17160 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17161 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17162 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17163 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17164 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17165 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17166 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17167 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17168 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17169
17170 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17171
17172 * stdio-common/_itoa.h: Moved to ...
17173 * sysdeps/generic/_itoa.h: Here.
17174
17175 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17176
17177 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17178 instead of "_itoa.h" and "_itowa.h".
17179 * stdio-common/vfprintf.: Likewise.
17180
d1af992d
L
171812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17182
17183 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17184 <bits/wordsize.h>.
17185 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17186 (__signbit): Likwise.
17187 (llrintf): Likwise.
17188 (llrint): Likwise.
17189
114883e0
L
171902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17191
17192 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17193 __WORDSIZE != 64.
17194
c135cc1b
JM
171952012-03-20 Joseph Myers <joseph@codesourcery.com>
17196
17197 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17198 OVERFLOW_EXCEPTION_OK.
17199 * math/libm-test.inc ("Philosophy"): Update comment about
17200 exception testing.
17201 (OVERFLOW_EXCEPTION): Define.
17202 (OVERFLOW_EXCEPTION_OK): Likewise.
17203 (INVALID_EXCEPTION_OK): Renumber.
17204 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17205 (IGNORE_ZERO_INF_SIGN): Likewise.
17206 (test_exceptions): Handle FE_OVERFLOW.
17207 (exp10_test): Expect overflow exceptions.
17208 (exp2_test): Likewise.
17209 (expm1_test): Likewise.
17210 (nextafter_test): Likewise.
17211 (pow_test): Likewise.
17212 (scalbn_test): Likewise.
17213 (scalbln_test): Likewise.
17214
95443d88
L
172152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17216
17217 * sysdeps/x86_64/bits/atomic.h
17218 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17219 64bit integer.
17220 (atomic_exchange_acq): Likewise.
17221 (__arch_exchange_and_add_body): Likewise.
17222 (__arch_add_body): Likewise.
17223 (atomic_add_negative): Likewise.
17224 (atomic_add_zero): Likewise.
17225
490df6c4
L
172262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17227
c2722551 17228 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17229 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17230
5e52b189
L
172312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17232
17233 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17234 Check __x86_64__ instead of __WORDSIZE.
17235
a9879d4c
L
172362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17237
17238 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17239
5df98260
DM
172402012-03-19 David S. Miller <davem@davemloft.net>
17241
e1497744
DM
17242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17243
5df98260
DM
17244 * sysdeps/sparc/fpu/fenv_private.h: New file.
17245 * sysdeps/sparc/fpu/math_private.h: Use it.
17246 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17247 Remove.
17248 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17249 (libc_feholdexcept_setroundl): Remove.
17250 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17251 Remove.
17252 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17253 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17254
b4c35121
L
172552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17256
17257 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17258 int64_t instead of long int.
17259 (INSERT_WORDS64): Likwise.
17260
56965fd7
L
172612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17262
17263 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17264 _Unwind_GetCFA return to _Unwind_Ptr first.
17265
83d1aec8
JM
172662012-03-19 Joseph Myers <joseph@codesourcery.com>
17267
1897ad44
JM
17268 [BZ #13629]
17269 * math/s_clog.c: Include <float.h>.
17270 (__clog): Scale large or subnormal inputs.
17271 * math/s_clogf.c: Likewise.
17272 * math/s_clogl.c: Likewise.
17273 * math/s_clog10.c: Include <float.h>.
17274 (M_LOG10_2): Define.
17275 (__clog10): Scale large or subnormal inputs.
17276 * math/s_clog10f.c: Likewise.
17277 * math/s_clog10l.c: Likewise.
17278 * math/libm-test.inc (clog_test): Add more tests.
17279 (clog10_test): Likewise.
17280 * sysdeps/i386/fpu/libm-test-ulps: Update.
17281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17282
7726d6a9
JM
17283 [BZ #11451]
17284 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17285 x and y.
17286 * math/libm-test.inc (atan2_test): Add another test.
17287
83d1aec8
JM
17288 * Makerules (common-objdir-compile): Remove.
17289 * sysdeps/unix/Makefile (config-generated): Do not add
17290 $(unix-generated) to variable.
17291 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17292 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17293 Remove rule.
17294 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17295 Likewise.
17296 [generic bits/local_lim.h] (before-compile): Do not append to
17297 variable.
17298 [generic bits/local_lim.h] (common-generated): Likewise.
17299 [generic sys/param.h] (before-compile): Do not append to variable.
17300 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17301 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17302 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17303 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17304 include.
17305 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17306 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17307 [generic sys/param.h] ($(addprefix
17308 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17309 [generic sys/param.h] (common-generated): Do not append to
17310 variable.
17311 [generic sys/param.h] (sysdep_headers): Likewise.
17312 [generic bits/errno.h] (before-compile): Do not append to
17313 variable.
17314 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17315 rule.
17316 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17317 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17318 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17319 [generic bits/errno.h] (common-generated): Do not append to
17320 variable.
17321 [generic bits/ioctls.h] (before-compile): Do not append to
17322 variable.
17323 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17324 rule.
17325 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17326 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17327 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17328 rule.
17329 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17330 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17331 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17332 [generic bits/ioctls.h] (common-generated): Do not append to
17333 variable.
17334 [generic sys/syscall.h] (syscall.h): Remove variable.
17335 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17336 rule.
17337 [generic sys/syscall.h] (before-compile): Do not append to
17338 variable.
17339 [generic sys/syscall.h] (common-generated): Likewise.
17340 * sysdeps/unix/errnos-tmpl.c: Remove file.
17341 * sysdeps/unix/errnos.awk: Likewise.
17342 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17343 * sysdeps/unix/ioctls.awk: Likewise.
17344 * sysdeps/unix/mk-local_lim.c: Likewise.
17345 * sysdeps/unix/snarf-ioctls: Likewise.
17346
4851a949
RH
173472012-03-19 Richard Henderson <rth@twiddle.net>
17348
bd37f2ee
RH
17349 * sysdeps/i386/fpu/fenv_private.h: New file.
17350 * sysdeps/i386/fpu/math_private.h: Use it.
17351 (math_opt_barrier, math_force_eval): Remove.
17352 (libc_feholdexcept_setround_53bit): Remove.
17353 (libc_feupdateenv_53bit): Remove.
17354 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17355 (math_opt_barrier, math_force_eval): Remove.
17356 (libc_feholdexcept): Remove.
17357 (libc_feholdexcept_setround): Remove.
17358 (libc_fetestexcept, libc_fesetenv): Remove.
17359 (libc_feupdateenv_test): Remove.
17360 (libc_feupdateenv, libc_feholdsetround): Remove.
17361 (libc_feresetround): Remove.
17362
d0adc922
RH
17363 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17364 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17365
0fe0f1f8
RH
17366 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17367 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17368 (libc_feupdateenv_testl): New.
17369 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17370 (libc_feupdateenv_testf): New.
17371 (libc_feupdateenv): Use libc_feupdateenv_test.
17372 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17373 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17374
eb92c487
RH
17375 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17376 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17377 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17378 (libc_feresetround_noex): New.
17379 (libc_feresetround_noexf): New.
17380 (libc_feresetround_noexl): New.
17381 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17382 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17383 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17384 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17385 SET_RESTORE_ROUND.
17386 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17387 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17388 (__cos): Likewise.
17389 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17390 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17391 SET_RESTORE_ROUND_NOEX.
17392 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17393 SET_RESTORE_ROUND_NOEXF.
17394 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17395 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17396 (libc_feholdsetroundf): New.
17397 (libc_feresetround, libc_feresetroundf): New.
17398
7d2e8012
RH
17399 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17400 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17401 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17402
b4dabbb4
RH
17403 * sysdeps/generic/math_private.h: Include <fenv.h>.
17404 (default_libc_feholdexcept): New.
17405 (default_libc_feholdexcept_setround): New.
17406 (default_libc_fesetenv, default_libc_feupdateenv): New.
17407 (libc_feholdexcept): Only define if undefined.
17408 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17409 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17410 (libc_feholdexcept_setroundl): Likewise.
17411 (libc_feholdexcept_setround_53bit): Likewise.
17412 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17413 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17414 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17415 (libc_feupdateenv_53bit): Likewise.
17416 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17417 (libc_feholdexcept): Convert from macro to inline function.
17418 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17419 (libc_fesetenv, libc_feupdateenv): Likewise.
17420
4851a949
RH
17421 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17422 not previously defined.
17423 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17424 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17425 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17426 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17427 * sysdeps/ieee754/flt-32/math_private.h: New file.
17428 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17429 math_private.h below SET_FLOAT_WORD.
17430 (__isnan, __isinf_ns, __finite): Remove.
17431 (__isnanf, __isinf_nsf, __finitef): Remove.
17432
e79d442e
AS
174332012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17434
17435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17436
90b80344
DM
174372012-03-17 David S. Miller <davem@davemloft.net>
17438
17439 [BZ #6471]
17440 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17441 for 2.16.
17442
edc21804
DM
174432012-03-16 David S. Miller <davem@davemloft.net>
17444
77e927af
DM
17445 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17446 warnings.
17447
374976dd
DM
17448 [BZ #6471]
17449 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17450 properly.
17451 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17452 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17453 sysdep_routines when subdir is sysvipc.
17454 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17455 __getshmlba helper.
17456
edc21804
DM
17457 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17458
473c3ef3
L
174592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17460
17461 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17462 [__LP64__].
17463
eb0f39b6
L
174642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17465
17466 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17467 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17468 (__lround): Renamed to ...
17469 (__llround): This. Replace long int with long long int.
17470 Define lround functions as aliases of llround functions.
17471 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17472
6b6cd74b
L
174732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17474
17475 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17476 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17477 adresses to uintptr_t. Replace "long int" and "unsigned long
17478 int" with "greg_t" on va_arg.
17479
f1a77b01
L
174802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17481
17482 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17483 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17484
17485 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17486 Move e_machine check before EI_CLASS check. Handle x32
17487 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17488 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17489 SKIP_EM_IA_64 and include
17490 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17491
17492 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17493 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17494 (add_system_dir): New macro.
17495
17496 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17497 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17498
11b90b9f
JM
174992012-03-16 Joseph Myers <joseph@codesourcery.com>
17500
c36e1d23
JM
17501 [BZ #2551]
17502 [BZ #2552]
17503 [BZ #2553]
17504 [BZ #2554]
17505 [BZ #2562]
17506 [BZ #2563]
17507 [BZ #2565]
17508 [BZ #2566]
17509 [BZ #2576]
17510 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17511 (y0): Likewise.
17512 * math/w_j0f.c (j0f): Likewise.
17513 (y0f): Likewise.
17514 * math/w_j0l.c (__j0l): Likewise.
17515 (__y0l): Likewise.
17516 * math/w_j1.c (j1): Likewise.
17517 (y1): Likewise.
17518 * math/w_j1f.c (j1f): Likewise.
17519 (y1f): Likewise.
17520 * math/w_j1l.c (__j1l): Likewise.
17521 (__y1l): Likewise.
17522 * math/w_jn.c (jn): Likewise.
17523 (yn): Likewise.
17524 * math/w_jnf.c (jnf): Likewise.
17525 (ynf): Likewise.
17526 * math/w_jnl.c (__jnl): Likewise.
17527 (__ynl): Likewise.
17528 * math/libm-test.inc (j0_test): Add more tests.
17529 (j1_test): Likewise.
17530 (jn_test): Likewise. Add trailing semicolon to existing test.
17531 (y0_test): Likewise.
17532 (y1_test): Likewise.
17533 * sysdeps/i386/fpu/libm-test-ulps: Update.
17534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17535
11b90b9f
JM
17536 [BZ #13851]
17537 [BZ #13854]
17538 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17539 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17540 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17541 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17542 (__tanl): Set errno for infinite argument.
17543 * sysdeps/i386/fpu/mptan.c: Remove.
17544 * sysdeps/i386/fpu/s_tan.S: Likewise.
17545 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17546 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17547 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17548 * math/libm-test.inc (tan_test): Add more tests and enable more
17549 tests for double and long double.
17550 * sysdeps/i386/fpu/libm-test-ulps: Update.
17551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17552
6a1bd2a1
JK
175532012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17554
17555 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17556 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17557
10a803e0
RM
175582012-03-16 Roland McGrath <roland@hack.frob.com>
17559
17560 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17561 * configure.in: Use it for both main tree and add-ons.
17562 * configure: Regenerated.
17563
f196c7f7
L
175642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17565
17566 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17567
8848d99d
JM
175682012-03-16 Joseph Myers <joseph@codesourcery.com>
17569
96cbe7f4
JM
17570 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17571 in comment.
17572
8848d99d
JM
17573 [BZ #13851]
17574 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17575 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17576 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17577 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17578 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17579 infinite argument.
17580 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17581 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17582 != 0 for prec == 2.
17583 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17584 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17585 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17586 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17587 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17588 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17589 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17590 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17591 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17592 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17593 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17594 * math/libm-test.inc (cos_test): Add more tests and enable more
17595 tests for long double.
17596 (sin_test): Likewise.
17597 (sincos_test): Likewise.
17598 * sysdeps/i386/fpu/libm-test-ulps: Update.
17599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17600
dd7f4703
DM
176012012-03-16 David S. Miller <davem@davemloft.net>
17602
17603 * sysdeps/sparc/fpu/math_private.h: New file.
17604
006f1daa
DM
176052012-03-15 David S. Miller <davem@davemloft.net>
17606
c0c83bc8
DM
17607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17608 file.
e6a62e18 17609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17611 file.
e6a62e18
DM
17612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17617 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17618 sysdep routines.
17619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17620
88cb87d9
DM
17621 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17622 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17623
006f1daa 17624 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17626 sparc-ifunc.h
006f1daa 17627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17629 Likewise.
17630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17631 Likewise.
006f1daa
DM
17632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17636 Likewise.
006f1daa
DM
17637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17642 Likewise.
17643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17644 Likewise.
006f1daa
DM
17645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17649 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17650 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17651 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17652 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17653 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17654 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17659 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17660 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17661 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17662 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17663 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17664 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17665 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17666 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17667 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17668 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17669
11e0098e
AS
176702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17671
17672 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17673 scaling.
17674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17675
e85b09d0
AJ
176762012-03-15 Andreas Jaeger <aj@suse.de>
17677
17678 [BZ #13852]
17679 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17680 ieee754/flt-32 implementation for sin, cos and sincos.
17681 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17682 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17683 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17684 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17685 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17686 ieee754/flt-32 implementation for tan.
17687
17688 * math/libm-test.inc (cos_test): Enable some large input tests for
17689 float as well
17690 (sin_test): Likewise.
17691 (sincos_test): Likewise.
17692 (tan_test): Add tests for large input.
17693
17694 * sysdeps/i386/fpu/libm-test-ulps: Update.
17695
81c64153
AJ
176962012-03-15 Andreas Jaeger <aj@suse.de>
17697
17698 [BZ #13658]
17699 * math/libm-test.inc (cos_test): Add more test cases.
17700 (sin_test): Likewise.
17701 (sincos_test): Likewise.
17702
7bbfa5c6
AJ
177032012-03-15 Andreas Jaeger <aj@suse.de>
17704
17705 [BZ #13837]
17706 * math/libm-test.inc (cos_test): Add a test case for large input
17707 value.
17708 (sin_test): Likewise.
17709 (sincos_test): Likewise.
17710
177112012-03-15 Andreas Jaeger <aj@suse.de>,
17712 Joseph Myers <joseph@codesourcery.com>
17713
17714 [BZ #13658]
0671f479 17715 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17716 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17717 * sysdeps/i386/fpu/branred.c: Likewise.
17718 * sysdeps/i386/fpu/dosincos.c: Likewise.
17719 * sysdeps/i386/fpu/mpa.c: Likewise.
17720 * sysdeps/i386/fpu/s_cos.S: Likewise.
17721 * sysdeps/i386/fpu/s_sin.S: Likewise.
17722 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17723 * sysdeps/i386/fpu/sincos32.c: Likewise.
17724
17725 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17726 Define.
17727 (libc_feupdateenv_53bit): Define.
17728 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17729 Define.
17730 (libc_feupdateenv_53bit): Define.
17731
17732 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17733 53 bit (without extend i386 double precision).
17734
17735 * math/libm-test.inc (sincos_test): Add tests for large input.
17736 (sin): Likewise.
17737 (cos): Likewise.
17738
17739 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17740
9cad04ea
AS
177412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17742
17743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17744
f7062b9a
DM
177452012-03-15 David S. Miller <davem@davemloft.net>
17746
17747 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17748 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17749 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17750 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17757 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17758 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17759 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17760 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17761 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17763 file.
f7062b9a 17764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17766 file.
f7062b9a 17767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17769 file.
f7062b9a 17770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17772 file.
f7062b9a
DM
17773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17775 fmin/fmax sysdep routines.
17776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17777
7bd951ff
DM
177782012-03-14 David S. Miller <davem@davemloft.net>
17779
559398ab
DM
17780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17782 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17783 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17784 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17785 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17786 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17787 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17788 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17789 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17790 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17791 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17798 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17800 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17801 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17802 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17803 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17804 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17805 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17806 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17807 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17808 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17809 routines.
17810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17811 file.
559398ab 17812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17814 file.
559398ab 17815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17817 file.
559398ab 17818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17820 file.
559398ab 17821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17823 file.
559398ab 17824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17826 file.
17827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17828 file.
17829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17830 file.
17831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17832 file.
17833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17834 New file.
17835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17836 file.
17837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17838 file.
559398ab 17839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17841 file.
559398ab 17842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17844 file.
559398ab 17845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17847 file.
559398ab 17848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17850 VIS3 routines.
559398ab
DM
17851
17852 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17853 New file.
17854
5a1c1e32
DM
17855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17856
eae47a36
DM
17857 * sysdeps/sparc/configure.in: New file.
17858 * sysdeps/sparc/configure: Generate.
17859 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17860 * configure: Regenerate.
17861 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17862 * config.make.in (have-as-vis3): New.
17863 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17864 available use -Av9d instead of -Av9a.
17865 * sysdeps/sparc/sparc64/Makefile: Likewise.
17866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17868 New file.
17869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17870 file.
17871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17872 New file.
17873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17874 file.
eae47a36
DM
17875 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17876 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17877 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17878 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17879 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17880
c0c83bc8
DM
17881 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17882 fzeros/fnegs to load 0x80000000 into a float register instead of
17883 using the stack.
7bd951ff
DM
17884 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17885
bd951ccb
JM
178862012-03-14 Joseph Myers <joseph@codesourcery.com>
17887
17888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17889 bits/syscall.h.
17890 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17891 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17892 ($(inst_includedir)/bits/syscall.h): Remove rule.
17893 ($(objpfx)bits/syscall.d): Include instead of
17894 $(objpfx)syscall-list.d.
17895 (generated): Change syscall-list.h and syscall-list.d to
17896 bits/syscall.h and bits/syscall.d.
17897
bb4e6db2
RM
178982012-03-14 Roland McGrath <roland@hack.frob.com>
17899
17900 [BZ #13846]
17901 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17902
aa4a2ae1
JM
179032012-03-14 Joseph Myers <joseph@codesourcery.com>
17904
e456826d
JM
17905 [BZ #13841]
17906 * math/s_csqrt.c: Include <float.h>.
17907 (__csqrt): Scale large or subnormal inputs.
17908 * math/s_csqrtf.c: Likewise.
17909 * math/s_csqrtl.c: Likewise.
17910 * math/libm-test.inc (csqrt_test): Add more tests.
17911 * sysdeps/i386/fpu/libm-test-ulps: Update.
17912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17913
aa4a2ae1
JM
17914 [BZ #13840]
17915 * math/libm-test.inc (hypot_test): Add more tests.
17916
7c10fd35
DM
179172012-03-13 David S. Miller <davem@davemloft.net>
17918
17919 [BZ #13840]
17920 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17921 double-precision for the calculation instead of scaling.
17922
f453b98b
JM
179232012-03-13 Joseph Myers <joseph@codesourcery.com>
17924
17925 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17926 manipulate bits before adding and subtracting TWO52[sx].
17927 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17928 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17929 Likewise.
17930 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17931
09a3453f
DM
179322012-03-13 David S. Miller <davem@davemloft.net>
17933
8e59da90
DM
17934 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17935 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17936 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17937 rtld-global-offsets.h
17938 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17939
2a8ab7f2
DM
17940 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17941 large parameters.
17942
10f62770
DM
17943 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17944
5f0bdb18
DM
17945 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17946 'err' in the ifdef scope in which it is actually used.
17947
09a3453f
DM
17948 * nss/nss_db/db-init.c: Include string.h
17949
b4b2eb5e
DM
179502012-03-12 David S. Miller <davem@davemloft.net>
17951
98bb2f1c
DM
17952 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17953 masking out of the most significant byte of random value used.
17954 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17955 Fix coding style in previous change.
17956
b4b2eb5e
DM
17957 * sysdeps/unix/sysv/linux/kernel-features.h
17958 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17959 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17960 expression.
17961 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17962 later.
17963
6e226b09
DM
179642012-03-11 David S. Miller <davem@davemloft.net>
17965
a1bcbd40
DM
17966 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17967 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17968 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17969 for 'resultvar' otherwise things get truncated on 64-bit.
17970
cb9d6174
DM
17971 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17972 Fix masking out of the most significant byte of random value used.
17973
6e226b09
DM
17974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17975
058c132d
AS
179762012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17977
17978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17979
2d2cd515
DM
179802012-03-09 David S. Miller <davem@davemloft.net>
17981
17982 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17983 variables with appropriate CPP guards.
17984 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17985 frame pointer, not the stack pointer. Correct layout comments. Fix test
17986 on resulting framesize and the management of the outregs buffer for pltexit.
17987 Preserve floating point return values across _dl_call_pltexit call.
17988 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17989 framesize and the management of the outregs buffer for pltexit.
17990 Preserve floating point return values across _dl_call_pltexit
17991 call.
17992 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17993 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17994 (print_exit): Fix format string for return register value.
17995
9a07f9d0
JM
179962012-03-10 Joseph Myers <joseph@codesourcery.com>
17997
17998 * sunrpc/Makefile (others): Add rpcgen.
17999 ($(objpfx)rpcgen): Remove special build rule and dependency on
18000 libc.
18001 * sunrpc/rpcgen.c: New file.
18002
547b5e30
PE
180032012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18004
c524201a
PE
18005 [BZ #13673]
18006 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18007 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18008 * sysdeps/i386/crti.S: Likewise.
18009 * sysdeps/i386/crtn.S: Likewise.
18010 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18011 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18012 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18013 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18014 * sysdeps/sh/crti.S: Likewise.
18015 * sysdeps/sh/crtn.S: Likewise.
18016 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18017
7b6235f2
PE
18018 [BZ #13673]
18019 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18020 with URL.
18021 * locale/programs/locfile-kw.gperf: Likewise.
18022 * locale/programs/charmap-kw.h: Regenerated.
18023 * locale/programs/locfile-kw.h: Likewise.
18024
547b5e30
PE
18025 [BZ #13673]
18026 * intl/plural.y: Replace FSF snail mail address with URL.
18027 * intl/plural.c: Regenerated.
18028
5f0a5dae
RH
180292012-03-09 Richard Henderson <rth@twiddle.net>
18030
18031 * include/math_private.h: Remove file.
18032 * math/math_private.h: Move file ...
18033 * sysdeps/generic/math_private.h: ... here.
18034
b8c03620
RH
18035 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18036 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18037 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18038
4e234f5d 18039 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18040 and <math_private.h>.
18041 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18042 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18043 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18044 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18045 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18047 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18048 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18049 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18050 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18052 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18053 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18054 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18055 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18056 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18063 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18064 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18065 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18066 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18067 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18068 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18069 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18070 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18071 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18072 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18073 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18074 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18075 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18076 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18077 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18078 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18079 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18080 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18081 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18082 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18083 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18084 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18085 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18086 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18087 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18088 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18089 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18090 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18091 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18092 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18094 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18098 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18099 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18100 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18101 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18102 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18103 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18104 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18105 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18106 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18107 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18108 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18109 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18110 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18111 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18112 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18113 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18114 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18115 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18116 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18117 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18118 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18119 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18120 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18121 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18122 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18123 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18124 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18125 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18126 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18127 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18128 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18129 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18130 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18131 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18132 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18133 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18134 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18135 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18136 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18137 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18138 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18139 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18140 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18141 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18142 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18143 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18144 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18145 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18146 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18147 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18148 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18149 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18150 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18151 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18152 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18153 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18154 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18155 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18156 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18157 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18158 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18159 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18160 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18161 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18162 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18163 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18164 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18165 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18166 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18167 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18168 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18169 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18170 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18171 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18172 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18173 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18174 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18175 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18176 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18177 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18178 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18179 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18180 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18181 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18182 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18183 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18184 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18185 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18186 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18187 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18188 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18189 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18190 * sysdeps/ieee754/k_standard.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18203 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18204 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18205 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18208 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18210 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18211 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18212 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18213 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18218 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18220 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18222 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18224 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18226 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18227 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18241 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18242 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18243 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18244 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18247 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18248 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18249 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18251 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18252 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18253 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18254 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18255 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18256 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18257 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18258 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18262 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18263 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18264 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18265 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18266 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18268 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18272 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18273 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18274 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18278 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18279 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18280 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18281 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18282 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18284 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18285 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18286 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18289 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18290 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18292 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18293 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18294 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18295 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18296 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18297 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18298 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18299 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18300 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18301 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18302 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18303 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18304 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18306 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18308 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18310 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18311 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18313 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18318 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18319 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18322 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18323 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18326 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18328 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18329 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18330 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18331 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18332 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18333 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18334 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18335 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18336 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18337 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18338 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18339 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18340 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18341 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18342 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18343 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18344 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18345 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18346 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18347 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18348 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18349 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18350 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18351 * sysdeps/ieee754/s_lib_version.c: Likewise.
18352 * sysdeps/ieee754/s_matherr.c: Likewise.
18353 * sysdeps/ieee754/s_signgam.c: Likewise.
18354 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18355 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18356 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18357 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18358 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18359 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18360 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18361 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18362 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18363 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18364 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18365 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18366 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18367 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18368 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18369 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18370 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18371 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18372 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18373 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18374 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18375
1991fa03
JM
183762012-03-09 Joseph Myers <joseph@codesourcery.com>
18377
18378 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18379 * sunrpc/rpc_main.c: Likewise.
18380 * sunrpc/rpc_svcout.c: Likewise.
18381
60d6f5a6
DM
183822012-03-09 David S. Miller <davem@davemloft.net>
18383
18384 * include/math_private.h: New file.
18385
4962050e
JM
183862012-03-09 Joseph Myers <joseph@codesourcery.com>
18387
02a6f887
JM
18388 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18389 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18390 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18391 from <bits/socket_type.h>.
18392 (enum __socket_type): Don't define here.
18393 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18394 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18395 bits/socket_type.h.
18396
c6e013c1
JM
18397 [BZ #13566]
18398 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18399 checking __USE_GNU.
18400
4962050e
JM
18401 * Makerules ($(inst_includedir)/%.h): New rule.
18402 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18403 (install-others): Remove variable setting.
18404 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18405
38842f45
RH
184062012-03-08 Richard Henderson <rth@twiddle.net>
18407
67bb6da6
RH
18408 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18409 from macro to inline function; merge with the
18410 !__LIBC_INTERNAL_MATH_INLINES version.
18411 (__ieee754_sqrtf): Likewise.
18412
15194b4b
RH
18413 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18414 to inline function.
18415 (__rintf, __floor, __floorf): Likewise.
18416
64e21ede
RH
18417 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18418 macro to inline function.
18419 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18420
38842f45
RH
18421 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18422 not <math/math_private.h>.
18423
c64bf5fe
DM
184242012-03-08 David S. Miller <davem@davemloft.net>
18425
18426 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18427 copyright year.
18428 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18429
82d86f28
TS
184302012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18431
18432 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18433 normalization.
18434 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18435 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18436
aea5d727
UD
184372012-03-08 Ulrich Drepper <drepper@gmail.com>
18438
18439 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18440 be defined individually, they must be defined as a block. Define
18441 S for printing a string instead of hidint the different by using a
18442 macro for adding the 'l'.
18443 * stdio-common/tst-fphex-wide.c: Adjust.
18444
70bca0a3
MP
184452012-03-07 Marek Polacek <polacek@redhat.com>
18446
18447 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18448
65b81130
MP
184492012-03-08 Marek Polacek <polacek@redhat.com>
18450
18451 [BZ #13806]
18452 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18453 * stdio-common/tst-fphex.c: Define a few macros to make the
18454 test reusable. Use them.
18455 * stdio-common/tst-fphex-wide.c: New file.
18456
07037eeb
JM
184572012-03-08 Joseph Myers <joseph@codesourcery.com>
18458
a7a93d50
JM
18459 [BZ #6911]
18460 * manual/macros.texi (gnusystems): New macro.
18461 (nongnusystems): Likewise.
18462 (gnulinuxhurdsystems): Likewise.
18463 (gnuhurdsystems): Likewise..
18464 (gnulinuxsystems): Likewise.
18465 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18466 variants of the GNU system, not "GNU system".
18467 * manual/conf.texi: Likewise.
18468 * manual/errno.texi: Likewise. Update example of errno macro
18469 expansion.
18470 * manual/filesys.texi: Likewise.
18471 (getumask): Document as specific to GNU/Hurd.
18472 * manual/install.texi: Likewise. Reword some references to
18473 GNU/Linux.
18474 * manual/intro.texi: Likewise.
18475 * manual/io.texi: Likewise.
18476 (File Name Portability): Detail which constraints are inapplicable
18477 to all GNU systems and which are only inapplicable to GNU/Hurd.
18478 * manual/job.texi: Likewise.
18479 * manual/llio.texi: Likewise.
18480 (O_NOCTTY): Document as present on GNU/Linux.
18481 * manual/maint.texi: Likewise.
18482 * manual/memory.texi: Likewise.
18483 * manual/pattern.texi: Likewise.
18484 * manual/pipe.texi: Likewise.
18485 * manual/process.texi: Likewise.
18486 * manual/resource.texi: Likewise.
18487 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18488 child on GNU/Hurd.
18489 * manual/setjmp.texi: Likewise.
18490 * manual/signal.texi: Likewise.
18491 * manual/startup.texi: Likewise.
18492 * manual/stdio.texi: Likewise.
18493 * manual/terminal.texi: Likewise.
18494 (ONLCR): Document as POSIX.
18495 (OXTABS): Document availability on GNU/Linux as XTABS.
18496 (ONOEOT): Document availability separately from other bits.
18497 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18498 * manual/time.texi: Likewise.
18499 * manual/users.texi: Likewise.
18500 * INSTALL: Regenerated.
18501 * sysdeps/gnu/errlist.c: Regenerated.
18502
07037eeb
JM
18503 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18504 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18505 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18506 puts.
18507 * configure: Regenerated.
18508
d1d3431a
JM
185092012-03-07 Joseph Myers <joseph@codesourcery.com>
18510
af6a1e37
JM
18511 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18512 default includes instead of AC_HEADER_CHECK.
18513 * sysdeps/i386/configure: Regenerated.
18514
d1d3431a
JM
18515 [BZ #10716]
18516 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18517 * math/s_cacoshf.c (__cacoshf): Likewise.
18518 * math/s_cacoshl.c (__cacoshl): Likewise.
18519 * math/s_casinh.c (__casinh): Set signs of result from argument.
18520 * math/s_casinhf.c (__casinhf): Likewise.
18521 * math/s_casinhl.c (__casinhl): Likewise.
18522 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18523 (casinh_test): Add more tests.
18524 * sysdeps/i386/fpu/libm-test-ulps: Update.
18525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18526
482ff4da
UD
185272012-03-07 Ulrich Drepper <drepper@gmail.com>
18528
872fda05
UD
18529 * po/zh_TW.po: Update from translation team.
18530
a4300c7a
UD
18531 * login/Makefile (distribute): Remove variable.
18532 * catgets/Makefile: Likewise.
18533 * mach/Makefile: Likewise.
18534 * malloc/Makefile: Likewise.
18535 * misc/Makefile: Likewise.
18536 * iconv/Makefile: Likewise.
18537 * nscd/Makefile: Likewise.
18538 * hurd/Makefile: Likewise.
18539 * manual/Makefile: Likewise.
18540 * locale/Makefile: Likewise.
18541 * intl/Makefile: Likewise.
18542 * conform/Makefile: Likewise.
18543 * nss/Makefile: Likewise.
18544 * time/Makefile: Likewise.
18545 * soft-fp/Makefile: Likewise.
18546 * dirent/Makefile: Likewise.
18547 * gmon/Makefile: Likewise.
18548 * po/Makefile: Likewise.
18549 * rt/Makefile: Likewise.
18550 * socket/Makefile: Likewise.
18551 * math/Makefile: Likewise.
18552 * signal/Makefile: Likewise.
18553 * debug/Makefile: Likewise.
18554 * elf/Makefile: Likewise.
18555 * timezone/Makefile: Likewise.
18556 * stdlib/Makefile: Likewise.
18557 * iconvdata/Makefile: Likewise.
18558 * sunrpc/Makefile: Likewise.
18559 * io/Makefile: Likewise.
18560 * argp/Makefile: Likewise.
18561 * inet/Makefile: Likewise.
18562 * hesiod/Makefile: Likewise.
18563 * grp/Makefile: Likewise.
18564 * csu/Makefile: Likewise.
18565 * wctype/Makefile: Likewise.
18566 * crypt/Makefile: Likewise.
18567 * libio/Makefile: Likewise.
18568 * string/Makefile: Likewise.
18569 * nis/Makefile: Likewise.
18570 * resolv/Makefile: Likewise.
18571 * stdio-common/Makefile: Likewise.
18572 * wcsmbs/Makefile: Likewise.
18573 * dlfcn/Makefile: Likewise.
18574 * posix/Makefile: Likewise.
18575
3b7c4e74 18576 [BZ #6959]
482ff4da
UD
18577 * timezone/Makefile: Don't install timezone files, just the programs
18578 and scripts.
18579
f72ed77d
UD
185802012-03-06 Ulrich Drepper <drepper@gmail.com>
18581
a000466f
UD
18582 * nss/databases.def: Add missing gshadow entry.
18583
f72ed77d
UD
18584 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18585
a53b7a4e
MP
185862012-03-06 Marek Polacek <polacek@redhat.com>
18587
18588 [BZ #13726]
18589 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18590 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18591 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18592 * stdio-common/tst-long-dbl-fphex.c: New file.
18593
e9258400
DM
185942012-03-06 David S. Miller <davem@davemloft.net>
18595
18596 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18597 (set_obp_int): New function.
18598 (get_obp_int): New function.
18599 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18600 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18601 Avoid unused variable warnings on 'val' and use builtin_expect.
18602 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18603 __builtin_expect.
e9258400
DM
18604 (INLINE_CLONE_SYSCALL): Likewise.
18605
3bd2c723
DM
186062012-03-05 David S. Miller <davem@davemloft.net>
18607
18608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18609
bbb78d03
AS
186102012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18611
884c5db4
AS
18612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18613
bbb78d03
AS
18614 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18615 only for |x| >= 40.
18616 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18617
1c9f702a 186182012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18619
18620 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18621 Replace gettimeofday with __vdso_gettimeofday.
18622
7be16f82
RM
18623 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18624 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18625 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18626
18627 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18628 time with __vdso_time.
18629
ed58a00f
JM
186302012-03-05 Joseph Myers <joseph@codesourcery.com>
18631
18632 * manual/lang.texi (size_t): Note types to which size_t may be
18633 equivalent with the GNU C Library, but do not describe when
18634 differences between them are significant.
18635
30ee4ced
AJ
186362012-03-05 Andreas Jaeger <aj@suse.de>
18637
18638 * sysdeps/i386/fpu/libm-test-ulps: Update.
18639
b7cd39e8
JM
186402012-03-05 Joseph Myers <joseph@codesourcery.com>
18641
18642 [BZ #3976]
18643 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18644 (__ieee754_pow): Save and restore rounding mode and use
18645 round-to-nearest for main computations.
18646 * math/libm-test.inc (pow_test_tonearest): New function.
18647 (pow_test_towardzero): Likewise.
18648 (pow_test_downward): Likewise.
18649 (pow_test_upward): Likewise.
18650 (main): Call the new functions.
18651 * sysdeps/i386/fpu/libm-test-ulps: Update.
18652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18653
18654 [BZ #3976]
18655 * math/libm-test.inc (cosh_test_tonearest): New function.
18656 (cosh_test_towardzero): Likewise.
18657 (cosh_test_downward): Likewise.
18658 (cosh_test_upward): Likewise.
18659 (sinh_test_tonearest): Likewise.
18660 (sinh_test_towardzero): Likewise.
18661 (sinh_test_downward): Likewise.
18662 (sinh_test_upward): Likewise.
18663 (main): Call the new functions.
18664 * sysdeps/i386/fpu/libm-test-ulps: Update.
18665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18666
6c6a98c9
TV
186672012-03-05 Tom de Vries <tom@codesourcery.com>
18668
18669 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18670 default stack guard is set in last bytes.
18671 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18672
21bb2d2e 186732012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18674
21bb2d2e 18675 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18676
21bb2d2e
AJ
18677 [BZ #13656]
18678 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18679 possibly allocate from heap instead of stack.
18680 * stdio-common/bug-vfprintf-nargs.c: New file.
18681 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18682
c6922934
AS
186832012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18684
18685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18686
bc957d53
MP
186872012-03-03 Marek Polacek <polacek@redhat.com>
18688
18689 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18690 * math/math_private.h: Likewise.
18691 * stdlib/tst-strtod.c: Likewise.
18692 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18693 * sysdeps/x86_64/bits/atomic.h: Likewise.
18694
6358490d
DM
186952012-03-02 David S. Miller <davem@davemloft.net>
18696
18697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18701 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18702 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18703 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18704 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18705
01ae168d
RM
187062012-03-02 Roland McGrath <roland@hack.frob.com>
18707
d9a17c07
RM
18708 [BZ #13792]
18709 * manual/examples/README: New file, says the example source files
18710 can be used under GPL>=2.
18711 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18712 line containing just "*/".
18713 * manual/examples/add.c: Add copyright header (GPL>=2).
18714 * manual/examples/argp-ex1.c: Likewise.
18715 * manual/examples/argp-ex2.c: Likewise.
18716 * manual/examples/argp-ex3.c: Likewise.
18717 * manual/examples/argp-ex4.c: Likewise.
18718 * manual/examples/atexit.c: Likewise.
18719 * manual/examples/db.c: Likewise.
18720 * manual/examples/dir.c: Likewise.
18721 * manual/examples/dir2.c: Likewise.
18722 * manual/examples/execinfo.c: Likewise.
18723 * manual/examples/filecli.c: Likewise.
18724 * manual/examples/filesrv.c: Likewise.
18725 * manual/examples/fmtmsgexpl.c: Likewise.
18726 * manual/examples/genpass.c: Likewise.
18727 * manual/examples/inetcli.c: Likewise.
18728 * manual/examples/inetsrv.c: Likewise.
18729 * manual/examples/isockad.c: Likewise.
18730 * manual/examples/longopt.c: Likewise.
18731 * manual/examples/memopen.c: Likewise.
18732 * manual/examples/memstrm.c: Likewise.
18733 * manual/examples/mkfsock.c: Likewise.
18734 * manual/examples/mkisock.c: Likewise.
18735 * manual/examples/mygetpass.c: Likewise.
18736 * manual/examples/pipe.c: Likewise.
18737 * manual/examples/popen.c: Likewise.
18738 * manual/examples/rprintf.c: Likewise.
18739 * manual/examples/search.c: Likewise.
18740 * manual/examples/select.c: Likewise.
18741 * manual/examples/setjmp.c: Likewise.
18742 * manual/examples/sigh1.c: Likewise.
18743 * manual/examples/sigusr.c: Likewise.
18744 * manual/examples/stpcpy.c: Likewise.
18745 * manual/examples/strdupa.c: Likewise.
18746 * manual/examples/strftim.c: Likewise.
18747 * manual/examples/strncat.c: Likewise.
18748 * manual/examples/subopt.c: Likewise.
18749 * manual/examples/swapcontext.c: Likewise.
18750 * manual/examples/termios.c: Likewise.
18751 * manual/examples/testopt.c: Likewise.
18752 * manual/examples/testpass.c: Likewise.
18753 * manual/examples/timeval_subtract.c: Likewise.
18754
01ae168d
RM
18755 [BZ #13792]
18756 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18757 function to ...
18758 * manual/timeval_subtract.c.texi: ... here, new file.
18759
49efa33d
DM
187602012-03-02 David S. Miller <davem@davemloft.net>
18761
18762 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18763
28afd92d
JM
187642012-03-02 Joseph Myers <joseph@codesourcery.com>
18765
804360ed
JM
18766 [BZ #3976]
18767 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18768 (__sin): Save and restore rounding mode and use round-to-nearest
18769 for all computations.
18770 (__cos): Save and restore rounding mode and use round-to-nearest
18771 for all computations.
18772 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18773 <fenv.h>.
18774 (tan): Save and restore rounding mode and use round-to-nearest for
18775 all computations.
18776 * math/libm-test.inc (cos_test_tonearest): New function.
18777 (cos_test_towardzero): Likewise.
18778 (cos_test_downward): Likewise.
18779 (cos_test_upward): Likewise.
18780 (sin_test_tonearest): Likewise.
18781 (sin_test_towardzero): Likewise.
18782 (sin_test_downward): Likewise.
18783 (sin_test_upward): Likewise.
18784 (tan_test_tonearest): Likewise.
18785 (tan_test_towardzero): Likewise.
18786 (tan_test_downward): Likewise.
18787 (tan_test_upward): Likewise.
18788 (main): Call the new functions.
18789 * sysdeps/i386/fpu/libm-test-ulps: Update.
18790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18791
a6d06d7b
JM
18792 [BZ #10135]
18793 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18794 small n, then large n, before computing and testing k+n.
18795 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18796 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18797 Likewise.
18798 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18799 Likewise.
18800 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18801 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18802 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18803 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18804 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18805 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18806 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18807 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18808 * math/libm-test.inc (scalbn_test): Add more tests.
18809 (scalbln_test): Likewise.
18810
07e12bb3
JM
18811 * manual/filesys.texi (mode_t): Describe constraints on size and
18812 signedness, not exact equivalence to a particular type.
18813 (ino_t): Likewise.
18814 (ino64_t): Likewise.
18815 (dev_t): Likewise.
18816 (nlink_t): Likewise.
18817 (blkcnt_t): Likewise.
18818 (blkcnt64_t): Likewise.
18819 * manual/llio.texi (off_t): Likewise.
18820
28afd92d
JM
18821 [BZ #3976]
18822 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18823 (__ieee754_exp): Save and restore rounding mode and use
18824 round-to-nearest for all computations.
18825 * math/libm-test.inc (exp_test_tonearest): New function.
18826 (exp_test_towardzero): Likewise.
18827 (exp_test_downward): Likewise.
18828 (exp_test_upward): Likewise.
18829 (main): Call the new functions.
18830 * sysdeps/i386/fpu/libm-test-ulps: Update.
18831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18832
b1eeb65d
CD
188332012-03-01 Chris Demetriou <cgd@google.com>
18834
18835 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18836 have predictable order.
18837
53362a4b
DM
188382012-03-01 David S. Miller <davem@davemloft.net>
18839
3c969083
DM
18840 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18841
759707de
DM
18842 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18843 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18844 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18845 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18846
dfdb8ff2
DM
18847 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18848 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18849 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18851 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18852 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18853 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18854 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18855 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18856
ead89f96
DM
18857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18858
7f66bd07
DM
18859 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18860 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18861 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18862
53362a4b
DM
18863 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18864 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18865 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18866 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18867 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18868 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18869 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18870 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18871 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18872 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18873 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18874 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18875 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18876 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18877 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18878 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18879 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18880 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18881 * sysdeps/sparc/elf/configure: Regenerated.
18882
7b1902cb
JM
188832012-03-01 Joseph Myers <joseph@codesourcery.com>
18884
bec039bc
JM
18885 * configure.in (AS, LD): Require binutils 2.20 or later.
18886 * configure: Regenerated.
18887 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18888 as required minimum version.
18889 * INSTALL: Regenerated.
18890
7b1902cb
JM
18891 [BZ #2541]
18892 [BZ #4108]
18893 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18894 before squaring exponent.
18895 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18896 bottom long double and 27 bits of top long double before squaring
18897 exponent.
18898 * math/libm-test.inc (erfc_test): Add more tests.
18899 * sysdeps/i386/fpu/libm-test-ulps: Update.
18900 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18902
f775c276
KT
189032012-03-01 Kai Tietz <ktietz@redhat.com>
18904
18905 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18906 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18907 containing bit-fields.
18908 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18909 * soft-fp/single.h (_FP_UNION_S): Likewise.
18910 * soft-fp/double.h (_FP_UNION_D): Likewise.
18911
5b8a4d4a
JM
189122012-02-29 Joseph Myers <joseph@codesourcery.com>
18913
0bab47b6
JM
18914 [BZ #13786]
18915 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18916 not include ../strcmp.S.
18917 [USE_AS_STRNCASECMP_L]: Likewise.
18918 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18919 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18920 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18921 (__strncasecmp_l_ia32): Define as alias to
18922 __strncasecmp_l_nonascii.
18923
0fcad3e2
JM
18924 [BZ #5794]
18925 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18926 * sysdeps/i386/fpu/libm-test-ulps: Update.
18927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18928
5b8a4d4a
JM
18929 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18931
8fdceb2e
JL
189322012-02-29 Jeff Law <law@redhat.com>
18933
18934 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18935 out of bounds read.
18936
1f393a11
MP
189372012-02-29 Marek Polacek <polacek@redhat.com>
18938
18939 [BZ #13706]
18940 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18941 * elf/Makefile: Add rules to run tst-unused-dep.out.
18942
8847f037
DM
189432012-02-28 David S. Miller <davem@davemloft.net>
18944
18945 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18946 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18947 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18948 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18949 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18950 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18951
169d7f11
JM
189522012-02-29 Joseph Myers <joseph@codesourcery.com>
18953
18954 * math/libm-test.inc (llround_test): Move one test from
18955 lround_test. Use TEST_f_L in moved test.
18956 (lround_test): Move misplaced test to llround_test. Add testcase
18957 from bug 2561.
18958
39adf059
UD
189592012-02-28 Ulrich Drepper <drepper@gmail.com>
18960
18961 * sysdeps/x86_64/fpu/e_expf.S: New file.
18962 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18963
71b5d1c5
SB
189642012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18965
18966 [BZ #13637]
18967 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18968 of remain_len that may cause incomplete multi-byte character and
18969 false match.
18970 * posix/bug-regex33.c: New file.
18971 * posix/Makefile (tests): Add bug-regex33.
18972
1f77f049
JM
189732012-02-28 Joseph Myers <joseph@codesourcery.com>
18974
18975 * manual/macros.texi: New file.
18976 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18977 * manual/libc.texinfo: Include macros.texi.
18978 * manual/creatute.texi: Likewise.
18979 * manual/install.texi: Likewise.
18980 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18981 @glibcadj{} in references to the GNU C Library.
18982 * manual/charset.texi: Likewise.
18983 * manual/conf.texi: Likewise.
18984 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18985 when not using those macros.
18986 * manual/creature.texi: Likewise.
18987 * manual/crypt.texi: Likewise.
18988 * manual/errno.texi: Likewise.
18989 * manual/filesys.texi: Likewise.
18990 * manual/header.texi: Likewise.
18991 * manual/install.texi: Likewise.
18992 * manual/intro.texi: Likewise.
18993 * manual/io.texi: Likewise.
18994 * manual/job.texi: Likewise.
18995 * manual/lang.texi: Likewise.
18996 * manual/libc.texiinfo: Likewise.
18997 * manual/llio.texi: Likewise.
18998 * manual/locale.texi: Likewise.
18999 * manual/maint.texi: Likewise.
19000 * manual/math.texi: Likewise.
19001 * manual/memory.texi: Likewise.
19002 * manual/message.texi: Likewise.
19003 * manual/nss.texi: Likewise.
19004 * manual/pattern.texi: Likewise.
19005 * manual/process.texi: Likewise.
19006 * manual/resource.texi: Likewise.
19007 * manual/search.texi: Likewise.
19008 * manual/setjmp.texi: Likewise.
19009 * manual/signal.texi: Likewise.
19010 * manual/socket.texi: Likewise.
19011 * manual/startup.texi: Likewise.
19012 * manual/stdio.texi: Likewise.
19013 * manual/string.texi: Likewise.
19014 * manual/sysinfo.texi: Likewise.
19015 * manual/syslog.texi: Likewise.
19016 * manual/terminal.texi: Likewise.
19017 * manual/time.texi: Likewise.
19018 * manual/users.texi: Likewise.
19019 * INSTALL: Regenerated.
19020 * NOTES: Regenerated.
d40c5d54 19021 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19022
450bf206
AS
190232012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19024
19025 * include/dirent.h: Include <dirstream.h> before
19026 <dirent/dirent.h>.
19027
741a235b
DM
190282012-02-28 David S. Miller <davem@davemloft.net>
19029
19030 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19031 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19032 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19033 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19034
d6b5aa58
DM
190352012-02-27 David S. Miller <davem@davemloft.net>
19036
1aff59a3
DM
19037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19039 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19040 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19041
d6b5aa58
DM
19042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19043 frame pointer instead of stack pointer relative arg slot.
19044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19045 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19046 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19047
433f48bf
CD
190482012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19049
19050 [BZ #3992]
19051 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19052
d674b76d
DM
190532012-02-27 David S. Miller <davem@davemloft.net>
19054
19055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19059 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19060 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19061 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19062 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19063
0e7727f7
JM
190642012-02-27 Joseph Myers <joseph@codesourcery.com>
19065
19066 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19067 later. Allow versions 5-9.
43be4ca2 19068 * configure: Regenerated.
0e7727f7
JM
19069 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19070 required minimum version and 4.6 as recommended version. Do not
19071 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19072 * INSTALL: Regenerated.
0e7727f7 19073
a78bc654
DM
190742012-02-27 David S. Miller <davem@davemloft.net>
19075
428d5830
DM
19076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19080 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19081 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19082 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19083 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19084
a78bc654
DM
19085 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19086 manipulate bits before adding and subtracting TWO112[sx].
19087 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19088
4579f81c
RM
190892012-02-27 Roland McGrath <roland@hack.frob.com>
19090
36c8acb4
RM
19091 [BZ #13775]
19092 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19093 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19094 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19095 being in POSIX, because they are in 1003.1-2008.
19096
84ad622b
RM
19097 * rt/tst-aio.c: Include <fcntl.h>.
19098 * rt/tst-aio7.c: Likewise.
19099 * rt/tst-aio64.c: Likewise.
19100
4579f81c
RM
19101 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19102
abd923db
JM
191032012-02-27 Joseph Myers <joseph@codesourcery.com>
19104
19105 * manual/install.texi (--with-headers): Describe headers as
19106 interface headers, not private headers.
19107 (Specific advice for GNU/Linux systems): Describe use of headers
19108 from "make headers_install", not private headers from older
19109 kernels.
43be4ca2 19110 * INSTALL: Regenerated.
abd923db
JM
19111 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19112 Change to 2.6.19.
19113 * sysdeps/unix/sysv/linux/configure: Regenerated.
19114
6664049b
JM
19115 * manual/llio.texi (fclean): Remove documentation.
19116
bb8b6697
JM
19117 * manual/Makefile (libc-texi-generated): New variable. Include
19118 version.texi.
19119 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19120 $(libc-texi-generated), not duplicated list of files.
19121 (version.texi, stamp-version): New rules.
19122 (realclean): Remove $(libc-texi-generated), not individual files
19123 from that list. Do not remove dir-add.texinfo.
19124 * manual/libc.texinfo: Comment out uses of edition numbers and
19125 references to printed manual. Remove last-updated dates.
19126 (EDITION): Comment out.
19127 (ISBN): Likewise.
19128 (VERSION, UPDATED): Remove.
19129 (version.texi): Include.
19130
12e5c3b9
AS
191312012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19132
19133 * sysdeps/posix/spawni.c: Include <signal.h>.
19134 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19135 * sysdeps/pthread/aio_fsync.c: Likewise.
19136
4efeffc1 191372012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19138
ba63ba08
UD
19139 * conform/Makefile (tests): Run only when not cross-compiling and
19140 when fast-check is not defined.
19141
d94a4670
UD
19142 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19143 * conform/data/limits.h-data: Fixes for POSIX2008.
19144 * conform/run-conformtest.sh: Run all tests.
19145 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19146 headers.
19147 * include/bits/dlfcn.h: Likewise.
19148 * include/langinfo.h: Likewise.
19149 * include/monetary.h: Likewise.
19150 * include/sys/poll.h: Likewise.
19151
19152 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19153 for __USE_GNU.
19154 * posix/spawn.h: Define __need_sigset_t.
19155 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19156 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19157 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19158 to get sigevent_t only.
19159 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19160 only for __USE_GNU.
19161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19162 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19163 process_vm_writev only for __USE_GNU.
19164 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19165
19166 * conform/Makefile: For now ignore errors from run-conformtest.
19167 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19168 POSIX to avoid namespace pollution. Don't prepend headers.
19169 * conform/data/aio.h-data: Fixes for POSIX testing.
19170 * conform/data/fcntl.h-data: Likewise.
19171 * conform/data/glob.h-data: Likewise.
19172 * conform/data/grp.h-data: Likewise.
19173 * conform/data/pthread.h-data: Likewise.
19174 * conform/data/pwd.h-data: Likewise.
19175 * conform/data/signal.h-data: Likewise.
19176 * conform/data/spawn.h-data: Likewise.
19177 * conform/data/stdio.h-data: Likewise.
19178 * conform/data/stdlib.h-data: Likewise.
19179 * conform/data/stropts.h-data: Likewise.
19180 * conform/data/sys/mman.h-data: Likewise.
19181 * conform/data/sys/stat.h-data: Likewise.
19182 * conform/data/sys/types.h-data: Likewise.
19183 * conform/data/sys/wait.h-data: Likewise.
19184 * conform/data/time.h-data: Likewise.
19185 * conform/data/unistd.h-data: Likewise.
19186 * conform/data/utime.h-data: Likewise.
19187
19188 * io/sys/stat.h: fchmod was always in POSIX.
19189 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19190 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19191 * rt/aio.h: Define __need_timespec before including <time.h>.
19192 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19193 struct. Add forward declaration of pthread_attr_t and use it in
19194 sigevent.
19195 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19196 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19197 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19198 always remove CLK_TCK definition.
19199
c20105c3
AS
192002012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19201
19202 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19203
7a270350
UD
192042012-02-25 Ulrich Drepper <drepper@gmail.com>
19205
31341567
UD
19206 * conform/run-conformtest.sh: New file.
19207 * conform/Makefile: Run run-conformtest for tests.
19208 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19209 support.
19210
19211 * conform/data/uchar.h-data: New file.
19212 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19213 * conform/data/arpa/inet.h-data: Likewise.
19214 * conform/data/assert.h-data: Likewise.
19215 * conform/data/complex.h-data: Likewise.
19216 * conform/data/cpio.h-data: Likewise.
19217 * conform/data/ctype.h-data: Likewise.
19218 * conform/data/dirent.h-data: Likewise.
19219 * conform/data/dlfcn.h-data: Likewise.
19220 * conform/data/errno.h-data: Likewise.
19221 * conform/data/fcntl.h-data: Likewise.
19222 * conform/data/float.h-data: Likewise.
19223 * conform/data/fmtmsg.h-data: Likewise.
19224 * conform/data/fnmatch.h-data: Likewise.
19225 * conform/data/ftw.h-data: Likewise.
19226 * conform/data/glob.h-data: Likewise.
19227 * conform/data/grp.h-data: Likewise.
19228 * conform/data/iconv.h-data: Likewise.
19229 * conform/data/inttypes.h-data: Likewise.
19230 * conform/data/langinfo.h-data: Likewise.
19231 * conform/data/libgen.h-data: Likewise.
19232 * conform/data/limits.h-data: Likewise.
19233 * conform/data/locale.h-data: Likewise.
19234 * conform/data/math.h-data: Likewise.
19235 * conform/data/monetary.h-data: Likewise.
19236 * conform/data/mqueue.h-data: Likewise.
19237 * conform/data/ndbm.h-data: Likewise.
19238 * conform/data/net/if.h-data: Likewise.
19239 * conform/data/netdb.h-data: Likewise.
19240 * conform/data/netinet/in.h-data: Likewise.
19241 * conform/data/nl_types.h-data: Likewise.
19242 * conform/data/poll.h-data: Likewise.
19243 * conform/data/pthread.h-data: Likewise.
19244 * conform/data/pwd.h-data: Likewise.
19245 * conform/data/regex.h-data: Likewise.
19246 * conform/data/sched.h-data: Likewise.
19247 * conform/data/search.h-data: Likewise.
19248 * conform/data/semaphore.h-data: Likewise.
19249 * conform/data/setjmp.h-data: Likewise.
19250 * conform/data/signal.h-data: Likewise.
19251 * conform/data/spawn.h-data: Likewise.
19252 * conform/data/stdarg.h-data: Likewise.
19253 * conform/data/stdio.h-data: Likewise.
19254 * conform/data/stdlib.h-data: Likewise.
19255 * conform/data/string.h-data: Likewise.
19256 * conform/data/strings.h-data: Likewise.
19257 * conform/data/stropts.h-data: Likewise.
19258 * conform/data/sys/ipc.h-data: Likewise.
19259 * conform/data/sys/mman.h-data: Likewise.
19260 * conform/data/sys/msg.h-data: Likewise.
19261 * conform/data/sys/resource.h-data: Likewise.
19262 * conform/data/sys/select.h-data: Likewise.
19263 * conform/data/sys/sem.h-data: Likewise.
19264 * conform/data/sys/shm.h-data: Likewise.
19265 * conform/data/sys/socket.h-data: Likewise.
19266 * conform/data/sys/stat.h-data: Likewise.
19267 * conform/data/sys/statvfs.h-data: Likewise.
19268 * conform/data/sys/time.h-data: Likewise.
19269 * conform/data/sys/timeb.h-data: Likewise.
19270 * conform/data/sys/times.h-data: Likewise.
19271 * conform/data/sys/types.h-data: Likewise.
19272 * conform/data/sys/uio.h-data: Likewise.
19273 * conform/data/sys/un.h-data: Likewise.
19274 * conform/data/sys/utsname.h-data: Likewise.
19275 * conform/data/sys/wait.h-data: Likewise.
19276 * conform/data/syslog.h-data: Likewise.
19277 * conform/data/tar.h-data: Likewise.
19278 * conform/data/termios.h-data: Likewise.
19279 * conform/data/utime.h-data: Likewise.
19280 * conform/data/utmpx.h-data: Likewise.
19281 * conform/data/varargs.h-data: Likewise.
19282 * conform/data/wchar.h-data: Likewise.
19283 * conform/data/wctype.h-data: Likewise.
19284 * conform/data/wordexp.h-data: Likewise.
19285
19286 * include/stropts.h: New file.
19287 * include/uchar.h: New file.
19288 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19289 * include/assert.h: Likewise.
19290 * include/ctype.h: Likewise.
19291 * include/dirent.h: Likewise.
19292 * include/dlfcn.h: Likewise.
19293 * include/fcntl.h: Likewise.
19294 * include/fnmatch.h: Likewise.
19295 * include/glob.h: Likewise.
19296 * include/grp.h: Likewise.
19297 * include/libio.h: Likewise.
19298 * include/locale.h: Likewise.
19299 * include/math.h: Likewise.
19300 * include/net/if.h: Likewise.
19301 * include/netdb.h: Likewise.
19302 * include/netinet/in.h: Likewise.
19303 * include/pthread.h: Likewise.
19304 * include/pwd.h: Likewise.
19305 * include/regex.h: Likewise.
19306 * include/sched.h: Likewise.
19307 * include/search.h: Likewise.
19308 * include/setjmp.h: Likewise.
19309 * include/signal.h: Likewise.
19310 * include/stdio.h: Likewise.
19311 * include/stdlib.h: Likewise.
19312 * include/string.h: Likewise.
19313 * include/sys/cdefs.h: Likewise.
19314 * include/sys/mman.h: Likewise.
19315 * include/sys/msg.h: Likewise.
19316 * include/sys/resource.h: Likewise.
19317 * include/sys/select.h: Likewise.
19318 * include/sys/socket.h: Likewise.
19319 * include/sys/stat.h: Likewise.
19320 * include/sys/statvfs.h: Likewise.
19321 * include/sys/time.h: Likewise.
19322 * include/sys/times.h: Likewise.
19323 * include/sys/uio.h: Likewise.
19324 * include/sys/utsname.h: Likewise.
19325 * include/sys/wait.h: Likewise.
19326 * include/termios.h: Likewise.
19327 * include/time.h: Likewise.
19328 * include/ulimit.h: Likewise.
19329 * include/unistd.h: Likewise.
19330 * include/utime.h: Likewise.
19331 * include/wchar.h: Likewise.
19332 * include/wctype.h: Likewise.
19333 * include/wordexp.h: Likewise.
19334
19335 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19336
7a270350
UD
19337 * time/time.h: TIME_UTC must be a macro.
19338 Make timespec_get available for ISO C11 only as well.
19339
7724defc
UD
193402012-02-24 Ulrich Drepper <drepper@gmail.com>
19341
19342 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19343 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19344
6b1d1d46
JM
193452012-02-24 Joseph Myers <joseph@codesourcery.com>
19346
19347 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19348
0f8bbd69
JM
193492012-02-24 Joseph Myers <joseph@codesourcery.com>
19350
19351 * manual/texinfo.tex: Update to version 2012-01-19.16.
19352
66ab80bc
JM
193532012-02-24 Joseph Myers <joseph@codesourcery.com>
19354
19355 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19356
74981cc5
RM
193572012-02-24 Roland McGrath <roland@hack.frob.com>
19358
ee968201
RM
19359 [BZ #13738]
19360 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19361 * manual/fdl-1.3.texi: New file.
19362 * manual/fdl-1.1.texi: File removed.
19363
74981cc5
RM
19364 [BZ #13738]
19365 * manual/libc.texinfo (FDL_VERSION): New @set.
19366 Use it for mention of FDL in cover text.
19367 (Documentation License): Use it in @include file name.
19368
7bb764bc
JM
193692012-02-22 Joseph Myers <joseph@codesourcery.com>
19370 Roland McGrath <roland@hack.frob.com>
19371
19372 [BZ #5461]
19373 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19374 not LONG_LONG_MAX and LONG_LONG_MIN.
19375 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19376 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19377 name.
19378 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19379
6cbeae47
JM
193802012-02-22 Joseph Myers <joseph@codesourcery.com>
19381
19382 [BZ #2547]
19383 [BZ #11365]
19384 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19385 manipulate bits before adding and subtracting TWO23[sx].
19386 * math/libm-test.inc (nearbyint_test): Add more tests.
19387
fe45ce09
JM
193882012-02-22 Joseph Myers <joseph@codesourcery.com>
19389
19390 [BZ #2548]
19391 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19392 bits before adding and subtracting TWO23[sx].
19393 * math/libm-test.inc (rint_test): Add more tests.
19394 (rint_test_tonearest): Likewise.
19395 (rint_test_towardzero): Likewise.
19396 (rint_test_downward): Likewise.
19397 (rint_test_upward: Likewise.
19398
ff3b3d82
JM
193992012-02-22 Joseph Myers <joseph@codesourcery.com>
19400
19401 [BZ #10110]
19402 * include/stdc-predef.h: New file. Extracted from features.h.
19403 * include/features.h: Include stdc-predef.h.
19404 * Makefile (headers): Add stdc-predef.h.
19405 * CONFORMANCE (Compiler limitations): Update.
19406
ef0aab35
JM
194072012-02-22 Joseph Myers <joseph@codesourcery.com>
19408
19409 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19410
58639409
DM
194112012-02-21 David S. Miller <davem@davemloft.net>
19412
19413 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19414 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19415
c0e70b25
DM
194162012-02-20 David S. Miller <davem@davemloft.net>
19417
19418 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19419 using a normal save/restore sequence, rather than allocating a
19420 dummy stack frame just to store a frame pointer and restore.
19421 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19422
fb06851d
JM
194232012-02-21 Joseph Myers <joseph@codesourcery.com>
19424
19425 * manual/install.texi: Fix stray word in line-wrapped comment.
19426
7a8b71c3
DM
194272012-02-20 David S. Miller <davem@davemloft.net>
19428
d510c123
DM
19429 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19430 both binutils and gcc support GOTDATA.
19431
0722d7c2
DM
19432 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19433 "rd %pc" in the PIC register setup sequences.
19434
3d2b3019
DM
19435 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19436 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19437 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19438 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19439 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19440 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19441 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19442 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19443 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19444 (SYSCALL_ERROR_HANDLER): Likewise.
19445 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19446 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19447 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19448 (SYSCALL_ERROR_HANDLER): Likewise.
19449
c80098a9
DM
19450 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19451 (HAVE_GCC_GOTDATA): New.
19452 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19453 relocation support in both binutils and gcc.
19454 * sysdeps/sparc/elf/configure: Regenerate.
19455
3a2545a0
DM
19456 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19457 * sysdeps/sparc/sparc32/elf/configure: Delete.
19458 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19459 * sysdeps/sparc/sparc64/elf/configure: Delete.
19460 * sysdeps/sparc/elf/configure.in: New file.
19461 * sysdeps/sparc/elf/configure: Generate.
19462
7a8b71c3
DM
19463 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19464 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19465 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19466 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19467 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19468
f1e86fca
JM
194692012-02-21 Joseph Myers <joseph@codesourcery.com>
19470
19471 * manual/install.texi: Do not mention specific glibc version
19472 numbers.
19473 * manual/libc.texinfo (VERSION, UPDATED): Update.
19474 (@copying): Use @copyright{} and range of years.
19475
0e7dfaef
JM
194762012-02-21 Joseph Myers <joseph@codesourcery.com>
19477
19478 [BZ #13695]
19479 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19480 [crti.S not in sysdirs] (generated): Do not append.
19481 [crti.S not in sysdirs] (omit-deps): Likewise.
19482 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19483 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19484 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19485 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19486 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19487 Likewise.
19488 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19489 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19490 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19491 * csu/defs.awk: Remove file.
19492 * sysdeps/generic/initfini.c: Likewise.
19493 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19494 variable.
19495 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19496 Likewise.
19497
599af3ca
JM
194982012-02-20 Joseph Myers <joseph@codesourcery.com>
19499
19500 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19501 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19502 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19503 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19504 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19505 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19506 <bits/epoll.h>.
19507 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19508 (__EPOLL_PACKED): Define to empty if not defined by
19509 <bits/epoll.h>.
19510 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19511 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19512 bits/epoll.h.
19513
0e499750
JM
195142012-02-20 Joseph Myers <joseph@codesourcery.com>
19515
19516 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19517 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19518 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19519 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19520 <bits/timerfd.h>.
19521 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19523 bits/timerfd.h.
19524
5ad91f6e
JM
195252012-02-20 Joseph Myers <joseph@codesourcery.com>
19526
19527 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19528 in C locale.
19529 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19530 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19531 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19533
06b99b02
AJ
195342012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19535
19536 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19537 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19538
7638c0fd
AS
195392012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19540
19541 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19542 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19543 defined.
19544 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19545 Likewise.
19546 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19547 entry for 2.16.
19548
92221550
AJ
195492012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19550
19551 * math/w_acos.c: Use non-signaling floating-point comparisons.
19552 * math/w_acosf.c: Likewise.
19553 * math/w_acosh.c: Likewise.
19554 * math/w_acoshf.c: Likewise.
19555 * math/w_acoshl.c: Likewise.
19556 * math/w_acosl.c: Likewise.
19557 * math/w_asin.c: Likewise.
19558 * math/w_asinf.c: Likewise.
19559 * math/w_asinl.c: Likewise.
19560 * math/w_atanh.c: Likewise.
19561 * math/w_atanhf.c: Likewise.
19562 * math/w_atanhl.c: Likewise.
19563 * math/w_exp2.c: Likewise.
19564 * math/w_exp2f.c: Likewise.
19565 * math/w_exp2l.c: Likewise.
19566 * math/w_j0.c: Likewise.
19567 * math/w_j0f.c: Likewise.
19568 * math/w_j0l.c: Likewise.
19569 * math/w_j1.c: Likewise.
19570 * math/w_j1f.c: Likewise.
19571 * math/w_j1l.c: Likewise.
19572 * math/w_jn.c: Likewise.
19573 * math/w_jnf.c: Likewise.
19574 * math/w_log.c: Likewise.
19575 * math/w_log10.c: Likewise.
19576 * math/w_log10f.c: Likewise.
19577 * math/w_log10l.c: Likewise.
19578 * math/w_log2.c: Likewise.
19579 * math/w_log2f.c: Likewise.
19580 * math/w_log2l.c: Likewise.
19581 * math/w_logf.c: Likewise.
19582 * math/w_logl.c: Likewise.
19583 * math/w_sqrt.c: Likewise.
19584 * math/w_sqrtf.c: Likewise.
19585 * math/w_sqrtl.c: Likewise.
19586 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19587 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19588 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19589 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19590 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19591
ebaf36eb
JM
195922012-02-19 Joseph Myers <joseph@codesourcery.com>
19593
19594 [BZ #9739]
19595 * manual/string.texi (strnlen): Use correct parameter name in
19596 equivalent expression.
19597
71c254a6
JM
195982012-02-19 Joseph Myers <joseph@codesourcery.com>
19599
19600 [BZ #11174]
19601 * manual/users.texi (seteuid): Consistently use neweuid for
19602 argument name.
19603
16d2c631
JM
196042012-02-19 Joseph Myers <joseph@codesourcery.com>
19605
19606 [BZ #13704]
19607 * manual/nss.texi (Services in the NSS configuration): Correct
19608 list of services in example configuration file.
19609
cd837b09
NB
196102012-02-19 Nick Bowler <nbowler@draconx.ca>
19611
19612 [BZ #11322]
19613 * manual/arith.texi: Remove statements about negative zero
19614 behaving identically to zero.
19615
02c4bbad
JM
196162012-02-18 Joseph Myers <joseph@codesourcery.com>
19617
19618 [BZ #5993]
19619 * manual/install.texi: Do not document upgrading from libc5.
19620
366842e7
JM
196212012-02-18 Joseph Myers <joseph@codesourcery.com>
19622
19623 [BZ #4596]
19624 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19625
dd54084d
DM
196262012-02-18 David S. Miller <davem@davemloft.net>
19627
19628 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19629 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19630 %o7 across the call.
19631 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19632 instead.
19633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19634 SETUP_PIC_REG_LEAF.
19635 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19636 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19637 * sysdeps/sparc/crtn.S: Likewise.
19638
2bcc53a3
UD
196392012-02-17 Ulrich Drepper <drepper@gmail.com>
19640
19641 * aout/Makefile: Remove.
19642
09c093b5
RK
196432012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19644
19645 [BZ #13058]
19646 * manual/examples/argp-ex1.c (main): Format definition in GNU
19647 style.
19648 * manual/examples/argp-ex2.c (main): Likewise.
19649 * manual/examples/argp-ex3.c (main): Likewise.
19650 * manual/examples/argp-ex4.c (main): Likewise.
19651 * manual/examples/longopt.c (main): Use new-style prototype
19652 definition.
19653 * manual/examples/strncat.c (main): Specify return type and use
19654 (void) for arguments.
19655 * manual/examples/subopt.c (main): Use char **argv argument.
19656
2ee633a2
JM
196572012-02-17 Joseph Myers <joseph@codesourcery.com>
19658
19659 [BZ #5077]
19660 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19661 rounding modes.
19662
0520adde
FB
196632012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19664
19665 [BZ #6907]
19666 * manual/string.texi (strchr): Change when strchrnul is
19667 recommended.
19668
3f4081cd
DGM
196692012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19670
19671 [BZ #174]
19672 * manual/locale.texi (setlocale): Document LOCPATH.
19673
d1b10e78
JM
196742012-02-17 Joseph Myers <joseph@codesourcery.com>
19675
19676 [BZ #10210]
19677 * manual/process.texi (execle): Move @dots{} before last argument.
19678
79c6869c
PB
196792012-02-17 Paul Bolle <pebolle@tiscali.nl>
19680
19681 [BZ #12047]
19682 * manual/charset.texi (Generic Charset Conversion): Fix typo
19683 (LC_TYPE -> LC_CTYPE).
19684
cc6e48bc
NB
196852012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19686
19687 [BZ #5805]
19688 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19689 (scalbnf): Likewise.
19690 (scalbnl): Likewise.
19691 (scalbln): Likewise.
19692 (scalblnf): Likewise.
19693 (scalblnl): Likewise.
19694 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19695 (vwarnx): Likewise.
19696 (verr): Likewise.
19697 (verrx): Likewise.
19698 * manual/filesys.texi (telldir): Use braces around return type.
19699 * manual/llio.texi (mmap): Add space after comma.
19700 (mmap64): Likewise.
19701 * manual/math.texi (jn): Use @var{} on parameter names.
19702 (jnf): Likewise.
19703 (jnl): Likewise.
19704 (yn): Likewise.
19705 (ynf): Likewise.
19706 (ynl): Likewise.
19707 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19708 line.
19709 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19710 "...".
19711 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19712 (sched_get_priority_max): Likewise.
19713 * manual/signal.texi (sigvec): Add space after comma.
19714 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19715 names.
19716 (if_indextoname): Likewise.
19717 (if_freenameindex): Likewise.
19718 (sendto): Use ',' instead of '.' in prototype.
19719 * manual/startup.texi (syscall): Use @dots{} instead of literal
19720 "...".
19721 * manual/stdio.texi (__fpending): Separate initial words of
19722 paragraph from @deftypefun line.
19723 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19724 "...".
19725 (vsyslog): Use @var{} on parameter names.
19726 * manual/terminal.texi (stty): Use @var{} on parameter names.
19727 * manual/users.texi (getutmp): Use @var{} on parameter names.
19728 (getutmpx): Likewise.
19729
5b23062f
JM
197302012-02-17 Joseph Myers <joseph@codesourcery.com>
19731
19732 [BZ #6884]
19733 * manual/stdio.texi (fopen): Fix typos in description of
19734 ",ccs=STRING".
19735
8dee4833
AJ
197362012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19737
19738 [BZ #4026]
19739 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19740 get clock_id definition.
19741
9078ce93
TS
197422012-02-17 Thomas Schwinge <thomas@schwinge.name>
19743
19744 [BZ #4822]
19745 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19746 (madvise): Cast every argument to void on its own.
19747
3835c55f
JM
197482012-02-17 Joseph Myers <joseph@codesourcery.com>
19749
19750 [BZ #9902]
19751 * manual/startup.texi (Exit Status): Fix typo.
19752
35c47e37
JM
197532012-02-17 Joseph Myers <joseph@codesourcery.com>
19754
19755 [BZ #10140]
19756 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19757 * manual/examples/argp-ex2.c: Likewise.
19758 * manual/examples/argp-ex3.c: Likewise.
19759
e3b69ca7
RH
197602012-02-16 Richard Henderson <rth@redhat.com>
19761
19762 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19763 * sysdeps/s390/s390-32/initfini.c: Remove.
19764 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19765 * sysdeps/s390/s390-64/initfini.c: Remove.
19766
df83af67
KK
197672012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19768
19769 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19770 compiler output for sysdeps/generic/initfini.c.
19771 * sysdeps/sh/elf/initfini.c: Remove file.
19772
f63f3380
DM
197732012-02-16 David S. Miller <davem@davemloft.net>
19774
fb59b3a4
DM
19775 [BZ #11494]
19776 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19777
f63f3380
DM
19778 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19779 * sysdeps/sparc/crti.S: New file.
19780 * sysdeps/sparc/crtn.S: New file.
19781 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19782 * sysdeps/sparc/sparc64/Makefile: Likewise.
19783
df6a4a4a
MF
197842012-02-15 Mike Frysinger <vapier@gentoo.org>
19785
6dd8f3dc 19786 [BZ #3335]
df6a4a4a
MF
19787 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19788
1cac7236
RM
197892012-02-15 Roland McGrath <roland@hack.frob.com>
19790
d2c736f8
RM
19791 [BZ #4822]
19792 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19793
1cac7236
RM
19794 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19795 (write, read, close): Likewise.
19796 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19797
8e475601
JM
197982012-02-15 Joseph Myers <joseph@codesourcery.com>
19799
19800 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19801 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19802 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19803 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19804 <bits/signalfd.h>.
19805 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19807 bits/signalfd.h.
19808
ed656b40
MP
198092012-02-14 Marek Polacek <polacek@redhat.com>
19810
19811 * sysdeps/x86_64/crti.S: New file.
19812 * sysdeps/x86_64/crtn.S: New file.
19813 * sysdeps/x86_64/elf/initfini.c: Remove file.
19814
2a979d3a
JM
198152012-02-13 Joseph Myers <joseph@codesourcery.com>
19816
19817 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19818 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19819 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19820 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19821 <bits/inotify.h>.
19822 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19824 bits/inotify.h.
19825
2a418ac3
JM
198262012-02-13 Joseph Myers <joseph@codesourcery.com>
19827
19828 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19829 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19830 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19831 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19832 <bits/eventfd.h>.
19833 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19834 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19835 bits/eventfd.h.
19836
fb779be7
TS
198372012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19838
e19e83c5
RM
19839 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19840 __feraiseexcept instead of feraiseexcept.
7c35ffed 19841
fb779be7
TS
19842 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19843 nanosleep invocations.
19844 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19845 strings, and add error checking for a nanosleep invocations.
19846
59ba27a6
PE
198472012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19848
19849 Replace FSF snail mail address with URLs, as per GNU coding standards.
19850 Most of the snail mail addresses were wrong anyway, and omitting
19851 them makes the source code easier to maintain. Almost all of the
19852 changes are to license notices and to locale LC_IDENTIFICATION
19853 addresses, except for this one:
19854 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19855 not its snail mail address.
19856
57b957eb
RH
198572012-02-09 Richard Henderson <rth@twiddle.net>
19858
af850b1c
RH
19859 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19860 of kernel-features.h.
19861
57b957eb
RH
19862 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19863
6b73181a
MP
198642012-02-08 Marek Polacek <polacek@redhat.com>
19865
19866 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19867 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19868 * sysdeps/gnu/_G_config.h: Likewise.
19869 * sysdeps/generic/_G_config.h: Likewise.
19870
26ecc33a
AS
198712012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19872
6c6dbc63
AS
19873 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19874 tests.
19875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19876
e216c012
AS
19877 * sysdeps/powerpc/powerpc32/crti.S: New file.
19878 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19879 * sysdeps/powerpc/powerpc64/crti.S: New file.
19880 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19881
26ecc33a
AS
19882 * Makeconfig (have-initfini): Don't set.
19883 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19884 * configure.in (nopic_initfini): Don't substitute.
19885 * config.h.in (HAVE_INITFINI): Don't #undef.
19886 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19887 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19888
3add8e13
JM
198892012-02-08 Joseph Myers <joseph@codesourcery.com>
19890
19891 Support crti.S and crtn.S provided directly by architectures.
19892 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19893 [crti.S in sysdirs] (omit-deps): Likewise.
19894 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19895 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19896 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19897 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19898 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19899 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19900 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19901 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19902 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19903 compiler output for sysdeps/generic/initfini.c.
19904 * sysdeps/i386/elf/Makefile: Remove file.
19905 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19906
a22f12b4
MP
199072012-02-07 Marek Polacek <polacek@redhat.com>
19908
19909 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19910 * sysdeps/gnu/_G_config.h: Likewise.
19911 * sysdeps/mach/hurd/_G_config.h: Likewise.
19912
148cf100
MP
199132012-02-07 Marek Polacek <polacek@redhat.com>
19914
19915 * math/Makefile (tests): Add tst-CMPLX2.
19916 * math/tst-CMPLX2.c: New file.
19917
cfdc0dd7
AS
199182012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19919
84ba42c4
AS
19920 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19921
cfdc0dd7
AS
19922 * math/libm-test.inc (jn_test): Add missing L suffix.
19923
622c86f4
MP
199242012-02-06 Marek Polacek <polacek@redhat.com>
19925
19926 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19927 * sysdeps/i386/fpu/e_powf.S: Likewise.
19928 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19929 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19930 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19931 * sysdeps/i386/fpu/e_pow.S: Likewise.
19932 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19933 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19934 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19935 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19936 * sysdeps/i386/fpu/e_log2.S: Likewise.
19937 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19938 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19939 * sysdeps/i386/fpu/e_powl.S: Likewise.
19940 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19941 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19942 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19943 * sysdeps/i386/fpu/e_logl.S: Likewise.
19944 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19945 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19946 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19947 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19948 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19949 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19950 * sysdeps/i386/fpu/e_log.S: Likewise.
19951 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19952 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19953 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19954 * sysdeps/i386/fpu/e_logf.S: Likewise.
19955 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19956 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19957 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19958 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19959 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19960 * sysdeps/i386/fpu/e_log10.S: Likewise.
19961 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19962 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19963 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19964 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19965 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19966 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19967 * sysdeps/i386/asm-syntax.h: Likewise.
19968 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19969 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19970 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19971 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19972 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19973 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19974 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19975 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19976 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19977 * sysdeps/powerpc/sysdep.h: Likewise.
19978 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19979 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19980
d4a54ac6
JM
199812012-02-06 Joseph Myers <joseph@codesourcery.com>
19982
19983 [BZ #411]
19984 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19985
314054ea
JM
199862012-02-06 Joseph Myers <joseph@codesourcery.com>
19987
19988 * sysdeps/i386/sysdep.h: Include <features.h>.
19989 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19990 version.
19991
d8e0ca50
JM
199922012-02-05 Joseph Myers <joseph@codesourcery.com>
19993
19994 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19995 Define.
19996 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19997 LOAD_PIC_REG_STR.
19998
b1da7dd9
JM
199992012-02-03 Joseph Myers <joseph@codesourcery.com>
20000
20001 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20002 (SETUP_PIC_REG): Use GET_PC_THUNK.
20003 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20004 macro.
20005
9a1d9254
JM
200062012-02-03 Joseph Myers <joseph@codesourcery.com>
20007
20008 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20009 for non-PIC compilation.
20010 (SETUP_PIC_REG): Add .p2align directive.
20011 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20012 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20013 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20014 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20015 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20016 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20017 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20018 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20019 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20020 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20021 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20022 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20023 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20024 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20025 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20026 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20027 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20028 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20029 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20030 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20031 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20032 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20033 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20034 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20035 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20036 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20037 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20038 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20039 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20040 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20041 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20042 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20043 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20044 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20045 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20046 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20047 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20048 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20049 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20050 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20051 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20052
65dc3b75
JM
200532012-02-03 Joseph Myers <joseph@codesourcery.com>
20054
20055 * math/tst-CMPLX.c: Include <stdio.h>.
20056
d55bf177
JM
200572012-01-31 Joseph Myers <joseph@codesourcery.com>
20058
20059 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20060 float.
20061 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20062 * sysdeps/sparc/bits/mathdef.h: Likewise.
20063
69db4f8f
MP
200642012-01-31 Marek Polacek <polacek@redhat.com>
20065
20066 * libio/libio.h: Don't define _PARAMS.
20067 * locale/programs/config.h: Don't define PARAMS.
20068 * stdlib/strtol_l.c: Likewise.
20069 (__strtol_l): Remove PARAMS from the prototype.
20070
41b81892
UD
200712012-01-31 Ulrich Drepper <drepper@gmail.com>
20072
3b49edc0
UD
20073 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20074 names. Just use the correct names. Remove unnecessary wrapper
20075 functions.
20076 * malloc/arena.c: Likewise.
20077 * malloc/hooks.c: Likewise.
20078
41b81892
UD
20079 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20080 ARENA_TEST says not to. Simplify test for creation of a new arena.
20081 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20082
27a25b6e
UD
200832012-01-30 Ulrich Drepper <drepper@gmail.com>
20084
20085 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20086 into tail calls.
20087 (update_get_addr): New function.
20088 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20089 GET_ADDR_MODULE parameter.
20090
c8a89e7d
JM
200912012-01-30 Joseph Myers <joseph@codesourcery.com>
20092
20093 * crypt/cert.c: Remove __STDC__ conditionals.
20094 * crypt/crypt-entry.c: Likewise.
20095 * crypt/crypt_util.c: Likewise.
20096 * libio/filedoalloc.c: Likewise.
20097 * libio/fileops.c: Likewise.
20098 * libio/genops.c: Likewise.
20099 * libio/iofclose.c: Likewise.
20100 * libio/iofdopen.c: Likewise.
20101 * libio/iofopen.c: Likewise.
20102 * libio/iofopen64.c: Likewise.
20103 * libio/iogetdelim.c: Likewise.
20104 * libio/iopopen.c: Likewise.
20105 * libio/obprintf.c: Likewise.
20106 * libio/oldfileops.c: Likewise.
20107 * libio/oldiofclose.c: Likewise.
20108 * libio/oldiofdopen.c: Likewise.
20109 * libio/oldiofopen.c: Likewise.
20110 * libio/oldiopopen.c: Likewise.
20111 * libio/wfiledoalloc.c: Likewise.
20112 * libio/wgenops.c: Likewise.
20113 * locale/programs/xmalloc.c: Likewise.
20114 * misc/syslog.c: Likewise.
20115 * stdio-common/xbug.c: Likewise.
20116 * string/memchr.c: Likewise.
20117 * string/memcmp.c: Likewise.
20118 * string/memrchr.c: Likewise.
20119 * string/rawmemchr.c: Likewise.
20120 * sysdeps/posix/getcwd.c: Likewise.
20121 * time/strftime_l.c: Likewise.
20122
3b100462
JM
201232012-01-30 Joseph Myers <joseph@codesourcery.com>
20124
20125 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20126 * config.make.in (config-cflags-sse2avx): Define.
20127 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20128 Fix typo.
20129
607998af
CM
201302012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20131
20132 * scripts/config.guess: Update from upstream config git repository.
20133 * scripts/config.sub: Likewise.
20134
3601428f
CM
201352012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20136
3ac8b282
CM
20137 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20138 (EM_NUM): Update.
20139 (R_TILEPRO_*, R_TILEGX_*): New macros.
20140
e034841e
CM
20141 * scripts/firstversions.awk: Fix bug in version range handling.
20142
540d7568
CM
20143 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20144
3601428f
CM
20145 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20146
463de862
CM
20147 * include/sys/epoll.h: New file.
20148 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20149 libc_hidden_def.
20150
73139a76
UD
201512012-01-28 Ulrich Drepper <drepper@gmail.com>
20152
96bc5b45
UD
20153 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20154 Avoid unnecessary __WORDSIZE == 64 test.
20155 (fmaxf): Use VEX format if possible.
20156 (fmax): Likewise.
20157 (fminf): Likewise.
20158 (fmin): Likewise.
20159
56f6f6a2
UD
20160 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20161 * math/math_private.h: Remove libc_fegetround* and
20162 libc_fesetround*.
20163 * sysdeps/i386/configure.in: Check for -msse2avx.
20164 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20165 also if SSE2AVX is defined.
20166 Remove libc_fegetround* and libc_fesetround*.
20167 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20168 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20169 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20170 of HAS_YMM_USABLE.
20171 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20172 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20173 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20174 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20175 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20176
73139a76
UD
20177 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20178
d73f93a4
AZ
201792012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20180
20181 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20182 size is not set.
20183 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20184
6ee65ed6
UD
201852012-01-27 Ulrich Drepper <drepper@gmail.com>
20186
20187 [BZ #13618]
20188 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20189 relocation.
20190 * Makeconfig (libm): Define.
20191 * elf/Makefile: Add rules to build and run tst-relsort1.
20192 * elf/tst-relsort1.c: New file.
20193 * elf/tst-relsort1mod1.c: New file.
20194 * elf/tst-relsort1mod2.c: New file.
20195
8db21882
JM
201962012-01-27 Joseph Myers <joseph@codesourcery.com>
20197
20198 * math/s_ldexp.c: Remove __STDC__ conditionals.
20199 * math/s_ldexpf.c: Likewise.
20200 * math/s_ldexpl.c: Likewise.
20201 * math/s_nextafter.c: Likewise.
20202 * math/s_nexttowardf.c: Likewise.
20203 * math/s_significand.c: Likewise.
20204 * math/s_significandf.c: Likewise.
20205 * math/s_significandl.c: Likewise.
20206 * math/w_jnl.c: Likewise.
20207 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20208 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20209 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20210 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20211 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20212 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20213 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20214 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20215 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20216 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20217 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20218 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20219 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20220 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20221 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20222 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20223 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20224 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20225 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20226 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20227 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20228 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20229 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20230 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20231 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20232 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20233 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20234 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20235 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20236 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20237 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20238 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20239 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20240 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20241 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20242 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20243 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20244 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20245 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20246 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20247 * sysdeps/ieee754/k_standard.c: Likewise.
20248 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20249 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20250 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20251 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20252 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20253 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20254 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20255 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20256 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20257 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20258 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20259 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20260 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20261 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20262 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20263 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20264 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20265 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20266 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20267 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20268 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20269 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20270 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20271 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20272 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20273 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20274 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20275 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20276 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20277 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20278 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20279 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20280 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20281 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20282 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20283 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20284 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20285 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20286 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20287 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20288 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20289 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20290 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20291 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20292 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20293 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20294 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20295 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20296 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20297 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20298 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20299 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20300 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20301 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20302 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20303 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20304 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20305 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20306 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20307 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20308 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20309 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20310 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20311 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20312 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20313 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20314 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20315 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20316 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20317 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20318 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20319 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20320 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20321 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20322 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20323 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20324 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20325 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20326 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20327 * sysdeps/ieee754/s_matherr.c: Likewise.
20328 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20329 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20330 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20331 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20332
965a54a4
JM
203332012-01-26 Joseph Myers <joseph@codesourcery.com>
20334
20335 * crypt/md5.h: Remove __STDC__ conditionals.
20336 * libio/libioP.h: Likewise.
20337 * locale/programs/config.h: Likewise.
20338 * sysdeps/generic/sysdep.h: Likewise.
20339 * sysdeps/i386/asm-syntax.h: Likewise.
20340 * sysdeps/s390/asm-syntax.h: Likewise.
20341 * sysdeps/unix/sysdep.h: Likewise.
20342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20344
7071ad79
JM
203452012-01-26 Joseph Myers <joseph@codesourcery.com>
20346
20347 * libio/libio.h: Remove __STDC__ conditionals.
20348 * malloc/obstack.h: Likewise.
20349 * math/complex.h: Likewise.
20350 * math/math.h: Likewise.
20351 * sysdeps/generic/_G_config.h: Likewise.
20352 * sysdeps/gnu/_G_config.h: Likewise.
20353 * sysdeps/mach/hurd/_G_config.h: Likewise.
20354 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20355 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20356 * sysdeps/sparc/bits/mathdef.h: Likewise.
20357
afc5ed09
UD
203582012-01-26 Ulrich Drepper <drepper@gmail.com>
20359
20360 [BZ #13583]
20361 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20362 Clean up HAS_* macros.
afc5ed09 20363 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20364 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20365 possible.
20366 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20367 HAS_AVX.
20368 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20369 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20370 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20371 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20372 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20373
bdb6de1d
JM
203742012-01-25 Joseph Myers <joseph@codesourcery.com>
20375
20376 * elf/tst-unique3.cc (gets): Remove declaration.
20377 * elf/tst-unique3lib.cc (gets): Likewise.
20378 * elf/tst-unique3lib2.cc (gets): Likewise.
20379 * elf/tst-unique4.cc (gets): Likewise.
20380
b15549e6
UD
203812012-01-24 Ulrich Drepper <drepper@gmail.com>
20382
20383 * include/stdio.h: Add C++ protection. Add gets declarations and
20384 definitions.
20385 * debug/tst-chk1.c: Don't declare gets here.
20386 * stdio-common/tst-gets.c: Likewise.
20387
a037381f
JM
203882012-01-24 Joseph Myers <joseph@codesourcery.com>
20389
20390 * posix/glob: Remove directory.
20391
f1d4aa75
JM
203922012-01-24 Joseph Myers <joseph@codesourcery.com>
20393
20394 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20395
81c0c964
PT
203962012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20397
20398 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20399 of the non-standard EPFNOSUPPORT.
20400
0ea698ae
ST
204012011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20402
20403 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20404 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20405 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20406
d220b117
UD
204072012-01-21 Ulrich Drepper <drepper@gmail.com>
20408
20409 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20410
3e1aa84e
UD
204112012-01-20 Ulrich Drepper <drepper@gmail.com>
20412
20413 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20414 transient errors.
20415 * nscd/grpcache.c (cache_addgr): Likewise.
20416 * nscd/hstcache.c (cache_addhst): Likewise.
20417 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20418 * nscd/pwdcache.c (cache_addpw): Likewise.
20419 * nscd/servicescache.c (cache_addserv): Likewise.
20420
400aa020
UD
204212012-01-16 Ulrich Drepper <drepper@gmail.com>
20422
d77e7869
UD
20423 * malloc/malloc.c: Various cleanups.
20424 * malloc/hooks.c: Likewise.
20425
400aa020
UD
20426 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20427 * stdlib/bug-fmtmsg1.c: New file.
20428
20429 * stdlib/fmtmsg.c (init): Add missing unlock.
20430 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20431
e0a309cf
MP
204322012-01-12 Marek Polacek <polacek@redhat.com>
20433
20434 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20435 and _GNU_SOURCE.
20436
929d11c7
WS
204372012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20438
20439 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20440 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20441 macro to ensure uniqueness of label name.
20442 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20443 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20444
41d0e869
UD
204452012-01-11 Ulrich Drepper <drepper@gmail.com>
20446
0cc5ed3b
UD
20447 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20448
41d0e869
UD
20449 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20450 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20451 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20452 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20453
a47a831a
UD
204542012-01-10 Ulrich Drepper <drepper@gmail.com>
20455
daa891c0
UD
20456 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20457
20458 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20459 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20460 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20461
e58ef0f2
UD
20462 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20463
a47a831a 20464 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20465 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20466 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20467 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20468
20469 * math/bits/math-finite.h: Add ldexp support.
20470
a0bfc9c7
MP
204712012-01-10 Marek Polacek <polacek@redhat.com>
20472
20473 * locale/programs/localedef.h (show_archive_content): Add noreturn
20474 attribute.
20475
d6e97a1d
UD
204762012-01-09 Ulrich Drepper <drepper@gmail.com>
20477
20478 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20479
d5835c26
UD
204802012-01-08 Ulrich Drepper <drepper@gmail.com>
20481
e5f484c6
UD
20482 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20483
d5835c26
UD
20484 * io/Makefile (headers): Add bits/poll2.h.
20485
d1f741e9
WS
204862011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20487
20488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20489 typo #include statement.
20490
ec09c1c4
UD
204912012-01-08 Ulrich Drepper <drepper@gmail.com>
20492
20493 * include/sys/cdefs.h: Define __attribute_alloc_size.
20494 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20495 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20496 * elf/pldd.c: Likewise.
20497 * iconv/iconv_charmap.c: Likewise.
20498 * iconv/iconvconfig.c: Likewise.
20499 * iconv/strtab.c: Likewise.
20500 * locale/programs/locale.c: Likewise.
20501 * locale/programs/localedef.h: Likewise.
20502 * locale/programs/simple-hash.c: Likewise.
20503 * nscd/nscd.h: Likewise.
20504 * nss/makedb.c: Likewise.
20505 * sysdeps/generic/ldconfig.h: Likewise.
20506 * locale/programs/localedef.c: Remove xmalloc prototype.
20507 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20508
20b38e03
PP
205092012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20510
20511 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20512 appropriate.
20513
a0da5fe1
UD
205142012-01-08 Ulrich Drepper <drepper@gmail.com>
20515
1d5a644a 20516 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20517 * math/tst-CMPLX.c: New file.
1d5a644a 20518
8784a6db
UD
20519 * math/complex.h (CMPLXL): Fix typo.
20520
d9a216c0
UD
20521 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20522 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20523 GLIBC_2.16.
20524 * debug/tst-chk1.c: Add poll and ppoll tests.
20525 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20526 * include/sys/poll.h: Add hidden proto for ppoll.
20527 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20528 * sysdeps/mach/hurd/ppoll.c: Likewise.
20529 * io/ppoll.c: Likewise.
20530 * debug/poll_chk.c: New file.
20531 * debug/ppoll_chk.c: New file.
20532 * include/bits/poll2.h: New file.
20533 * io/bits/poll2.h: New file.
20534
ac097f5c
UD
20535 [BZ #1350]
20536 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20537
2119dcfa
UD
20538 * configure.in: static is always set to yes. Remove.
20539 * config.make.in: Don't set build-static.
20540 * Makeconfig: Remove use of build-static.
20541 * dlfcn/Makefile: Likewise.
20542 * elf/Makefile: Likewise.
20543 * math/Makefile: Likewise.
20544 * misc/Makefile: Likewise.
20545 * nptl/Makefile: Likewise.
20546 * sysdeps/mach/hurd/Makefile: Likewise.
20547
121766a9
UD
20548 * configure.in: PWD_P is not used anymore.
20549 * config.make.in: Remove PWD_P entry.
20550
51a1d39c 20551 * configure.in: Remove last remnants of RANLIB.
8720d066 20552 No need to check for signed size_t anymore.
215f4bdc
UD
20553 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20554 and IA-64.
3857022a 20555 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20556 * aclocal.m4: Likewise.
20557
d3ed7225
UD
20558 * wcsmbs/mbrtoc16.c: Implement using towc function.
20559 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20560 * wcsmbs/wcsmbsload.c: Likewise.
20561 * iconv/gconv_simple.c: Likewise.
20562 * iconv/gconv_int.h: Likewise.
20563 * iconv/gconv_builtin.h: Likewise.
20564 * iconv/iconv_prog.c: Remove CHAR16 handling.
20565
20566 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20567
20568 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20569
a0da5fe1
UD
20570 * configure.in: Remove --with-elf and --enable-bounded options.
20571 Dont set base_machine for ia64. More non-ELF conditions removed.
20572 Remove testing and setting of leading underscore information.
20573 * config.make.in (build-bounded): Set to no.
20574 * config.h.in: Remove NO_UNDERSCORES entry.
20575 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20576 them.
20577 * csu/start.c: Remove !NO_UNDERSCORE code.
20578 * locale/localeinfo.h: Likewise.
20579 * sysdeps/generic/machine-gmon.h: Likewise.
20580 * sysdeps/generic/sysdep.h: Likewise.
20581 * sysdeps/i386/sysdep.h: Likewise.
20582 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20583 * sysdeps/mach/sysdep.h: Likewise.
20584 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20585 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20586 * sysdeps/sh/sysdep.h: Likewise.
20587 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20588 * sysdeps/unix/i386/sysdep.S: Likewise.
20589 * sysdeps/unix/sparc/start.c: Likewise.
20590 * sysdeps/unix/sparc/sysdep.S: Likewise.
20591 * sysdeps/unix/sparc/sysdep.h: Likewise.
20592 * sysdeps/unix/start.c: Likewise.
20593 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20594 * sysdeps/x86_64/sysdep.h: Likewise.
20595
df78418a
UD
205962012-01-07 Ulrich Drepper <drepper@gmail.com>
20597
a784e502
UD
20598 [BZ #13553]
20599 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20600 for non-gcc.
20601 * argp/argp-fmtstream.h: Use const instead __const.
20602 * argp/argp.h: Likewise.
20603 * assert/assert.h: Likewise.
20604 * bits/fenv.h: Likewise.
20605 * bits/sched.h: Likewise.
20606 * bits/sigset.h: Likewise.
20607 * bits/sigthread.h: Likewise.
20608 * catgets/nl_types.h: Likewise.
20609 * conform/data/pthread.h-data: Likewise.
20610 * crypt/crypt-private.h: Likewise.
20611 * crypt/crypt.h: Likewise.
20612 * crypt/crypt_util.c: Likewise.
20613 * ctype/ctype.h: Likewise.
20614 * debug/execinfo.h: Likewise.
20615 * debug/mbsnrtowcs_chk.c: Likewise.
20616 * debug/mbsrtowcs_chk.c: Likewise.
20617 * debug/wcsnrtombs_chk.c: Likewise.
20618 * debug/wcsrtombs_chk.c: Likewise.
20619 * debug/wcstombs_chk.c: Likewise.
20620 * dirent/dirent.h: Likewise.
20621 * dlfcn/dlfcn.h: Likewise.
20622 * elf/neededtest4.c: Likewise.
20623 * grp/grp.h: Likewise.
20624 * gshadow/gshadow.h: Likewise.
20625 * iconv/gconv.h: Likewise.
20626 * iconv/gconv_int.h: Likewise.
20627 * iconv/gconv_simple.c: Likewise.
20628 * iconv/iconv.h: Likewise.
20629 * iconv/loop.c: Likewise.
20630 * iconv/skeleton.c: Likewise.
20631 * include/aio.h: Likewise.
20632 * include/aliases.h: Likewise.
20633 * include/argz.h: Likewise.
20634 * include/arpa/inet.h: Likewise.
20635 * include/assert.h: Likewise.
20636 * include/dirent.h: Likewise.
20637 * include/dlfcn.h: Likewise.
20638 * include/execinfo.h: Likewise.
20639 * include/fcntl.h: Likewise.
20640 * include/fenv.h: Likewise.
20641 * include/glob.h: Likewise.
20642 * include/grp.h: Likewise.
20643 * include/libintl.h: Likewise.
20644 * include/mntent.h: Likewise.
20645 * include/netdb.h: Likewise.
20646 * include/pwd.h: Likewise.
20647 * include/rpc/netdb.h: Likewise.
20648 * include/sched.h: Likewise.
20649 * include/search.h: Likewise.
20650 * include/shadow.h: Likewise.
20651 * include/signal.h: Likewise.
20652 * include/stdio.h: Likewise.
20653 * include/stdlib.h: Likewise.
20654 * include/string.h: Likewise.
20655 * include/sys/socket.h: Likewise.
20656 * include/sys/stat.h: Likewise.
20657 * include/sys/statfs.h: Likewise.
20658 * include/sys/statvfs.h: Likewise.
20659 * include/sys/syslog.h: Likewise.
20660 * include/sys/time.h: Likewise.
20661 * include/sys/uio.h: Likewise.
20662 * include/time.h: Likewise.
20663 * include/unistd.h: Likewise.
20664 * include/utmp.h: Likewise.
20665 * include/wchar.h: Likewise.
20666 * include/wctype.h: Likewise.
20667 * inet/aliases.h: Likewise.
20668 * inet/arpa/inet.h: Likewise.
20669 * inet/netinet/ether.h: Likewise.
20670 * inet/netinet/in.h: Likewise.
20671 * intl/libintl.h: Likewise.
20672 * io/bits/fcntl2.h: Likewise.
20673 * io/fcntl.h: Likewise.
20674 * io/ftw.h: Likewise.
20675 * io/sys/poll.h: Likewise.
20676 * io/sys/stat.h: Likewise.
20677 * io/sys/statfs.h: Likewise.
20678 * io/sys/statvfs.h: Likewise.
20679 * io/utime.h: Likewise.
20680 * libio/bits/stdio.h: Likewise.
20681 * libio/bits/stdio2.h: Likewise.
20682 * libio/libio.h: Likewise.
20683 * libio/libioP.h: Likewise.
20684 * libio/stdio.h: Likewise.
20685 * locale/lc-ctype.c: Likewise.
20686 * locale/locale.h: Likewise.
20687 * login/utmp.h: Likewise.
20688 * malloc/arena.c: Likewise.
20689 * malloc/malloc.c: Likewise.
20690 * malloc/malloc.h: Likewise.
20691 * malloc/mcheck.c: Likewise.
20692 * malloc/mtrace.c: Likewise.
20693 * math/bits/mathcalls.h: Likewise.
20694 * math/fenv.h: Likewise.
20695 * math/math_private.h: Likewise.
20696 * misc/bits/error.h: Likewise.
20697 * misc/bits/syslog.h: Likewise.
20698 * misc/err.h: Likewise.
20699 * misc/error.h: Likewise.
20700 * misc/fstab.h: Likewise.
20701 * misc/mntent.h: Likewise.
20702 * misc/regexp.h: Likewise.
20703 * misc/search.h: Likewise.
20704 * misc/sgtty.h: Likewise.
20705 * misc/sys/mman.h: Likewise.
20706 * misc/sys/syslog.h: Likewise.
20707 * misc/sys/uio.h: Likewise.
20708 * misc/sys/xattr.h: Likewise.
20709 * misc/ttyent.h: Likewise.
20710 * nis/rpcsvc/ypclnt.h: Likewise.
20711 * nss/nss.h: Likewise.
20712 * posix/bits/unistd.h: Likewise.
20713 * posix/fnmatch.h: Likewise.
20714 * posix/glob.h: Likewise.
20715 * posix/sched.h: Likewise.
20716 * posix/spawn.h: Likewise.
20717 * posix/sys/wait.h: Likewise.
20718 * posix/unistd.h: Likewise.
20719 * posix/wordexp.h: Likewise.
20720 * pwd/pwd.h: Likewise.
20721 * resolv/netdb.h: Likewise.
20722 * resource/sys/resource.h: Likewise.
20723 * rt/aio.h: Likewise.
20724 * rt/bits/mqueue2.h: Likewise.
20725 * rt/mqueue.h: Likewise.
20726 * shadow/shadow.h: Likewise.
20727 * signal/signal.h: Likewise.
20728 * socket/send.c: Likewise.
20729 * socket/sendto.c: Likewise.
20730 * socket/sys/socket.h: Likewise.
20731 * stdio-common/printf.h: Likewise.
20732 * stdlib/bits/stdlib.h: Likewise.
20733 * stdlib/fmtmsg.h: Likewise.
20734 * stdlib/monetary.h: Likewise.
20735 * stdlib/stdlib.h: Likewise.
20736 * stdlib/ucontext.h: Likewise.
20737 * streams/stropts.h: Likewise.
20738 * string/argz.h: Likewise.
20739 * string/bits/string2.h: Likewise.
20740 * string/string.h: Likewise.
20741 * string/strings.h: Likewise.
20742 * sunrpc/rpc/auth.h: Likewise.
20743 * sunrpc/rpc/auth_des.h: Likewise.
20744 * sunrpc/rpc/clnt.h: Likewise.
20745 * sunrpc/rpc/netdb.h: Likewise.
20746 * sunrpc/rpc/pmap_clnt.h: Likewise.
20747 * sunrpc/rpc/xdr.h: Likewise.
20748 * sysdeps/generic/inttypes.h: Likewise.
20749 * sysdeps/generic/net/if.h: Likewise.
20750 * sysdeps/generic/sys/swap.h: Likewise.
20751 * sysdeps/gnu/net/if.h: Likewise.
20752 * sysdeps/gnu/utmpx.h: Likewise.
20753 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20754 * sysdeps/i386/i486/bits/string.h: Likewise.
20755 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20756 * sysdeps/s390/bits/string.h: Likewise.
20757 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20758 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20759 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20760 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20761 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20762 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20763 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20764 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20765 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20766 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20767 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20768 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20769 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20770 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20771 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20772 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20773 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20774 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20775 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20776 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20777 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20778 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20779 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20780 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20781 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20782 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20783 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20784 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20785 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20786 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20787 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20788 * sysvipc/sys/ipc.h: Likewise.
20789 * sysvipc/sys/msg.h: Likewise.
20790 * sysvipc/sys/sem.h: Likewise.
20791 * sysvipc/sys/shm.h: Likewise.
20792 * termios/termios.h: Likewise.
20793 * time/sys/time.h: Likewise.
20794 * time/time.h: Likewise.
20795 * wcsmbs/bits/wchar2.h: Likewise.
20796 * wcsmbs/uchar.h: Likewise.
20797 * wcsmbs/wchar.h: Likewise.
20798 * wctype/wctype.h: Likewise.
20799
0269750c
UD
20800 [BZ #13551]
20801 * Makeconfig: Remove all but ELF support including AIX support.
20802 * Makerules: Likewise.
20803 * config.h.in: Likewise.
20804 * config.make.in: Likewise.
20805 * configure: Likewise.
20806 * configure.in: Likewise.
20807 * csu/Makefile: Likewise.
20808 * csu/version.c: Likewise.
20809 * debug/Makefile: Likewise.
20810 * dlfcn/Makefile: Likewise.
20811 * elf/Makefile: Likewise.
20812 * extra-lib.mk: Likewise.
20813 * iconv/Makefile: Likewise.
20814 * include/libc-symbols.h: Likewise.
20815 * include/shlib-compat.h: Likewise.
20816 * resolv/Makefile: Likewise.
20817 * resolv/res_libc.c: Likewise.
20818 * rt/Makefile: Likewise.
20819 * sysdeps/i386/asm-syntax.h: Likewise.
20820 * sysdeps/i386/sysdep.h: Likewise.
20821 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20822 * sysdeps/mach/sysdep.h: Likewise.
20823 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20824 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20825 * sysdeps/s390/asm-syntax.h: Likewise.
20826 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20827 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20828 * sysdeps/sh/sysdep.h: Likewise.
20829 * sysdeps/unix/sparc/sysdep.h: Likewise.
20830 * sysdeps/wordsize-32/divdi3.c: Likewise.
20831 * sysdeps/x86_64/sysdep.h: Likewise.
20832
00bbd29b
UD
20833 * argp/Versions: Remove _argp_unlock_xxx.
20834
20835 [BZ #13559]
20836 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20837 * abilist/libBrokenLocale.abilist: Likewise.
20838 * abilist/libanl.abilist: Likewise.
20839 * abilist/libc.abilist: Likewise.
20840 * abilist/libcrypt.abilist: Likewise.
20841 * abilist/libdl.abilist: Likewise.
20842 * abilist/libm.abilist: Likewise.
20843 * abilist/libnsl.abilist: Likewise.
20844 * abilist/libpthread.abilist: Likewise.
20845 * abilist/libresolv.abilist: Likewise.
20846 * abilist/librt.abilist: Likewise.
20847 * abilist/libthread_db.abilist: Likewise.
20848 * abilist/libutil.abilist: Likewise.
20849 * abilist/libnss_db.abilist: New file.
20850
20851 * scripts/abilist.awk: Add support for indirect functions.
20852
a2693a0e
UD
20853 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20854
3f05895f
UD
20855 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20856
ecb6fb48
UD
20857 * shlib-versions: Remove entries for ports architectures.
20858
664f8cb9
UD
20859 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20860 files in ports.
20861 * elf/stackguard-macros.h: Remove support for IA-64.
20862 * elf/tst-auditmod1.c: Likewise.
20863 * sysdeps/generic/ldsodefs.h: Likewise.
20864
7ae81d88
UD
20865 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20866 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20867 configure files.
20868
bdeba135
UD
20869 [BZ #13552]
20870 * configure.in: Remove --enable-omitfp support.
20871 * FAQ.in: Adjust.
20872 * config.make.in: Likewise.
20873 * Makeconfig: Likewise.
20874 * manual/install.texi: Likewise.
20875
d75a0a62
UD
20876 In case anyone cares, the IA-64 architecture could move to ports.
20877 * sysdeps/ia64/*: Removed.
20878 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20879 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20880
dcc9756b
UD
20881 [BZ #13555]
20882 * configure.in: Remove entries for unsupported architectures.
20883
d3761ebc 20884 [BZ #13533]
9954432e
UD
20885 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20886 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20887 routines.
20888 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20889 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20890 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20891 fall back to using wcrtomb.
20892 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20893 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20894 renaming.
20895 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20896 * wcsmbs/tst-c16c32-1.c: New file.
20897
20898 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20899 local variable.
20900
c3a87236
UD
20901 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20902
28926a1b
UD
20903 * elf/tst-unique3.cc: Add explicit declaration of gets.
20904 * elf/tst-unique3lib.cc: Likewise.
20905 * elf/tst-unique3lib2.cc: Likewise.
20906 * elf/tst-unique4.cc: Likewise.
20907
df78418a
UD
20908 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20909
8ecd6b2a
JM
209102012-01-06 Joseph Myers <joseph@codesourcery.com>
20911
20912 [BZ #13566]
20913 * assert/assert.h (static_assert): Don't define for C++.
20914 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20915 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20916
9f115170
UD
209172012-01-03 Ulrich Drepper <drepper@gmail.com>
20918
5e0d0300
UD
20919 * iconv/loop.c (single loop): Fix assertion in storing of
20920 remaining bytes.
20921
9f115170
UD
20922 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20923
81fb02b0
UD
209242012-01-01 Ulrich Drepper <drepper@gmail.com>
20925
20926 * posix/getconf.c: Update copyright year.
20927 * nss/getent.c: Likewise.
a316c1f6 20928 * nss/makedb.c: Likewise.
81fb02b0
UD
20929 * iconv/iconvconfig.c: Likewise.
20930 * iconv/iconv_prog.c: Likewise.
20931 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20932 * elf/pldd.c: Likewise.
20933 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20934 * catgets/gencat.c: Likewise.
20935 * csu/version.c: Likewise.
20936 * elf/ldd.bash.in: Likewise.
20937 * elf/sprof.c (print_version): Likewise.
20938 * locale/programs/locale.c: Likewise.
20939 * locale/programs/localedef.c: Likewise.
a316c1f6 20940 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20941 * nscd/nscd.c (print_version): Likewise.
20942 * debug/xtrace.sh: Likewise.
20943 * malloc/memusage.sh: Likewise.
20944 * malloc/mtrace.pl: Likewise.
20945 * debug/catchsegv.sh: Likewise.
20946
2ba92745
JJ
209472011-12-30 Jakub Jelinek <jakub@redhat.com>
20948
20949 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20950 pure attribute.
20951
dadebdae
UD
209522011-12-24 Ulrich Drepper <drepper@gmail.com>
20953
d3761ebc 20954 [BZ #13533]
db6af3eb
UD
20955 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20956 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20957 transformations.
20958 * iconv/gconv_int.h: Likewise.
20959 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20960 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20961 from libc for GLIBC_2.16.
20962 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20963 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20964 * wcsmbs/uchar.h: Really define mbstate_t.
20965 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20966 * wcsmbs/c16rtomb.c: New file.
20967 * wcsmbs/mbrtoc16.c: New file.
20968 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20969 for C/POSIX locale.
20970 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20971 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20972
dadebdae
UD
20973 * wcsmbs/wchar.h: Add missing __restrict.
20974
67371b56
UD
209752011-12-23 Ulrich Drepper <drepper@gmail.com>
20976
74033a25
UD
20977 [BZ #13532]
20978 * time/Makefile (routines): Add timespec_get.
20979 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20980 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20981 timespec for ISO C11.
20982 * time/timespec_get.c: New file.
20983 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20984 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20985
380d7e87
UD
20986 [BZ #13531]
20987 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20988 * stdlib/stdlib.h: Declare aligned_alloc.
20989 * Versions.def: Add GLIBC_2.16 for libc.
20990 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20991
4e9e7a35
UD
20992 [BZ 13527]
20993 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20994 ISO C11.
20995
380d7e87 20996 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20997 code.
20998
03a71829
UD
20999 [BZ #13528]
21000 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21001
839e283e
UD
21002 [BZ #13529]
21003 * assert/assert.h (static_assert): Define.
21004
ce5294e2 21005 * version.h: Update for 2.16 development version.
90fa7312 21006
8d44e150 21007 [BZ #13526]
d7809905
UD
21008 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21009 _ISOC11_SOURCE.
21010
c0da14cd
UD
21011 * version.h (RELEASE): Bump for 2.15 release.
21012 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21013
530a3249
MP
21014 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21015 Patch by Marek Polacek <mpolacek@redhat.com>.
21016
67371b56
UD
21017 * bits/byteswap.h: Protect long long constants with __extension__.
21018 * sysdeps/i386/bits/byteswap.h: Likewise.
21019 * sysdeps/ia64/bits/byteswap.h: Likewise.
21020 * sysdeps/s390/bits/byteswap.h: Likewise.
21021 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21022
15db4de1
LD
210232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21024
21025 [BZ #13540]
bbe315ea
LD
21026 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21027 destination buffer.
15db4de1
LD
21028 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21029
2b2596b1
MP
210302011-12-23 Marek Polacek <polacek@redhat.com>
21031
21032 * elf/dl-addr.c (determine_info): Add inline keyword.
21033 * elf/tst-auditmod4b.c (check_avx): Likewise.
21034 * elf/tst-auditmod6b.c (check_avx): Likewise.
21035 * elf/tst-auditmod6c.c (check_avx): Likewise.
21036 * elf/tst-auditmod7b.c (check_avx): Likewise.
21037
70c6c246
UD
210382011-12-23 Ulrich Drepper <drepper@gmail.com>
21039
21040 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21041 !__SSE_MATH__.
21042
c044cf14
LD
210432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21044
15db4de1 21045 [BZ #13540]
c044cf14
LD
21046 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21047 processing for last bytes.
21048
6b13d9d9
BH
210492011-08-06 Bruno Haible <bruno@clisp.org>
21050
d455f537
BH
21051 [BZ #13061]
21052 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21053 U+0385, not to U+1FEE.
21054
6b13d9d9
BH
21055 [BZ #13062]
21056 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21057 entry for U+00A5 U+0301.
21058
db910efd
UD
210592011-12-22 Ulrich Drepper <drepper@gmail.com>
21060
27deeafc
UD
21061 [BZ #13166]
21062 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21063 buffer for the output is too small.
21064
aed9d171
UD
21065 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21066 optimization.
21067
db910efd
UD
21068 [BZ #13185]
21069 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21070 SSE flags if possible.
21071
2bd779ae
LD
210722011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21073
e7f9dac3 21074 [BZ #13540]
2bd779ae
LD
21075 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21076 processing for last bytes.
21077
154bfc16
JM
210782011-12-22 Joseph Myers <joseph@codesourcery.com>
21079
21080 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21081 (syscall-list-default-options, syscall-list-default-condition)
21082 (syscall-list-includes): Define.
21083 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21084 list of ABIs and options and #if conditions for each ABI. Do not
21085 handle common syscalls between ABIs specially.
21086 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21087 Remove.
21088 (syscall-list-variants, syscall-list-32bit-options)
21089 (syscall-list-32bit-condition, syscall-list-64bit-options)
21090 (syscall-list-64bit-condition): Define.
21091 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21092 (syscall-list-variants, syscall-list-32bit-options)
21093 (syscall-list-32bit-condition, syscall-list-64bit-options)
21094 (syscall-list-64bit-condition): Define.
21095 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21096 Remove.
21097 (syscall-list-variants, syscall-list-32bit-options)
21098 (syscall-list-32bit-condition, syscall-list-64bit-options)
21099 (syscall-list-64bit-condition): Define.
21100 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21101 Remove.
21102 (syscall-list-variants, syscall-list-32bit-options)
21103 (syscall-list-32bit-condition, syscall-list-64bit-options)
21104 (syscall-list-64bit-condition): Define.
21105
21eaf3a5
UD
211062011-12-22 Ulrich Drepper <drepper@gmail.com>
21107
16c6f992
UD
21108 * locale/iso-639.def: Add brx entry.
21109
41043168
UD
21110 [BZ #13328]
21111 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21112 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21113
21eaf3a5
UD
21114 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21115 __feraiseexcept_renamed.
21116
e3a851a2
UD
211172011-12-21 Ulrich Drepper <drepper@gmail.com>
21118
4920765e
UD
21119 [BZ #13538]
21120 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21121 EPOLLET with unsigned values.
21122 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21123 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21124
e3a851a2
UD
21125 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21126 to large cancellation.
21127 * math/s_cacoshf.c: Likewise.
21128 * math/s_cacoshl.c: Likewise.
21129
b27e24b8
RK
211302011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21131
21132 [BZ #13305]
aebefeee 21133 [BZ #12786]
b27e24b8
RK
21134 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21135 * math/s_cacoshf.c: Likewise.
21136 * math/s_cacoshl.c: Likewise.
21137
ee190f67
UD
211382011-12-21 Ulrich Drepper <drepper@gmail.com>
21139
21140 [BZ #13439]
21141 * iconv/gconv.h: Define __GCONV_SWAP.
21142 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21143 * iconvdata/utf-16.c: Likewise.
21144 * iconvdata/utf-32.c: Likewise.
21145
707f25df
AS
211462011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21147
21148 [BZ #13524]
21149 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21150 numerator after shifting it by one limb.
21151
d2daaa1e
RÁE
211522011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21153
21154 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21155 under [__USE_EXTERN_INLINES].
21156
a4647e72
UD
211572011-12-17 Ulrich Drepper <drepper@gmail.com>
21158
21159 [BZ #13446]
21160 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21161
f0b264f1
AZ
211622011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21163
21164 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21165 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21166 optimized code.
21167 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21168 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21169 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21170 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21171 for strncasecmp/strncasecmp_l compilation.
21172 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21173 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21174
8ef4f244
MP
211752011-12-08 Marek Polacek <mpolacek@redhat.com>
21176
21177 [BZ #13484]
21178 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21179 of __asm__.
21180
97ac2654
UD
211812011-12-17 Ulrich Drepper <drepper@gmail.com>
21182
21183 [BZ #13506]
21184 * time/tzfile.c (__tzfile_read): Check values from file header.
21185
91d2a845
WS
211862011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21187
21188 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21189 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21190 * powerpc/powerpc32/dl-start.S: Likewise.
21191 * powerpc/powerpc32/elf/start.S: Likewise.
21192 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21193 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21194 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21195 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21196 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21197 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21198 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21199 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21200 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21201 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21202 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21203 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21204 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21205 * powerpc/powerpc32/memset.S: Likewise.
21206 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21207 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21208 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21209 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21210 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21211 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21212 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21213 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21214 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21215 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21216 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21217 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21218 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21219
a1267ba1
AZ
212202011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21221
21222 * math/libm-test.inc: Added more nearbyint tests.
21223 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21224 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21225 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21226 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21227
ad8ac1bd
RL
212282011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21229
21230 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21231 FD_CLOEXEC.
21232
1d3e4b61
UD
212332011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21234
21235 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21236 Add wcscpy-ssse3 wcscpy-c.
21237 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21238 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21239 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21240 * sysdeps/x86_64/wcschr.S: New file.
21241 * sysdeps/x86_64/wcsrchr.S: New file.
21242 * string/test-strcmp.c: Remove checking of wcscmp function for
21243 wrong alignments.
21244 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21245 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21246 wcsrchr-sse2 wcsrchr-c.
21247 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21248 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21249 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21250 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21251 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21252 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21253 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21254 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21255 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21256 * wcsmbc/wcschr.c (WCSCHR): New macro.
21257
5b330a2d
UD
212582011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21259
21260 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21261 * wcsmbs/test-wcsrchr.c: New file.
21262 * string/test-strrchr.c: Add wcsrchr support.
21263 (WIDE): New macro.
21264 * wcsmbs/test-wcscpy.c: New file.
21265 * string/test-strcpy.c: Add wcscpy support.
21266 (WIDE): New macro.
26428b7c 21267
f039c043
UD
212682011-12-10 Ulrich Drepper <drepper@gmail.com>
21269
21270 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21271 the inner loop.
21272
850fb039
AS
212732011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21274
21275 [BZ #13472]
21276 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21277
4efbd5cb
UD
212782011-12-04 Ulrich Drepper <drepper@gmail.com>
21279
52ff5dd0 21280 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21281 Minor optimizations.
52ff5dd0 21282
4efbd5cb
UD
21283 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21284 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21285 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21286
8a426e12
UD
212872011-12-03 Ulrich Drepper <drepper@gmail.com>
21288
aff2453d
UD
21289 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21290 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21291 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21292 for gcc to avoid warnings.
21293 * inet/Makefile (tests): Add tst-checks.
21294 * inet/tst-checks.c: New file.
21295
21296 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21297 warning.
21298
21299 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21300 __wmemcmp_sse2.
21301
21302 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21303 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21304
8a426e12
UD
21305 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21306
9bea3473
UD
213072011-12-02 Ulrich Drepper <drepper@gmail.com>
21308
3a965496
UD
21309 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21310 problem.
21311
9bea3473
UD
21312 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21313
f101631b
UD
213142011-11-29 Joseph Myers <joseph@codesourcery.com>
21315
21316 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21317 conditional on GCC version.
21318 (__arch_compare_and_exchange_val_8_acq)
21319 (__arch_compare_and_exchange_val_16_acq)
21320 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21321 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21322 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21323
a98275aa
UD
213242011-12-02 Joseph Myers <joseph@codesourcery.com>
21325
21326 * sysdeps/sh/backtrace.c: New file.
21327
d4cc29a2
AS
213282011-12-02 Andreas Schwab <schwab@redhat.com>
21329
21330 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21331 parenthesis.
21332
6257af2d
AS
213332011-12-01 Andreas Schwab <schwab@redhat.com>
21334
21335 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21336 falling back to utime.
21337
b5f44c1a
AS
213382011-11-30 Andreas Schwab <schwab@redhat.com>
21339
21340 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21341 expectations for float.
21342
f3a6cc0a
AS
213432011-11-29 Andreas Schwab <schwab@redhat.com>
21344
21345 * locale/weight.h (findidx): Add parameter len.
21346 * locale/weightwc.h (findidx): Likewise.
21347 * posix/fnmatch_loop.c (FCT): Adjust caller.
21348 * posix/regcomp.c (build_equiv_class): Likewise.
21349 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21350 * posix/regexec.c (check_node_accept_bytes): Likewise.
21351 * string/strcoll_l.c (STRCOLL): Likewise.
21352 * string/strxfrm_l.c (STRXFRM): Likewise.
21353
9d65ea3a
UD
213542011-11-17 Ulrich Drepper <drepper@gmail.com>
21355
21356 * Makefile.in: Remove CVSOPT handling.
21357 * configure.in: Remove use of AC_REVISION.
21358 * iconvdata/Makefile (distribute): No need to filter out CVS.
21359 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21360 handling.
21361
5583a086
AS
213622011-11-16 Andreas Schwab <schwab@redhat.com>
21363
21364 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21365 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21366 [USE_AS_STRNCASECMP_L]: Likewise.
21367 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21368 NO_TLS_DIRECT_SEG_REFS.
21369 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21370 Fix argument offsets for non-PIC.
21371 [USE_AS_STRNCASECMP_L]: Likewise.
21372 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21373 NO_TLS_DIRECT_SEG_REFS.
21374
d62a8200
UD
213752011-11-15 Ulrich Drepper <drepper@gmail.com>
21376
9d65ea3a 21377 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21378 O_CLOEXEC.
21379 * locale/loadlocale.c (_nl_load_locale): Likewise.
21380
09f93bd3
AS
213812011-11-15 Andreas Schwab <schwab@redhat.com>
21382
446514f9
AS
21383 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21384 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21385 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21386 (SYSCALL_GETTIME): Set errno on error.
21387
09f93bd3
AS
21388 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21389 count references to noai6ai_cached.
21390
312be3f9
UD
213912011-11-15 Ulrich Drepper <drepper@gmail.com>
21392
21393 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21394
21395 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21396 FD_CLOEXEC for /proc/self/maps.
21397
21398 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21399 FD_CLOEXEC for /proc/meminfo.
21400
21401 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21402 gai.conf.
21403
21404 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21405 FD_CLOEXEC for given file.
21406
21407 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21408
21409 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21410 FD_CLOEXEC for /etc/hosts.
21411 (_gethtent): Likewise.
21412
21413 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21414
21415 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21416 cancellation and set FD_CLOEXEC for /etc/netgroup.
21417
21418 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21419 reading /etc/publickey.
21420
21421 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21422 allow cancellation when reading /etc/group.
21423
21424 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21425 cancellation.
21426 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21427
21428 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21429 when using data file.
21430
21431 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21432
21433 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21434 (write_nis_obj): Use "c" and "e" in fopen.
21435
21436 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21437
21438 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21439
21440 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21441
21442 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21443
21444 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21445 locale.alias.
21446
21447 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21448
21449 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21450
21451 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21452
21453 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21454 file parsing and set FD_CLOEXEC.
21455
82af0fa8
UD
214562011-11-14 Ulrich Drepper <drepper@gmail.com>
21457
21458 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21459
a5fb313c
AS
214602011-11-14 Andreas Schwab <schwab@redhat.com>
21461
21462 * malloc/arena.c (arena_get2): Don't call reused_arena when
21463 _int_new_arena failed.
21464
6abf3465
UD
214652011-11-14 Ulrich Drepper <drepper@gmail.com>
21466
21467 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21468 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21469 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21470 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21471 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21472 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21473 to compile strcasecmp and strncasecmp.
21474 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21475 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21476
21477 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21478
76e3966e
UD
214792011-11-13 Ulrich Drepper <drepper@gmail.com>
21480
21481 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21482 locale-defines.sym to gen-as-const-headers.
21483 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21484 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21485 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21486 to compile strcasecmp and strncasecmp.
21487 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21488 strcasecmp_l and strncasecmp_l.
21489 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21490 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21491 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21492 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21493 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21494 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21495 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21496 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21497 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21498 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21499 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21500
ab26144e
UD
215012011-11-12 Ulrich Drepper <drepper@gmail.com>
21502
7edb22ef
UD
21503 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21504 result of SYSDEP_GETTIME_CPU to retval.
21505 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21506 parameter list to macro. Remove trailing semicolon. Adjust users.
21507
9694fc44
UD
21508 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21509 variable.
21510
8ad89ef8
UD
21511 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21512 mantissa words.
21513 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21514
0c822ef9
UD
21515 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21516 from unused variable.
21517
874e0564
UD
21518 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21519 DWARF definitions.
21520 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21521 for assembling.
21522
3a2edc79
UD
21523 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21524 over namespaces.
21525
f3c2577f
UD
21526 * sunrpc/rpc_prot.c (rejected): Fix case value.
21527
294ce126
UD
21528 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21529 unsigned long long int to avoid warnings in shift.
21530
5e2b63c6
UD
21531 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21532 of use of trans.
21533 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21534 variable tmp.
21535
e7f4b08e
UD
21536 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21537 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21538 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21539
ab26144e
UD
21540 * nis/nis_table.c (nis_list): Use variable of correct type for
21541 result of __follow_path call.
21542
8a6d5255
AZ
215432011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21544
21545 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21546 of math functions ceil, trunc, floor, round, and sqrt, when
21547 avaliable on the platform.
21548 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21549 name clash.
21550 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21551 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21552 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21553
aaddc98c
MP
215542011-10-30 Marek Polacek <mpolacek@redhat.com>
21555
21556 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21557 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21558
95b7042b
RM
215592011-11-11 Roland McGrath <roland@hack.frob.com>
21560
21561 * include/unistd.h: Fix __readlink return type.
21562 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21563
57769839
UD
215642011-11-11 Ulrich Drepper <drepper@gmail.com>
21565
21566 * stdlib/ucontext.h: Undo last change for makecontext.
21567
edc5984d
AS
215682011-11-11 Andreas Schwab <schwab@redhat.com>
21569
98591e58
AS
21570 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21571
edc5984d
AS
21572 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21573 * setjmp/setjmp.h: Mark functions as non-leaf.
21574 * setjmp/bits/setjmp2.h: Likewise.
21575 * stdlib/ucontext.h: Likewise.
21576
77cdc054
AS
215772011-11-10 Andreas Schwab <schwab@redhat.com>
21578
21579 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21580 (reused_arena): Don't check arena limit.
21581 (arena_get2): Atomically check arena limit.
21582
fe72eebd
UD
215832011-11-08 Ulrich Drepper <drepper@gmail.com>
21584
5f078c32
UD
21585 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21586 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21587
fe72eebd
UD
21588 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21589 instructions.
21590
ae1bc2fa
AS
215912011-11-07 Andreas Schwab <schwab@redhat.com>
21592
7583a88d
AS
21593 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21594 handler when locking.
21595
ae1bc2fa
AS
21596 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21597 Fix size of allocated buffer.
21598
10fb0bfa
AS
215992011-11-04 Andreas Schwab <schwab@redhat.com>
21600
998832a4
AS
21601 [BZ #10103]
21602 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21603 declarations for long double functions.
21604 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21605
10fb0bfa
AS
21606 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21607
3d7ba52b
AS
216082011-11-03 Andreas Schwab <schwab@redhat.com>
21609
a9ae54a1
AS
21610 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21611 installed.
21612
3d7ba52b
AS
21613 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21614 is disabled.
21615
bc8db248
ST
216162011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21617
21618 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21619
45b96dd6
AS
216202011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21621
647776f6
AS
21622 * include/alloca.h (stackinfo_alloca_round): Define.
21623 (extend_alloca): Use it.
21624 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21625 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21626 here.
21627
d91a8b93
AS
21628 * scripts/check-local-headers.sh: Ignore libaudit.h.
21629
45b96dd6
AS
21630 * nscd/Makefile (extra-objs): Make recursively expanded.
21631
432d41ce
UD
216322011-11-01 Ulrich Drepper <drepper@gmail.com>
21633
34372fc6
UD
21634 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21635 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21636
fadb59f8
UD
21637 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21638 * posix/tst-rfc3484-2.c: Likewise.
21639 * posix/tst-rfc3484-3.c: Likewise.
21640
78239589
UD
21641 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21642 process_vm_writev.
21643 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21644 process_vm_writev.
21645 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21646 process_vm_writev from libc using GLIBC_2.15 version.
21647
432d41ce
UD
21648 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21649
02f9c6cf
PP
216502011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21651
21652 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21653 stack usage.
21654
3a2c0242
UD
216552011-10-31 Ulrich Drepper <drepper@gmail.com>
21656
f4ec4833
UD
21657 [BZ #13367]
21658 * nss/getent.c (initgroups_keys): Show error message in case no group
21659 names are given.
21660
3a2c0242
UD
21661 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21662 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21663 __bump_nl_timestamp.
21664 * nscd/connections (nscd_init): When host database is served open
21665 netlink socket and request notification about configuration changes.
21666 (main_loop_poll): Track netlink file descriptor and bump timestamp
21667 in case data becomes available.
21668 (main_loop_epoll): Likewise.
21669 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21670 (database_pers_head): Add extra_data fileds.
21671 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21672 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21673 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21674 Adjust caller.
21675 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21676 in6ai data, call __free_in6ai.
21677 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21678 Add -DHAVE_NETLINK.
21679 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21680 interface information. Reuse previous data if netlink timestamp
21681 is not changed.
21682 (__bump_nl_timestamp): New function.
21683 (__free_in6ai): New function.
21684
636064eb
UD
216852011-10-30 Ulrich Drepper <drepper@gmail.com>
21686
21687 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21688 close_not_cancel_no_status here.
21689 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21690
9beb2334
UD
216912011-10-29 Ulrich Drepper <drepper@gmail.com>
21692
6ef76f3b
UD
21693 [BZ #13276]
21694 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21695 return value.
21696
0ffc4f3e 21697 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21698 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21699 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21700
cb95113e
UD
217012011-07-03 Andreas Jaeger <aj@suse.de>
21702
21703 [BZ #10709]
21704 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21705 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21706 * math/libm-test.inc (sin_test): Add test case.
21707
a1b560ff
UD
217082011-10-29 Ulrich Drepper <drepper@gmail.com>
21709
c9aaface
UD
21710 [BZ #13337]
21711 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21712 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21713
d272e7f1
UD
21714 * elf/chroot_canon.c (chroot_canon): Cleanups.
21715
1bc33071
UD
21716 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21717
1760874d
TJ
21718 [BZ #13335]
21719 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21720 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21721
51d91b18
UD
21722 * string/test-strchr.c: Make usable for strchrnul testing.
21723 * string/test-strchrnul.c: New file.
21724 * string/Makefile (strop-tests): Add strchrnul.
21725
a1b560ff 21726 * po/it.po: Update from translation team.
b611fb81 21727 * po/es.po: Likewise.
a1b560ff 21728
a5b81e1f
UD
217292011-10-28 Ulrich Drepper <drepper@gmail.com>
21730
fd52bc6d
UD
21731 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21732 the three constants needed as parameters. Drop the others.
21733 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21734 __m128i_strloadu_tolower.
52e4b9eb
UD
21735 Create and initialize variable zero and use it in all the places
21736 where _mm_setzero_si128 was used.
fd52bc6d 21737
a5b81e1f
UD
21738 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21739 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21740 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21741 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21742 anymore.
21743 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21744 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21745 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21746 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21747 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21748 __mpranred, __mptan.
21749 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21750 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21751 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21752 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21753 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21754 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21755 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21756 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21757 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21758
b4343346
AS
217592011-10-28 Andreas Schwab <schwab@redhat.com>
21760
0c92d8a8
AS
21761 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21762 redefine if SHARED.
21763 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21764
b4343346
AS
21765 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21766 wide char related routines to wcsmbs subdir.
21767
3871f58f
AS
217682011-10-27 Andreas Schwab <schwab@redhat.com>
21769
21770 [BZ #13344]
21771 * misc/sys/cdefs.h (__THROWNL): Define.
21772 * posix/unistd.h: Use __THREADNL instead of __THREAD
21773 for memory synchronization functions.
21774
94d44d9f
RM
217752011-10-26 Roland McGrath <roland@hack.frob.com>
21776
21b64b15 21777 [BZ #13349]
94d44d9f
RM
21778 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21779 doesn't exist.
21780 * manual/stdio.texi (Obstack Streams): Node removed.
21781
f6ce9294
AS
217822011-10-26 Andreas Schwab <schwab@redhat.com>
21783
80479147
AS
21784 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21785 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21786 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21787
f6ce9294
AS
21788 * math/math_private.h (math_force_eval): Allow non-addressable
21789 arguments.
21790 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21791
618280a1
UD
217922011-10-25 Ulrich Drepper <drepper@gmail.com>
21793
e0016b11
UD
21794 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21795 file is not needed.
21796
21797 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21798 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21799 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21800 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21801 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21802 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21803 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21804 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21805 Add AVX variants.
21806 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21807 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21808 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21809 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21810 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21811 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21812 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21813 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21814 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21815 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21816 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21817 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21818 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21819 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21820 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21821 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21822 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21823 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21824 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21825
21826 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21827 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21828
618280a1
UD
21829 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21830 place. Use VEX encoding when compiling for AVX.
21831
37822576
AS
218322011-10-25 Andreas Schwab <schwab@redhat.com>
21833
1f1e1947
AS
21834 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21835 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21836
37822576
AS
21837 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21838
31ea014d
UD
218392011-10-25 Ulrich Drepper <drepper@gmail.com>
21840
d7826aa1 21841 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21842 useless if() expression.
d7826aa1
UD
21843 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21844 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21845 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21846 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21847 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21848 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21849 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21850 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21851 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21852 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21853 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21854 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21855 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21856 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21857 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21858 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21859 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21860 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21861 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21862
31ea014d
UD
21863 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21864
16437fec
AS
218652011-10-25 Andreas Schwab <schwab@redhat.com>
21866
21867 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21868 condition.
21869 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21870
31d3cc00
UD
218712011-10-25 Ulrich Drepper <drepper@gmail.com>
21872
21873 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21874 .text section. Avoid duplicate constants.
21875 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21876 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21877 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21878 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21879 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21882 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21883 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21884 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21885 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21886 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21887 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21888 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21889 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21890 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21891 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21892 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21893 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21894 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21895 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21896 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21897 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21898 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21899 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21900 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21901 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21902 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21903 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21904 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21905 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21906 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21907 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21908 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21909 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21910 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21911 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21912 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21913 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21914 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21915 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21916 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21917 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21918 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21919 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21920
58985aa9
UD
219212011-10-24 Ulrich Drepper <drepper@gmail.com>
21922
202c9deb
UD
21923 * sysdeps/x86_64/dla.h: Move to ...
21924 * sysdeps/x86_64/fpu/dla.h: ...here.
21925 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21926 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21927
af968f62
UD
21928 * config.make.in: Add have-mfma4 entry.
21929 * configure.in: Substitute libc_cv_cc_fma4.
21930 * math/Makefile (dbl-only-routines): Add sincostab.
21931 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21932 Use __sincostab not sincos.
21933 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21934 name is a macro.
21935 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21936 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21937 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21938 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21939 using __copysign.
21940 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21941 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21942 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21943 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21944 and __inv.
21945 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21946 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21947 __copysign.
21948 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21949 define aliases when function name is a macro.
21950 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21951 sysdeps/ieee754/dbl-64/sincos.tbl.
21952 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21953 fma4-enabled routines.
21954 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21955 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21956 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21957 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21958 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21959 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21960 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21961 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21962 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21963 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21964 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21965 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21966 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21967 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21968 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21969 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21970 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21971 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21972 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21973 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21974 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21975 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21976 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21977 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21978 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21979 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21980 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21981 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21982 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21983 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21984
58985aa9
UD
21985 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21986 rename.
21987 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21988 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21989 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21991 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21992 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21993 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21994 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21995
a201fbcf
AS
219962011-10-24 Andreas Schwab <schwab@redhat.com>
21997
21998 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21999
fc2ee42a
LD
220002011-10-23 Ulrich Drepper <drepper@gmail.com>
22001
bb3129bd
UD
22002 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22003
0275fff8
UD
22004 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22005 prediction.
22006 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22007
2fa2ae85
UD
22008 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22009 Remove unused variable magic_bits.
22010 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22011
fc2ee42a
LD
22012 * string/strnlen.c: Define and use STRNLEN macro.
22013 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22014 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22015 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22016 * wcsmbs/wcslen.c: Define and use WCSLEN.
22017 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22018 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22019 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22020 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22021 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22022 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22023 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22024
ce7dd29f
LD
220252011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22026
22027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22028 strnlen-sse2-no-bsf.
22029 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22030 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22031 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22032 Add strnlen support.
22033 (USE_AS_STRNLEN): New macro.
22034 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22035 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22036 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22037 * sysdeps/x86_64/wcslen.S: New file.
22038
979c70a3
MZ
220392011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22040
22041 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22042 XMM-moves are used for copying on small sizes.
22043
2d09f82f
LD
220442011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22045
22046 * wcsmbs/Makefile (strop-tests): Add wcschr.
22047 * wcsmbs/test-wcschr.c: New file.
22048 * string/test-strchr.c: Update.
22049 Add wcschr support.
22050 (WIDE): New macro.
22051
619fccca
LD
220522011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22053
2d09f82f 22054 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22055 * wcsmbs/test-wcslen.c: New file.
22056 * string/test-strlen.c: Update.
22057 Add wcslen support.
22058 (WIDE): New macro.
22059
09f699ea
UD
220602011-10-23 Ulrich Drepper <drepper@gmail.com>
22061
22062 * po/it.po: Update from translation team.
22063
95584d3b
LD
220642011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22065
22066 * sysdeps/x86_64/wcscmp.S: Update.
22067 Fix wrong comparison semantics.
22068 wcscmp shall use signed comparison not unsigned.
22069 Don't use substraction to avoid overflow bug.
22070 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22071 * wcsmbc/wcscmp.c: Likewise.
22072 * string/test-strcmp.c: Likewise.
22073 Add new tests to check cases with negative values.
22074
c8b3296b
UD
220752011-10-23 Ulrich Drepper <drepper@gmail.com>
22076
22077 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22078 * sysdeps/x86_64/dla.h: ...here. New file.
22079 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22080 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22081 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22082 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22083 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22084 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22085 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22086 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22087 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22088
246ad57a
AS
220892011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22090
22091 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22092 __ynl_finite aliases.
22093
a1a87169
UD
220942011-10-22 Ulrich Drepper <drepper@gmail.com>
22095
0d355eb7
UD
22096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22097
a1a87169
UD
22098 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22099 define DLA_FMA.
22100 [DLA_FMA] (EMULV): Use DLA_FMA.
22101 [DLA_FMA] (MUL12): Use EMULV.
22102 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22103 that are not needed.
22104 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22105 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22106 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22107 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22108 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22109 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22110 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22111
ee2aafe0
AS
221122011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22113
22114 * math/s_nan.c: Undef __nan.
22115 * math/s_nanf.c: Undef __nanf.
22116 * math/s_nanl.c: Undef __nanl.
22117 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22118 "math_private.h".
22119
bc62c2fb
UD
221202011-10-22 Ulrich Drepper <drepper@gmail.com>
22121
77425c63
UD
22122 * math/s_catan.c: Add branch predictions.
22123 * math/s_catanf.c: Likewise.
22124 * math/s_catanh.c: Likewise.
22125 * math/s_catanhf.c: Likewise.
22126 * math/s_catanhl.c: Likewise.
22127 * math/s_catanl.c: Likewise.
22128 * math/s_cexp.c: Likewise.
22129 * math/s_cexpf.c: Likewise.
22130 * math/s_cexpl.c: Likewise.
22131 * math/s_clog.c: Likewise.
22132 * math/s_clog10.c: Likewise.
22133 * math/s_clog10f.c: Likewise.
22134 * math/s_clog10l.c: Likewise.
22135 * math/s_clogf.c: Likewise.
22136 * math/s_clogl.c: Likewise.
22137 * math/s_csqrt.c: Likewise.
22138 * math/s_csqrtf.c: Likewise.
22139 * math/s_csqrtl.c: Likewise.
22140 * math/s_ctanf.c: Likewise.
22141 * math/s_ctanh.c: Likewise.
22142 * math/s_ctanhf.c: Likewise.
22143 * math/s_ctanhl.c: Likewise.
22144 * math/s_ctanl.c: Likewise.
22145
bc62c2fb
UD
22146 * math/math_private.h: Define __nan, __nanf, __nanl.
22147 * math/s_cacosh.c: Include <math_private.h>.
22148 * math/s_cacoshl.c: Likewise.
22149 * math/s_casinh.c: Likewise.
22150 * math/s_casinhf.c: Likewise.
22151 * math/s_casinhl.c: Likewise.
22152 * math/s_ccos.c: Rely entire on ccosh.
22153 * math/s_ccosf.c: Rely entire on ccoshf.
22154 * math/s_ccosl.c: Rely entirely on ccoshl.
22155 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22156 Remove tests for FE_INVALID.
22157 * math/s_ccoshf.c: Likewise.
22158 * math/s_ccoshl.c: Likewise.
22159 * math/s_csin.c: Likewise.
22160 * math/s_csinf.c: Likewise.
22161 * math/s_csinh.c Likewise.
22162 * math/s_csinhf.c: Likewise.
22163 * math/s_csinhl.c: Likewise.
22164 * math/s_csinl.c: Likewise.
22165 * math/s_ctan.c: Likewise.
22166 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22167 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22168 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22169
8ec250a4
UD
221702011-10-21 Ulrich Drepper <drepper@gmail.com>
22171
c196fed8
UD
22172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22173 compilation problems.
22174
8ec250a4
UD
22175 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22176 __builtin_expect.
22177
8d4f46c6
UD
221782011-10-20 Ulrich Drepper <drepper@gmail.com>
22179
ed72b654
UD
22180 * sysdeps/i386/configure.in: Test for -mfma4 option.
22181 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22182 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22183 COMMON_CPUID_INDEX_80000001.
22184 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22185 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22186 use it if FMA3 is not supported.
22187 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22188
8d4f46c6
UD
22189 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22190 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22191
d45c60c2
AS
221922011-10-20 Andreas Schwab <schwab@redhat.com>
22193
22194 [BZ #12892]
22195 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22196 it would create a cycle with a link time dependency.
22197
d9a4d2ab
UD
221982011-10-19 Ulrich Drepper <drepper@gmail.com>
22199
855d1560
UD
22200 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22201 instruction.
22202 * string/Makefile (strop-tests): Add rawmemchr.
22203 * string/test-rawmemchr.c: New file.
22204
d9a4d2ab
UD
22205 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22206 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22207 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22208 when compiling str{,n}casecmp and when AVX is available. Hook up
22209 new optimized code in initializers.
22210
8f3b1ffe
AS
222112011-10-19 Andreas Schwab <schwab@redhat.com>
22212
22213 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22214 __feraiseexcept instead of feraiseexcept.
22215
d38f1dba
UD
222162011-10-18 Ulrich Drepper <drepper@gmail.com>
22217
d9a8d0ab
UD
22218 * math/math_private.h: Define defaults for libc_fetestexcept and
22219 libc_feupdateenv.
22220 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22221 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22222 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22223 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22224 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22225 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22226 libc_fetestexcept and libc_feupdateenv.
22227
4855e3dd
UD
22228 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22229 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22230 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22231 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22232 libc_feholdexcept_setround.
22233
581d30e3
UD
22234 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22235 Add s_nearbyint-c and s_nearbyintf-c.
22236 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22237 nearbyintf inlines.
22238 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22239 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22240 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22241 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22242
d38f1dba
UD
22243 * math/math_private.h: Define defaults for libc_fegetround,
22244 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22245 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22246 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22247 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22248 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22249 standard functions.
22250 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22251 Remove comments and hacks for old compiler versions.
22252 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22253 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22254 libc_feholdexceptl.
22255
caa6c9d8
AS
222562011-10-18 Andreas Schwab <schwab@redhat.com>
22257
22258 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22259 (__feraiseexcept_renamed): Add __NTH.
22260 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22261 namespace violations.
22262
97c066e6
UD
222632011-10-17 Ulrich Drepper <drepper@gmail.com>
22264
99ce7b04
UD
22265 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22266
1004d182
UD
22267 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22268
228a984d
UD
22269 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22270 recently added interfaces.
22271 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22272
c8553a6a
UD
22273 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22274 about macro parameter expansion.
22275
ed22dcf6
UD
22276 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22277 __NO_MATH_INLINES is defined. Cleanups.
22278
22279 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22280 and __floorf is target has SSE4.1.
22281 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22282 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22283 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22284 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22285
b171c137
UD
22286 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22287 name.
22288 (floorf): Likewise.
22289
97c066e6
UD
22290 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22291
629f62ef
AS
222922011-10-17 Andreas Schwab <schwab@redhat.com>
22293
49a43d80
AS
22294 * misc/sys/cdefs.h: Fix last change.
22295
629f62ef
AS
22296 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22297 database lookup.
22298
e453f6cd
UD
222992011-10-16 Ulrich Drepper <drepper@gmail.com>
22300
aa78043a
UD
22301 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22302
ad0f5cad
UD
22303 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22304 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22305 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22306 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22307 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22308 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22309 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22310 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22311 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22312 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22313 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22314 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22315 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22316 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22317 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22318 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22319 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22320 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22321 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22322 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22323 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22324 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22325
22326 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22327 ceil, ceilf, floor, floorf.
22328
22329 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22330 Perform IRELATIVE relocations last.
22331
e453f6cd
UD
22332 * elf/do-rel.h: Add another parameter nrelative, replacing the
22333 local variable with the same name. Change name of the function
22334 to end in Rel or Rela (uppercase).
22335 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22336 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22337 elf_dynamic_do_##reloc function.
22338
fd5bdc09
UD
223392011-10-15 Ulrich Drepper <drepper@gmail.com>
22340
79b195b5
UD
22341 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22342 is sufficient, at least on modern CPUs.
22343
d4a28569
UD
22344 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22345
b61099b5
UD
22346 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22347 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22348
bcf01e6d
UD
22349 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22350 __expl_finite.
22351 * math/bits/math-finite.h: Add entries for exp.
22352 * math/e_expl.c: Add __*_finite alias.
22353 * sysdeps/i386/fpu/e_exp.S: Likewise.
22354 * sysdeps/i386/fpu/e_expf.S: Likewise.
22355 * sysdeps/i386/fpu/e_expl.c: Likewise.
22356 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22357 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22358 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22359 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22360 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22361 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22362 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22363
ba1a0d59
UD
22364 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22365 is sufficient, at least on modern CPUs.
22366
fd5bdc09
UD
22367 * ctype/ctype-info.c (__ctype_init): Define.
22368 * include/ctype.h (__ctype_init): Declare.
22369 (__ctype_b_loc): The variable is always initialized.
22370 (__ctype_toupper_loc): Likewise.
22371 (__ctype_tolower_loc): Likewise.
22372 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22373 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22374
7872cfb0
AS
223752011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22376
b468825a
AS
22377 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22378
7872cfb0
AS
22379 * configure.in: Also look in $cxxmachine/include for C++ system
22380 headers.
22381
be13f7bf
LD
223822011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22383
22384 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22385 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22386 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22387 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22388 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22389 (USE_AS_WMEMCMP): New macro.
22390 Fixing indents.
22391 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22392 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22393 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22394 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22395 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22396 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22397 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22398 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22399 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22400 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22401 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22402 (USE_AS_WMEMCMP): New macro.
22403 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22404 * sysdeps/string/test-memcmp.c: Update.
22405 Fix simple_wmemcmp.
22406 Add new tests.
22407 * wcsmbs/wmemcmp.c: Update.
22408 (WMEMCMP): New macro.
22409 Fix overflow bug.
22410
556a2007
AJ
224112011-10-12 Andreas Jaeger <aj@suse.de>
22412
22413 [BZ #13268]
22414 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22415
538faaa7
UD
224162011-10-15 Ulrich Drepper <drepper@gmail.com>
22417
ab6737ff
UD
22418 * libio/iofwide.c (do_length): Avoid warning.
22419
538faaa7
UD
22420 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22421
396a21b1
UD
224222011-10-14 Ulrich Drepper <drepper@gmail.com>
22423
cdf2901f
UD
22424 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22425
38ad40ce
UD
22426 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22427 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22428 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22429 * sysdeps/i386/i686/fpu/e_log.S: New file.
22430 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22431 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22432
396a21b1
UD
22433 * ctype/ctype.h: Add support for inlined isXXX functions when
22434 compiling C++ code.
22435
6b1f68c9
AS
224362011-10-14 Andreas Schwab <schwab@redhat.com>
22437
349290c0
AS
22438 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22439
6b1f68c9
AS
22440 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22441
f2282d42
RM
224422011-10-13 Roland McGrath <roland@hack.frob.com>
22443
22444 [BZ #13291]
22445 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22446
5298ffa8
AS
224472011-10-13 Andreas Schwab <schwab@redhat.com>
22448
714fad23
AS
22449 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22450 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22451 feraiseexcept.
22452
81dcc7fb
AS
22453 * sysdeps/x86_64/memrchr.S: Check for zero size.
22454
5298ffa8
AS
22455 * string/stratcliff.c: Add memrchr tests.
22456
951fbcec
LD
224572011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22458
22459 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22460 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22461 rawmemchr-sse2 rawmemchr-sse2-bsf.
22462 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22463 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22464 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22465 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22466 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22467 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22468 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22469 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22470 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22471 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22472 * string/memrchr.c (MEMRCHR): New macro.
22473
0ac5ae23
UD
224742011-10-12 Ulrich Drepper <drepper@gmail.com>
22475
22476 Add integration with gcc's -ffinite-math-only and optimize wrapper
22477 functions in libm.
22478 * Versions.def: Define GLIBC_2.15 version for libm.
22479 * math/Makefile (headers): Add bits/math-finite.h.
22480 * math/bits/math-finite.h: New file.
22481 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22482 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22483 * math/e_acoshl.c: Add __*_finite alias.
22484 * math/e_acosl.c: Likewise.
22485 * math/e_asinl.c: Likewise.
22486 * math/e_atan2l.c: Likewise.
22487 * math/e_atanhl.c: Likewise.
22488 * math/e_coshl.c: Likewise.
22489 * math/e_exp10.c: Likewise.
22490 * math/e_exp10f.c: Likewise.
22491 * math/e_exp10l.c: Likewise.
22492 * math/e_exp2l.c: Likewise.
22493 * math/e_fmodl.c: Likewise.
22494 * math/e_gammal_r.c: Likewise.
22495 * math/e_hypotl.c: Likewise.
22496 * math/e_j0l.c: Likewise.
22497 * math/e_j1l.c: Likewise.
22498 * math/e_jnl.c: Likewise.
22499 * math/e_lgammal_r.c: Likewise.
22500 * math/e_log10l.c: Likewise.
22501 * math/e_log2l.c: Likewise.
22502 * math/e_logl.c: Likewise.
22503 * math/e_powl.c: Likewise.
22504 * math/e_sinhl.c: Likewise.
22505 * math/e_sqrtl.c: Likewise.
22506 * math/e_scalb.c: Completely rewritten and optimized.
22507 * math/e_scalbf.c: Likewise.
22508 * math/e_scalbl.c: Likewise.
22509 * math/w_acos.c: Likewise.
22510 * math/w_acosf.c: Likewise.
22511 * math/w_acosl.c: Likewise.
22512 * math/w_acosh.c: Likewise.
22513 * math/w_acoshf.c: Likewise.
22514 * math/w_acoshl.c: Likewise.
22515 * math/w_asin.c: Likewise.
22516 * math/w_asinf.c: Likewise.
22517 * math/w_asinl.c: Likewise.
22518 * math/w_atan2.c: Likewise.
22519 * math/w_atan2f.c: Likewise.
22520 * math/w_atan2l.c: Likewise.
22521 * math/w_atanh.c: Likewise.
22522 * math/w_atanhf.c: Likewise.
22523 * math/w_atanhl.c: Likewise.
22524 * math/w_exp10.c: Likewise.
22525 * math/w_exp10f.c: Likewise.
22526 * math/w_exp10l.c: Likewise.
22527 * math/w_fmod.c: Likewise.
22528 * math/w_fmodf.c: Likewise.
22529 * math/w_fmodl.c: Likewise.
22530 * math/w_j0.c: Likewise.
22531 * math/w_j0f.c: Likewise.
22532 * math/w_j0l.c: Likewise.
22533 * math/w_j1.c: Likewise.
22534 * math/w_j1f.c: Likewise.
22535 * math/w_j1l.c: Likewise.
22536 * math/w_jn.c: Likewise.
22537 * math/w_jnf.c: Likewise.
22538 * math/w_log.c: Likewise.
22539 * math/w_logf.c: Likewise.
22540 * math/w_logl.c: Likewise.
22541 * math/w_log10.c: Likewise.
22542 * math/w_log10f.c: Likewise.
22543 * math/w_log10l.c: Likewise.
22544 * math/w_log2.c: Likewise.
22545 * math/w_log2f.c: Likewise.
22546 * math/w_log2l.c: Likewise.
22547 * math/w_pow.c: Likewise.
22548 * math/w_powf.c: Likewise.
22549 * math/w_powl.c: Likewise.
22550 * math/w_remainder.c: Likewise.
22551 * math/w_remainderf.c: Likewise.
22552 * math/w_remainderl.c: Likewise.
22553 * math/w_scalb.c: Likewise.
22554 * math/w_scalbf.c: Likewise.
22555 * math/w_scalbl.c: Likewise.
22556 * math/w_sqrt.c: Likewise.
22557 * math/w_sqrtf.c: Likewise.
22558 * math/w_sqrtl.c: Likewise.
22559 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22560 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22561 used.
22562 * math/math_private.h: Declare __kernel_standard_f.
22563 * math/w_cosh.c: Remove cruft and optimize a bit.
22564 * math/w_coshf.c: Likewise.
22565 * math/w_coshl.c: Likewise.
22566 * math/w_exp2.c: Likewise.
22567 * math/w_exp2f.c: Likewise.
22568 * math/w_exp2l.c: Likewise.
22569 * math/w_hypot.c: Likewise.
22570 * math/w_hypotf.c: Likewise.
22571 * math/w_hypotl.c: Likewise.
22572 * math/w_lgamma.c: Likewise.
22573 * math/w_lgamma_r.c: Likewise.
22574 * math/w_lgammaf.c: Likewise.
22575 * math/w_lgammaf_r.c: Likewise.
22576 * math/w_lgammal.c: Likewise.
22577 * math/w_lgammal_r.c: Likewise.
22578 * math/w_sinh.c: Likewise.
22579 * math/w_sinhf.c: Likewise.
22580 * math/w_sinhl.c: Likewise.
22581 * math/w_tgamma.c: Likewise.
22582 * math/w_tgammaf.c: Likewise.
22583 * math/w_tgammal.c: Likewise.
22584 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22585 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22586 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22587 Minor optimizations. Pretty printing. Remove cruft.
22588 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22589 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22590 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22591 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22592 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22593 * sysdeps/i386/fpu/e_asin.S: Likewise.
22594 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22595 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22596 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22597 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22598 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22599 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22600 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22601 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22602 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22603 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22604 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22605 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22606 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22607 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22608 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22609 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22610 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22611 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22612 * sysdeps/i386/fpu/e_log.S: Likewise.
22613 * sysdeps/i386/fpu/e_log10.S: Likewise.
22614 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22615 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22616 * sysdeps/i386/fpu/e_log2.S: Likewise.
22617 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22618 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22619 * sysdeps/i386/fpu/e_logf.S: Likewise.
22620 * sysdeps/i386/fpu/e_logl.S: Likewise.
22621 * sysdeps/i386/fpu/e_pow.S: Likewise.
22622 * sysdeps/i386/fpu/e_powf.S: Likewise.
22623 * sysdeps/i386/fpu/e_powl.S: Likewise.
22624 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22625 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22626 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22627 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22628 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22629 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22630 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22631 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22632 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22633 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22634 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22635 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22636 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22637 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22638 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22639 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22640 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22641 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22642 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22643 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22644 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22645 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22646 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22647 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22648 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22649 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22650 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22651 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22652 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22653 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22654 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22655 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22656 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22657 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22658 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22659 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22660 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22661 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22662 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22663 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22664 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22665 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22666 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22667 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22668 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22669 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22670 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22671 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22672 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22673 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22674 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22675 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22676 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22677 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22678 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22679 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22680 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22681 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22682 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22683 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22684 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22685 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22686 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22687 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22688 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22689 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22690 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22691 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22692 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22693 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22694 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22695 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22696 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22697 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22698 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22699 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22700 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22701 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22702 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22703 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22704 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22705 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22706 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22707 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22708 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22709 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22710 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22711 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22712 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22713 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22714 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22715 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22716 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22717 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22718 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22719 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22720 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22721 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22722 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22723 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22724 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22725 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22726 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22727 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22728 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22729 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22730 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22731 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22732 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22733 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22734 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22735 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22736 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22737 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22738 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22739 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22740 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22741 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22742 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22743 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22744 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22745 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22746 (__isnanf): Likewise.
22747 (__isinf_ns): Likewise.
22748 (__isinf_nsf): Likewise.
22749 (__finite): Likewise.
22750 (__finitef): Likewise.
22751 (__ieee754_sqrt): Define as macro.
22752 (__ieee754_sqrtf): Define as macro.
22753 (__ieee754_sqrtl): Define as macro.
22754 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22755 inlined copy.
22756 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22757 __FINITE_MATH_ONLY__ consistent.
22758 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22759
12cc2fcd
AS
227602011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22761
a843a204
AS
22762 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22763 of rawmemchr.
22764
12cc2fcd
AS
22765 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22766
c853acd5
UD
227672011-10-09 Ulrich Drepper <drepper@gmail.com>
22768
22769 * po/ja.po: Update from translation team.
22770
c658d255
RM
227712011-10-08 Roland McGrath <roland@hack.frob.com>
22772
110946e4
RM
22773 * locale/programs/locarchive.c (prepare_address_space): New function.
22774 (create_archive, enlarge_archive, open_archive): Use it.
22775
50604220
RM
22776 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22777 inside [SHARED], where it is used.
22778
c658d255
RM
22779 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22780
22781 * nss/getent.c (netgroup_keys): Remove unused variable.
22782 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22783
6a621eb7
UD
227842011-10-08 Ulrich Drepper <drepper@gmail.com>
22785
7edb55ce
UD
22786 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22787 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22788 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22789 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22790 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22791 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22792 * math/Makefile (libm-calls): Add s_isinf_ns.
22793 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22794 * math/multc3.c: Likewise.
22795 * math/s_casin.c: Likewise.
22796 * math/s_casinf.c: Likewise.
22797 * math/s_casinl.c: Likewise.
22798 * math/s_ccos.c: Likewise.
22799 * math/s_ccosf.c: Likewise.
22800 * math/s_ccosl.c: Likewise.
22801 * math/s_ctan.c: Likewise.
22802 * math/s_ctanf.c: Likewise.
22803 * math/s_ctanh.c: Likewise.
22804 * math/s_ctanhf.c: Likewise.
22805 * math/s_ctanhl.c: Likewise.
22806 * math/s_ctanl.c: Likewise.
22807 * math/w_fmod.c: Likewise.
22808 * math/w_fmodf.c: Likewise.
22809 * math/w_fmodl.c: Likewise.
22810 * math/w_remainder.c: Likewise.
22811 * math/w_remainderf.c: Likewise.
22812 * math/w_remainderl.c: Likewise.
22813 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22814 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22815 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22816 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22817 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22818 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22819 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22820 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22821
187da0ae
UD
22822 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22823 of the number.
22824 * stdio-common/printf_fphex.c: Likewise.
22825 * stdio-common/printf_size.c: Likewise.
22826
9277c064
UD
22827 * math/e_exp10.c: Include math_private.h using <...> not "...".
22828 * math/e_exp10f.c: Likewise.
22829 * math/e_exp10l.c: Likewise.
22830 * math/e_exp2l.c: Likewise.
22831 * math/e_j0l.c: Likewise.
22832 * math/e_j1l.c: Likewise.
22833 * math/e_jnl.c: Likewise.
22834 * math/e_lgammal_r.c: Likewise.
22835 * math/e_rem_pio2l.c: Likewise.
22836 * math/e_scalb.c: Likewise.
22837 * math/e_scalbf.c: Likewise.
22838 * math/e_scalbl.c: Likewise.
22839 * math/k_cosl.c: Likewise.
22840 * math/k_sinl.c: Likewise.
22841 * math/k_tanl.c: Likewise.
22842 * math/s_cacoshf.c: Likewise.
22843 * math/s_catan.c: Likewise.
22844 * math/s_catanf.c: Likewise.
22845 * math/s_catanh.c: Likewise.
22846 * math/s_catanhf.c: Likewise.
22847 * math/s_catanhl.c: Likewise.
22848 * math/s_catanl.c: Likewise.
22849 * math/s_ccosh.c: Likewise.
22850 * math/s_ccoshf.c: Likewise.
22851 * math/s_ccoshl.c: Likewise.
22852 * math/s_cexp.c: Likewise.
22853 * math/s_cexpf.c: Likewise.
22854 * math/s_cexpl.c: Likewise.
22855 * math/s_clog.c: Likewise.
22856 * math/s_clog10.c: Likewise.
22857 * math/s_clog10f.c: Likewise.
22858 * math/s_clog10l.c: Likewise.
22859 * math/s_clogf.c: Likewise.
22860 * math/s_clogl.c: Likewise.
22861 * math/s_csin.c: Likewise.
22862 * math/s_csinf.c: Likewise.
22863 * math/s_csinh.c: Likewise.
22864 * math/s_csinhf.c: Likewise.
22865 * math/s_csinhl.c: Likewise.
22866 * math/s_csinl.c: Likewise.
22867 * math/s_csqrt.c: Likewise.
22868 * math/s_csqrtf.c: Likewise.
22869 * math/s_csqrtl.c: Likewise.
22870 * math/s_ctan.c: Likewise.
22871 * math/s_ctanf.c: Likewise.
22872 * math/s_ctanh.c: Likewise.
22873 * math/s_ctanhf.c: Likewise.
22874 * math/s_ctanhl.c: Likewise.
22875 * math/s_ctanl.c: Likewise.
22876 * math/s_ldexp.c: Likewise.
22877 * math/s_ldexpf.c: Likewise.
22878 * math/s_ldexpl.c: Likewise.
22879 * math/s_significand.c: Likewise.
22880 * math/s_significandf.c: Likewise.
22881 * math/s_significandl.c: Likewise.
22882 * math/w_acos.c: Likewise.
22883 * math/w_acosf.c: Likewise.
22884 * math/w_acosh.c: Likewise.
22885 * math/w_acoshf.c: Likewise.
22886 * math/w_acoshl.c: Likewise.
22887 * math/w_acosl.c: Likewise.
22888 * math/w_asin.c: Likewise.
22889 * math/w_asinf.c: Likewise.
22890 * math/w_asinl.c: Likewise.
22891 * math/w_atan2.c: Likewise.
22892 * math/w_atan2f.c: Likewise.
22893 * math/w_atan2l.c: Likewise.
22894 * math/w_atanh.c: Likewise.
22895 * math/w_atanhf.c: Likewise.
22896 * math/w_atanhl.c: Likewise.
22897 * math/w_cosh.c: Likewise.
22898 * math/w_coshf.c: Likewise.
22899 * math/w_coshl.c: Likewise.
22900 * math/w_dremf.c: Likewise.
22901 * math/w_exp10.c: Likewise.
22902 * math/w_exp10f.c: Likewise.
22903 * math/w_exp10l.c: Likewise.
22904 * math/w_exp2.c: Likewise.
22905 * math/w_exp2f.c: Likewise.
22906 * math/w_fmod.c: Likewise.
22907 * math/w_fmodf.c: Likewise.
22908 * math/w_fmodl.c: Likewise.
22909 * math/w_hypot.c: Likewise.
22910 * math/w_hypotf.c: Likewise.
22911 * math/w_hypotl.c: Likewise.
22912 * math/w_j0.c: Likewise.
22913 * math/w_j0f.c: Likewise.
22914 * math/w_j0l.c: Likewise.
22915 * math/w_j1.c: Likewise.
22916 * math/w_j1f.c: Likewise.
22917 * math/w_j1l.c: Likewise.
22918 * math/w_jn.c: Likewise.
22919 * math/w_jnf.c: Likewise.
22920 * math/w_jnl.c: Likewise.
22921 * math/w_lgamma.c: Likewise.
22922 * math/w_lgamma_r.c: Likewise.
22923 * math/w_lgammaf.c: Likewise.
22924 * math/w_lgammaf_r.c: Likewise.
22925 * math/w_lgammal.c: Likewise.
22926 * math/w_lgammal_r.c: Likewise.
22927 * math/w_log.c: Likewise.
22928 * math/w_log10.c: Likewise.
22929 * math/w_log10f.c: Likewise.
22930 * math/w_log10l.c: Likewise.
22931 * math/w_log2.c: Likewise.
22932 * math/w_log2f.c: Likewise.
22933 * math/w_log2l.c: Likewise.
22934 * math/w_logf.c: Likewise.
22935 * math/w_logl.c: Likewise.
22936 * math/w_pow.c: Likewise.
22937 * math/w_powf.c: Likewise.
22938 * math/w_powl.c: Likewise.
22939 * math/w_remainder.c: Likewise.
22940 * math/w_remainderf.c: Likewise.
22941 * math/w_remainderl.c: Likewise.
22942 * math/w_scalb.c: Likewise.
22943 * math/w_scalbf.c: Likewise.
22944 * math/w_scalbl.c: Likewise.
22945 * math/w_sinh.c: Likewise.
22946 * math/w_sinhf.c: Likewise.
22947 * math/w_sinhl.c: Likewise.
22948 * math/w_sqrt.c: Likewise.
22949 * math/w_sqrtf.c: Likewise.
22950 * math/w_sqrtl.c: Likewise.
22951 * math/w_tgamma.c: Likewise.
22952 * math/w_tgammaf.c: Likewise.
22953 * math/w_tgammal.c: Likewise.
22954
6a621eb7
UD
22955 * po/ja.po: Update from translation team.
22956
bf582445
AJ
229572011-09-29 Andreas Jaeger <aj@suse.de>
22958
f9efbf3a
AJ
22959 [BZ #13179]
22960 * sunrpc/netname.c (netname2host): Fix logic.
22961
bf582445
AJ
22962 [BZ #6779]
22963 [BZ #6783]
22964 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22965 correctly.
22966 * math/w_remainder.c (__remainder): Likewise.
22967 * math/w_remainderf.c (__remainderf): Likewise.
22968 * math/libm-test.inc (remainder_test): Add test cases.
22969
48693bea
AK
229702011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22971
22972 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22973 sdiv_qrnnd.
22974
42622229
LD
229752011-10-07 Ulrich Drepper <drepper@gmail.com>
22976
22977 * string/test-memcmp.c: Avoid unncessary #defines.
22978 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22979
093ecf92
LD
229802011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22981
22982 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22983 Use new sse2 version for core i3 - i7 as it's faster
22984 than sse42 version.
22985 (bit_Prefer_PMINUB_for_stringop): New.
22986 * sysdeps/x86_64/rawmemchr.S: Update.
22987 Replace with faster SSE2 version.
22988 * sysdeps/x86_64/memrchr.S: New file.
22989 * sysdeps/x86_64/memchr.S: Update.
22990 Replace with faster SSE2 version.
22991
fde56e5c
MP
229922011-09-12 Marek Polacek <mpolacek@redhat.com>
22993
22994 * elf/dl-load.c (lose): Add cast to avoid warning.
22995
21fd49a9
UD
229962011-10-07 Ulrich Drepper <drepper@gmail.com>
22997
5a06e643
UD
22998 * po/ca.po: Update from translation team.
22999
684ae515
UD
23000 * inet/getnetgrent_r.c: Hook up nscd.
23001 * nscd/Makefile (routines): Add nscd_netgroup.
23002 (nscd-modules): Add netgroupcache.
23003 (CFLAGS-netgroupcache.c): Define.
23004 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23005 (cache_search): Add const to second parameter.
23006 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23007 INNETGR.
23008 (dbs): Add netgrdb entry.
23009 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23010 (verify_persistent_db): Handle netgrdb.
23011 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23012 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23013 GETFDNETGR.
23014 (netgroup_response_header): Define.
23015 (innetgroup_response_header): Define.
23016 (datahead): Add netgroup_response_header and innetgroup_response_header
23017 elements.
23018 * nscd/nscd.conf: Add entries for netgroup cache.
23019 * nscd/nscd.h (dbtype): Add netgrdb.
23020 (_PATH_NSCD_NETGROUP_DB): Define.
23021 (netgroup_iov_disabled): Declare.
23022 (xmalloc, xcalloc, xrealloc): Move declarations here.
23023 (cache_search): Adjust prototype.
23024 Add netgroup-related prototypes.
23025 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23026 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23027 (__nscd_innetgr): Declare.
23028 * nscd/selinux.c (perms): Use access_vector_t as element type and
23029 add netgroup-related initializers.
23030 * nscd/netgroupcache.c: New file.
23031 * nscd/nscd_netgroup.c: New file.
23032 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23033 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23034 For four parameters use innetgr.
23035 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23036 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23037 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23038 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23039
21fd49a9
UD
23040 * nscd/connections.c (register_traced_file): Don't register file
23041 for disabled databases.
23042
054c0457
UD
230432011-10-06 Ulrich Drepper <drepper@gmail.com>
23044
32b63198
UD
23045 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23046
054c0457
UD
23047 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23048 from tree and freeing node.
23049
64031225
JO
230502011-09-25 Jiri Olsa <jolsa@redhat.com>
23051
23052 * nss/nsswitch.c (__nss_database_lookup): Handle
23053 nss_parse_service_list out of memory case.
23054
0490345c
JO
230552011-09-15 Jiri Olsa <jolsa@redhat.com>
23056
23057 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23058 out of memory case.
23059
3a62d00d
AS
230602011-10-04 Andreas Schwab <schwab@redhat.com>
23061
23062 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23063 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23064 pass it down.
23065 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23066 elf_machine_rela, elf_machine_lazy_rel.
23067 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23068 (ELF_DYNAMIC_DO_REL): Likewise.
23069 (ELF_DYNAMIC_DO_RELA): Likewise.
23070 (ELF_DYNAMIC_RELOCATE): Likewise.
23071 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23072 to ELF_DYNAMIC_DO_REL.
23073 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23074 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23075 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23076 elf_machine_rela.
23077 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23078 skip_ifunc, don't call ifunc function if non-zero.
23079 (elf_machine_rela): Likewise.
23080 (elf_machine_lazy_rel): Likewise.
23081 (elf_machine_lazy_rela): Likewise.
23082 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23083 (elf_machine_lazy_rel): Likewise.
23084 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23085 Likewise.
23086 (elf_machine_lazy_rel): Likewise.
23087 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23088 Likewise.
23089 (elf_machine_lazy_rel): Likewise.
23090 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23091 (elf_machine_lazy_rel): Likewise.
23092 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23093 (elf_machine_lazy_rel): Likewise.
23094 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23095 (elf_machine_lazy_rel): Likewise.
23096 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23097 (elf_machine_lazy_rel): Likewise.
23098 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23099 (elf_machine_lazy_rel): Likewise.
23100 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23101 (elf_machine_lazy_rel): Likewise.
23102
68577918
UD
231032011-09-28 Ulrich Drepper <drepper@gmail.com>
23104
23105 * nss/nss_files/files-init.c (_nss_files_init): Use static
23106 initialization for all the *_traced_file variables.
23107
68822d74
AS
231082011-09-28 Andreas Schwab <schwab@redhat.com>
23109
23110 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23111
2056100b
RM
231122011-09-27 Roland McGrath <roland@hack.frob.com>
23113
23114 [BZ #13226]
23115 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23116
32c76b63
AS
231172011-09-27 Andreas Schwab <schwab@redhat.com>
23118
23119 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23120 Reread the line before reparsing it.
23121
bf972c9d
AS
231222011-09-26 Andreas Schwab <schwab@redhat.com>
23123
23124 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23125
e057a1b5
JM
231262011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23127 Maxim Kuvyrkov <maxim@codesourcery.com>
23128 Joseph Myers <joseph@codesourcery.com>
23129
23130 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23131 if needed for __stack_chk_guard.
23132
bc7e1c36
RM
231332011-09-19 Roland McGrath <roland@hack.frob.com>
23134
ecb1482f
RM
23135 * sysdeps/posix/spawni.c (script_execute): Always define it.
23136 It will be optimized away if unused.
23137 (maybe_script_execute): New function.
23138 (__spawni): Call it.
23139
bc7e1c36
RM
23140 * Makerules: Don't include tls.make.
23141 (config-tls): Always set to thread.
23142 * tls.make.c: File removed.
23143
1c3b002b
MF
231442011-09-19 Mike Frysinger <vapier@gentoo.org>
23145
23146 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23147 * config.make.in (CPPFLAGS-config): New substituted variable.
23148
2840865d
UD
231492011-09-15 Ulrich Drepper <drepper@gmail.com>
23150
88738eb6
UD
23151 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23152
cbf645a6 23153 [BZ #13192]
2840865d
UD
23154 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23155 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23156
b402e91a
RM
231572011-09-15 Roland McGrath <roland@hack.frob.com>
23158
23159 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23160 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23161 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23162 (CALL_FAIL): Likewise.
23163 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23164 (CALL_FAIL): Macro removed.
23165 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23166
4c1a1f71
UD
231672011-09-15 Ulrich Drepper <drepper@gmail.com>
23168
23169 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23170 for __FINITE_MATH_ONLY__ == 1.
23171
edc121be
AS
231722011-09-15 Andreas Schwab <schwab@redhat.com>
23173
23174 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23175 __ieee754_sqrt instead of sqrt.
23176 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23177 __ieee754_sqrtf instead of sqrtf.
23178 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23179 __floorf instead of floorf.
23180 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23181 __floorf, __truncf instead of floorf, truncf.
23182
cd205654
UD
231832011-09-14 Ulrich Drepper <drepper@gmail.com>
23184
ee4d0315
UD
23185 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23186
cd205654
UD
23187 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23188 __extern_always_inline.
23189 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23190 32-bit.
23191
48b67d71
AS
231922011-09-14 Andreas Schwab <schwab@redhat.com>
23193
23194 * elf/rtld.c (dl_main): Also relocate in dependency order when
23195 doing symbol dependency testing.
23196
1ae12c75
AS
231972011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23198
23199 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23200 Always define `refsym'.
23201
995a80df
AS
232022011-09-13 Andreas Schwab <schwab@redhat.com>
23203
e529793b
AS
23204 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23205 (__FD_ELT): Renamed from __FDELT.
23206 * misc/bits/select2.h (__FD_ELT): Likewise.
23207 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23208 __FD_MASK instead of __FDELT, __FDMASK.
23209 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23210 Likewise.
23211 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23212 Likewise.
23213
52d4fef8
AS
23214 * elf/Makefile (gen-ldd): Fix pattern.
23215
995a80df
AS
23216 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23217 (init_tls): Likewise.
23218
8682f8b0
UD
232192011-09-12 Ulrich Drepper <drepper@gmail.com>
23220
23221 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23222
de82006d
AS
232232011-09-12 Andreas Schwab <schwab@redhat.com>
23224
a7c8e6a1
AS
23225 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23226 `struct cmsghdr *' instead of `void *'.
23227 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23228 Likewise.
23229
0f31fe77
AS
232302011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23231
23232 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23233 if non-absolute.
23234 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23235 ldd_rewrite_script.
0f31fe77 23236
32b4c839
UD
232372011-09-11 Ulrich Drepper <drepper@gmail.com>
23238
83cd1420
UD
23239 * configure.in: Remove --with-tls option.
23240 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23241 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23242 out in case it is missing.
23243 * sysdeps/ia64/elf/configure.in: Likewise.
23244 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23245 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23246 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23247 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23248 * sysdeps/sh/elf/configure.in: Likewise.
23249 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23250 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23251 * sysdeps/x86_64/elf/configure.in: Likewise.
23252 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23253 * sysdeps/mach/hurd/tls.h: Likewise.
23254
633f745d
UD
23255 [BZ #13067]
23256 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23257
f318beb8
UD
23258 [BZ #13090]
23259 * configure.in: Fix use of AC_INIT.
23260
32b4c839
UD
23261 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23262
3ce1f295
UD
232632011-09-10 Ulrich Drepper <drepper@gmail.com>
23264
bb016596
UD
23265 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23266 __set_errno.
8e58439c
UD
23267 * malloc/hooks.c: Likewise.
23268
aebae053 23269 [BZ #11929]
02d46fc4
UD
23270 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23271 variables statically.
23272 (narenas): Initialize.
23273 (list_lock): Initialize.
bb016596
UD
23274 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23275 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23276 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23277 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23278 Add initializers to main_arena and mp_.
23279 (malloc_state): Remove pagesize member. Change all users to use
23280 GLRO(dl_pagesize).
23281
23282 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23283 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23284 is always initialized.
23285
22a89187
UD
23286 * malloc/malloc.c: Removed unused configurations and dead code.
23287 * malloc/arena.c: Likewise.
23288 * malloc/hooks.c: Likewise.
02d46fc4 23289 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23290
d063d164
UD
23291 * include/tls.h: Removed. USE___THREAD must always be defined.
23292 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23293 * elf/dl-libc.c: Likewise.
23294 * elf/dl-tsd.c: Likewise.
23295 * include/errno.h: Likewise.
23296 * include/netdb.h: Likewise.
23297 * include/resolv.h: Likewise.
23298 * inet/herrno-loc.c: Likewise.
23299 * inet/herrno.c: Likewise.
23300 * malloc/arena.c: Likewise.
23301 * malloc/hooks.c: Likewise.
23302 * malloc/malloc.c: Likewise.
23303 * resolv/res-state.c: Likewise.
23304 * resolv/res_libc.c: Likewise.
23305 * sysdeps/i386/dl-machine.h: Likewise.
23306 * sysdeps/ia64/dl-machine.h: Likewise.
23307 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23308 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23309 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23310 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23311 * sysdeps/sh/dl-machine.h: Likewise.
23312 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23313 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23314 * sysdeps/unix/i386/sysdep.S: Likewise.
23315 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23316 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23317 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23318 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23319 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23320 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23321 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23322 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23323 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23324 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23325 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23326 * sysdeps/x86_64/dl-machine.h: Likewise.
23327 * tls.make.c: Likewise.
23328
3ce1f295
UD
23329 * configure.in: Remove --with-__thread option. Make tests for
23330 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23331 tls_model attribute fail if no support is available. Remove
23332 USE_IN_LIBIO.
23333 * Makeconfig: Adjust for dropped configure option. All features are
23334 now mandatory.
23335 * Makerules: Likewise.
23336 * Versions.def: Likewise.
23337 * argp/argp-fmtstream.c: Likewise.
23338 * argp/argp-fmtstream.h: Likewise.
23339 * argp/argp-help.c: Likewise.
23340 * assert/assert.c: Likewise.
23341 * config.h.in: Likewise.
23342 * config.make.in: Likewise.
23343 * configure: Likewise.
23344 * configure.in: Likewise.
23345 * csu/Versions: Likewise.
23346 * csu/init.c: Likewise.
23347 * elf/tst-audit2.c: Likewise.
23348 * elf/tst-tls10.c: Likewise.
23349 * elf/tst-tls10.h: Likewise.
23350 * elf/tst-tls11.c: Likewise.
23351 * elf/tst-tls12.c: Likewise.
23352 * elf/tst-tls14.c: Likewise.
23353 * elf/tst-tlsmod11.c: Likewise.
23354 * elf/tst-tlsmod12.c: Likewise.
23355 * elf/tst-tlsmod13.c: Likewise.
23356 * elf/tst-tlsmod13a.c: Likewise.
23357 * elf/tst-tlsmod14a.c: Likewise.
23358 * elf/tst-tlsmod15b.c: Likewise.
23359 * elf/tst-tlsmod16a.c: Likewise.
23360 * elf/tst-tlsmod16b.c: Likewise.
23361 * elf/tst-tlsmod7.c: Likewise.
23362 * elf/tst-tlsmod8.c: Likewise.
23363 * elf/tst-tlsmod9.c: Likewise.
23364 * gmon/gmon.c: Likewise.
23365 * grp/fgetgrent_r.c: Likewise.
23366 * grp/putgrent.c: Likewise.
23367 * hurd/fopenport.c: Likewise.
23368 * include/libc-symbols.h: Likewise.
23369 * include/tls.h: Likewise.
23370 * intl/gettextP.h: Likewise.
23371 * intl/loadinfo.h: Likewise.
23372 * locale/global-locale.c: Likewise.
23373 * locale/localeinfo.h: Likewise.
23374 * mach/devstream.c: Likewise.
23375 * malloc/arena.c: Likewise.
23376 * malloc/set-freeres.c: Likewise.
23377 * misc/err.c: Likewise.
23378 * misc/getttyent.c: Likewise.
23379 * misc/mntent_r.c: Likewise.
23380 * posix/getopt.c: Likewise.
23381 * posix/wordexp.c: Likewise.
23382 * pwd/fgetpwent_r.c: Likewise.
23383 * resolv/Versions: Likewise.
23384 * resolv/res_hconf.c: Likewise.
23385 * shadow/fgetspent_r.c: Likewise.
23386 * shadow/putspent.c: Likewise.
23387 * stdio-common/printf_fphex.c: Likewise.
23388 * stdio-common/tmpfile.c: Likewise.
23389 * stdlib/abort.c: Likewise.
23390 * stdlib/fmtmsg.c: Likewise.
23391 * sunrpc/auth_unix.c: Likewise.
23392 * sunrpc/clnt_perr.c: Likewise.
23393 * sunrpc/clnt_tcp.c: Likewise.
23394 * sunrpc/clnt_udp.c: Likewise.
23395 * sunrpc/clnt_unix.c: Likewise.
23396 * sunrpc/openchild.c: Likewise.
23397 * sunrpc/svc_simple.c: Likewise.
23398 * sunrpc/svc_tcp.c: Likewise.
23399 * sunrpc/svc_udp.c: Likewise.
23400 * sunrpc/svc_unix.c: Likewise.
23401 * sunrpc/xdr.c: Likewise.
23402 * sunrpc/xdr_array.c: Likewise.
23403 * sunrpc/xdr_rec.c: Likewise.
23404 * sunrpc/xdr_ref.c: Likewise.
23405 * sunrpc/xdr_stdio.c: Likewise.
23406
1248c1c4
PB
234072011-09-09 Ulrich Drepper <drepper@gmail.com>
23408
23409 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23410
234112011-07-03 Andreas Jaeger <aj@suse.de>
23412
23413 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23414 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23415 regenerate with gen-libm-tests.pl.
23416
234172010-05-12 Petr Baudis <pasky@suse.cz>
23418
23419 [BZ #11589]
23420 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23421 around j0() zero points by switching to j1().
23422 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23423 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23424 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23425 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23426
f22e1074
UD
234272011-09-09 Ulrich Drepper <drepper@gmail.com>
23428
f19009c1
UD
23429 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23430 instead of 0.
23431 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23432 instead of 0.
f19009c1
UD
23433 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23434 Patch in part by Pavel Roskin <proski@gnu.org>.
23435
3f8cc204
UD
23436 [BZ #13138]
23437 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23438 realloc.
23439 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23440 Free memory block if necessary.
23441
f22e1074
UD
23442 [BZ #12847]
23443 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23444 be NULL. Don't lock in this case.
23445
0a2349f9
RM
234462011-09-09 Roland McGrath <roland@hack.frob.com>
23447
23448 * elf/elf.h (ELFOSABI_GNU): New macro.
23449 (ELFOSABI_LINUX): Define to that.
23450
f3cdd467
DZ
234512011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23452
23453 * string/strncat.c (strncat): Undef the symbol in case it has been
23454 defined in bits/string.h.
23455
74718d13
UD
234562011-09-09 Ulrich Drepper <drepper@gmail.com>
23457
633e9e0f
UD
23458 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23459
0a2349f9 23460 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23461 link map.
23462
f9924780
AJ
234632011-08-17 Andreas Jaeger <aj@suse.de>
23464
23465 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23466
7f5517aa
PP
234672011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23468 Ian Lance Taylor <iant@google.com>
23469
23470 * math/libm-test.inc (lround_test): New testcase.
23471 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23472
762011fe
UD
234732011-09-08 Ulrich Drepper <drepper@gmail.com>
23474
92963737
UD
23475 * Makefile: Remove support for automatic cvs check-ins.
23476 * Makerules: Likewise.
23477 * config.make.in: Likewise.
23478 * configure.in: Likewise.
23479 * intl/Makefile: Likewise.
23480 * locale/Makefile: Likewise.
23481 * po/Makefile: Likewise.
23482 * posix/Makefile: Likewise.
23483 * sysdeps/gnu/Makefile: Likewise.
23484 * sysdeps/mach/hurd/Makefile: Likewise.
23485 * sysdeps/sparc/sparc32/Makefile: Likewise.
23486
b0727fd8
JS
23487 [BZ #13118]
23488 * posix/Makefile (bug-regex32-ENV): Define.
23489 Patch by John Stanley <jpsinthemix@verizon.net>.
23490
a0f33f99
UD
23491 * misc/Makefile (headers): Add bits/select2.h.
23492 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23493 * misc/bits/select2.h: New file.
23494 * include/bits/select2.h: New file.
23495 * debug/Makefile (routines): Add fdelt_chk.
23496 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23497 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23498 FD_ISSET.
23499 * debug/fdelt_chk.c: New file.
23500
762011fe
UD
23501 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23502 * wcsmbs/test-wmemcmp.c: Likewise.
23503 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23504 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23505
235062011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23507
23508 * string/Makefile (strop-tests): Add memcmp.
23509 * string/test-wmemcmp.c: New file.
23510 * string/test-memcmp.c: Add wmemcmp support.
23511
7f513ec8
RM
235122011-09-08 Roland McGrath <roland@hack.frob.com>
23513
0442afb4
RM
23514 [BZ #13153]
23515 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23516 2011-07-19 change.
23517
7f513ec8
RM
23518 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23519 garbage value in a __mach_port_mod_refs call in the cases of the
23520 task-self and thread-self ports.
23521
a12b2239
ST
235222011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23523
23524 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23525
610f9ab4
AS
235262011-09-08 Andreas Schwab <schwab@redhat.com>
23527
7f513ec8 23528 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23529
48882a1a
LD
235302011-09-07 Ulrich Drepper <drepper@gmail.com>
23531
b49865be
UD
23532 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23533
fdc86bc9
UD
23534 * elf/dl-libc.c (dlerror_run): Pass back error code from
23535 dl_catch_error.
23536
c966526a
UD
23537 [BZ #13123]
23538 * elf/dl-load.c (lose): Free l_origin if it is valid.
23539
48882a1a
LD
23540 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23541 names.
23542 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23543 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23544 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23545 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23546 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23547 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23548
77a2a8b4
AZ
235492011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23550
23551 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23552 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23553 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23554 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23555 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23556 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23557 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23558 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23559 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23560 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23561
24f579d8
AM
235622011-08-15 Alan Modra <amodra@gmail.com>
23563
23564 [BZ #13092]
23565 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23566 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23567 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23568 ppc_mcount to static-only-routines.
23569 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23570 __mcount_internal.
23571 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23572 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23573
3d4837df
UD
235742011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23575
23576 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23577 for finite and infinity parameters.
23578
22700377
WS
235792011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23580
23581 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23582 and add nop instructions for throughput optimization.
23583 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23584
5025581e
WS
235852011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23586
23587 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23588 aligned copy for power7 with vector-scalar instructions.
23589 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23590
08a300c9
L
235912011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23592
23593 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23594 AVX check.
23595
59178ef9
AS
235962011-09-07 Andreas Schwab <schwab@redhat.com>
23597
23598 [BZ #13144]
23599 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23600 last change.
23601
e38ba7ab
UD
236022011-09-07 Ulrich Drepper <drepper@gmail.com>
23603
23604 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23605 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23606 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23607 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23608 clock_gettime.
23609
d53a73ac
UD
236102011-09-06 Ulrich Drepper <drepper@gmail.com>
23611
fc8bffcc
UD
23612 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23613 Forgot to demangle the pointer.
23614
ceaa0c5d
UD
23615 * sysdeps/i386/sysdep.h: Define atom_text_section.
23616 * sysdeps/x86_64/sysdep.h: Likewise.
23617 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23618 section with atom_text_section.
23619 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23620 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23621 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23622 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23623 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23624
a77d3c17
UD
23625 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23626 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23627 already be defined. Change to take two parameters and don't assign
23628 result to variable. Adjust all users.
23629 Define INTERNAL_GETTIME if not already defined.
23630 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23631 call.
23632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23633 HAVE_CLOCK_GETTIME_VSYSCALL.
23634 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23635
d53a73ac
UD
23636 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23637 gettimeofday vsyscall, just use time.
23638
a8f84144
AS
236392011-09-06 Andreas Schwab <schwab@redhat.com>
23640
23641 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23642 <errno.h>.
23643
ef606249
UD
236442011-09-06 Ulrich Drepper <drepper@gmail.com>
23645
23646 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23647 syscall on x86-64.
23648 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23649 syscall.
23650 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23651 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23652 syscall if possible.
23653
6585cb60
UD
236542011-09-05 Ulrich Drepper <drepper@gmail.com>
23655
23656 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23657 e_ident. Don't pass to find_mapsXX.
23658 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23659
a5f524e4
LD
236602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23661
23662 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23663 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23664 * sysdeps/x86_64/multiarch/strchr.S: Update.
23665 Check bit_slow_BSF bit.
23666 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23667 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23668 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23669
554881ef
UD
236702011-09-05 Ulrich Drepper <drepper@gmail.com>
23671
d96de963
UD
23672 [BZ #13134]
23673 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23674 before glibc 2.15.
23675 (tryshell): Define.
23676 (__spawni): Change last parameter to be flag. Test
23677 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23678 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23679 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23680 * posix/spawni.c: Likewise.
23681 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23682 * posix/spawnp.c: Likewise. Change normal version to use
23683 SPAWN_XFLAGS_USE_PATH.
23684 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23685 SPAWN_XFLAGS_TRY_SHELL.
23686
d48e5868
UD
23687 [BZ #13150]
23688 * posix/glob.h: Remove gcc 1.x support.
23689
554881ef
UD
23690 [BZ #13068]
23691 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23692
693fb948
LD
236932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23694
23695 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23696 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23697 strrchr-sse2-bsf
23698 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23699 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23700 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23701 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23702 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23703 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23704
1b48c537
UD
237052011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23706
49d42c37
UD
23707 * sysdeps/x86_64/wcscmp.S: New file.
23708
1b48c537
UD
23709 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23710 wcscmp-c wcscmp-sse2
23711 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23712 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23713 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23714 * wcsmbs/wcscmp.c: Allow renaming.
23715
15c95c5d
DM
237162011-09-05 David S. Miller <davem@davemloft.net>
23717
23718 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23719 stack slot, rather than the struct return pointer slot.
23720 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23721 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23723 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23724
2f0ad8f3
UD
237252011-09-05 Ulrich Drepper <drepper@gmail.com>
23726
d88ae418
UD
23727 * po/ja.po: Update from translation team.
23728
2f0ad8f3
UD
23729 [BZ #13144]
23730 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23731 kernel in 64-bit binaries.
23732
5f4318d1
DM
237332011-09-01 David S. Miller <davem@davemloft.net>
23734
23735 * elf/elf.h (HWCAP_SPARC_*): Move to..
23736 * sysdeps/sparc/sysdep.h: this new file and add new values.
23737 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23738 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23739 _DL_HWCAP_COUNT to 24.
23740 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23741 entries.
23742 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23743 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23744 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23745 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23746 instead of magic constants.
23747 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23748
3ba57516
DM
237492011-08-31 David S. Miller <davem@davemloft.net>
23750
23751 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23752 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23753 Reimplement to do errno handling inline.
23754 (SYSCALL_ERROR_HANDLER): New macro.
23755 (__SYSCALL_STRING): Do not do errno handling in asm.
23756 (__CLONE_SYSCALL_STRING): Delete.
23757 (__INTERNAL_SYSCALL_STRING): Delete.
23758 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23759 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23760 (PSEUDO): Reimplement to do errno handling inline.
23761 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23762 (SYSCALL_ERROR_HANDLER): New macro.
23763 (__SYSCALL_STRING): Do not do errno handling in asm.
23764 (__CLONE_SYSCALL_STRING): Delete.
23765 (__INTERNAL_SYSCALL_STRING): Delete.
23766 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23767 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23768 i386.
23769 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23770 (inline_syscall*): Add 'err' argument.
23771 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23772 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23773 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23774 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23775
23776 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23777 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23778
2bc17433
AS
237792011-08-30 Andreas Schwab <schwab@redhat.com>
23780
23781 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23782
fbeb5f4d
JO
237832011-08-29 Jiri Olsa <jolsa@redhat.com>
23784
23785 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23786 directive.
23787
ad69cc26
DM
237882011-08-24 David S. Miller <davem@davemloft.net>
23789
23790 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23791
39dd69df
AS
237922011-08-24 Andreas Schwab <schwab@redhat.com>
23793
23794 * elf/Makefile: Add rules to build and run unload8 test.
23795 * elf/unload8.c: New file.
23796 * elf/unload8mod1.c: New file.
23797 * elf/unload8mod1x.c: New file.
23798 * elf/unload8mod2.c: New file.
23799 * elf/unload8mod3.c: New file.
23800
23801 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23802 it wasn't used.
23803
2c0b250a
DM
238042011-08-23 David S. Miller <davem@davemloft.net>
23805
23806 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23807 subtract stack bias.
23808 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23809 %sp not %fp in calculations.
23810 (_JMPBUF_UNWINDS_ADJ): Likewise.
23811
22044b48
DM
23812 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23813 (aio_suspend): Call it to force an exception region around the
23814 AIO_MISC_WAIT() invocation.
23815
2cae4995
AS
238162011-08-23 Andreas Schwab <schwab@redhat.com>
23817
23818 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23819 backslash.
23820
873a772e
AJ
238212011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23822
23823 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23824 protection macro.
23825 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23826 and <dl-machine.h>.
23827 (Elf64_FuncDesc): Remove.
23828
25ad0df1
DM
238292011-08-22 David S. Miller <davem@davemloft.net>
23830
23831 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23832 sigaltstack check, add missing cfi directives.
23833 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23834 missing cfi directives, and sigaltstack handling.
23835
e888bcbe
AS
238362011-08-16 Andreas Schwab <schwab@redhat.com>
23837
23838 [BZ #11724]
23839 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23840 object is seen twice.
23841 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23842
23843 * elf/Makefile (distribute): Add tst-initorder2.c.
23844 (tests): Add tst-initorder2.
23845 (modules-names): Add tst-initorder2a tst-initorder2b
23846 tst-initorder2c tst-initorder2d. Add rules to build them.
23847 ($(objpfx)tst-initorder2.out): New rule.
23848 * elf/tst-initorder2.c: New file.
23849 * elf/tst-initorder2.exp: New file.
23850
87162f46
AS
238512011-08-22 Andreas Schwab <schwab@redhat.com>
23852
70538b7f
AS
23853 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23854
f55ffe58
AS
23855 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23856 dependencies back to end of function.
23857
87162f46
AS
23858 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23859 $(elfobjdir)/ld.so.
23860
91b392a4
UD
238612011-08-21 Ulrich Drepper <drepper@gmail.com>
23862
23863 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23864 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23865 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23866 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23867 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23868 of __vdso_gettimeofday.
23869 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23870 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23871 attribute_hidden.
23872 (_libc_vdso_platform_setup): Remove initialization of
23873 __vdso_gettimeofday and __vdso_time.
23874
5c43483f
UD
238752011-08-20 Ulrich Drepper <drepper@gmail.com>
23876
775a77e7
UD
23877 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23878 and fgetc_unlocked.
23879 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23880 getc_unlocked.
89f447ed 23881
49c74ba9
UD
23882 * elf/dl-open.c (add_to_global): Report additions to the global scope
23883 for LD_DEBUG=scopes.
23884 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23885 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23886
5c43483f
UD
23887 [BZ #13114]
23888 * stdio-common/Makefile (tests): Add bug24.
23889 * stdio-common/bug24.c: New file.
23890
a101b025
AJ
238912011-08-19 Andreas Jaeger <aj@suse.de>
23892
23893 [BZ #13114]
23894 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23895 non-existant file when using close-on-exec mode.
23896
c88f1766
UD
238972011-08-20 Ulrich Drepper <drepper@gmail.com>
23898
0276a718
UD
23899 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23900 the very first instruction.
23901
c88f1766
UD
23902 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23903 the CFI state in the end.
23904 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23905 inclusion of dl-trampoline.h.
23906 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23907
51ccffa0
AS
239082011-08-19 Andreas Schwab <schwab@redhat.com>
23909
94d7165f
AS
23910 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23911 expectations for long double.
23912
51ccffa0
AS
23913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23914 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23915
fd708658 239162011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23917
23918 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23919 artificual limit depends upon the system page size.
23920
44f0a71e
UD
239212011-08-17 Ulrich Drepper <drepper@gmail.com>
23922
23923 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23924 * resolv/Makefile: Define CFLAGS-libresolv.
23925
8de79a24
AS
239262011-08-17 Andreas Schwab <schwab@redhat.com>
23927
23928 * nss/makedb.c (compute_tables): Make variables used in nested
23929 function static.
23930
27724598
UD
239312011-08-17 Ulrich Drepper <drepper@gmail.com>
23932
c5305d88
UD
23933 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23934 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23935 if buffer was too small.
23936
27724598
UD
23937 * elf/pldd.c (main): Attach to all threads in the process.
23938 Rewrite /proc handling to use *at functions.
23939
076fe015
UD
239402011-08-16 Ulrich Drepper <drepper@gmail.com>
23941
174baab3
UD
23942 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23943 specifies first scope to show.
23944 (dl_open_worker): Update callers. Move printing scope of new
23945 object to before the relocation.
44f0a71e 23946 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23947 * sysdeps/generic/ldsodefs.h: Update declaration.
23948
076fe015
UD
23949 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23950 string for the scope number.
23951
a60df2c3
UD
239522011-08-14 Ulrich Drepper <drepper@gmail.com>
23953
23954 * nscd/servicescache.c (cache_addserv): Make sure written is always
23955 initialized.
23956
5e4287d1
RM
239572011-08-14 Roland McGrath <roland@hack.frob.com>
23958
85ae0589
RM
23959 * sysdeps/i386/i486/bits/atomic.h
23960 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23961 statement expression, so as to suppress "set but not used" warning.
23962 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23963
69f63097
RM
23964 * string/strncat.c (STRNCAT): Use prototype definition.
23965
675456ef
RM
23966 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23967 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23968 -Iprograms here.
23969 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23970 (localedef-modules): Add localedef.
23971 (locale-modules): Add locale.
23972
5e4287d1
RM
23973 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23974 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23975 to avoid a warning.
23976
9c96ff23
DM
239772011-08-14 David S. Miller <davem@davemloft.net>
23978
23979 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23980 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23981
f9ddf089
UD
239822011-08-13 Ulrich Drepper <drepper@gmail.com>
23983
44f0a71e 23984 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23985 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23986 * elf/rtld.c (dl_main): Set l_name of vDSO.
23987 Call _dl_show_scope when DL_DEBUG_SCOPES.
23988 (process_dl_debug): Recognize scopes flag and also set it for all.
23989 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23990 Declare _dl_show_scope.
23991
1dc27704
UD
23992 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23993 (do_dlopen): Pass caller_dlopen to dl_open.
23994 (__libc_dlopen_mode): Initialize caller_dlopen.
23995
f9ddf089
UD
23996 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23997 of libc. Make tolower call locale-independent. Optimize a bit by
23998 using isdigit instead of isalnum.
23999 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24000
9ac533d3
UD
240012011-08-12 Ulrich Drepper <drepper@gmail.com>
24002
24003 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24004 was a dependency or dynamically loaded.
24005
89edf2e9
UD
240062011-08-11 Ulrich Drepper <drepper@gmail.com>
24007
8e999d29
UD
24008 * intl/l10nflist.c: Allow architecture-specific pop function.
24009 * sysdeps/x86_64/l10nflist.c: New file.
24010
89edf2e9
UD
24011 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24012 classification.
24013
14d96785
AS
240142011-08-10 Andreas Schwab <schwab@redhat.com>
24015
24016 * include/dirent.h: Add libc_hidden_proto for scandirat and
24017 scandirat64. Don't declare __scandirat64.
24018 * dirent/scandirat.c: Add libc_hidden_def.
24019 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24020 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24021
6761ac04
DM
240222011-08-10 David S. Miller <davem@davemloft.net>
24023
24024 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24025 enum.
24026 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24027 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24028 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24029
c55fbd1e
UD
240302011-08-09 Ulrich Drepper <drepper@gmail.com>
24031
24032 * Versions.def [libc]: Add GLIBC_2.15.
24033 * dirent/Makefile (routines): Add scandirat and scandirat64.
24034 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24035 GLIBC_2.15.
24036 * dirent/dirent.h: Declare scandirat and scandirat64.
24037 * dirent/scandirat.c: New file.
24038 * dirent/scandirat64.c: New file.
24039 * sysdeps/wordsize-64/scandirat.c: New file.
24040 * sysdeps/wordsize-64/scandirat64.c: New file.
24041 * dirent/opendir.c: Define opendirat.
24042 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24043 using scandirat.
24044 * dirent/scandir64.c: Adjust for scandir.c change.
24045 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24046 __scandirat64, and __scandir_cancel_handler.
24047 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24048 additional parameter and use openat instead of open (outside of ld.so).
24049 Add new __opendir as wrapper around __opendirat.
24050 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24051 here without requiring old scandirat implementation.
24052
879165f2
UD
240532011-08-08 Ulrich Drepper <drepper@gmail.com>
24054
24055 * dirent/scandir.c (cancel_handler): Renamed to
24056 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24057 defined. Adjust users.
24058 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24059 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24060
cb7e923b
UD
240612011-08-04 Ulrich Drepper <drepper@gmail.com>
24062
16292edd
UD
24063 * string/test-string.h (IMPL): Use __STRING to expand name and then
24064 stringify it.
24065
cb7e923b
UD
24066 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24067 of cleanups.
24068
cff82933
LD
240692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24070
24071 * string/Makefile: Update.
24072 (strop-tests): Append strncat.
24073 * string/test-wcscmp.c: New file.
24074 New comprehensive test for wcscmp.
24075 * string/test-strcmp.c: Update.
24076 (WIDE): New define.
24077
9be9bfcc
AS
240782011-07-22 Andreas Schwab <schwab@redhat.com>
24079
24080 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24081 line.
24082
2e96f1c7
AS
240832011-07-26 Andreas Schwab <schwab@redhat.com>
24084
24085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24086 encoding to ACE if AI_IDN.
24087
85188888
JJ
240882011-08-01 Jakub Jelinek <jakub@redhat.com>
24089
24090 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24091 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24092
5fa16e9b
LD
240932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24094
24095 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24096 Fix overflow bug in strncat.
24097 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24098
24099 * string/test-strncat.c: Update.
24100 Add new tests for checking overflow bugs.
24101
241022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24103
24104 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24105 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24106 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24107 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24108 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24109 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24110 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24111 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24112 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24113
24114 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24115 (USE_AS_STRCAT): Define.
24116 Add strcat and strncat support.
24117 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24118
8c1a459f
AS
241192011-07-25 Andreas Schwab <schwab@redhat.com>
24120
24121 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24122 __n bigger than INT_MAX+1.
24123 (__strncmp_g): Likewise.
24124
bba33c28
UD
241252011-07-23 Ulrich Drepper <drepper@gmail.com>
24126
798be72d
UD
24127 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24128 * libio/stido.h: Likewise.
24129
8accd4dc
UD
24130 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24131 (AF_NFC): Define.
24132 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24133 (AF_NFC): Define.
24134
cbff0d96
UD
24135 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24136 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24137 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24138 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24139 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24140
9191c04a
UD
24141 [BZ #13021]
24142 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24143 installed.
24144
bba33c28
UD
24145 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24146 typo.
24147 (_dl_x86_64_save_sse): Likewise.
24148
90f139dd
UD
241492011-07-22 Ulrich Drepper <drepper@gmail.com>
24150
1aae088a
UD
24151 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24152 OSXSAVE.
24153 (_dl_x86_64_save_sse): Likewise.
24154
8e2045f5
UD
24155 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24156
90f139dd
UD
24157 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24158
1d002f25
AS
241592011-07-21 Andreas Schwab <schwab@redhat.com>
24160
24161 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24162 change.
24163 (_dl_x86_64_save_sse): Use correct AVX check.
24164
21137f89
UD
241652011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24166
24167 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24168 bug in strncpy/strncat.
24169 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24170
a65c0b7a
UD
241712011-07-21 Ulrich Drepper <drepper@gmail.com>
24172
24173 * string/tester.c (test_strcat): Add tests for different alignments
24174 of source and destination.
24175 (test_strncat): Likewise.
24176
6986b98a
UD
241772011-07-20 Ulrich Drepper <drepper@gmail.com>
24178
90bb2039
UD
24179 [BZ #12852]
24180 * posix/glob.c (glob): Check passed in values before using them in
24181 expressions to avoid some overflows.
24182 (glob_in_dir): Likewise.
24183
5644ef54
UD
24184 [BZ #13007]
24185 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24186 check for AVX enablement so that we don't crash with old kernels and
24187 new hardware.
24188 * elf/tst-audit4.c: Add same checks here.
24189 * elf/tst-audit6.c: Likewise.
24190
24191 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24192
bfc9dc9b
AS
241932011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24194
24195 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24196
702e64bb
UD
241972011-07-20 Ulrich Drepper <drepper@gmail.com>
24198
24199 * po/cs.po: Update from translation team.
24200 * po/bg.po: Likewise.
24201
295e904f
MP
242022011-07-12 Marek Polacek <mpolacek@redhat.com>
24203
24204 * misc/sys/cdefs.h: Add support for const attribute.
24205 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24206 to gnu_dev_{major,minor,makedev} functions.
24207
3ff94596
MP
242082011-07-20 Marek Polacek <mpolacek@redhat.com>
24209
24210 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24211
28b59fca
AS
242122011-07-20 Andreas Schwab <schwab@redhat.com>
24213
24214 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24215 strlen results.
24216
19df733e
AK
242172011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24218
24219 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24220 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24221 register in order to avoid conflicts with the soft frame pointer
24222 being held in r11 when necessary.
24223 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24224 (INTERNAL_VSYSCALL_NCS): Likewise.
24225
c8835729
MP
242262011-07-14 Marek Polacek <mpolacek@redhat.com>
24227
24228 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24229 * elf/dl-fini.c (_dl_fini): Adjust caller.
24230 * elf/dl-close.c (_dl_close_worker): Likewise.
24231 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24232
b902330c
MP
242332011-07-15 Marek Polacek <mpolacek@redhat.com>
24234
8991e135
MP
24235 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24236 "aux_cache->nlibs < 0".
24237
b902330c
MP
24238 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24239 in the reload-count case.
24240
99710781
LD
242412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24242
24243 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24244 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24245 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24246 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24247 * sysdeps/x86_64/multiarch/strcat.S: New file.
24248 * sysdeps/x86_64/multiarch/strncat.S: New file.
24249 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24250 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24251 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24252 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24253 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24254 (USE_AS_STRCAT): Define.
24255 Add strcat and strncat support.
24256 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24257 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24258 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24259 * string/strncat.c: Update.
24260 (USE_AS_STRNCAT): Define.
24261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24262 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24263 and i7.
24264 * sysdeps/x86_64/multiarch/init-arch.h
24265 (bit_Prefer_PMINUB_for_stringop): New.
24266 (index_Prefer_PMINUB_for_stringop): Likewise.
24267 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24268 bit_Prefer_PMINUB_for_stringop.
24269
7dc6bd90
UD
242702011-07-19 Ulrich Drepper <drepper@gmail.com>
24271
24272 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24273 buffer64.
24274 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24275 of casting of buffer.
24276 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24277 buffer32 and buffer64.
24278 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24279 writes instead of casting of buffer.
24280 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24281 buffer32.
24282 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24283 casting of buffer.
24284
e0e72284
AS
242852011-07-19 Andreas Schwab <schwab@redhat.com>
24286
24287 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24288
feb1eb0b
UD
242892011-07-19 Ulrich Drepper <drepper@gmail.com>
24290
24291 * nscd/nscd.c (termination_handler): Don't do anything for a database
24292 if it has not yet been initialized.
24293
298711ff
UD
242942011-07-18 Ulrich Drepper <drepper@gmail.com>
24295
24296 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24297
242982011-07-15 Marek Polacek <mpolacek@redhat.com>
24299
24300 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24301
f9d68389
UD
243022011-07-18 Ulrich Drepper <drepper@gmail.com>
24303
24304 * po/nl.po: Update from translation team.
24305 * po/sv.po: Likewise.
24306
db290cf5
RM
243072011-07-16 Roland McGrath <roland@hack.frob.com>
24308
24309 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24310 now disallowed by GCC.
5c550700 24311
fd5e21c7
RM
24312 * configure.in (use-default-link): Default to yes if a test -shared
24313 link meets our qualifications.
24314 * configure: Regenerated.
24315
5c550700
RM
24316 * config.make.in (output-format): New variable.
24317 * configure.in: Check for ld --print-output-format support.
24318 * configure: Regenerated.
24319 * Makerules ($(common-objpfx)format.lds)
24320 [$(output-format) != unknown]: Just use $(output-format),
24321 instead of the linker-script munging.
24322
9fa2c032
RM
243232011-07-14 Roland McGrath <roland@hack.frob.com>
24324
a6928d51
RM
24325 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24326 of $(common-objpfx)shlib.lds.
24327 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24328
661607b3
RM
24329 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24330 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24331
9fa2c032
RM
24332 * configure.in (-z relro check): Adjust test code to add a large
24333 writable data section after it.
24334 * configure: Regenerated.
24335
defe9061
RM
243362011-07-11 Roland McGrath <roland@hack.frob.com>
24337
24338 * configure.in (-z relro check): Fix test code to make the variable
24339 truly const.
24340 * configure: Regenerated.
24341
319b9ad4
UD
243422011-07-11 Ulrich Drepper <drepper@gmail.com>
24343
24344 * nscd/nscd.h (struct traced_file): Define.
24345 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24346 elements. Add traced_files.
24347 (inotify_fd): Declare.
24348 (register_traced_file): Declare.
24349 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24350 (inotify_fd): Export.
24351 (resolv_conf_descr): Remove.
24352 (nscd_init): Move inotify descriptor creation to main.
24353 Don't register files for notification here.
24354 (register_traced_file): New function.
24355 (invalidate_cache): Don't use reset_res to determine whether to call
24356 res_init, go through the list of registered files.
24357 (main_loop_poll): The inotify descriptors are now stored in the
24358 structures for the traced files.
24359 (main_loop_epoll): Likewise
24360 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24361 to __nss_disable_nscd.
24362 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24363 for a database anymore. Check the records for all the registered
24364 files instead.
24365 * nss/Makefile (libnss_files-routines): Add files-init.
24366 (libnss_db-routines): Add db-init.
24367 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24368 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24369 * nss/nss_db/db-init.c: New file.
24370 * nss/nss_files/files-init.c: New file.
24371 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24372 __nss_lookup_function.
24373 (__nss_lookup_function): Call nss_load_library.
24374 (nss_load_all_libraries): New function.
24375 (__nss_disable_nscd): Take parameter with callback function for files
24376 to register. Set is_nscd. Load all the DSOs for the NSS modules
24377 used for the cached services.
24378 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24379 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24380 options for features to all the files in nscd.
24381
24382 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24383
23bee3e8
RM
243842011-07-10 Roland McGrath <roland@hack.frob.com>
24385
24386 * csu/elf-init.c (__libc_csu_init): Comment typo.
24387
46a5b7f0
UD
243882011-07-09 Ulrich Drepper <drepper@gmail.com>
24389
24390 * po/pl.po: Update from translation team.
24391 * po/ja.po: Likewise.
24392 * po/ru.po: Likewise.
24393 * po/ko.po: Likewise.
24394 * po/fr.po: Likewise.
24395
d30cf5bb
RM
243962011-07-09 Roland McGrath <roland@hack.frob.com>
24397
113ddea4
RM
24398 * configure.in (.ctors/.dtors header and trailer check):
24399 Use an empirical test on a built program.
24400 * configure: Regenerated.
24401
574920b4
RM
24402 * configure.in (-z relro check): Use an empirical test on a built DSO.
24403 Detect, but do not require, on ia64.
24404 * configure: Regenerated.
24405
d30cf5bb
RM
24406 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24407 Update tests that use readelf to use $READELF instead.
24408 * configure: Regenerated.
24409
8538fdb3
UD
244102011-07-08 Ulrich Drepper <drepper@gmail.com>
24411
24412 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24413 if the result is not used.
24414
04d08991
AJ
244152011-07-05 Andreas Jaeger <aj@suse.de>
24416
24417 [BZ#9696]
24418 * stdlib/tst-strtod.c: Add testcase.
24419
de283087
AD
244202011-07-07 Ulrich Drepper <drepper@gmail.com>
24421
4e5f31c8 24422 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24423 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24424 The latter has a higher limit. Take additional parameter to pass to
24425 the new function.
24426 (__pathconf): Pass file to __statfs_link_max.
24427 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24428 __statfs_link_max.
24429 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24430 __statfs_link_max.
24431
de283087
AD
24432 [BZ #12868]
24433 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24434 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24435 Handle Lustre.
24436 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24437 (__statfs_filesize_max): Likewise.
24438 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24439
c75fa153
AJ
244402011-07-05 Andreas Jaeger <aj@suse.de>
24441
24442 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24443
1a544854
UD
244442011-07-06 Marek Polacek <mpolacek@redhat.com>
24445
24446 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24447 `status' variable.
24448 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24449 Likewise.
24450
6f0eec67
UD
244512011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24452
24453 * Makefile (strop-tests): Add strncat.
24454 * string/test-strncat.c: New file.
24455
aae30307
UD
244562011-06-30 Marek Polacek <mpolacek@redhat.com>
24457
24458 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24459
c0cfb5eb
UD
244602011-06-21 Andreas Jaeger <aj@suse.de>
24461
24462 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24463 Copy rule from iconvdata/Makefile.
24464
01636b21
UD
244652011-07-06 Ulrich Drepper <drepper@gmail.com>
24466
24467 [BZ #12922]
24468 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24469 but no long options are defined, just return 'W'.
24470
9895c8bc
UD
244712011-06-22 Marek Polacek <mpolacek@redhat.com>
24472
24473 [BZ #9696]
24474 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24475
5d4cf042
UD
244762011-07-06 Ulrich Drepper <drepper@gmail.com>
24477
24478 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24479 netgroups to read.
960e5535 24480 (innetgr): Likewise.
5d4cf042 24481
751eb97e
RM
244822011-07-05 Roland McGrath <roland@hack.frob.com>
24483
24484 * config.make.in (install_root): Default to $(DESTDIR).
24485
f15f1e45
UD
244862011-07-05 Ulrich Drepper <drepper@gmail.com>
24487
24488 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24489
4e34ac6a
RM
244902011-07-02 Roland McGrath <roland@hack.frob.com>
24491
5e9b6af4
RM
24492 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24493
84f9ea0f
RM
24494 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24495 containing directory rather than embedding absolute directory names.
24496
ea5ee9f7
RM
24497 * scripts/check-local-headers.sh: Rewritten using awk.
24498 Match by word, not by line. Print error messages for matches.
24499 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24500
1b74661a
RM
24501 * Makerules [shlib-lds-flags empty]:
24502 ($(common-objpfx)libc_pic.opts): New target.
24503 ($(common-objpfx)libc_pic.os.clean): New target.
24504 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24505
24506 * config.make.in (OBJCOPY): New variable.
24507 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24508 * configure: Regenerated.
24509
f781ef40
RM
24510 * config.make.in (use-default-link): New variable.
24511 * configure.in (use_default_link): Grok --with-default-link to set it.
24512 * configure: Regenerated.
24513 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24514 (shlib-lds, shlib-lds-flags): Define to empty.
24515
2d4fa81e
RM
24516 * Makerules (shlib-lds): New variable.
24517 (shlib-lds-flags): New variable.
24518 (build-shlib, build-moduile, build-module-asneeded): Use it.
24519 ($(common-objpfx)libc.so): Use $(shlib-lds).
24520 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24521 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24522
31fffa6b
RM
24523 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24524 DT_FLAGS/DT_FLAGS_1 with zero flags.
24525
4e34ac6a
RM
24526 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24527 linker script munging.
24528
fcfc776b
UD
245292011-07-02 Ulrich Drepper <drepper@gmail.com>
24530
24531 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24532 as 128-bit value.
24533 * crypt/sha512.c (sha512_process_block): Perform total addition using
24534 128-bit if possible.
24535 (__sha512_finish_ctx): Likewise.
24536 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24537 as 64-bit value.
24538 * crypt/sha256.c (SWAP64): Define.
24539 (sha256_process_block): Perform total addition using 64-bit if
24540 possible.
24541 (__sha256_finish_ctx): Likewise.
24542
99231d9a
UD
245432011-07-01 Ulrich Drepper <drepper@gmail.com>
24544
24545 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24546 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24547 * nscd/hstcache.c (cache_addhst): Likewise.
24548 * nscd/grpcache.c (cache_addgr): Likewise.
24549 * nscd/aicache.c (addhstaiX): Likewise
24550 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24551
445b4a53
TK
245522011-07-01 Thorsten Kukuk <kukuk@suse.de>
24553
24554 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24555 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24556 * nscd/hstcache.c (cache_addhst): Likewise.
24557 * nscd/grpcache.c (cache_addgr): Likewise.
24558 * nscd/aicache.c (addhstaiX): Likewise
24559
6d4d8e8e
AS
245602011-07-01 Andreas Schwab <schwab@redhat.com>
24561
24562 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24563 domain only when needed.
24564
89f654c5
AS
245652011-06-30 Andreas Schwab <schwab@redhat.com>
24566
24567 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24568 is always restored.
24569
cf3b23ff
UD
245702011-06-29 Ulrich Drepper <drepper@gmail.com>
24571
24572 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24573 are re-adding the entry.
24574 * nscd/servicescache.c (cache_addserv): Likewise.
24575
751626f9
AJ
245762011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24577
24578 * sysdeps/generic/dl-irel.h: fix protection against multiple
24579 inclusions.
24580 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24581
9113ea1f
UD
245822011-06-28 Ulrich Drepper <drepper@gmail.com>
24583
5c0b8d90
UD
24584 [BZ #12935]
24585 * malloc/memusage.sh: Fix quoting in message.
24586 * debug/xtrace.sh: Likewise.
24587
9113ea1f
UD
24588 * configure.in: Remove support for --experimental-malloc option, make
24589 it the default.
24590 * config.make.in: Likewise.
24591 * malloc/Makefile: Likewise.
24592
a4172181
AS
245932011-06-27 Andreas Schwab <schwab@redhat.com>
24594
24595 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24596 two-byte characters.
24597
78a7eee7
RM
245982011-06-27 Roland McGrath <roland@hack.frob.com>
24599
62bede13
RM
24600 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24601 AC_CACHE_CHECK invocation.
24602 * configure: Regenerated.
24603
78a7eee7
RM
24604 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24605
5ce33a62
UD
246062011-06-27 Ulrich Drepper <drepper@gmail.com>
24607
034807a9
UD
24608 [BZ #12350]
24609 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24610 bit from old_res_options.
24611
4902da17
UD
24612 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24613
5ce33a62
UD
24614 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24615 value type for setfct.
24616
c2344f56
L
246172011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24618
24619 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24620 __gettimeofday instead of gettimeofday.
24621
68468076
UD
246222011-06-26 Ulrich Drepper <drepper@gmail.com>
24623
24624 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24625
acb0d739
L
246262011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24627
24628 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24629
24630 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24631 info.
24632
8912479f
L
246332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24634
24635 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24636 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24637 strcpy-sse2-unaligned strncpy-sse2-unaligned
24638 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24639 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24640 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24641 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24642 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24643 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24644 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24645 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24646 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24647 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24648 (STRCPY): Support SSE2 and SSSE3 versions.
24649
d5495a11
UD
246502011-06-24 Ulrich Drepper <drepper@gmail.com>
24651
24652 [BZ #12874]
24653 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24654 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24655 kernels which artificially limit size of requests.
24656
0b1cbaae
L
246572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24658
24659 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24660 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24661 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24662 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24663 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24664 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24665 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24666 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24667 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24668 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24669 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24670 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24671 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24672 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24673 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24675 Enable unaligned load optimization for Intel Core i3, i5 and i7
24676 processors.
24677 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24678 Define.
24679 (index_Fast_Unaligned_Load): Define.
24680 (HAS_FAST_UNALIGNED_LOAD): Define.
24681
07f494a0
MP
246822011-06-23 Marek Polacek <mpolacek@redhat.com>
24683
24684 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24685
fa3fc0fe
UD
246862011-06-22 Ulrich Drepper <drepper@gmail.com>
24687
24688 [BZ #12907]
24689 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24690 until it is clear that the information is realy needed.
24691 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24692
e12df166
AS
246932011-06-22 Andreas Schwab <schwab@redhat.com>
24694
24695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24696
852eb34d
UD
246972011-06-22 Ulrich Drepper <drepper@gmail.com>
24698
84e2a551
UD
24699 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24700 /sys/devices/system/cpu/online if it is usable.
24701
852eb34d
UD
24702 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24703 reading the information from the /proc filesystem to once a second.
24704
6e502e19
UD
247052011-06-21 Andreas Jaeger <aj@suse.de>
24706
24707 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24708 NULL after inclusion of kernel headers.
24709
75d39ff2
UD
247102011-06-21 Ulrich Drepper <drepper@gmail.com>
24711
51f9aa6a
UD
24712 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24713 calls to internal_setent.
24714
c0244a9d
UD
24715 [BZ #12885]
24716 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24717 addresses using gethostbyname4_r ignore IPv4 addresses.
24718
c5e3c2ae
UD
24719 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24720 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24721
75d39ff2
UD
24722 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24723
42675c6f
DM
247242011-06-20 David S. Miller <davem@davemloft.net>
24725
24726 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24727 inclusions.
24728 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24729
24730 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24731 (elf_irel): Use it.
24732 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24733 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24734 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24735 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24736 * sysdeps/x86_64/dl-irel.h: Likewise.
24737
24738 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24739 * elf/dl-sym.c: Likewise.
24740
57912a71
UD
247412011-06-15 Ulrich Drepper <drepper@gmail.com>
24742
24743 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24744 need to dereference resplen2.
24745
ee22793d
AS
247462011-06-14 Andreas Schwab <schwab@redhat.com>
24747
24748 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24749
a9e836b0
UD
247502011-06-15 Ulrich Drepper <drepper@gmail.com>
24751
77fb9117
UD
24752 * Makeconfig: Define vardbdir and inst_vardbdir.
24753 * nss/Makefile: Add rules to install db-Makefile.
24754
40c1b22c
UD
24755 * nss/nss_db/db-XXX.c: Cleanup.
24756
9f2da732
UD
24757 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24758 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24759 GLIBC_PRIVATE.
24760 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24761 * nss/makedb.c: Implement -g option to specify that value strings
24762 are generated and should not be added to table iterated over for
24763 get*ent calls.
24764 * nss/nss_db/db-initgroups.c: New file.
24765
82e9a1f7
UD
24766 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24767 interface.
24768
c41af17e
UD
24769 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24770 (internal_getgrouplist): Adjust to name change.
24771 Update use_initgroups_entry if this is not the first call.
24772 * nss/databases.def: Add initgroups entry.
24773
a9e836b0
UD
24774 * nss/makedb.c (compute_tables): Check result of multiple hash table
24775 sizes to minimize maximum chain length.
24776
2666d441
UD
247772011-06-14 Ulrich Drepper <drepper@gmail.com>
24778
24779 * Versions.def: Add entry for libnss_db.
24780 * shlib-versions: Likewise.
24781 * nss/Makefile: Add rules to build libnss_db.
24782 * nss/Versions: Add libnss_db information. Organize libnss_files
24783 entries better.
24784 * nss/db-Makefile: Add gshadow support. Change rules for the new
24785 makedb progra. Some minor improvements to generate smaller files.
24786 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24787 here from...
24788 * nss/makedb.c: ...here.
24789 Improve database format to be smaller and require less memory at
24790 runtime.
24791 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24792 db anymore.
24793 * nss/nss_db/db-netgrp.c: Likewise.
24794 * nss/nss_db/db-open.c: Likewise.
24795 * nss/nss_files/flies-XXX.x: Adjust comments.
24796 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24797 * nss/nss_files/files-grp.c: Likewise.
24798 * nss/nss_files/files-hosts.c: Likewise.
24799 * nss/nss_files/files-network.c: Likewise.
24800 * nss/nss_files/files-proto.c: Likewise.
24801 * nss/nss_files/files-pwd.c: Likewise.
24802 * nss/nss_files/files-rpc.c: Likewise.
24803 * nss/nss_files/files-service.c: Likewise.
24804 * nss/nss_files/files-sgrp.c: Likewise.
24805 * nss/nss_files/files-spwd.c: Likewise.
24806 * nss/nss_db/db-alias.c: Removed.
24807 * nss/nss_db/dummy-db.h: Removed.
24808
9ee76b5a
UD
248092011-06-02 Ulrich Drepper <drepper@gmail.com>
24810
24811 * nss/makedb.c: Rewritten to not use database library.
24812 * nss/Makefile: Update to build new makedb program.
24813
c71ca1f8
AJ
248142011-06-14 Andreas Jaeger <aj@suse.de>
24815
24816 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24817 memset declaration.
24818
3154bfb8
UD
248192011-06-10 Andreas Schwab <schwab@redhat.com>
24820
24821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24822 tmpbuf.
24823
b350afab
RM
248242011-06-10 Roland McGrath <roland@hack.frob.com>
24825
decd4e50
RM
24826 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24827 * elf/Makefile ($(objpfx)ld.so): Likewise.
24828
5615eaf2
RM
24829 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24830 Don't list ld.so twice in dependencies.
24831
24832 * posix/bug-regex31.c: Include <stdlib.h>.
24833
24834 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24835
24836 * nis/nss_compat/compat-spwd.c
24837 (getspent_next_nss_netgr): Remove unused variable.
24838 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24839
24840 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24841 nonmembers" output to use the right array.
24842
24843 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24844
24845 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24846
24847 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24848 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24849 * catgets/gencat.c (read_input_file): Likewise.
24850 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24851
24852 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24853 variable definition inside #if's controlling its use.
24854
24855 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24856
24857 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24858
24859 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24860
24861 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24862 unreachable code.
24863
24864 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24865
b68e08db
RM
24866 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24867 * configure: Regenerated.
24868
b350afab
RM
24869 * Makerules: Revert last change.
24870 * elf/Makefile: Likewise.
24871
28368601
RM
248722011-06-09 Roland McGrath <roland@hack.frob.com>
24873
24874 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24875 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24876 (reloc-link): Likewise.
24877
11988f8f
UD
248782011-06-09 Ulrich Drepper <drepper@gmail.com>
24879
24880 * elf/Makefile: Add rules to build pldd.
24881 * elf/pldd.c: New file.
24882 * elf/pldd-xx.c: New file.
24883
e80fab37
UD
248842011-06-07 Ulrich Drepper <drepper@gmail.com>
24885
24886 * version.h: Update for 2.15 development version.
24887
9b849836
DM
248882011-06-07 David S. Miller <davem@davemloft.net>
24889
24890 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24891 ifuncs.
24892 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24893 elf_machine_lazy_rel): Likewise.
24894 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24895 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24896 elf_machine_lazy_rel): Likewise.
24897 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24898 dl_hwcap via passed in argument.
24899 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24900 Likewise.
24901
5a31b283
AK
249022011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24903
24904 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24905
069e52f8
RM
249062011-06-06 Roland McGrath <roland@hack.frob.com>
24907
24908 [BZ #12849]
24909 * manual/fdl-1.1.texi: New file, verbatim from:
24910 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24911 * manual/lgpl-2.1.texi: New file, verbatim from:
24912 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24913 * manual/Makefile (licenses): New variable, list those new file names.
24914 (texis): Use it.
24915 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24916
24917 * manual/fdl.texi: File removed.
24918 * manual/lesser.texi: File removed.
24919 * manual/libc.texinfo (Copying, Documentation License):
24920 Use new @include file names, put @appendix directive before @include.
24921
f16846a5
JJ
249222011-06-04 Jakub Jelinek <jakub@redhat.com>
24923
24924 [BZ #12841]
24925 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24926 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24927 (mq_open): Add __NTH.
24928
3d29045b
L
249292011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24930
24931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24932 Assume Intel Core i3/i5/i7 processor if AVX is available.
24933
8c297311
UD
249342011-05-31 Ulrich Drepper <drepper@gmail.com>
24935
24936 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24937 typo.
24938
c8fc0c91
UD
249392011-05-31 Andreas Schwab <schwab@redhat.com>
24940
24941 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24942 memory. Use alloca_account. Fix memory leak when retrying.
24943
5b27a807
UD
249442011-05-31 Ulrich Drepper <drepper@gmail.com>
24945
356f8bc6
UD
24946 * version.h (RELEASE): Bump for 2.14 release.
24947 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24948
5b27a807
UD
24949 * config.make.in (RANLIB): Remove entry.
24950
01f16ab0
UD
249512011-05-30 Ulrich Drepper <drepper@gmail.com>
24952
41fce8bd
UD
24953 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24954 (libc.pot): Work around missing support for .ksh extension in xgettext.
24955
4769ae77
UD
24956 [BZ #12684]
24957 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24958 if both request failed.
24959 (send_dg): In case of server errors clear resplen or *resplen2.
24960
6b1e7d19
UD
24961 [BZ #12454]
24962 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24963 when there are multiple maps.
24964 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24965 (_dl_fini): Remove test here.
24966
01f16ab0
UD
24967 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24968
b1ebd700
UD
249692011-05-29 Ulrich Drepper <drepper@gmail.com>
24970
7ae22829
UD
24971 [BZ #12350]
24972 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24973 bit from old_res_options.
24974 (gaih_inet): Likewise.
24975
553149f6 24976 [BZ #11099]
18a84741 24977 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24978 as signed.
24979
652ffab1
UD
24980 * resolv/res_init.c (res_setoptions): Make the code more compact.
24981
16985fd0
UD
24982 [BZ #11558]
24983 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24984 set RES_USEVC.
24985
0464f746
UD
24986 [BZ #11634]
24987 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24988
7d17596c
UD
24989 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24990
cf6bbbd7
UD
24991 [BZ #11781]
24992 * malloc/malloc.h: Declare malloc hook variables as volatile.
24993
13f1ab36
UD
24994 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24995 in last patch.
24996
b1ebd700
UD
24997 [BZ #11799]
24998 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24999 raise in the comment.
80e2212d
UD
25000 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25001 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25002 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25003
ce67228d
UD
250042011-05-28 Ulrich Drepper <drepper@gmail.com>
25005
8887a920
UD
25006 [BZ #12811]
25007 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25008 grow the buffers more if it already has to be sufficient.
25009 (build_wcs_upper_buffer): Likewise.
25010 * posix/regexec.c (check_matching): Likewise.
25011 (clean_state_log_if_needed): Likewise.
25012 (extend_buffers): Don't enlarge buffers beyond size of the input
25013 buffer.
25014 Patches mostly by Emil Wojak <emil@wojak.eu>.
25015 * posix/bug-regex32.c: New file.
25016 * posix/Makefile (tests): Add bug-regex32.
25017
4f031072
UD
25018 * locale/findlocale.c (_nl_find_locale): Return right away if
25019 _nl_explode_name failed.
25020 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25021
d0478f0c
UD
25022 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25023
de81b246
UD
25024 * debug/xtrace.sh: Unify messages.
25025 * malloc/memusage.sh: Likewise.
25026
c738465a
UD
25027 [BZ #12813]
25028 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25029 time symbol from vDSO. Substitute with vsyscall if not available.
25030 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25031 __vdso_time.
25032
f1f929d7
UD
25033 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25034 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25035 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25036 Add sendmmsg and internal_sendmmsg.
25037 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25038 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25039 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25040
ce67228d
UD
25041 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25042 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25043 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25044
e57420c6
UD
250452011-05-27 Ulrich Drepper <drepper@gmail.com>
25046
a8509ca5
UD
25047 [BZ #12813]
25048 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25049 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25050 available.
25051 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25052 __vdso_getcpu.
25053
e57420c6
UD
25054 [BZ #12814]
25055 * iconvdata/Makefile (tests): Add bug-iconv9.
25056 * iconvdata/bug-iconv9.c: New file.
25057
4d07db15
AS
250582011-05-27 Andreas Schwab <schwab@redhat.com>
25059
25060 [BZ #12814]
25061 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25062
ea486f69
JJ
250632011-05-25 Jakub Jelinek <jakub@redhat.com>
25064
25065 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25066 (struct user_regs_struct): Change intcs field back to cs.
25067
6f038433
UD
250682011-05-25 Ulrich Drepper <drepper@gmail.com>
25069
25070 * po/ja.po: Update from translation team.
25071
67f86a25
UD
250722011-05-23 Ulrich Drepper <drepper@gmail.com>
25073
25074 [BZ #12795]
25075 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25076 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25077
def7fbd6
AS
250782011-05-20 Andreas Schwab <schwab@redhat.com>
25079
25080 * stdlib/longlong.h: Update from GCC.
25081
f50ef8f1
AS
250822011-05-23 Andreas Schwab <schwab@redhat.com>
25083
25084 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25085 parameter name.
25086 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25087 Add parameter name.
25088 (__sysconf): Pass it down.
25089
de7ce8f1
UD
250902011-05-22 Ulrich Drepper <drepper@gmail.com>
25091
f2962a71
UD
25092 [BZ #12671]
25093 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25094 some situations.
25095 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25096 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25097 add in in __libc_use_alloca calls. Adjust callers.
25098 (glob): Use malloc in some situations.
25099
de7ce8f1
UD
25100 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25101 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25102 pltexit.
25103
aec84f53
UD
251042011-05-21 Ulrich Drepper <drepper@gmail.com>
25105
05bb4a68
UD
25106 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25107 and CLOCK_BOOTTIME_ALARM.
25108
7ea72f99
UD
25109 [BZ #12782]
25110 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25111 is returned.
25112
7e4afad5
UD
25113 * string/_strerror.c (__strerror_r): Print negative errors as signed
25114 numbers.
25115
8e211fec
UD
25116 [BZ #12777]
25117 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25118 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25119 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25120
f7d82dc9
UD
25121 * configure.in: Fix typo in redirection and correct removal of test
25122 files in two cases.
25123
cc9e536d
UD
25124 [BZ #12788]
25125 * locale/setlocale.c (new_composite_name): Fix test to check for
25126 identical name of all categories.
25127
aec84f53
UD
25128 [BZ #12792]
25129 * libio/filedoalloc.c (local_isatty): New function.
25130 (_IO_file_doallocate): Use local_isatty.
25131 * stdio-common/perror.c (perror): In case a new stream is used
25132 forward the stream error.
25133 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25134 error flag.
25135
78e64fdc
RT
251362011-05-20 Ulrich Drepper <drepper@gmail.com>
25137
34a9094f
UD
25138 [BZ #11869]
25139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25140 alloca.
25141 * include/alloca.h (extend_alloca_account): Define.
25142
78e64fdc
RT
25143 [BZ #11857]
25144 * posix/regex.h: Fix comments with documentation of user-accessible
25145 fields after compilation and describe correct free'ing of pattern
25146 after re_compile_pattern.
25147 Patch by Reuben Thomas <rrt@sc3d.org>.
25148
457bddfc
RA
251492011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25150
25151 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25152 and -mno-altivec to prevent the compiler from using Altivec and/or
25153 VSX instructions when the corresponding registers are not available.
25154
a4527b51
AS
251552011-05-19 Andreas Schwab <schwab@redhat.com>
25156
25157 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25158
ed690b2f
UD
251592011-05-19 Ulrich Drepper <drepper@gmail.com>
25160
25161 * libio/freopen.c (freopen): Use __dup2, not dup2.
25162 * libio/freopen64.c (freopen64): Likewise.
25163
8db73634
L
251642011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25165
25166 [BZ #12775]
25167 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25168 * math/Makefile (tests): Add test-powl.
25169 (CFLAGS-test-powl.c): Define.
25170 * math/test-powl.c: New file.
25171
0a197a9d
L
251722011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25173
25174 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25175
ee30c380
UD
251762011-05-17 Ulrich Drepper <drepper@gmail.com>
25177
25178 [BZ #11837]
25179 * iconvdata/gb18030.c: Update to GB18020-2005.
25180
6ce75379
UD
251812011-05-16 Ulrich Drepper <drepper@gmail.com>
25182
a4b89fd8
AR
25183 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25184 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25185 Patch by Aharon Robbins <arnold@skeeve.com>.
25186
ea389b12
UD
25187 [BZ #11892]
25188 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25189 on the stack.
25190
68a3f91f
UD
25191 [BZ #11895]
25192 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25193 through underflows.
25194
15cc7dd1
UD
25195 [BZ #12766]
25196 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25197 point to strings before performing equality test for error_one_per_line
25198 mode.
25199
f3799213
UD
25200 [BZ #11697]
25201 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25202
d79a9c94
UD
25203 [BZ #11820]
25204 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25205 (struct user_fpregs_struct): Avoid __uint*_t types.
25206
56e5eb46
UD
25207 [BZ #6420]
25208 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25209 symbol info. Use it instead of calling _dl_addr locally.
25210 (lock_and_info): New function.
25211 (tr_freehook): Call lock_and_info and pass symbol info as additional
25212 parameter to tr_where.
25213 (tr_mallochook): Likewise.
25214 (tr_reallochook): Likewise.
25215 (tr_memalignhook): Likewise.
25216
6ce75379
UD
25217 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25218 used and couldn't be at all thread-safe.
25219
f8a3b5bf
UD
252202011-05-15 Ulrich Drepper <drepper@gmail.com>
25221
94b7cc37
UD
25222 * libio/freopen.c (freopen): Don't close old file descriptor
25223 before the new one is opened. Instead dup the new file descriptor
25224 to the old one after the new stream is created.
25225 * libio/freopen64.c (freopen64): Likewise.
25226 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25227 * libio/fileops.c (_IO_new_file_close_it): Handle new
25228 _IO_FLAGS2_NOCLOSE flag.
25229 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25230 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25231 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25232 _IO_FLAGS2_NOCLOSE flag.
25233 * include/unistd.h: Add hidden_proto for dup3.
25234 Define __have_dup3.
25235 * io/dup3.c: Define hidden symbol.
25236 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25237
bd25564e
UD
25238 [BZ #7101]
25239 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25240 when an incomplete long option is used.
25241 * posix/tst-getopt_long1.c: New file.
25242 * posix/Makefile (tests): Add tst-getopt_long1.
25243
c84cfef4
UD
25244 [BZ #10138]
25245 * scripts/config.guess: Update from autoconf-2.68.
25246 * scripts/config.sub: Likewise.
25247
3b85df27
UD
25248 [BZ #10157]
25249 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25250 tests into ...
25251 (has_cpuclock): ...this. New function.
25252 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25253 macro here based on has_cpuclock code.
25254
15a856b1
UD
25255 [BZ #10149]
25256 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25257 First byte (not low byte) is now always NUL.
25258 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25259
05f399e6
UD
25260 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25261 Use non-cancelable interfaces.
25262
10a52685 25263 [BZ #9809]
94ecc67d
UD
25264 * locale/iso-639.def: Add entry for Sorani.
25265
f8a3b5bf
UD
25266 [BZ #11901]
25267 * include/stdlib.h: Move include protection to the right place.
25268 Define abort_msg_s. Declare __abort_msg with it.
25269 * stdlib/abort.c (__abort_msg): Adjust type.
25270 * assert/assert.c (__assert_fail_base): New function. Majority
25271 of code from __assert_fail. Allocate memory for __abort_msg with
25272 mmap.
25273 (__assert_fail): Now call __assert_fail_base.
25274 * assert/assert-perr.c: Remove bulk of implementation. Use
25275 __assert_fail_base.
25276 * include/assert.hL Declare __assert_fail_base.
25277 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25278 mmap.
25279 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25280
1af4e298
UD
252812011-05-14 Ulrich Drepper <drepper@gmail.com>
25282
f8a3b5bf 25283 [BZ #11952]
d26dfc60
MG
25284 [BZ #12453]
25285 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25286 until all modules are registered in the DTV.
25287 * elf/Makefile: Add rules to build and run tst-tls19.
25288 * elf/tst-tls19.c: New file.
25289 * elf/tst-tls19mod1.c: New file.
25290 * elf/tst-tls19mod2.c: New file.
25291 * elf/tst-tls19mod3.c: New file.
25292 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25293
2fc54d6f
UD
25294 [BZ #12083]
25295 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25296 correctly.
25297
98d76b46
UD
25298 [BZ #12601]
25299 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25300 two-byte sequence errors.
25301 * iconvdata/Makefile (tests): Add bug-iconv8.
25302 * iconvdata/bug-iconv8.c: New file.
25303
da3c19ef
UD
25304 [BZ #12626]
25305 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25306 buf2 definition.
25307
ca408c15
UD
25308 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25309
d6f67f7d
UD
25310 [BZ #12432]
25311 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25312 (dummy_getcfa): New function.
25313 (init): Get _Unwind_GetCFA address, use dummy if not found.
25314 (backtrace_helper): In recursion check, also check whether CFA changes.
25315 (__backtrace): Completely initialize arg.
25316
1af4e298 25317 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25318 storing incomplete byte sequence in state object. Avoid testing for
25319 guaranteed too small input if we know there is enough data available.
1af4e298 25320
da62f81b
AS
253212011-05-11 Andreas Schwab <schwab@redhat.com>
25322
25323 * Makeconfig (+link-pie): Indent.
25324 * Rules (binaries-pie): Define if $(have-fpie) and
25325 $(build-shared).
25326 (binaries-shared): Also filter out $(binaries-pie).
25327 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25328 * nscd/Makefile (others-pie): Add nscd.
25329 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25330 ($(objpfx)nscd): Remove command override.
25331 * login/Makefile (others-pie): Add pt_chown.
25332 ($(objpfx)pt_chown): Remove command override.
25333 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25334 remove command overrides.
25335
fcabc0f8
UD
253362011-05-13 Ulrich Drepper <drepper@gmail.com>
25337
20030ae6
UD
25338 * libio/tst_putwc.c: Fix error messages.
25339
fcabc0f8
UD
25340 [BZ #12724]
25341 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25342 currently writing and seek to current position when not.
25343 * libio/Makefile (tests): Add bug-fclose1.
25344 * libio/bug-fclose1.c: New file.
25345
320a5dc0
PB
253462011-05-12 Ulrich Drepper <drepper@gmail.com>
25347
25348 [BZ #12511]
25349 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25350 don't set DF_1_NODELETE here.
25351 (do_lookup_x): When entering new entry test for copy relocation
25352 and if necessary set DF_1_NODELETE flag.
25353 * elf/tst-unique4.cc: New file.
25354 * elf/tst-unique4.h: New file.
25355 * elf/tst-unique4lib.cc: New file.
25356 * elf/Makefile: Add rules to build and run tst-unique4.
25357 Patch by Piotr Bury <pbury@goahead.com>.
25358
22836f52
UD
253592011-05-11 Ulrich Drepper <drepper@gmail.com>
25360
f574184a
UD
25361 [BZ #12052]
25362 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25363
e1fb097f
UD
25364 [BZ #12625]
25365 * misc/mntent_r.c (addmntent): Flush the stream after the output
25366
22836f52
UD
25367 [BZ #12393]
25368 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25369 (is_trusted_path_normalize): Skip initial colon. Append slash
25370 to empty buffer. Duplicate is_trusted_path code but allow
25371 constructed patch to be prefix.
25372 (is_dst): Allow $ORIGIN followed by /.
25373 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25374 Correct testing of result of is_trusted_path_normalize
25375 (decompose_rpath): Fix warning.
25376
7b3b0b2a
UD
253772011-05-10 Ulrich Drepper <drepper@gmail.com>
25378
25379 [BZ #11257]
25380 * grp/initgroups.c (internal_getgrouplist): When we found the service
25381 list through the initgroups entry in nsswitch.conf do not always
25382 continue on a successful lookup. Don't always use the
eac80ce2 25383 __nss_group_database value if it is set.
7b3b0b2a
UD
25384 * nss/nsswitch.conf (initgroups): Change action for successful db
25385 lookup to continue for compatibility.
25386
2a81eaa5
UD
253872011-05-09 Ulrich Drepper <drepper@gmail.com>
25388
be97a69e
UD
25389 [BZ #11532]
25390 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25391 and CP774 modules.
25392 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25393 and CP774 modules.
25394 * iconvdata/tst-tables.sh: Likewise.
25395 * iconvdata/cp770.c: New file.
25396 * iconvdata/cp771.c: New file.
25397 * iconvdata/cp772.c: New file.
25398 * iconvdata/cp773.c: New file.
25399 * iconvdata/cp774.c: New file.
25400 * iconvdata/testdata/CP770: New file.
25401 * iconvdata/testdata/CP770..UTF8: New file.
25402 * iconvdata/testdata/CP771: New file.
25403 * iconvdata/testdata/CP771..UTF8: New file.
25404 * iconvdata/testdata/CP772: New file.
25405 * iconvdata/testdata/CP772..UTF8: New file.
25406 * iconvdata/testdata/CP773: New file.
25407 * iconvdata/testdata/CP773..UTF8: New file.
25408 * iconvdata/testdata/CP774: New file.
25409 * iconvdata/testdata/CP774..UTF8: New file.
25410
25411 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25412 END CHARMAP line.
25413 * iconvdata/gen-8bit-gap.sh: Likewise.
25414 * iconvdata/gen-8bit.sh: Likewise.
25415
c1e9e399
UD
25416 * locale/iso-639.def: Add ary entry.
25417
24c55fb3 25418 [BZ #11258]
96b4b1b0
UD
25419 * locale/C-translit.h.in: Add U20A1 transliteration.
25420
bdc2f971
KB
25421 [BZ #12178]
25422 * locale/iso-639.def: Add wae entry.
25423 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25424
2952b117
UD
25425 [BZ #12545]
25426 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25427 for n.
25428
2a81eaa5
UD
25429 [BZ #12711]
25430 * locale/C-translit.h.in: Add entry for U20B9.
25431 Patch by pravin.d.s@gmail.com.
25432
28377d1b
UD
254332011-05-08 Ulrich Drepper <drepper@gmail.com>
25434
7fb90fb8
UD
25435 [BZ #12713]
25436 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25437 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25438 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25439 in rtld. Use *stat64.
7fb90fb8 25440 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25441 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25442 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25443 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25444 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25445 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25446 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25447 __fstatat64 macros.
7fb90fb8
UD
25448 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25449 * dirent/rewinddir.c: Add libc_hidden_def.
25450 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25451 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25452
28377d1b
UD
25453 * include/dirent.h (__alloc_dir): Add flags parameter.
25454 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25455 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25456 __alloc_dir.
25457 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25458 from fdopendir if O_CLOEXEC is already set.
25459
66bdbaa4
AM
254602011-03-15 Alan Modra <amodra@gmail.com>
25461
25462 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25463 l_tls_firstbyte_offset non-zero. Save padding offset in
25464 l_tls_firstbyte_offset for later use.
25465 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25466 freeing static tls block.
25467
95721191
JN
254682011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25469
25470 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25471 where #ifdef was intended. The intent is to prevent ARG_MAX from
25472 being defined by the kernel headers.
25473
f87dfb1f
UD
254742011-05-07 Ulrich Drepper <drepper@gmail.com>
25475
25476 [BZ #12734]
25477 * resolv/resolv.h: Define RES_NOTLDQUERY.
25478 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25479 no-tld-query and set RES_NOTLDQUERY.
25480 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25481 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25482 modern BIND to search name as TLD unless forbidden.
25483
47c3cd7a
UD
254842011-05-07 Petr Baudis <pasky@suse.cz>
25485 Ulrich Drepper <drepper@gmail.com>
25486
25487 [BZ #12393]
25488 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25489 (is_trusted_path): ...to here.
c1e9ea35 25490 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25491 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25492 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25493
8a35c912
PP
254942011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25495
25496 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25497 __BEGIN/__END_DECLS.
25498
acd41f47
UD
254992011-05-06 Ulrich Drepper <drepper@gmail.com>
25500
25501 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25502 NSS_STATUS_NOTFOUND if no record was found.
25503
597df647
AS
255042011-05-05 Andreas Schwab <schwab@redhat.com>
25505
25506 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25507 (headers-not-in-tirpc): Remove rpc/netdb.h
25508 * resolv/netdb.h: Revert last change.
25509
b9af1301
PP
255102011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25511
25512 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25513 circular dependency between libgcc.a and libc.a.
25514
4e34d5f5
AS
255152011-05-05 Andreas Schwab <schwab@redhat.com>
25516
25517 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25518 * nis/Makefile: Don't install rpcsvc/*.
25519 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25520 instead of <rpc/types.h>.
25521 (MAXHOSTNAMELEN): Define.
25522
00ee369c
AS
255232011-05-03 Andreas Schwab <schwab@redhat.com>
25524
25525 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25526
0b592a30
MB
255272011-04-28 Maciej Babinski <mbabinski@google.com>
25528
25529 [BZ #12714]
25530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25531 gethostbyname4_r when IPv6 results are possible.
25532
6e04cbbe
UD
255332011-05-02 Ulrich Drepper <drepper@gmail.com>
25534
25535 [BZ #12723]
25536 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25537 _PC_PIPE_BUF handling.
25538
e4ecafe0
BH
255392011-04-30 Bruno Haible <bruno@clisp.org>
25540
25541 [BZ #12717]
25542 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25543 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25544 to 'int'.
25545 * inet/getnameinfo.c (getnameinfo): Likewise.
25546
125ee683
UD
255472011-04-29 Ulrich Drepper <drepper@gmail.com>
25548
25549 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25550 to groups setting in database lookup.
25551 * nss/nsswitch.conf: Add initgroups entry.
25552
b722481a
EB
255532011-04-22 Ulrich Drepper <drepper@gmail.com>
25554
25555 [BZ #12685]
25556 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25557 mode string.
25558 Patch by Eric Blake <eblake@redhat.com>.
25559
4df46dbd
L
255602011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25561
25562 * sunrpc/Makefile (need-export-routines): Add svc_run.
25563 (routines): Remove svc_run.
25564 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25565 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25566 * sunrpc/svc_run.c (svc_run): Likewise.
25567 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25568
e84142d2
UD
255692011-04-21 Ulrich Drepper <drepper@gmail.com>
25570
25571 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25572 problem in reallocation in last patch.
25573
877175d8
UD
255742011-04-20 Ulrich Drepper <drepper@gmail.com>
25575
25576 * sunrpc/Makefile: Move inclusion of Rules.
25577
ab8eed78
UD
255782011-04-19 Ulrich Drepper <drepper@gmail.com>
25579
25580 * nss/nss_files/files-initgroups.c: New file.
25581 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25582 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25583 _nss_files_initgroups_dyn.
25584
e3d8f584
RS
255852011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25586
25587 * elf/elf.h (R_ARM_IRELATIVE): Define.
25588
af190f45
UD
255892011-04-19 Ulrich Drepper <drepper@gmail.com>
25590
25591 * po/ru.po: Update from translation team.
25592
53cf59ef
UD
255932011-04-17 Ulrich Drepper <drepper@gmail.com>
25594
25595 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25596 dependencies.
25597
4c559bcd
MF
255982011-02-06 Mike Frysinger <vapier@gentoo.org>
25599
25600 [BZ #12653]
25601 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25602 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25603 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25604 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25605 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25606
4420675c
AS
256072011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25608
25609 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25610 differing bytes.
25611 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25612 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25613 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25614
75ea32ab
UD
256152011-04-17 Ulrich Drepper <drepper@gmail.com>
25616
25617 [BZ #12420]
25618 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25619 storing it.
25620 * stdlib/bug-getcontext.c: New file.
25621 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25622
27390476
AK
256232011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25624
25625 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25626 instructions into .machine "z9-109".
25627 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25628 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25629
10442705
AK
256302011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25631
25632 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25633 between environment variables and auxiliary vector.
25634
7b57bfe5
UD
256352011-04-16 Ulrich Drepper <drepper@gmail.com>
25636
25637 * Makefile: Add rules to build linkobj/libc.so.
25638 * include/libc-symbols.h: Define libc_hidden_nolink.
25639 * include/rpc/auth.h: Mark functions which are to be hidden.
25640 * include/rpc/auth_des.h: Likewise.
25641 * include/rpc/auth_unix.h: Likewise.
25642 * include/rpc/clnt.h: Likewise.
25643 * include/rpc/des_crypt.h: Likewise.
25644 * include/rpc/key_prot.h: Likewise.
25645 * include/rpc/pmap_clnt.h: Likewise.
25646 * include/rpc/pmap_prot.h: Likewise.
25647 * include/rpc/pmap_rmt.h: Likewise.
25648 * include/rpc/rpc_msg.h: Likewise.
25649 * include/rpc/svc.h: Likewise.
25650 * include/rpc/svc_auth.h: Likewise.
25651 * include/rpc/xdr.h: Likewise.
25652 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25653 * nss/Makefile: Likewise.
25654 * sunrpc/Makefile: Don't install headers. Build library with normal
25655 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25656 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25657 for the compat linking library. Remove use of INTDEF/INTUSE.
25658 * sunrpc/auth_none.c: Likewise.
25659 * sunrpc/auth_unix.c: Likewise.
25660 * sunrpc/authdes_prot.c: Likewise.
25661 * sunrpc/authuxprot.c: Likewise.
25662 * sunrpc/clnt_gen.c: Likewise.
25663 * sunrpc/clnt_perr.c: Likewise.
25664 * sunrpc/clnt_raw.c: Likewise.
25665 * sunrpc/clnt_simp.c: Likewise.
25666 * sunrpc/clnt_tcp.c: Likewise.
25667 * sunrpc/clnt_udp.c: Likewise.
25668 * sunrpc/clnt_unix.c: Likewise.
25669 * sunrpc/des_crypt.c: Likewise.
25670 * sunrpc/des_soft.c: Likewise.
25671 * sunrpc/get_myaddr.c: Likewise.
25672 * sunrpc/key_call.c: Likewise.
25673 * sunrpc/key_prot.c: Likewise.
25674 * sunrpc/netname.c: Likewise.
25675 * sunrpc/pm_getmaps.c: Likewise.
25676 * sunrpc/pm_getport.c: Likewise.
25677 * sunrpc/pmap_clnt.c: Likewise.
25678 * sunrpc/pmap_prot.c: Likewise.
25679 * sunrpc/pmap_prot2.c: Likewise.
25680 * sunrpc/pmap_rmt.c: Likewise.
25681 * sunrpc/publickey.c: Likewise.
25682 * sunrpc/rpc_cmsg.c: Likewise.
25683 * sunrpc/rpc_common.c: Likewise.
25684 * sunrpc/rpc_dtable.c: Likewise.
25685 * sunrpc/rpc_prot.c: Likewise.
25686 * sunrpc/rpc_thread.c: Likewise.
25687 * sunrpc/rtime.c: Likewise.
25688 * sunrpc/svc.c: Likewise.
25689 * sunrpc/svc_auth.c: Likewise.
25690 * sunrpc/svc_authux.c: Likewise.
25691 * sunrpc/svc_raw.c: Likewise.
25692 * sunrpc/svc_run.c: Likewise.
25693 * sunrpc/svc_simple.c: Likewise.
25694 * sunrpc/svc_tcp.c: Likewise.
25695 * sunrpc/svc_udp.c: Likewise.
25696 * sunrpc/svc_unix.c: Likewise.
25697 * sunrpc/svcauth_des.c: Likewise.
25698 * sunrpc/xcrypt.c: Likewise.
25699 * sunrpc/xdr.c: Likewise.
25700 * sunrpc/xdr_array.c: Likewise.
25701 * sunrpc/xdr_float.c: Likewise.
25702 * sunrpc/xdr_intXX_t.c: Likewise.
25703 * sunrpc/xdr_mem.c: Likewise.
25704 * sunrpc/xdr_rec.c: Likewise.
25705 * sunrpc/xdr_ref.c: Likewise.
25706 * sunrpc/xdr_sizeof.c: Likewise.
25707 * sunrpc/xdr_stdio.c: Likewise.
25708
e6c61494
UD
257092011-04-10 Ulrich Drepper <drepper@gmail.com>
25710
25711 [BZ #12650]
25712 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25713 * sysdeps/ia64/dl-tls.h: Likewise.
25714 * sysdeps/powerpc/dl-tls.h: Likewise.
25715 * sysdeps/s390/dl-tls.h: Likewise.
25716 * sysdeps/sh/dl-tls.h: Likewise.
25717 * sysdeps/sparc/dl-tls.h: Likewise.
25718 * sysdeps/x86_64/dl-tls.h: Likewise.
25719 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25720
34fe483e
AS
257212011-03-14 Andreas Schwab <schwab@redhat.com>
25722
25723 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25724 rpath element also skip the following colon.
25725 (expand_dynamic_string_token): Add is_path parameter and pass
25726 down to DL_DST_REQUIRED and _dl_dst_substitute.
25727 (decompose_rpath): Call expand_dynamic_string_token with
25728 non-zero is_path. Ignore empty rpaths.
25729 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25730 with zero is_path.
25731
f12a32e6
AS
257322011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25733
25734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25735 Make cancelable.
25736
38a7d692
UD
257372011-04-09 Ulrich Drepper <drepper@gmail.com>
25738
25739 [BZ #12655]
25740 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25741 Patch by Filipe David Manana <fdmanana@apache.org>.
25742
e451d22b
AS
257432011-04-07 Andreas Schwab <schwab@redhat.com>
25744
25745 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25746 Maintain aligned stack.
25747 (CHECK_RSP): Remove unused macro.
25748
dedc7c7b
UD
257492011-04-03 Ulrich Drepper <drepper@gmail.com>
25750
25751 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25752 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25753
94521213
UD
257542011-04-02 Ulrich Drepper <drepper@gmail.com>
25755
25756 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25757
8cb700c0 25758 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25759
0354e355
L
257602011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25761
25762 [BZ #12518]
25763 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25764 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25765 * sysdeps/x86_64/memmove.c: New file.
25766 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25767 (memcpy): Renamed to ...
25768 (__new_memcpy): This.
25769 (memcpy): Provide GLIBC_2_14 memcpy.
25770 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25771 (memcpy): Provide GLIBC_2_2_5 memcpy.
25772
8593482f
UD
257732011-04-01 Ulrich Drepper <drepper@gmail.com>
25774
25775 [BZ #12631]
25776 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25777
81a5726b
AS
257782011-03-30 Andreas Schwab <schwab@redhat.com>
25779
25780 * misc/syncfs.c: New file.
25781 * misc/Makefile (routines): Add syncfs.
25782 * posix/unistd.h: Declare syncfs.
25783 * sysdeps/unix/syscalls.list: Add syncfs.
25784
00e5419f
AS
257852011-04-01 Andreas Schwab <schwab@redhat.com>
25786
25787 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25788 open_by_handle_at.
25789 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25790 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25791 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25792 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25793 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25794 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25795 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25796
748876bf
UD
257972011-04-01 Ulrich Drepper <drepper@gmail.com>
25798
658e451d
UD
25799 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25800 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25801 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25802 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25803 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25804 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25805 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25806
748876bf
UD
25807 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25808 sync_file_range.c with -fexceptions.
25809 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25810 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25811 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25812 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25813 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25814 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25815 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25816 sync_file_range as cancellation point
25817 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25818 now a wrapper around __call_sync_file_range with cancellation handling.
25819 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25820 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25821 function name to __call_sync_file_range.
25822 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25823 Add call_sync_file_range.
748876bf 25824
6e63d5e1
AS
258252011-04-01 Andreas Schwab <schwab@redhat.com>
25826
25827 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25828 bits/timex.h.
6e63d5e1 25829
46998f74
UD
258302011-04-01 Ulrich Drepper <drepper@gmail.com>
25831
4c1423ed
UD
25832 * iconv/iconv.h: Fix typo in comment.
25833 * io/fcntl.h: Likewise.
25834 * libio/stdio.h: Likewise.
25835 * posix/spawn.h: Likewise.
25836 * posix/unistd.h: Likewise.
25837 * stdlib/stdlib.h: Likewise.
25838 * time/time.h: Likewise.
25839 * wcsmbs/wchar.h: Likewise.
25840
158648c0
UD
25841 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25842 open_by_handle): Add.
25843 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25844 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25845 Augment a few comments.
25846 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25847 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25848 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25849 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25850 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25851 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25852 open_by_handle.
25853
46998f74
UD
25854 * io/fcntl.h (AT_EMPTY_PATH): Define.
25855
83fe108b
UD
258562011-03-30 Ulrich Drepper <drepper@gmail.com>
25857
25858 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25859 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25860 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25861 to...
25862 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25863 * Versions.def: Add GLIBC_2.14.
25864 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25865 Export.
83fe108b 25866
bb242059
UD
258672011-03-22 Ulrich Drepper <drepper@gmail.com>
25868
25869 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25870 round counter.
25871 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25872
c97a1282
L
258732011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25874
25875 [BZ #12597]
25876 * string/test-strncmp.c (do_page_test): New function.
25877 (check2): Likewise.
25878 (test_main): Call check2.
25879 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25880
2a115601
UD
258812011-03-20 Ulrich Drepper <drepper@gmail.com>
25882
25883 [BZ #12587]
25884 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25885 Handle cache information in CPU leaf 4.
25886 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25887
8126d904
UD
258882011-03-18 Ulrich Drepper <drepper@gmail.com>
25889
042c49c6 25890 [BZ #12583]
8126d904
UD
25891 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25892 character representation.
25893 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25894
ccfe366e
RA
258952011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25896
25897 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25898 END(__isnan) to END(__isnanf) to match function entry point/label
25899 EALIGN(__isnanf,...).
25900
c6e13027
JJ
259012011-03-10 Jakub Jelinek <jakub@redhat.com>
25902
25903 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25904
33f85a3f
UD
259052011-03-10 Ulrich Drepper <drepper@gmail.com>
25906
028478fa
UD
25907 [BZ #12510]
25908 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25909 copy from the symbol referenced in the relocation to initialize the
25910 used variable.
25911 Patch by Piotr Bury <pbury@goahead.com>.
25912 * elf/Makefile: Add rules to build and tst-unique3.
25913 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25914 * elf/tst-unique3.cc: New file.
25915 * elf/tst-unique3.h: New file.
25916 * elf/tst-unique3lib.cc: New file.
25917 * elf/tst-unique3lib2.cc: New file.
25918
33f85a3f
UD
25919 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25920
03592fc7
MF
259212011-03-10 Mike Frysinger <vapier@gentoo.org>
25922
25923 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25924 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25925 to _start.
03592fc7 25926
6a5ee102
UD
259272011-03-06 Ulrich Drepper <drepper@gmail.com>
25928
25929 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25930 to-be-loaded object along a path to loader is ld.so.
25931
7e4ba49c
HJ
259322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25933 Ulrich Drepper <drepper@gmail.com>
25934
25935 * sysdeps/x86_64/memset.S: After aligning destination, code
25936 branches to different locations depending on the value of
25937 misalignment, when multiarch is enabled. Fix this.
25938
259392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25940
25941 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25942 Set _x86_64_preferred_memory_instruction for AMD processsors.
25943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25944 Set bit_Prefer_SSE_for_memop for AMD processors.
25945
13a804de
UD
259462011-03-04 Ulrich Drepper <drepper@gmail.com>
25947
25948 * libio/fmemopen.c (fmemopen): Optimize a bit.
25949
9d25c392
AS
259502011-03-03 Andreas Schwab <schwab@redhat.com>
25951
25952 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25953
a5543c6a
RM
259542011-03-03 Roland McGrath <roland@redhat.com>
25955
25956 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25957
012d35f7
DM
259582011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25959
7e4ba49c 25960 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25961 __bzero_ultra1 instead of __memset_ultra1.
25962
4bff6e01
AS
259632011-02-23 Andreas Schwab <schwab@redhat.com>
25964 Ulrich Drepper <drepper@gmail.com>
25965
25966 [BZ #12509]
25967 * include/link.h (struct link_map): Add l_orig_initfini.
25968 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25969 returning unsuccessfully.
25970 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25971 close of a file loaded at startup, restore the original l_initfini
25972 list.
25973 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25974 list, store the pointer.
25975 * elf/Makefile ($(objpfx)noload-mem): New rule.
25976 (noload-ENV): Define.
25977 (tests): Add $(objpfx)noload-mem.
25978 * elf/noload.c: Include <memcheck.h>.
25979 (main): Call mtrace. Close all opened handles.
25980
f2092faf
AS
259812011-02-17 Andreas Schwab <schwab@redhat.com>
25982
25983 [BZ #12454]
25984 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25985 dependencies are missing.
25986
6c8a2e88
ST
259872011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25988
f2092faf 25989 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25990 Hurd needs munmap.
25991 * sysdeps/mach/hurd/ifreq.h: New file.
25992
84a42118
PB
259932011-01-27 Petr Baudis <pasky@suse.cz>
25994 Ulrich Drepper <drepper@gmail.com>
25995
071f805e 25996 [BZ 12445]#
84a42118
PB
25997 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25998 to extend_alloca().
25999 * stdio-common/bug23.c: New file.
26000 * stdio-common/Makefile (tests): Add bug23.
26001
e23fe25b
AS
260022010-09-28 Andreas Schwab <schwab@redhat.com>
26003 Ulrich Drepper <drepper@gmail.com>
26004
26005 [BZ #12489]
26006 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26007 before performing relro protection. At old place add assertion
26008 to make sure nothing changed.
26009
d3f02e10
NS
260102011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26011 Glauber de Oliveira Costa <glommer@gmail.com>
26012
26013 * elf/elf.h: Add new ARM TLS relocs.
26014
d55fd7a5
RA
260152011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26016
26017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26018 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26019 cast from r3.
26020 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26021 'tests' variable.
26022 * sysdeps/wordsize-64/tst-writev.c: New file.
26023
2206397e
RA
260242011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26025
26026 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26027 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26028 insns in _dl_start to prevent a TOC reference before relocs are
26029 resolved.
26030
e9433893
UD
260312011-02-15 Ulrich Drepper <drepper@gmail.com>
26032
26033 [BZ #12469]
26034 * Makeconfig: Remove RANLIB definition.
26035 * Makerules: Don't use RANLIB.
26036 * aclocal.m4: Remove ranlib test.
26037 * configure.in: No need to check for ranlib.
26038 * elf/rtld-Rules: Don't use RANLIB.
26039
f75286c6
ST
260402011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26041
8e31c82d
ST
26042 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26043 protection macro.
26044 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26045 inclusion protection macro.
26046
f75286c6
ST
26047 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26048 SIGRTMIN and SIGRTMAX and print information in that case only when
26049 SIGRTMIN is defined.
26050
c1d0e639
JJ
260512011-02-11 Jakub Jelinek <jakub@redhat.com>
26052
26053 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26054 arginfo fn returning -1.
26055
26056 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26057 and thousands string is zero terminated.
26058
edf9294e
AS
260592011-02-03 Andreas Schwab <schwab@redhat.com>
26060
26061 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26062 sysdeps/unix/sysv/linux/bits/socket.h.
26063
2b7e92df
ST
260642011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26065
edf9294e
AS
26066 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26067 (__CPU_COUNT): Remove old macros.
26068 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26069 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26070 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26071 (__sched_cpualloc, __sched_cpufree): Add declarations.
26072
a4c7ea7b
UD
260732011-02-05 Ulrich Drepper <drepper@gmail.com>
26074
26075 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26076 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26077 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26078 (readdhstai): Return value of addhstaiX call.
26079 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26080 (addgrbyX): Return value returned by cache_addgr.
26081 (readdgrbyname): Return value returned by addgrbyX.
26082 (readdgrbygid): Likewise.
26083 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26084 (addpwbyX): Return value returned by cache_addpw.
26085 (readdpwbyname): Return value returned by addhstbyX.
26086 (readdpwbyuid): Likewise.
26087 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26088 (addservbyX): Return value returned by cache_addserv.
26089 (readdservbyname): Return value returned by addservbyX:
26090 (readdservbyport): Likewise.
26091 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26092 (addhstbyX): Return value returned by cache_addhst.
26093 (readdhstbyname): Return value returned by addhstbyX.
26094 (readdhstbyaddr): Likewise.
26095 (readdhstbynamev6): Likewise.
26096 (readdhstbyaddrv6): Likewise.
26097 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26098 (readdinitgroups): Return value returned by addinitgroupsX.
26099 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26100 (prune_cache): Keep track of timeout value of re-added entries.
26101 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26102 * nscd/nscd.h: Adjust prototypes of readd* functions.
26103
a0bf67cc
RM
261042011-02-04 Roland McGrath <roland@redhat.com>
26105
26106 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26107 (nis_stats): Likewise.
26108 * nis/nis_modify.c (nis_modify): Likewise.
26109 * nis/nis_remove.c (nis_remove): Likewise.
26110 * nis/nis_add.c (nis_add): Likewise.
26111
26112 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26113
26114 * posix/fnmatch_loop.c: Add some consts.
26115
26116 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26117
435b95eb
L
261182011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26119
26120 [BZ #12460]
26121 * config.make.in (config-cflags-novzeroupper): Define.
26122 * configure.in: Substitute libc_cv_cc_novzeroupper.
26123 * elf/Makefile (AVX-CFLAGS): Define.
26124 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26125 (CFLAGS-tst-auditmod4a.c): Likewise.
26126 (CFLAGS-tst-auditmod4b.c): Likewise.
26127 (CFLAGS-tst-auditmod6b.c): Likewise.
26128 (CFLAGS-tst-auditmod6c.c): Likewise.
26129 (CFLAGS-tst-auditmod7b.c): Likewise.
26130 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26131
8517b15e
UD
261322011-02-02 Ulrich Drepper <drepper@gmail.com>
26133
26134 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26135 function to the callback.
26136 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26137
10a656fe
AS
261382011-02-02 Andreas Schwab <schwab@redhat.com>
26139
26140 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26141 of errno.
26142
968dad0a
UD
261432011-01-19 Ulrich Drepper <drepper@gmail.com>
26144
9f94d2ea 26145 [BZ #11724]
968dad0a
UD
26146 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26147 of constructors.
26148 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26149 of destructors.
26150 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26151
26152 [BZ #11724]
26153 * elf/Makefile: Add rules to build and run new test.
26154 * elf/tst-initorder.c: New file.
26155 * elf/tst-initorder.exp: New file.
26156 * elf/tst-initordera1.c: New file.
26157 * elf/tst-initordera2.c: New file.
26158 * elf/tst-initordera3.c: New file.
26159 * elf/tst-initordera4.c: New file.
26160 * elf/tst-initorderb1.c: New file.
26161 * elf/tst-initorderb2.c: New file.
26162 * elf/tst-order-a1.c: New file.
26163 * elf/tst-order-a2.c: New file.
26164 * elf/tst-order-a3.c: New file.
26165 * elf/tst-order-a4.c: New file.
26166 * elf/tst-order-b1.c: New file.
26167 * elf/tst-order-b2.c: New file.
26168 * elf/tst-order-main.c: New file.
26169 New test case by George Gensure <werkt0@gmail.com>.
26170
86e92359
UD
261712010-10-01 Andreas Schwab <schwab@redhat.com>
26172
26173 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26174 decoding ACE if AI_CANONIDN.
26175
5d5732b0
UD
261762011-01-18 Ulrich Drepper <drepper@gmail.com>
26177
26178 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26179
a77e8cbc
UD
261802011-01-17 Ulrich Drepper <drepper@gmail.com>
26181
6392473f
UD
26182 * version.h (RELEASE): Bump for 2.13 release.
26183 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26184
620a0529
UD
26185 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26186
18ba70a5
UD
26187 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26188 MADV_NOHUGEPAGE.
32465c3e
UD
26189 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26190 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26191 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26192 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26193 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26194 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26195
c0dafcf1
UD
26196 * posix/getconf.c: Update copyright year.
26197 * catgets/gencat.c: Likewise.
26198 * csu/version.c: Likewise.
26199 * debug/catchsegv.sh: Likewise.
26200 * debug/xtrace.sh: Likewise.
26201 * elf/ldconfig.c: Likewise.
26202 * elf/ldd.bash.in: Likewise.
26203 * elf/sprof.c (print_version): Likewise.
26204 * iconv/iconv_prog.c: Likewise.
26205 * iconv/iconvconfig.c: Likewise.
26206 * locale/programs/locale.c: Likewise.
26207 * locale/programs/localedef.c: Likewise.
26208 * malloc/memusage.sh: Likewise.
26209 * malloc/mtrace.pl: Likewise.
26210 * nscd/nscd.c (print_version): Likewise.
26211 * nss/getent.c: Likewise.
26212
a77e8cbc
UD
26213 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26214 PF_CAIF, and PF_ALG.
26215 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26216
77e8bddf
AS
262172011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26218
1f20b93a
AS
26219 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26220 (modules-names): Use them.
26221 (ifunc-test-modules, ifunc-pie-tests): Define.
26222 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26223 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26224 (test-extras): Likewise.
26225 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26226 $(compile-command.c).
26227 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26228 (all-built-dso): Define.
26229 (check-textrel.out, check-execstack.out): Depend on it.
26230
77e8bddf
AS
26231 * configure.in: Don't override --enable-multi-arch.
26232
bc425b33
UD
262332011-01-15 Ulrich Drepper <drepper@gmail.com>
26234
26235 [BZ #6812]
26236 * nscd/hstcache.c (tryagain): Define.
26237 (cache_addhst): Return tryagain not notfound for temporary errors.
26238 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26239 failed.
26240
794c3ad3
UD
262412011-01-14 Ulrich Drepper <drepper@gmail.com>
26242
70181fdd
UD
26243 [BZ #10563]
26244 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26245 to make the syscall.
26246 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26247
794c3ad3
UD
26248 [BZ #12378]
26249 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26250 and fall back to matching as normal character if the string ends before
26251 the matching ']' is found. This is what POSIX requires.
26252 * posix/testfnm.c: Adjust test result.
26253 * posix/globtest.sh: Adjust test result. Add new test.
26254 * posix/tst-fnmatch.input: Likewise.
26255 * posix/tst-fnmatch2.c: Add new test.
26256
68dc9497
AS
262572010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26258
26259 * elf/Makefile (check-execstack): Revert last change. Depend on
26260 check-execstack.h.
26261 (check-execstack.h): New target.
26262 (generated): Add check-execstack.h.
26263 * elf/check-execstack.c: Include "check-execstack.h".
26264 (main): Revert last change.
26265 (handle_file): Return zero if GNU_STACK is absent and
26266 DEFAULT_STACK_PERMS doesn't include PF_X.
26267
451f001b
UD
262682011-01-13 Ulrich Drepper <drepper@gmail.com>
26269
cfa28e56
UD
26270 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26271 in child fails because the descriptor is already closed.
8cf8ce17
UD
26272 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26273 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26274 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26275
1086d70d
UD
26276 [BZ #12397]
26277 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26278 syscall.
26279
451f001b
UD
26280 [BZ #10484]
26281 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26282 temporary buffer used to handle multi lookups locally.
a85b5cb4 26283 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26284
08769175
UD
262852011-01-12 Ulrich Drepper <drepper@gmail.com>
26286
26287 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26288 loader is ld.so.
26289
5e49c52e
UD
262902011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26291
26292 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26293 alignment for SSE2.
26294
60522a5f
UD
262952011-01-12 Ulrich Drepper <drepper@gmail.com>
26296
26297 [BZ #12394]
26298 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26299 characters. When rounding increased number of integer digits recompute
26300 number of groups.
26301 * stdio-common/tst-grouping.c: New file.
26302 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26303
f257bbd7
UD
263042011-01-09 Ulrich Drepper <drepper@gmail.com>
26305
26306 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26307 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26308
26309 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26310 void.
26311 * bits/select.h: Likewise.
26312
fa9c15cb
UD
263132011-01-08 Ulrich Drepper <drepper@gmail.com>
26314
26315 * po/ja.po: Update from translation team.
26316
16c2895f
DM
263172011-01-04 David S. Miller <davem@sunset.davemloft.net>
26318
26319 [BZ #11155]
26320 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26321 implementation just like for lxstat, fxstatat, et al.
26322
2543fef2
JM
263232010-12-27 Jim Meyering <meyering@redhat.com>
26324
26325 [BZ #12348]
26326 * posix/regexec.c (build_trtable): Return failure indication upon
26327 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26328
98727dbe
UD
263292010-12-25 Ulrich Drepper <drepper@gmail.com>
26330
5bd6dc5c
UD
26331 [BZ #12201]
26332 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26333 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26334 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26335 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26336
97983464
UD
26337 [BZ #12207]
26338 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26339
98727dbe
UD
26340 [BZ #12204]
26341 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26342 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26343
4a531bb0
L
263442010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26345
26346 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26347 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26348 script has SORT_BY_INIT_PRIORITY.
26349 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26350 NO_CTORS_DTORS_SECTIONS is defined.
26351 * elf/soinit.c: Likewise.
26352 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26353 NO_CTORS_DTORS_SECTIONS is defined.
26354 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26355 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26356 * sysdeps/sh/init-first.c: Likewise.
26357 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26358
07eb4b71
UD
263592010-12-24 Ulrich Drepper <drepper@gmail.com>
26360
26361 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26362 always use the slow path.
26363
30950a5f
RA
263642010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26365
26366 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26367 similar rule which adds the sysdep directories to the header search in
26368 order to pick up the correct platform stackinfo.h.
26369 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26370 perform test if it is, otherwise return successfully without testing.
26371 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26372 DEFAULT_STACK_PERMS define in stackinfo.h.
26373 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26374 defined in stackinfo.h.
26375 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26376 DEFAULT_STACK_PERMS defined in stackinfo.h.
26377 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26378 * sysdeps/ia64/stackinfo.h: Likewise.
26379 * sysdeps/s390/stackinfo.h: Likewise.
26380 * sysdeps/sh/stackinfo.h: Likewise.
26381 * sysdeps/sparc/stackinfo.h: Likewise.
26382 * sysdeps/x86_64/stackinfo.h: Likewise.
26383 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26384 PF_X for powerpc64. Retain PF_X for powerpc32.
26385
db753e2c
UD
263862010-12-19 Ulrich Drepper <drepper@gmail.com>
26387
14b697f7
UD
26388 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26389 accurately.
db753e2c
UD
26390 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26391 GETDENTS_64BIT_ALIGNED.
26392
28300719
UD
263932010-12-14 Ulrich Drepper <dreper@gmail.com>
26394
14b697f7 26395 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26396
4f197237
AS
263972010-12-10 Andreas Schwab <schwab@redhat.com>
26398
dbb0472f
AS
26399 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26400 _GNU_SOURCE.
26401
4f197237
AS
26402 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26403 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26404 Remove __restrict.
26405 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26406 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26407
fb88ac72
UD
264082010-12-09 Ulrich Drepper <drepper@gmail.com>
26409
26410 [BZ #11655]
26411 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26412 are initialized.
26413
42acbb92
JJ
264142010-12-09 Jakub Jelinek <jakub@redhat.com>
26415
26416 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26417
c038d98d
UD
264182010-12-03 Ulrich Drepper <drepper@gmail.com>
26419
26420 * po/it.po: Update from translation team.
26421
3a4a2499
L
264222010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26423
26424 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26425 unused codes.
26426
1e24cf6e
UD
264272010-11-30 Ulrich Drepper <drepper@gmail.com>
26428
26429 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26430
a7690819
AS
264312010-11-24 Andreas Schwab <schwab@redhat.com>
26432
26433 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26434 specially.
26435 (gaih_getanswer_slice): Likewise.
26436
3bf8d1b1
JJ
264372010-10-20 Jakub Jelinek <jakub@redhat.com>
26438
26439 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26440
6db52fbb
PB
264412010-05-31 Petr Baudis <pasky@suse.cz>
26442
26443 [BZ #11149]
26444 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26445 silently even in the chroot mode.
26446
eaca7569
UD
264472010-11-22 Ulrich Drepper <drepper@gmail.com>
26448
26449 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26450 last patch a bit. Pretty printing
26451
3056dcdb
UD
264522010-05-31 Petr Baudis <pasky@suse.cz>
26453
26454 [BZ #10085]
26455 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26456 initialization of skip_initgroups_dyn.
26457
cf7c9078
UD
264582010-11-19 Ulrich Drepper <drepper@gmail.com>
26459
26460 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26461 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26462
a1fb5e3e
UD
264632010-11-16 Ulrich Drepper <drepper@gmail.com>
26464
26465 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26466
3540d66b
AS
264672010-11-11 Andreas Schwab <schwab@redhat.com>
26468
26469 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26470 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26471 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26472 ($(objpfx)tst-fnmatch-mem): New rule.
26473 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26474 * posix/tst-fnmatch.c (main): Call mtrace.
26475
13b69574
L
264762010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26477
26478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26479 Support Intel processor model 6 and model 0x2c.
26480
da93d214
LM
264812010-11-10 Luis Machado <luisgpm@br.ibm.com>
26482
26483 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26484 signed comparison.
26485
8ca52c6e
L
264862010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26487
26488 [BZ #12205]
26489 * string/test-strncasecmp.c (check_result): New function.
26490 (do_one_test): Use it.
26491 (check1): New function.
26492 (test_main): Use it.
26493 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26494 Support strcasecmp and strncasecmp.
26495
69da074d
UD
264962010-11-08 Ulrich Drepper <drepper@gmail.com>
26497
26498 [BZ #12194]
26499 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26500 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26501
ff02d528
L
265022010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26503
26504 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26505 IFUNC support.
26506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26507 memset-x86-64.
26508 * sysdeps/x86_64/multiarch/bzero.S: New file.
26509 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26510 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26511 * sysdeps/x86_64/multiarch/memset.S: New file.
26512 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26514 Set bit_Prefer_SSE_for_memop for Intel processors.
26515 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26516 Define.
26517 (index_Prefer_SSE_for_memop): Define.
26518 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26519
344d0b54
LM
265202010-11-04 Luis Machado <luisgpm@br.ibm.com>
26521
26522 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26523 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26524
c0dde15b
UD
265252010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26526
26527 [BZ #12191]
26528 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26529 (__x86_64_raw_data_cache_size_half): Likewise.
26530 (__x86_64_raw_shared_cache_size): Likewise.
26531 (__x86_64_raw_shared_cache_size_half): Likewise.
26532
26533 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26534 (__x86_64_raw_data_cache_size_half): Likewise.
26535 (__x86_64_raw_shared_cache_size): Likewise.
26536 (__x86_64_raw_shared_cache_size_half): Likewise.
26537 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26538 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26539 and __x86_64_raw_shared_cache_size_half. Round
26540 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26541 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26542 to multiple of 256 bytes.
26543
0e516e0e
MS
265442010-11-03 Ulrich Drepper <drepper@gmail.com>
26545
26546 [BZ #12167]
26547 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26548 of inacessible symlinks. Verify result of symlink before returning it.
26549 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26550 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26551
0e012e87
ER
265522010-10-28 Erich Ritz <erichritz@gmail.com>
26553
26554 * math/math.h (isinf): Fix typo in comment.
26555
de0ff7bc
UD
265562010-11-01 Ulrich Drepper <drepper@gmail.com>
26557
26558 * po/da.po: Update from translation team.
26559
fa41c84d
UD
265602010-10-26 Ulrich Drepper <drepper@gmail.com>
26561
26562 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26563 is added to the list.
26564
f0967738
AK
265652010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26566 Ulrich Drepper <drepper@gmail.com>
26567
26568 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26569 the global list here. Move code to...
26570 (_dl_add_to_namespace_list): ...here. New function.
26571 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26572 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26573 * elf/dl-load.c (lose): Don't remove the element from the list.
26574 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26575 (_dl_map_object): Likewise.
26576
265772010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26578
26579 [BZ #12159]
26580 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26581 into all bytes of SSE register.
26582 Patch by Richard Li <richardpku@gmail.com>.
26583
f0967738 265842010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26585
26586 [BZ #12140]
26587 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26588 perturbing.
26589
d0b9e94f
MB
265902010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26591
26592 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26593 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26594 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26595 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26597 submachine.
26598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26599
8e9f92e9
AS
266002010-10-22 Andreas Schwab <schwab@redhat.com>
26601
26602 * include/dlfcn.h (__RTLD_SECURE): Define.
26603 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26604 mode & __RTLD_SECURE instead.
26605 (open_path): Rename preloaded parameter to secure.
26606 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26607 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26608 * elf/dl-deps.c (openaux): Likewise.
26609 * elf/rtld.c (struct map_args): Remove is_preloaded.
26610 (map_doit): Don't use it.
26611 (dl_main): Likewise.
26612 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26613 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26614
bc96fbda
AS
266152010-09-09 Andreas Schwab <schwab@redhat.com>
26616
26617 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26618 (sysd-rules-targets): Remove duplicates.
26619 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26620 rtld-%.$o dependency.
26621
22cd1c9b
AS
266222010-10-18 Andreas Schwab <schwab@redhat.com>
26623
26624 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26625 _dl_map_object do it.
26626
18edac48
UD
266272010-10-19 Ulrich Drepper <drepper@gmail.com>
26628
26629 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26630 fast fma builtins, define the macros in the C99 standard.
26631 (FP_FAST_FMAF): Likewise.
26632 (FP_FAST_FMAL): Likewise.
26633 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26634
26635 * bits/mathdef.h: Update copyright year.
26636 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26637
d2050124
MM
266382010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26639
26640 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26641 builtins, define the macros in the C99 standard.
26642 (FP_FAST_FMAF): Likewise.
26643 (FP_FAST_FMAL): Likewise.
26644 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26645 multiply/add.
26646 (FP_FAST_FMAF): Likewise.
26647
475facd1
JJ
266482010-10-15 Jakub Jelinek <jakub@redhat.com>
26649
26650 [BZ #3268]
26651 * math/libm-test.inc (fma_test): Some new testcases.
26652 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26653 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26654 y and infinite z. Do multiplication by C already in long double.
26655 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26657 y and infinite z. Do bitwise or of inexact bit into u.d.
26658 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26659 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26660 * sysdeps/i386/fpu/s_fma.S: Removed.
26661 * sysdeps/i386/fpu/s_fmal.S: Removed.
26662
7c08a05c
JJ
266632010-10-16 Jakub Jelinek <jakub@redhat.com>
26664
26665 [BZ #3268]
26666 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26667 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26668 computation is not scheduled after fetestexcept. Fix value
26669 of minimum denormal long double.
26670
f3f7372d
JJ
266712010-10-14 Jakub Jelinek <jakub@redhat.com>
26672
26673 [BZ #3268]
26674 * math/libm-test.inc (fma_test): Add some more tests.
26675 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26676 correctly.
26677
14d43591
AS
266782010-10-15 Andreas Schwab <schwab@redhat.com>
26679
26680 * scripts/data/localplt-s390-linux-gnu.data: New file.
26681 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26682
5e908464
JJ
266832010-10-13 Jakub Jelinek <jakub@redhat.com>
26684
26685 [BZ #3268]
26686 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26687 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26688 instead of dbl-64.
26689 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26690 inlines.
26691 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26692 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26693 if one of x and y is very large and the other is subnormal.
26694 * sysdeps/s390/fpu/s_fmaf.c: New file.
26695 * sysdeps/s390/fpu/s_fma.c: New file.
26696 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26697 * sysdeps/powerpc/fpu/s_fma.S: New file.
26698 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26699 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26700 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26701
267022010-10-12 Jakub Jelinek <jakub@redhat.com>
26703
26704 [BZ #3268]
26705 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26706 fma tests.
26707 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26708 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26709 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26710 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26711 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26712 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26713 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26714
b833d51f
UD
267152010-10-12 Ulrich Drepper <drepper@redhat.com>
26716
26717 [BZ #12078]
26718 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26719 * posix/bug-regex31.input: Add test case.
26720
1751705d
UD
267212010-10-11 Ulrich Drepper <drepper@gmail.com>
26722
e9b9cbf5
UD
26723 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26724 * posix/bug-regex31.input: New file.
26725
26726 [BZ #12078]
26727 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26728 (parse_sub_exp): Fix last change, use postorder.
26729
ef06edbe
UD
26730 * posix/bug-regex31.c: New file.
26731 * posix/Makefile: Add rules to build and run bug-regex31.
26732
a129c80d
UD
26733 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26734
26735 [BZ #12078]
26736 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26737
b76b818e
UD
26738 [BZ #12108]
26739 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26740 to have entries in sys_siglist.
26741
1751705d
UD
26742 [BZ #12093]
26743 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26744 be NULL.
26745
9ff8d36f
JJ
267462010-10-07 Jakub Jelinek <jakub@redhat.com>
26747
26748 [BZ #3268]
26749 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26750 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26751 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26752 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26753 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26754 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26755 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26756 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26757 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26758 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26759 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26760 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26761 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26762 * math/ftestexcept.c (fetestexcept): Likewise.
26763 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26764 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26765 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26766 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26767 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26768 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26769 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26770
af325969
UD
267712010-10-11 Ulrich Drepper <drepper@gmail.com>
26772
c579b202 26773 [BZ #12107]
af325969
UD
26774 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26775 newline.
26776
67a67b95
UD
267772010-10-06 Ulrich Drepper <drepper@gmail.com>
26778
26779 * string/bug-strstr1.c: New file.
26780 * string/Makefile: Add rules to build and run bug-strstr1.
26781
5fb308bc
EB
267822010-10-05 Eric Blake <eblake@redhat.com>
26783
26784 [BZ #12092]
26785 * string/str-two-way.h (two_way_long_needle): Always clear memory
26786 when skipping input due to the shift table.
26787
45db99c7
UD
267882010-10-03 Ulrich Drepper <drepper@gmail.com>
26789
3b111893
UD
26790 [BZ #12005]
26791 * malloc/mcheck.c: Handle large requests.
26792
45db99c7
UD
26793 [BZ #12077]
26794 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26795 for strncmp and strncasecmp.
26796 * string/stratcliff.c: Add tests for strcmp and strncmp.
26797 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26798
cf7a1eb8
NI
267992010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26800
26801 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26802 __set_fpscr.
26803
6484ba5e
AJ
268042010-09-30 Andreas Jaeger <aj@suse.de>
26805
26806 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26807 (CGROUP_SUPER_MAGIC): Define.
26808 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26809 Handle btrfs and cgroup file systems.
26810 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26811 Likewise.
26812
91c42559
LM
268132010-09-27 Luis Machado <luisgpm@br.ibm.com>
26814
26815 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26816 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26817
87a97932
AK
268182010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26819
26820 [BZ #12067]
26821 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26822 trying to locate the ELF header.
26823
c21cc9bc
AS
268242010-09-27 Andreas Schwab <schwab@redhat.com>
26825
26826 [BZ #11611]
26827 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26828 Mask out sign-bit copies when constructing f_fsid.
26829
315970f6
PB
268302010-09-24 Petr Baudis <pasky@suse.cz>
26831
26832 * debug/stack_chk_fail_local.c: Add missing licence exception.
26833 * debug/warning-nop.c: Likewise.
26834
1ac7a2c7
JM
268352010-09-15 Joseph Myers <joseph@codesourcery.com>
26836
26837 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26838 implementing getdents64 using getdents syscall, set d_type if
26839 __ASSUME_GETDENTS32_D_TYPE.
26840
56801c50
AS
268412010-09-16 Andreas Schwab <schwab@redhat.com>
26842
26843 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26844 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26845
dda51327
UD
268462010-09-21 Ulrich Drepper <drepper@redhat.com>
26847
26848 [BZ #12037]
26849 * posix/unistd.h: Undo change of feature selection for ftruncate from
26850 2010-01-11.
26851
8ffcee4a
UD
268522010-09-20 Ulrich Drepper <drepper@redhat.com>
26853
a545ecd9 26854 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26855 detection.
26856
e24f0a8b
AS
268572010-09-20 Andreas Schwab <schwab@redhat.com>
26858
26859 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26860 fanotify_mark.
26861 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26862
7291c56f
AS
268632010-09-14 Andreas Schwab <schwab@redhat.com>
26864
26865 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26866 variables after CHECK_SP call.
26867 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26868
bc5fb037
AS
268692010-09-13 Andreas Schwab <schwab@redhat.com>
26870 Ulrich Drepper <drepper@redhat.com>
26871
26872 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26873 re-relocationg ld.so.
26874 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26875 _dl_init_paths call.
26876 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26877 here anymore.
26878
e66e7419
UD
268792010-09-14 Ulrich Drepper <drepper@redhat.com>
26880
26881 * resolv/res_init.c (__res_vinit): Count the default server we added.
26882
c044aa75
CLT
268832010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26884 Ulrich Drepper <drepper@redhat.com>
26885
26886 [BZ #11968]
26887 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26888 (____longjmp_chk): Use %ebx for saving value across system call.
26889 Add unwind info.
26890
32cf4069
AS
268912010-09-06 Andreas Schwab <schwab@redhat.com>
26892
26893 * manual/Makefile: Don't mix pattern rules with normal rules.
26894
817328ee
AS
268952010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26896
26897 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26898 operation.
26899 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26900 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26901 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26902 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26903 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26904 Likewise.
26905
29fddf61
UD
269062010-09-04 Ulrich Drepper <drepper@redhat.com>
26907
26908 [BZ #11979]
26909 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26910 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26911
0959ffc9
UD
269122010-09-02 Ulrich Drepper <drepper@redhat.com>
26913
26914 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26915 * sysdeps/x86_64/addmul_1.S: Likewise.
26916 * sysdeps/x86_64/lshift.S: Likewise.
26917 * sysdeps/x86_64/mul_1.S: Likewise.
26918 * sysdeps/x86_64/rshift.S: Likewise.
26919 * sysdeps/x86_64/sub_n.S: Likewise.
26920 * sysdeps/x86_64/submul_1.S: Likewise.
26921
ece29840
ST
269222010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26923
0959ffc9
UD
26924 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26925 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26926 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26927 * bits/sched.h [__need_schedparam]
ece29840 26928 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26929 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26930 (__defined_schedparam): Define to 1.
ece29840
ST
26931 (__sched_param): New structure, identical to sched_param.
26932 (__need_schedparam): Undefine.
26933
e53a31fe
MF
269342010-08-31 Mike Frysinger <vapier@gentoo.org>
26935
fdc0c10d
MF
26936 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26937 (epoll_create1): Declare.
26938
e53a31fe
MF
26939 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26940
a726d796
AS
269412010-08-31 Andreas Schwab <schwab@redhat.com>
26942
26943 [BZ #7066]
26944 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26945 shifting retval into place.
26946
2f3e3dc7
UD
269472010-09-01 Ulrich Drepper <drepper@redhat.com>
26948
f2933da9
UD
26949 * nis/rpcsvc/nis.h: Update copyright notice.
26950 * nis/rpcsvc/nis.x: Likewise.
26951 * nis/rpcsvc/nis_callback.h: Likewise.
26952 * nis/rpcsvc/nis_callback.x: Likewise.
26953 * nis/rpcsvc/nis_object.x: Likewise.
26954 * nis/rpcsvc/nis_tags.h: Likewise.
26955 * nis/rpcsvc/yp.h: Likewise.
26956 * nis/rpcsvc/yp.x: Likewise.
26957 * nis/rpcsvc/ypupd.h: Likewise.
26958 * nis/yp_xdr.c: Likewise.
26959 * nis/ypupdate_xdr.c: Likewise.
26960
2f3e3dc7
UD
26961 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26962 mainly the body of pmap_getport. Add parameters to specify timeouts.
26963 (pmap_getport): Use __libc_rpc_getport.
26964 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26965 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26966 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26967
f3dcc2f9
AS
269682010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26969
26970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26971 fanotify_mark.
26972
6d34eb5b
RM
269732010-08-27 Roland McGrath <roland@redhat.com>
26974
26975 * sysdeps/i386/i686/multiarch/Makefile
26976 (CFLAGS-varshift.c): New variable.
26977
9ea3de11
UD
269782010-08-27 Ulrich Drepper <drepper@redhat.com>
26979
c96d23fc
UD
26980 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26981 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26982
9ea3de11
UD
26983 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26984
26985 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26986
623aac7f
L
269872010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26988
26989 * sysdeps/x86_64/strlen.S: Unroll the loop.
26990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26991 strlen-sse2 strlen-sse2-bsf.
26992 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26993 __strlen_no_bsf if bit_Slow_BSF is set.
26994 (__strlen_sse42): Removed.
26995 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26996 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26997
8b2b7715
RM
269982010-08-25 Roland McGrath <roland@redhat.com>
26999
27000 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27001 * sysdeps/x86_64/multiarch/varshift.c: New file.
27002 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27003 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27004 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27005 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27006
e73015f2
L
270072010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27008
27009 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27010 strlen-sse2 strlen-sse2-bsf.
27011 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27012 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27013 (__strlen_sse2): Removed.
27014 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27015 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27017 bit_Slow_BSF for Atom.
27018 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27019 (index_Slow_BSF): Define.
27020 (HAS_SLOW_BSF): Define.
27021
df24a73e
UD
270222010-08-25 Ulrich Drepper <drepper@redhat.com>
27023
27024 [BZ #10851]
27025 * resolv/res_init.c (__res_vinit): When no server address at all
27026 is given default to loopback.
27027
f2ac4868
RM
270282010-08-24 Roland McGrath <roland@redhat.com>
27029
09055553
RM
27030 * configure.in: Remove config-name.h generation.
27031 * configure: Regenerated.
27032 * config-name.in: File removed.
27033 * scripts/config-uname.sh: New file.
27034 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27035 ($(objdir)config-name.h): New target.
27036
f2ac4868
RM
27037 * sunrpc/rpc_parse.h: Avoid nested comment.
27038
73f27d5e
RH
270392010-08-24 Richard Henderson <rth@redhat.com>
27040 Ulrich Drepper <drepper@redhat.com>
27041 H.J. Lu <hongjiu.lu@intel.com>
27042
27043 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27044 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27045 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27046 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27047 _mm_alignr_epi8 with _mm_loadu_si128.
27048 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27049 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27050 (__m128i_shift_right): Removed.
27051 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27052 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27053 * sysdeps/x86_64/multiarch/varshift.h: New file.
27054 * sysdeps/x86_64/multiarch/varshift.S: New file.
27055
84b9230c
MF
270562010-08-21 Mike Frysinger <vapier@gentoo.org>
27057
27058 * configure.in: Move assembler checks to before sysdep dir checking.
27059
9bbd0ddc
PB
270602010-08-20 Petr Baudis <pasky@suse.cz>
27061
27062 * LICENSES: Sync the sunrpc license.
27063
9da4bb31
UD
270642010-08-19 Ulrich Drepper <drepper@redhat.com>
27065
a7ab6ec8
UD
27066 * sunrpc/auth_des.c: Update copyright notice once again.
27067 * sunrpc/auth_none.c: Likewise.
27068 * sunrpc/auth_unix.c: Likewise.
27069 * sunrpc/authdes_prot.c: Likewise.
27070 * sunrpc/authuxprot.c: Likewise.
27071 * sunrpc/bindrsvprt.c: Likewise.
27072 * sunrpc/clnt_gen.c: Likewise.
27073 * sunrpc/clnt_perr.c: Likewise.
27074 * sunrpc/clnt_raw.c: Likewise.
27075 * sunrpc/clnt_simp.c: Likewise.
27076 * sunrpc/clnt_tcp.c: Likewise.
27077 * sunrpc/clnt_udp.c: Likewise.
27078 * sunrpc/clnt_unix.c: Likewise.
27079 * sunrpc/des_crypt.c: Likewise.
27080 * sunrpc/des_soft.c: Likewise.
27081 * sunrpc/get_myaddr.c: Likewise.
27082 * sunrpc/getrpcport.c: Likewise.
27083 * sunrpc/key_call.c: Likewise.
27084 * sunrpc/key_prot.c: Likewise.
27085 * sunrpc/openchild.c: Likewise.
27086 * sunrpc/pm_getmaps.c: Likewise.
27087 * sunrpc/pm_getport.c: Likewise.
27088 * sunrpc/pmap_clnt.c: Likewise.
27089 * sunrpc/pmap_prot.c: Likewise.
27090 * sunrpc/pmap_prot2.c: Likewise.
27091 * sunrpc/pmap_rmt.c: Likewise.
27092 * sunrpc/rpc/auth.h: Likewise.
27093 * sunrpc/rpc/auth_unix.h: Likewise.
27094 * sunrpc/rpc/clnt.h: Likewise.
27095 * sunrpc/rpc/des_crypt.h: Likewise.
27096 * sunrpc/rpc/key_prot.h: Likewise.
27097 * sunrpc/rpc/netdb.h: Likewise.
27098 * sunrpc/rpc/pmap_clnt.h: Likewise.
27099 * sunrpc/rpc/pmap_prot.h: Likewise.
27100 * sunrpc/rpc/pmap_rmt.h: Likewise.
27101 * sunrpc/rpc/rpc.h: Likewise.
27102 * sunrpc/rpc/rpc_des.h: Likewise.
27103 * sunrpc/rpc/rpc_msg.h: Likewise.
27104 * sunrpc/rpc/svc.h: Likewise.
27105 * sunrpc/rpc/svc_auth.h: Likewise.
27106 * sunrpc/rpc/types.h: Likewise.
27107 * sunrpc/rpc/xdr.h: Likewise.
27108 * sunrpc/rpc_clntout.c: Likewise.
27109 * sunrpc/rpc_cmsg.c: Likewise.
27110 * sunrpc/rpc_common.c: Likewise.
27111 * sunrpc/rpc_cout.c: Likewise.
27112 * sunrpc/rpc_dtable.c: Likewise.
27113 * sunrpc/rpc_hout.c: Likewise.
27114 * sunrpc/rpc_main.c: Likewise.
27115 * sunrpc/rpc_parse.c: Likewise.
27116 * sunrpc/rpc_parse.h: Likewise.
27117 * sunrpc/rpc_prot.c: Likewise.
27118 * sunrpc/rpc_sample.c: Likewise.
27119 * sunrpc/rpc_scan.c: Likewise.
27120 * sunrpc/rpc_scan.h: Likewise.
27121 * sunrpc/rpc_svcout.c: Likewise.
27122 * sunrpc/rpc_tblout.c: Likewise.
27123 * sunrpc/rpc_util.c: Likewise.
27124 * sunrpc/rpc_util.h: Likewise.
27125 * sunrpc/rpcinfo.c: Likewise.
27126 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27127 * sunrpc/rpcsvc/key_prot.x: Likewise.
27128 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27129 * sunrpc/rpcsvc/mount.x: Likewise.
27130 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27131 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27132 * sunrpc/rpcsvc/rex.x: Likewise.
27133 * sunrpc/rpcsvc/rstat.x: Likewise.
27134 * sunrpc/rpcsvc/rusers.x: Likewise.
27135 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27136 * sunrpc/rpcsvc/spray.x: Likewise.
27137 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27138 * sunrpc/rtime.c: Likewise.
27139 * sunrpc/svc.c: Likewise.
27140 * sunrpc/svc_auth.c: Likewise.
27141 * sunrpc/svc_authux.c: Likewise.
27142 * sunrpc/svc_raw.c: Likewise.
27143 * sunrpc/svc_run.c: Likewise.
27144 * sunrpc/svc_simple.c: Likewise.
27145 * sunrpc/svc_tcp.c: Likewise.
27146 * sunrpc/svc_udp.c: Likewise.
27147 * sunrpc/svc_unix.c: Likewise.
27148 * sunrpc/svcauth_des.c: Likewise.
27149 * sunrpc/xcrypt.c: Likewise.
27150 * sunrpc/xdr.c: Likewise.
27151 * sunrpc/xdr_array.c: Likewise.
27152 * sunrpc/xdr_float.c: Likewise.
27153 * sunrpc/xdr_mem.c: Likewise.
27154 * sunrpc/xdr_rec.c: Likewise.
27155 * sunrpc/xdr_ref.c: Likewise.
27156 * sunrpc/xdr_sizeof.c: Likewise.
27157 * sunrpc/xdr_stdio.c: Likewise.
27158
9da4bb31
UD
27159 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27160 handling.
27161
bdaa77bc
AS
271622010-08-19 Andreas Schwab <schwab@redhat.com>
27163
27164 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27165
fe2f79db
LM
271662010-08-19 Luis Machado <luisgpm@br.ibm.com>
27167
27168 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27169 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27170 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27171 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27172 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27173 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27174 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27175 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27176 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27177 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27178 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27179 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27180 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27181 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27182
b9b42ee0
AB
271832010-07-26 Anton Blanchard <anton@samba.org>
27184
27185 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27186 * malloc/arena.c (heap_trim): Likewise.
27187
1c06ba31
UD
271882010-08-16 Ulrich Drepper <drepper@redhat.com>
27189
27190 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27191 here. Not...
27192 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27193 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27194
f8392f40
L
271952010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27196
27197 * sysdeps/i386/elf/Makefile: New file.
27198
3162f12e
AS
271992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27200
27201 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27202 from fanotify_init.
27203 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27204 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27205
28c90b2c
UD
272062010-08-15 Ulrich Drepper <drepper@redhat.com>
27207
27208 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27209 of strncasecmp_l.
1feccb6c 27210 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27211
ca6bb004
UD
272122010-08-14 Ulrich Drepper <drepper@redhat.com>
27213
e9f82e0d
UD
27214 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27215 strncase_l-nonascii.
27216 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27217 Add strncase_l-ssse3.
27218 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27219 * sysdeps/x86_64/strcmp.S: Likewise.
27220 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27221 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27222 * sysdeps/x86_64/strncase.S: New file.
27223 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27224 * sysdeps/x86_64/strncase_l.S: New file.
27225 * string/Makefile (strop-tests): Add strncasecmp.
27226 * string/test-strncasecmp.c: New file.
27227
27228 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27229 warning.
27230
ca6bb004
UD
27231 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27232 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27233
052fa7b3
AS
272342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27235
27236 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27237
962dba78
UD
272382010-08-12 Ulrich Drepper <drepper@redhat.com>
27239
27240 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27241 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27242 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27243
bebff237
AM
272442010-05-01 Alan Modra <amodra@gmail.com>
27245
27246 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27247 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27248 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27249 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27250 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27251 tidying. Don't tail-call __sigjmp_save for static lib.
27252 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27253 save location.
27254 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27255 (CALL_MCOUNT): Add eh info, and nop after bl.
27256 (TAIL_CALL_SYSCALL_ERROR): New macro.
27257 (PSEUDO_RET): Use it.
27258 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27259 Correct save location of integer regs and cr.
27260 (_dl_profile_resolve): Correct cr save location. Delete nops
27261 after bl when SHARED. Reduce cfi size a little by better
27262 placement of cfi directives.
27263 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27264 make a stack frame. Instead use parm save area as a temp.
27265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27266 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27268 Don't make a stack frame for parent, use parm save area.
27269 Increase child stack frame to 112 bytes. Don't save unused reg,
27270 and adjust reg usage. Set up cfi on error recovery and
27271 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27273 (__makecontext): Add dummy nop after jump to exit.
27274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27275 Use correct parm save area and cr save, reduce stack frame.
27276 Correct cfi for possible PSEUDO_RET frame setup.
27277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27278 Branch to local label emitted by PSEUDO_RET rather than
27279 __syscall_error.
27280
02637374
AS
272812010-08-12 Andreas Schwab <schwab@redhat.com>
27282
27283 [BZ #11904]
27284 * locale/programs/locale.c (print_assignment): New function.
27285 (show_locale_vars): Use it.
27286
c3e2f19b
UD
272872010-08-11 Ulrich Drepper <drepper@redhat.com>
27288
3cdaa6ad
UD
27289 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27290 field.
27291 (struct statfs64): Likewise.
27292 (_STATFS_F_FLAGS): Define.
27293 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27294 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27295 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27296 (ST_VALID): Define locally.
27297 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27298 __statvfs_getflags, use the provided value.
27299 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27300 __ASSUME_STATFS_F_FLAGS.
27301
754f7da3
UD
27302 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27303
10b3bedc
UD
27304 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27305 Add sys/fanotify.h.
27306 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27307 fanotify_mask for GLIBC_2.13.
27308 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27309 fanotify_init and fanotify_mark.
27310 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27311 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27312
c08fb0d7
UD
27313 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27314 Add prlimit.
27315 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27316 prlimit64 for GLIBC_2.13.
27317 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27318 prlimit64.
27319 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27320 syscall.
27321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27322 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27323 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27324 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27325 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27326 add prlimit alias.
27327 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27328
15bac72b
UD
27329 [BZ #11903]
27330 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27331 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27332
c3e2f19b
UD
27333 * nss/Makefile: Add rules to build and run tst-nss-test1.
27334 * shlib-versions: Add entry for libnss_test1.
27335 * nss/nss_test1.c: New file.
27336 * nss/tst-nss-test1.c: New file.
27337
27338 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27339 (__nss_configure_lookup): Set appropriate entry in
27340 __nss_configure_lookup to true.
27341 * nss/nsswitch.h: Define enum with indeces of databases in
27342 databases and __nss_database_custom arrays. Declare
27343 __nss_database_custom.
27344 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27345 to avoid using nscd when custom rules are installed.
27346 * nss/getXXbyYY_r.c: Likewise.
27347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27348
27349 * nss/nss_files/files-parse.c: Whitespace fixes.
27350
f15ce4d8
UD
273512010-08-09 Ulrich Drepper <drepper@redhat.com>
27352
27353 [BZ #11883]
27354 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27355 * posix/fnmatch_loop.c: Likewise.
27356
d22e4cc9
AK
273572010-07-17 Andi Kleen <ak@linux.intel.com>
27358
27359 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27360 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27361 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27362 * Versions.def [GLIBC_2.13]: Add.
27363
805bc17d
UD
273642010-08-06 Ulrich Drepper <drepper@redhat.com>
27365
27366 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27367 Also fail if tpwd after pwuid call is NULL.
27368
5a42321d
ST
273692010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27370
27371 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27372 when converting to ms.
27373
fd3ebeda
ST
273742010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27375
27376 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27377 EOPNOTSUPP errors with ENOTTY.
27378 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27379 EOPNOTSUPP errors with ENOTTY.
27380
73507d3a
UD
273812010-07-31 Ulrich Drepper <drepper@redhat.com>
27382
27383 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27384 Add strcasecmp_l-ssse3.
27385 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27386 strcasecmp.
27387 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27388 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27389 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27390
fe36dd02
UD
273912010-07-30 Ulrich Drepper <drepper@redhat.com>
27392
66f6765a
UD
27393 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27394
42e08a54
UD
27395 * string/Makefile (strop-tests): Add strcasecmp.
27396 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27397 strcasecmp_l-nonascii.
27398 (gen-as-const-headers): Add locale-defines.sym.
27399 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27400 * sysdeps/x86_64/strcasecmp.S: New file.
27401 * sysdeps/x86_64/strcasecmp_l.S: New file.
27402 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27403 * sysdeps/x86_64/locale-defines.sym: New file.
27404 * string/test-strcasecmp.c: New file.
27405
fe36dd02
UD
27406 * string/test-strcasestr.c: Test both ends of the range of characters.
27407 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27408
48cbc0d6
RM
274092010-07-29 Roland McGrath <roland@redhat.com>
27410
76e6d6bc 27411 [BZ #11856]
48cbc0d6
RM
27412 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27413
880113d9
UD
274142010-07-27 Ulrich Drepper <drepper@redhat.com>
27415
27416 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27417 for ld.so.
27418
deb9cabb
AS
274192010-07-27 Andreas Schwab <schwab@redhat.com>
27420
27421 * manual/memory.texi (Malloc Tunable Parameters): Document
27422 M_PERTURB.
27423
1c7570ff
RM
274242010-07-26 Roland McGrath <roland@redhat.com>
27425
27426 [BZ #11840]
27427 * configure.in (-fgnu89-inline check): Set and substitute
27428 gnu89_inline, not libc_cv_gnu89_inline.
27429 * configure: Regenerated.
27430 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27431
24fb0f88
UD
274322010-07-26 Ulrich Drepper <drepper@redhat.com>
27433
27434 * string/test-strnlen.c: New file.
27435 * string/Makefile (strop-tests): Add strnlen.
27436 * string/tester.c (test_strnlen): Add a few more test cases.
27437 * string/tst-strlen.c: Better error reporting.
27438
27439 * sysdeps/x86_64/strnlen.S: New file.
27440
8e96b93a
UD
274412010-07-24 Ulrich Drepper <drepper@redhat.com>
27442
27443 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27444 lower-latency instructions.
27445
dbc676d4
UD
274462010-07-23 Ulrich Drepper <drepper@redhat.com>
27447
27448 * string/test-strcasestr.c: New file.
27449 * string/test-strstr.c: New file.
27450 * string/Makefile (strop-tests): Add strstr and strcasestr.
27451 * string/str-two-way.h: Don't undefine MAX.
27452 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27453
f6a31e0e
AS
274542010-07-21 Andreas Schwab <schwab@redhat.com>
27455
27456 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27457 strcasestr-nonascii.
27458 (CFLAGS-strcasestr-nonascii.c): Define.
27459 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27460 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27461 Remove unused attribute.
27462
5dbc3b6c
RM
274632010-07-20 Roland McGrath <roland@redhat.com>
27464
27465 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27466 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27467 ld.so.cache was broken. With it, there is no way to disable dsocaps
27468 like LD_HWCAP_MASK can disable hwcaps.
27469
23d101d8
EPM
274702010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27471
27472 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27473
cc9f2e47
UD
274742010-07-16 Ulrich Drepper <drepper@redhat.com>
27475
27476 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27477 call in strcasestr.
27478 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27479 __strcasestr_sse42_nonascii.
27480 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27481 strcasestr-nonascii.c.
27482 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27483
77c1b069
LM
274842010-06-15 Luis Machado <luisgpm@br.ibm.com>
27485
27486 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27487 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27488 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27489 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27490
440566c3
UD
274912010-07-09 Ulrich Drepper <drepper@redhat.com>
27492
27493 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27494 fcntl.
27495
5be9d05d
AS
274962010-07-06 Andreas Schwab <schwab@redhat.com>
27497
c30b7ee2 27498 [BZ #11577]
5be9d05d
AS
27499 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27500 dl_signal_cerror.
27501
8a492a67
UD
275022010-07-06 Ulrich Drepper <drepper@redhat.com>
27503
27504 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27505 _PC_PIPE_BUF using F_GETPIPE_SZ.
27506
713df3d5
RM
275072010-07-05 Roland McGrath <roland@redhat.com>
27508
27509 * manual/arith.texi (Rounding Functions): Fix rint description
27510 implicit in round description.
27511
702e8f14
UD
275122010-07-02 Ulrich Drepper <drepper@redhat.com>
27513
27514 * elf/Makefile: Fix linking for a few tests to make recent linker
27515 happy.
27516
52ed8be9
AS
275172010-06-30 Andreas Schwab <schwab@redhat.com>
27518
27519 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27520 $(common-objpfx)libc_nonshared.a.
27521
f47c9a11
LM
275222010-06-21 Luis Machado <luisgpm@br.ibm.com>
27523
27524 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27525 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27526 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27527 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27528 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27529 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27530 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27531 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27546 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27547 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27548 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27549 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27550 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27551 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27552 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27553 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27554 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27555 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27556 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27557 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27572
6fb8cbcb
L
275732010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27574
27575 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27576 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27577 * string/memmove.c (memmove): Renamed to ...
27578 (MEMMOVE): ...this. Default to memmove.
27579 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27580 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27581 (END_CHK): Define.
27582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27583 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27584 mempcpy-ssse3-back memmove-ssse3-back.
27585 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27586 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27587 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27588 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27589 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27590 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27591 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27592 * sysdeps/x86_64/multiarch/memmove.c: New file.
27593 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27594 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27595 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27596 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27597 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27598 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27599 Define.
27600 (index_Fast_Copy_Backward): Define.
27601 (HAS_ARCH_FEATURE): Define.
27602 (HAS_FAST_REP_STRING): Define.
27603 (HAS_FAST_COPY_BACKWARD): Define.
27604
4e733bac 276052010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27606
27607 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27608 Restore proper fallback handling.
27609
63c4ed22
UD
276102010-06-19 Ulrich Drepper <drepper@redhat.com>
27611
ac2b484c
UD
27612 [BZ #11701]
27613 * posix/group_member.c (__group_member): Correct checking loop.
27614
63c4ed22
UD
27615 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27616 OOM in getpwuid_r correctly. Return error number when the caller
27617 should return, otherwise -1.
27618 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27619 call returning > 0 value.
27620 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27621
765ade4b
AS
276222010-06-07 Andreas Schwab <schwab@redhat.com>
27623
27624 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27625 libc_nonshared.a from targets in modules-names.
27626
80da2e09
KS
276272010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27628
27629 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27630 requires it.
27631
158db122
LM
276322010-06-10 Luis Machado <luisgpm@br.ibm.com>
27633
27634 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27635 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27636 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27637 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27638
caa78cf8
AS
276392010-06-02 Andreas Schwab <schwab@redhat.com>
27640
27641 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27642
b2ef2c01
UD
276432010-06-14 Ulrich Drepper <drepper@redhat.com>
27644
27645 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27646 and F_GETPIPE_SZ.
27647 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27648 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27649 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27650 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27651 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27652 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27653
fbd643b6
RM
276542010-06-14 Roland McGrath <roland@redhat.com>
27655
27656 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27657
f32f2869
JJ
276582010-06-07 Jakub Jelinek <jakub@redhat.com>
27659
27660 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27661 __REDIRECT followed by __THROW.
27662 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27663 * posix/getopt.h (getopt): Likewise.
27664
2a50c078
EPM
276652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27666
27667 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27668 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27669 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27670 in AT_FLAGS.
27671 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27672 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27673
eb5ad2eb
LM
276742010-05-28 Luis Machado <luisgpm@br.ibm.com>
27675
27676 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27677
3c88fe1e
L
276782010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27679
27680 [BZ #11640]
27681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27682 Properly check family and model.
27683
d2f73151
TY
276842010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27685
27686 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27687
ebd2e13d
LM
276882010-05-24 Luis Machado <luisgpm@br.ibm.com>
27689
27690 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27691
b32b8b45
UD
276922010-05-21 Ulrich Drepper <drepper@redhat.com>
27693
27694 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27695 symbol reference.
27696
9acbe24d
AS
276972010-05-19 Andreas Schwab <schwab@redhat.com>
27698
27699 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27700 symbol reference.
27701
f0ccf6ea
AS
277022010-05-21 Andreas Schwab <schwab@redhat.com>
27703
3d04ff3a
AS
27704 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27705 and internal_recvmmsg.
27706 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27707 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27708 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27709 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27710
f0ccf6ea
AS
27711 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27712 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27713 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27714
5b08ac57
AS
277152010-05-20 Andreas Schwab <schwab@redhat.com>
27716
27717 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27718
4828935d
LM
277192010-05-17 Luis Machado <luisgpm@br.ibm.com>
27720
27721 POWER7 optimizations.
27722 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27723 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27724
373d545e
UD
277252010-05-19 Ulrich Drepper <drepper@redhat.com>
27726
27727 * version.h: Update for 2.13 development version.
27728
21a2b1ae
AS
277292010-05-12 Andrew Stubbs <ams@codesourcery.com>
27730
27731 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27732 exceptions. Return 0.
27733
3f7dcb2b
RM
277342010-05-07 Roland McGrath <roland@redhat.com>
27735
27736 * elf/ldconfig.c (main): Add a const.
27737
5f24d53a 277382010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27739
a160f8d8
UD
27740 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27741 (args_options): Add no-idn option.
27742 (ahosts_keys_int): Add idn_flags to ai_flags.
27743 (parse_option): Handle 'i' option to clear idn_flags.
27744
5f24d53a
UD
27745 * malloc/malloc.c (_int_free): Possible race in the most recently
27746 added check. Only act on the data if no current modification
27747 happened.
265bb1ce
UD
27748
27749See ChangeLog.17 for earlier changes.
This page took 3.652951 seconds and 5 git commands to generate.